]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add x86 32 bit vDSO time function support
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ca677d3c
AZ
12015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2 Stefani Seibold <stefani@seibold.net>
3
4 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5 (sysdep_routines): Add dl-vdso here, ...
6 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7 (sysdep_routines): ... not here.
8 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9 fallback when vDSO is not presented.
10 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11 Define with libc_hidden_proto/libc_hidden_data_def definitions.
12 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
13 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
14 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
15 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
16 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
18 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
19 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
21 fallback configurable symbol when vDSO is not available.
22 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
23 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
24 be able to redefine fallback symbol when vDSO is not available.
25 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
26 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
27
49a9f6ab 282015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 29
56cf2763
AZ
30 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
31 (TLS_INIT_TP): Add tm_capable initialization.
32 (TLS_DEFINE_INIT_TP): Likewise.
33 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
34 TCB.
35 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
36 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
37 calculation.
38 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
39 transactoion is lock elision is built and TCB tm_capable is set.
40 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
41 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42 (INTERNAL_SYSCALL_NCS): Likewise.
43 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
44 (INTERNAL_SYSCALL_NCS): Likewise.
45 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
46
4b45943a
AZ
47 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
48 for powerpc.
49 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
51 and remove it for 32 bits case.
52 [pthread_rwlock_t] (__rwelision): New field for lock elision.
53 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
54 initialization.
55 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
56 Disable lock elision with rdlocks if elision is not available.
57
8d2c0a59
AZ
58 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
59 (sysdep_routines): Add lock elision objects.
60 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
61 [pthread_mutex_t] (__spins): Rework to add lock elision field.
62 [pthread_mutex_t] (__elision): Add field.
63 [__PTHREAD_SPINS]: Adjust to init lock elision field.
64 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
65 elision definitions for powerpc.
66 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
67 implementation of lock elision for powerpc.
68 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
69 implementation of timed lock elision for powerpc.
70 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
71 implementation of trylock with lock elision for powerpc.
72 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
73 implementaion of unlock for lock elision for powerpc.
74 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
75 automatic enable lock elision for mutexes.
76 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
77 transaction execution definitions for powerpc.
78 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
79 definitions.
80 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
81 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
82 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
83 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
84 * NEWS: Update.
85
bc0ed9f7
RM
862015-01-09 Roland McGrath <roland@hack.frob.com>
87
88 * sysdeps/posix/shm-directory.c: Use <> rather than ""
89 for #include of <shm-directory.h>.
90
585d9c18
CLT
912015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
92
93 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
94 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
95
aee6626c
MF
962015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
97
98 [BZ #17791]
99 * NEWS: Mention bug fix.
100 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
101 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
102 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
103
9e560f48
TR
1042015-01-09 Torvald Riegel <triegel@redhat.com>
105
106 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
107
e1cfbd0c
TR
1082015-01-09 Torvald Riegel <triegel@redhat.com>
109
110 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
111
cf71e44f
DH
1122015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
113
114 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
115 pointer and cast to uintptr_t.
116
b360ee62
DH
1172015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
118
119 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
120 removed.
121 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
122
caff764e
DH
1232015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
124
125 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
126 of 0.
127
59ff172f
RM
1282015-01-08 Roland McGrath <roland@hack.frob.com>
129
c97d27f1
RM
130 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
131 <nptl/pthreadP.h> instead.
132 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
133
08734ccd
RM
134 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
135 already defined.
136 [__SIGRTMIN] (init): Function removed.
137 [__SIGRTMIN] (initialized): Variable removed.
138 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
139 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
140 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
141 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
142 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
143 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
144 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
145 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
146 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
147 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
148 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
149 * sysdeps/nptl/allocrtsig.c: New file.
150 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
151 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
152 * sysdeps/generic/testrtsig.h: File removed.
153
7b052e33
RM
154 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
155 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
156
cc40d25e
RM
157 * nptl/nptl-init.c (pthread_functions): Conditionalize
158 .ptr__nptl_setxid initialization on [SIGSETXID].
159
9287adf0
RM
160 * sysdeps/nptl/sys/procfs.h: New file.
161 * nptl_db/Makefile (headers): Add it.
162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
163
59ff172f
RM
164 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
165 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
166 * nptl/pthread_attr_setaffinity.c: Include it.
167 * nptl/pthread_setattr_default_np.c: Likewise.
168 * nptl/check-cpuset.h: New file.
169
b9205857
RH
1702015-01-08 Richard Henderson <rth@redhat.com>
171
172 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
173 (CFLAGS-tst-execstack-prog.c): Likewise.
174 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
175
1a0a8d15
CLT
1762015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
177 Sandra Loosemore <sandra@codesourcery.com>
178 Andrew Jenner <andrew@codesourcery.com>
179 Joseph Myers <joseph@codesourcery.com>
180 Nathan Sidwell <nathan@codesourcery.com>
181
182 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
183 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
184 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
185 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
186 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
187 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
188 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
189 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
190 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
191 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
192 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
193 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
194 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
195 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
196 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
197 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
198 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
199
dd6e8af6
AZ
2002015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
201
202 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
203 timespec struct member in syscall macro.
204 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
205 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
206 first timeval struct member in syscall macro.
207 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
208
8116321f
JM
2092015-01-07 Joseph Myers <joseph@codesourcery.com>
210
211 [BZ #17748]
212 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
213 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
214 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
215 __feupdateenv and define as weak alias of __feupdateenv. Use
216 libm_hidden_weak.
217 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
218 libm_hidden_def.
219 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
220 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
221 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
222 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
223 libm_hidden_def.
224 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
225 __feupdateenv and define as weak alias of __feupdateenv. Use
226 libm_hidden_weak.
227 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
228 libm_hidden_def.
229 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
230 __feupdateenv and define as weak alias of __feupdateenv. Use
231 libm_hidden_weak.
232 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
233 libm_hidden_def.
234 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
235 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
236 (__feupdateenv): Likewise.
237 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
238 __feupdateenv and define as weak alias of __feupdateenv. Use
239 libm_hidden_weak.
240 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
241 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
242 libm_hidden_def.
243 * sysdeps/tile/math_private.h (__feupdateenv): New inline
244 function.
245 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
246 libm_hidden_def.
247 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
248 __feupdateenv instead of feupdateenv.
249 (default_libc_feupdateenv_test): Likewise.
250 (libc_feresetround_ctx): Likewise.
251
882dfe18
AZ
2522015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
253
254 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
255 prototype.
256
39a12f8d
CM
2572015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
258
259 * posix/regcomp.c (parse_bracket_exp): Initialize type to
260 COLL_SYM in a couple of places to avoid uninitialized variable
261 wanings on tilegx gcc 4.8.2.
262
dc400d7b
RE
2632015-01-07 Richard Earnshaw <rearnsha@arm.com>
264
265 * sysdeps/aarch64/strcpy.S: New file.
266 * sysdeps/aarch64/stpcpy.S: New file.
267 * NEWS: Updated.
268
ec582ca0
RE
2692015-01-07 Richard Earnshaw <rearnsha@arm.com>
270
271 * sysdeps/aarch64/strrchr.S: New file.
272 * NEWS: Updated.
273
d5b1c5ed
EB
2742015-01-07 Eric Biggers <ebiggers3@gmail.com>
275
276 [BZ #17658]
277 * stdlib/setenv.c: Fix memory leak when setting large,
278 duplicate string.
279
fb87ee96
VN
2802015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
281
60f046a8 282 [BZ #17273]
fb87ee96
VN
283 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
284 and tabs from buffer before parsing fstab entry.
285 * misc/tst-mntent.c (main): Add test for mount entry with
286 trailing spaces and tabs.
287
cd42798a
JM
2882015-01-06 Joseph Myers <joseph@codesourcery.com>
289
01238691
JM
290 [BZ #17748]
291 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
292 * math/fesetround.c (fesetround): Rename to __fesetround and
293 define as weak alias of __fesetround. Use libm_hidden_weak.
294 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
295 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
296 * sysdeps/arm/fesetround.c (fesetround): Likewise.
297 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
298 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
299 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
300 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
301 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
302 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
303 __fesetround_inline.
304 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
305 __fesetround_inline instead of __fesetround.
306 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
307 __fesetround and define as weak alias of __fesetround. Use
308 libm_hidden_weak. Call __fesetround_inline instead of
309 __fesetround.
310 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
311 __fesetround and define as weak alias of __fesetround. Use
312 libm_hidden_weak.
313 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
314 Likewise.
315 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
316 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
317 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
318 * sysdeps/tile/math_private.h (__fesetround): New inline function.
319 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
320 __fesetround and define as weak alias of __fesetround. Use
321 libm_hidden_weak.
322 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
323 __fesetround instead of fesetround.
324 (default_libc_feholdexcept_setround): Likewise.
325 (libc_feholdsetround_ctx): Likewise.
326 (libc_feholdsetround_noex_ctx): Likewise.
327
cd42798a
JM
328 [BZ #17748]
329 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
330 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
331 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
332 and define as weak alias of __fesetenv. Use libm_hidden_weak.
333 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
334 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
335 define as weak alias of __fesetenv. Use libm_hidden_weak.
336 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
337 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
338 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
339 define as weak alias of __fesetenv. Use libm_hidden_weak.
340 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
341 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
342 define as weak alias of __fesetenv. Use libm_hidden_weak.
343 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
344 libm_hidden_def.
345 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
346 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
347 Likewise.
348 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
349 define as weak alias of __fesetenv. Use libm_hidden_weak.
350 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
351 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
352 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
353 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
354 and define as weak alias of __fesetenv. Use libm_hidden_weak.
355 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
356 __fesetenv instead of fesetenv.
357 (libc_feresetround_noex_ctx): Likewise.
358 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
359 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
360 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
361 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
362 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
363 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
364 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
365 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
366 (__feupdateenv): Likewise.
367 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
368 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
369 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
370 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
371
38949026
AJ
3722015-01-06 Aurelien Jarno <aurelien@aurel32.net>
373
1cf98e27 374 [BZ #17806]
38949026
AJ
375 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
376 addresses have been freed.
377
5fe55e9c
AJ
3782015-01-06 Aurelien Jarno <aurelien@aurel32.net>
379
380 * resolv/res_init.c (__res_vinit): Improve comments about nserv
381 and nservall.
382
dc8ab018
OB
3832015-01-06 Ondřej Bílka <neleai@seznam.cz>
384
385 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
386 Clean up check_pf allocation pattern. addresses
387
14bb4e57
AZ
3882015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
389
390 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
391 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
392 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
393 * nptl/pthread_exit.c (__pthread_exit): Likewise.
394 * nptl/pthread_join.c (pthread_join): Likewise.
395 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
396 * sysdeps/posix/waitid.c (__waitid): Likewise.
397 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
398 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
399 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
400 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
401 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
402 Likewise.
403 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
404 (__libc_pread64): Likewise.
405 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
406 (__libc_pwrite): Likewise.
407 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
408 (__libc_pwrite64): Likewsie.
409 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
410 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
411 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
412 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
413 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
414 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
415 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
417 Likewise.
418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
419 (__libc_pread64): Likewise.
420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
421 Likewise.
422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
423 (__libc_pwrite64): Likewise.
424 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
425 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
426 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
427 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
428 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
429 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
430 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
431 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
432 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
433 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
434 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
435 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
436 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
437 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
438 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
439 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
440 Likewise.
441
10a5e112
AS
4422015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
443
444 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
445 (CFLAGS-test-double.c): Likewise.
446 (CFLAGS-test-ldouble.c): Likewise.
447 (CPPFLAGS-test-ifloat.c): Likewise.
448 (CPPFLAGS-test-idouble.c): Likewise.
449 (CPPFLAGS-test-ildoubl.c): Likewise.
450 (CFLAGS-test-test-fenv.c): Remove variable.
451 (CFLAGS-test-misc.c): Likewise.
452
57ada0e7
L
4532015-01-06 H.J. Lu <hongjiu.lu@intel.com>
454
455 [BZ #17797]
456 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
457 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
458 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
459 CLOCKS_PER_SEC == 1000000.
460 * time/clocktest.c (main): Replace %ld with %jd and cast to
461 intmax_t.
462
46abb64d
RM
4632015-01-05 Roland McGrath <roland@hack.frob.com>
464
465 * sysdeps/generic/unwind-resume.h: New file.
466 * sysdeps/gnu/unwind-resume.c: Include it.
467 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
468 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
469 argument list.
470 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
471 global rather than static.
472 (_Unwind_Resume): Update user.
473 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
474 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
475 rather than static. Add __attribute__ ((cold)).
476 (_Unwind_Resume, __gcc_personality_v0): Update callers.
477 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
478 * sysdeps/arm/arm-unwind-resume.S: New file.
479 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
480 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
481 * sysdeps/arm/Makefile [$(subdir) = csu]
482 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
483 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
484 Add rt-arm-unwind-resume.
485 [$(subdir) = nptl]
486 (libpthread-sysdep_routines, libpthread-shared-only-routines):
487 Add pt-arm-unwind-resume.
488 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
489 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
490
ef9faf13
JM
4912015-01-05 Joseph Myers <joseph@codesourcery.com>
492
493 [BZ #17748]
494 * include/fenv.h (__feholdexcept): Declare. Use
495 libm_hidden_proto.
496 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
497 define as weak alias of __feholdexcept. Use libm_hidden_weak.
498 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
499 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
500 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
501 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
502 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
503 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
504 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
505 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
506 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
507 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
508 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
509 (feholdexcept): Likewise.
510 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
511 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
512 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
513 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
514 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
515 __feholdexcept instead of feholdexcept.
516 (default_libc_feholdexcept_setround): Likewise.
517
295a453e
SE
5182015-01-05 Steve Ellcey <sellcey@imgtec.com>
519
520 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
521 to avoid using stl/str to align destination.
522
882c4b9f
SE
5232015-01-05 Steve Ellcey <sellcey@imgtec.com>
524
525 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
526
ac4c11f5
JM
5272015-01-05 Joseph Myers <joseph@codesourcery.com>
528
529 [BZ #17796]
530 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
531 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
532 Define as weak alias not strong alias.
533
03403e30
SE
5342015-01-05 Steve Ellcey <sellcey@imgtec.com>
535
536 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
537 bltzal with addiupc.
538 (RTLD_START): Ditto.
539
1dca195e
CM
5402015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
541
7ea793f3
CM
542 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
543 for __vdso_* functions in declarations.
544 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
545 definitions.
546 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
547 INTERNAL_VSYSCALL): Use struct return types to check for error.
548
1dca195e
CM
549 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
550 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
551 function with cast from llround().
552 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
553 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
554 Define.
555
a287953a
JM
5562015-01-05 Joseph Myers <joseph@codesourcery.com>
557
ab70da77
JM
558 [BZ #17793]
559 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
560 Define as weak alias not strong alias.
561
b8986484
JM
562 [BZ #17635]
563 * ctype/ctype-c99.c: New file. isblank implementation moved from
564 ...
565 * ctype/ctype-extn.c: ... here.
566 (__isblank_l): Move to ...
567 * ctype/ctype-c99_l.c: ... here. New file.
568 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
569 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
570 Remove variable.
571 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
572 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
573 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
574 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
575 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
576
a287953a
JM
577 [BZ #17777]
578 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
579 (posix_fadvise64): Define as weak alias not strong alias.
580 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
581 (posix_fallocate64): Likewise.
582 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
583 Remove variable.
584 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
585 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
586 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
587 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
588 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
589
b1efe3bb
MF
5902015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
591
592 [BZ #16191]
593 * NEWS: Mention bug fix.
594 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
595 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
596 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
597 (HOST_STACK_END_ADDR): Likewise.
598
9706dc5f
JM
5992015-01-02 Joseph Myers <joseph@codesourcery.com>
600
b93c2205
JM
601 [BZ #17748]
602 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
603 * math/fegetround.c (fegetround): Rename to __fegetround and
604 define as weak alias of __fegetround. Use libm_hidden_weak.
605 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
606 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
607 * sysdeps/arm/fegetround.c (fegetround): Likewise.
608 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
609 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
610 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
611 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
612 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
613 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
614 Undefine after rather than before function definition; use
615 parentheses around function name in definition.
616 (__fegetround): Also undefine macro after function definition.
617 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
618 __fegetround and define as weak alias of __fegetround. Use
619 libm_hidden_weak. Do not undefine as macro.
620 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
621 Likewise.
622 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
623 __fegetround and define as weak alias of __fegetround. Use
624 libm_hidden_weak.
625 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
626 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
627 * sysdeps/tile/math_private.h (__fegetround): New inline function.
628 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
629 __fegetround and define as weak alias of __fegetround. Use
630 libm_hidden_weak.
631 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
632 __fegetround instead of fegetround.
633
253a59cc
JM
634 [BZ #17782]
635 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
636 Condition macro definition on [__USE_MISC].
637
27dae011
JM
638 [BZ #17781]
639 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
640 (struct sigaction): Change type of sa_flags field to int.
641
172019c0
JM
642 [BZ #17780]
643 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
644 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
645 __glibc_reserved0.
646
522ad1d6
JM
647 * nptl/version.c (banner): Use single year in copyright notice.
648
9706dc5f
JM
649 * NEWS: Update copyright dates.
650 * catgets/gencat.c (print_version): Likewise.
651 * csu/version.c (banner): Likewise.
652 * debug/catchsegv.sh: Likewise.
653 * debug/pcprofiledump.c (print_version): Likewise.
654 * debug/xtrace.sh (do_version): Likewise.
655 * elf/ldconfig.c (print_version): Likewise.
656 * elf/ldd.bash.in: Likewise.
657 * elf/pldd.c (print_version): Likewise.
658 * elf/sotruss.sh: Likewise.
659 * elf/sprof.c (print_version): Likewise.
660 * iconv/iconv_prog.c (print_version): Likewise.
661 * iconv/iconvconfig.c (print_version): Likewise.
662 * locale/programs/locale.c (print_version): Likewise.
663 * locale/programs/localedef.c (print_version): Likewise.
664 * login/programs/pt_chown.c (print_version): Likewise.
665 * malloc/memusage.sh (do_version): Likewise.
666 * malloc/memusagestat.c (print_version): Likewise.
667 * malloc/mtrace.pl: Likewise.
668 * manual/libc.texinfo: Likewise.
669 * nptl/version.c (banner): Likewise.
670 * nscd/nscd.c (print_version): Likewise.
671 * nss/getent.c (print_version): Likewise.
672 * nss/makedb.c (print_version): Likewise.
673 * posix/getconf.c (main): Likewise.
674 * scripts/test-installation.pl: Likewise.
675 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
676
b8607aac
WN
6772015-01-02 Will Newton <will.newton@linaro.org>
678
679 * sysdeps/arm/armv7/configure: Removed.
680 * sysdeps/arm/armv7/configure.ac: Likewise.
681
b168057a
JM
6822015-01-02 Joseph Myers <joseph@codesourcery.com>
683
684 * All files with FSF copyright notices: Update copyright dates
685 using scripts/update-copyrights.
686 * intl/plural.c: Regenerated.
687 * locale/programs/charmap-kw.h: Likewise.
688 * locale/programs/locfile-kw.h: Likewise.
689
b217c15f
SP
6902015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
691
692 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
693
73a268c7
JM
6942014-12-31 Joseph Myers <joseph@codesourcery.com>
695
696 [BZ #17748]
697 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
698 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
699 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
700 and define as weak alias of __fegetenv. Use libm_hidden_weak.
701 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
702 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
703 define as weak alias of __fegetenv. Use libm_hidden_weak.
704 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
705 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
706 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
707 define as weak alias of __fegetenv. Use libm_hidden_weak.
708 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
709 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
710 define as weak alias of __fegetenv. Use libm_hidden_weak.
711 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
712 libm_hidden_def.
713 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
714 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
715 Likewise.
716 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
717 define as weak alias of __fegetenv. Use libm_hidden_weak.
718 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
719 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
720 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
721 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
722 and define as weak alias of __fegetenv. Use libm_hidden_weak.
723 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
724 __fegetenv instead of fegetenv.
725 (libc_feholdsetround_noex_ctx): Likewise.
726
0bd95672
MF
7272014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
728
729 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
730 (Elf_MIPS_ABIFlags_v0): New structure.
731 (EF_MIPS_FP64): Define.
732 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
733 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
734 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
735 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
736 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
737 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
738 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
739 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
740 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
741 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
742 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
743 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
744 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
745 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
746 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
747 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
748 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
749 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
750 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
751 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
752 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
753 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
754 field.
755 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
756 EF_MIPS_FP64.
757 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
758 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
759 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
760 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
761 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
762 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
763 * sysdeps/mips/tst-abi-interlink.c: Likewise.
764 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
765 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
766 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
767 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
768 record the current FP ABI extension.
769 (mips-mode-switch): Define to show if kernel headers support mode
770 switching.
771 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
772 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
773 supported SYSV ABI version to 3.
774 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
775 feature.
776
f59ad976
RS
7772014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
778 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
779
780 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
781 path.
782 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
783
4a3d3999
JM
7842014-12-31 Joseph Myers <joseph@codesourcery.com>
785
786 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
787 __fegetround and redefine to call __fegetround. Remove condition
788 on [!__NO_MATH_INLINES].
789 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
790 function.
791 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
792 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
793 Remove macro.
794 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
795 instead of <fenv_libc.h>.
796 (__llrintl): Call fegetround instead of __fegetround.
797 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
798 instead of <fenv_libc.h>.
799 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
800 (__lrintl): Call fegetround instead of __fegetround.
801 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
802 instead of <fenv_libc.h>.
803 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
804 (__rintl): Call fegetround instead of __fegetround.
805
195f3afc
SP
8062014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
807
808 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
809 arrays.
810
7062bd42
L
8112014-12-30 H.J. Lu <hongjiu.lu@intel.com>
812
813 [BZ #17775]
814 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
815 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
816 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
817
07256e18
AS
8182014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
819
820 * sysdeps/i386/tls-macros.h: Include <features.h>.
821 (TLS_LE): Use non-PIC version for GCC >= 5.0.
822 (TLS_IE): Likewise.
823 (TLS_LD): Likewise.
824 (TLS_GD): Likewise.
825 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
826 define for GCC >= 5.0.
827
1ff950ad
CM
8282014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
829
830 * math/test-fenv.c (test_single_exception, set_single_exc,
831 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
832 feexcp_mask_test, feenable_test, fe_single_test): Add
833 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
834 case where they are not used.
835 * math/libm-test.inc: Likewise.
836 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
837 unused in the absence of FP rounding/exception support.
838 * stdio-common/tst-printf-round.c: Likewise.
839 * stdlib/tst-strtod-round.c: Likewise.
840 * stdlib/tst-strtod-underflow.c: Likewise.
841
0747f818
JM
8422014-12-30 Joseph Myers <joseph@codesourcery.com>
843
844 [BZ #17723]
845 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
846 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
847 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
848 __feraiseexcept and define as weak alias of __feraiseexcept. Use
849 libm_hidden_weak.
850 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
851 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
852 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
853 libm_hidden_def.
854 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
855 __feraiseexcept and define as weak alias of __feraiseexcept. Use
856 libm_hidden_weak.
857 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
858 Likewise.
859 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
860 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
861 __feraiseexcept and define as weak alias of __feraiseexcept. Use
862 libm_hidden_weak.
863 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
864 libm_hidden_def.
865 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
866 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
867 (__feraiseexcept): Likewise.
868 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
869 __feraiseexcept and define as weak alias of __feraiseexcept. Use
870 libm_hidden_weak.
871 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
872 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
873 libm_hidden_def.
874 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
875 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
876 Use libm_hidden_def.
877 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
878 libm_hidden_def.
879 (feraiseexcept): Define as weak not strong alias. Use
880 libm_hidden_weak.
881 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
882 New inline function. Factored out of ...
883 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
884 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
885 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
886 feraiseexcept.
887 * math/w_acos.c (__acos): Likewise.
888 * math/w_asin.c (__asin): Likewise.
889 * math/w_ilogb.c (__ilogb): Likewise.
890 * math/w_j0.c (y0): Likewise.
891 * math/w_j1.c (y1): Likewise.
892 * math/w_jn.c (yn): Likewise.
893 * math/w_log.c (__log): Likewise.
894 * math/w_log10.c (__log10): Likewise.
895 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
896 * sysdeps/aarch64/fpu/math_private.h
897 (libc_feupdateenv_test_aarch64): Likewise.
898 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
899 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
900 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
901 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
902 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
903 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
904 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
905 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
906 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
907 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
908
8d2b2763
L
9092014-12-30 H.J. Lu <hongjiu.lu@intel.com>
910
911 [BZ #17732]
912 * io/test-utime.c (main): Replace %ld with %jd and cast to
913 intmax_t.
41fad830 914 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
915 * nptl/tst-mutex5.c: Include <stdint.h>.
916 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
917 * posix/tst-regex.c (run_test): Likewise.
918 (run_test_backwards): Likewise.
5d619de4
L
919 * rt/tst-clock.c: Include <stdint.h>.
920 (clock_test): Replace %ld with %jd and cast to intmax_t.
921 * rt/tst-cpuclock1.c: Include <stdint.h>.
922 (do_test): Replace %lu with %ju and cast to uintmax_t.
923 * rt/tst-cpuclock2.c: Include <stdint.h>.
924 (do_test): Replace %lu with %ju and cast to uintmax_t.
925 * rt/tst-mqueue1.c: Include <stdint.h>.
926 (check_attrs): Replace %ld with %jd and cast to intmax_t.
927 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
928 intmax_t.
929 * rt/tst-mqueue4.c (do_test): Likewise.
930 * rt/tst-timer4.c: Include <stdint.h>.
931 (check_ts): Replace %ld with %jd and cast to intmax_t.
932 (do_test): Likewise.
ad86fbc3
L
933 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
934 and cast to intmax_t.
37f46900 935 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
936 * time/clocktest.c (main): Likewise.
937 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 938 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 939
8b4416d8
AS
9402014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
941 H.J. Lu <hongjiu.lu@intel.com>
942
943 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
944 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
945 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
946 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
947 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
948 version if bit_Fast_Unaligned_Load is set.
949 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
950 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
951 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
952 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
953 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
954 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
956 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
957 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
958 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
959 to 4.
960 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
961 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
962 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
963 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
964
e47b8d3b
CM
9652014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
966
6d6d7fde
CM
967 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
968 instead of #if to avoid a Wundef warning.
969 * stdlib/tst-limits.c (do_test): Likewise.
970
cd2c37c9
CM
971 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
972 parallel other exception macros.
973 (fegetenv): Convert from macro to extern inline so that it applies
974 retroactively to inline functions already seen by the compiler.
975 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
976
e47b8d3b
CM
977 * posix/Makefile (before-compile): Use $(objpfx) for
978 posix-conf-vars-def.h.
979
4a6aca7b
SP
9802014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
981
7910c2ae
SP
982 * posix/getconf.c (main): Use size_t for type of I.
983 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
984 NSPEC.
985
50cbbaa9
SP
986 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
987 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
988 * posix/posix-envs.def: Likewise.
989 * sysdeps/posix/sysconf.c: Likewise.
990 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
991 (specs): Remove array.
992 * scripts/gen-posix-conf-vars.awk: Support generation of specs
993 array.
994
3b566046
SP
995 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
996 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
997 (__sysconf): Use CONF_IS_* macros.
998
4a6aca7b
SP
999 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1000 ($(objpfx)posix-conf-vars-def.h): New target.
1001 * posix/posix-conf-vars.list: New file.
1002 * posix/posix-conf-vars.h: New file.
1003 * posix/confstr.c: Include posix-conf-vars.h.
1004 (confstr): Use CONF_IS_* macros.
1005 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1006 CONF_IS_* macros.
1007 * scripts/gen-posix-conf-vars.awk: New file.
1008
7c1395a7
CM
10092014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1010
0025b4cc
CM
1011 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1012 fegetround): Add no-op macros to avoid linknamespace issues.
1013
d8aaf74b
CM
1014 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1015 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1016
5d24aa60
CM
1017 * sysdeps/unix/sysv/linux/tile/sysdep.h
1018 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1019 assembly-specific section to avoid a redefinition warning.
1020
7c1395a7
CM
1021 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1022 long before casting to pointer to avoid a cast warning.
1023
3c87c616
CM
10242014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1025
1026 * sysdeps/tile/tilegx/Implies: New file.
1027
f559d8cf
RE
10282014-12-23 Richard Earnshaw <rearnsha@arm.com>
1029
1030 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1031
7d81e8d6
FW
10322014-12-23 Florian Weimer <fweimer@redhat.com>
1033
1034 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1035
90aa3d09
JM
10362014-12-22 Joseph Myers <joseph@codesourcery.com>
1037
1038 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1039 not define.
1040 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1041 <kernel-features.h>.
1042 (__utimes) [__NR_utimes]: Make code unconditional.
1043 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1044 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1045 (__ASSUME_UTIMES): Do not undefine.
1046 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1047 (__ASSUME_UTIMES): Likewise.
1048 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1049 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1050 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1051 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1052
4c0c0e2a
SE
10532014-12-22 Steve Ellcey <sellcey@imgtec.com>
1054
1055 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1056
0dacd7a3
CM
10572014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1058
b638f96a
CM
1059 [BZ #17747]
1060 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1061 alias to weak alias for j0l, y0l.
1062 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1063 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1064
0dacd7a3
CM
1065 [BZ #17746]
1066 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1067 conversion.
1068
528479c4
SE
10692014-12-22 Steve Ellcey <sellcey@imgtec.com>
1070
1071 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1072 to zero if not already defined.
1073
f56f9124
JM
10742014-12-22 Joseph Myers <joseph@codesourcery.com>
1075
1076 [BZ #17724]
1077 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1078 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1079 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1080 (char *) casts added.
1081 * sysdeps/ieee754/k_standardf.c: New file.
1082 * sysdeps/ieee754/k_standardl.c: Likewise.
1083 * math/Makefile (libm-support): Remove k_standard.
1084 (libm-calls): Add k_standard.
1085
8622d556
WD
10862014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1087
1088 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1089 Optimize to avoid an unnecessary FPCR read.
1090
f3806bdb
WD
10912014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1092
1093 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1094 Optimize to reduce FPCR/FPSR accesses.
1095
9b47df58
WD
10962014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1097
1098 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1099 Call libc_fetestexcept_aarch64.
1100
97be3cac
WD
11012014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1102
1103 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1104 Call libc_fesetround_aarch64.
1105
935ab817
JM
11062014-12-22 Joseph Myers <joseph@codesourcery.com>
1107
1108 [BZ #17733]
1109 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1110 (__bind): Do not define as weak alias.
1111 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1112 define.
1113 (__getsockname): Do not define as weak alias.
1114
cc8623f1
WN
11152014-12-22 Will Newton <will.newton@linaro.org>
1116
1117 * manual/install.texi: Document that we require bison 2.7
1118 or above.
1119 * INSTALL: Regenerate.
1120 * configure.ac: Use AC_CHECK_PROG_VER instead of
1121 AC_PATH_PROG when checking for bison and check for
1122 version 2.7 or above.
1123 * configure: Regenerate.
1124
a19ca65a
CM
11252014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1126
92901170 1127 [BZ #17745]
e969965a
CM
1128 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1129 * sysdeps/tile/ffsll.c (ffsll): To here.
1130
a19ca65a
CM
1131 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1132
050f7298
L
11332014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1134
1135 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1136 if not defined.
1137 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1138 definition.
1139 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1140 hidden ___tls_get_addr.
1141 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1142 hidden __tls_get_addr.
1143 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1144 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1145 Likewise.
1146
6df5547e
AS
11472014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1148
1149 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1150 _dl_init call.
1151
7432d613
L
11522014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1153
1154 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1155 from "call _dl_init@PLT".
1156 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 1157
98fe149e
AK
11582014-12-21 Anders Kaseorg <andersk@mit.edu>
1159
1160 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1161 guarantees.
1162
d12455f5
CM
11632014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1164
1165 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1166
95dee05f
CM
11672014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1168
92901170 1169 [BZ #17744]
95dee05f
CM
1170 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1171 strnlen.
1172
2ef4b74a
SE
11732014-12-19 Steve Ellcey <sellcey@imgtec.com>
1174
1175 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1176 of multu on MIPSr6.
1177 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1178 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1179 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1180 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1181 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1182
11832014-12-19 Steve Ellcey <sellcey@imgtec.com>
1184
1185 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1186 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1187 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1188 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 1189 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
1190 mips32r6/mips64r6.
1191 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1192
3eb38795
OB
11932014-12-19 Ondřej Bílka <neleai@seznam.cz>
1194
1195 * string/strncat.c (STRNCAT): Simplify implementation.
1196
6d4188dd
DM
11972014-12-19 David S. Miller <davem@davemloft.net>
1198
0d4ba8be
DM
1199 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1200 access the quad as both a long double and as a series of 4 words.
1201
6d4188dd
DM
1202 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1203 link_map->l_info array access.
1204
4ef91cdc
CM
12052014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1206
804c54f7
CM
1207 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1208
4ef91cdc
CM
1209 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1210 * math/atest-exp2.c (TIMEOUT): Likewise.
1211 * math/atest-sincos.c (TIMEOUT): Likewise.
1212
afd176d6
L
12132014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1214
1215 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1216 -Wno-error with -fno-builtin-lround.
1217
a4a43a90
TR
12182014-12-19 Torvald Riegel <triegel@redhat.com>
1219
1220 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1221 Contains futex constants and functions moved over from ...
1222 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1223 <lowlevellock-futex.h>.
1224 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1225 (lll_timedwait_tid): Add comments and parentheses around macro
1226 arguments.
1227
76f71081
TR
12282014-12-19 Torvald Riegel <triegel@redhat.com>
1229
1230 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1231 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1232 (__lll_private_flag): Remove.
1233 (lll_futex_wait): Likewise.
1234 (lll_futex_timed_wait): Likewise.
1235 (lll_futex_wake): Likewise.
1236 (lll_futex_requeue): Likewise.
1237 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1238 (__lll_timedwait_tid): Spell out argument names.
1239 (lll_timedwait_tid): Add comments and parentheses around macro
1240 arguments.
1241 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1242 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1243
6b814909
TR
12442014-12-19 Torvald Riegel <triegel@redhat.com>
1245
1246 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1247 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1248 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1249 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1250 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1251 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1252 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1253 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1254 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1255 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1256 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1257 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1258 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1259 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1260 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1261 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1262 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1263 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1264 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1265
9cd4d4ab
L
12662014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1267
1268 * sysdeps/x86_64/x32/Makefile: New file.
1269
c9c1a2d0
L
12702014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1271
1272 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1273 1L with (mp_limb_t) 1.
1274
af102d95
RM
12752014-12-17 Roland McGrath <roland@hack.frob.com>
1276
dd690454
RM
1277 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1278 * nptl/libc_pthread_init.c: ... here.
1279 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1280 * nptl/register-atfork.c: ... here.
1281
74eb826c
RM
1282 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1283 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1284 Use assert_perror to check its return value.
1285 (__gai_create_helper_thread): Likewise.
1286
c9ce306b
RM
1287 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1288
af102d95
RM
1289 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1290
8ac5a76a
JM
12912014-12-17 Joseph Myers <joseph@codesourcery.com>
1292
ea41469b
JM
1293 [BZ #17725]
1294 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1295 __profil_counter.
1296 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1297 Likewise.
1298 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1299 Likewise.
1300 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1301 Likewise.
1302 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1303 (profil_counter): Likewise.
1304 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1305 (profil_counter): Likewise.
1306 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1307 Likewise.
1308 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1309 Likewise.
1310 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1311 (profil_counter): Likewise.
1312 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1313 Likewise.
1314 [!__profil_counter] (profil_counter): Define as weak alias of
1315 __profil_counter.
1316 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1317 (profil_counter): Rename to __profil_counter.
1318 [!__profil_counter] (profil_counter): Define as weak alias of
1319 __profil_counter.
1320 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1321 (profil_counter): Rename to __profil_counter.
1322 [!__profil_counter] (profil_counter): Define as weak alias of
1323 __profil_counter.
1324 * sysdeps/posix/profil.c: Update comment referring to
1325 profil_counter.
1326 (__profil): Use __profil_counter instead of profil_counter.
1327 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1328 __profil_counter. Use __profil_counter_ushort and
1329 __profil_counter_uint in definitions.
1330 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1331 instead of profil_counter_uint and profil_counter_ushort.
1332
8ac5a76a
JM
1333 [BZ #17722]
1334 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1335 define as weak alias of __inet_makeaddr.
1336 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1337 as weak alias of __inet_addr.
1338 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1339 as weak alias of __inet_pton. Use libc_hidden_weak.
1340 * include/arpa/inet.h (__inet_pton): Declare. Use
1341 libc_hidden_proto.
1342 (inet_makeaddr): Don't use libc_hidden_proto.
1343 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1344 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1345 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1346 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1347 Remove variable.
1348 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1349 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1350
66ce3cb1
SE
13512014-12-17 Steve Ellcey <sellcey@imgtec.com>
1352
1353 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1354
d22ce01b
SL
13552014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1356
1357 * stdio-common/bug-vfprintf-nargs.c (do_test):
1358 Cast value to intptr_t to avoid format warning
1359 for usage with PRIdPTR printing macro.
1360
eca2772b
SL
13612014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1362
1363 * libio/tst-widetext.c (do_test):
1364 Use format type %td instead of %Zd for ptrdiff_t
1365 in order to avoid format warning.
1366
bdf079da
AS
13672014-12-17 Andreas Schwab <schwab@suse.de>
1368
1369 * nscd/mem.c (gc): Add size_t cast to match printf format.
1370
3eb5d2fc
RM
13712014-12-16 Roland McGrath <roland@hack.frob.com>
1372
1373 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1374 (init): Apply PTR_MANGLE to pointers before storing them.
1375 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1376 before using them.
1377
d003ada2
JM
13782014-12-16 Joseph Myers <joseph@codesourcery.com>
1379
380292ba
JM
1380 [BZ #17719]
1381 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1382 define as weak alias of __memrchr.
1383 (__memrchr): Do not define as strong alias of memrchr.
1384 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1385 Remove variable.
1386 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1387 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1388 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1389
9a44d530
JM
1390 [BZ #17717]
1391 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1392 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1393 (if_indextoname): Rename to __if_indextoname and define as weak
1394 alias of __if_indextoname. Use libc_hidden_weak.
1395 (if_freenameindex): Rename to __if_freenameindex and define as
1396 weak alias of __if_freenameindex.
1397 (if_nameindex): Rename to __if_nameindex and define as weak alias
1398 of __if_nameindex.
1399 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1400 __if_nametoindex and define as weak alias of __if_nametoindex.
1401 Use libc_hidden_weak.
1402 (if_freenameindex): Rename to __if_freenameindex and define as
1403 weak alias of __if_freenameindex.
1404 (if_nameindex): Rename to __if_nameindex and define as weak alias
1405 of __if_nameindex.
1406 (if_indextoname): Rename to __if_indextoname and define as weak
1407 alias of __if_indextoname. Use libc_hidden_weak.
1408 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1409 __if_nametoindex and define as weak alias of __if_nametoindex.
1410 Use libc_hidden_weak.
1411 (if_freenameindex): Rename to __if_freenameindex and define as
1412 weak alias of __if_freenameindex. Use libc_hidden_weak.
1413 (if_nameindex_netlink): Use __if_freenameindex instead of
1414 if_freenameindex.
1415 (if_nameindex): Rename to __if_nameindex and define as weak alias
1416 of __if_nameindex. Use libc_hidden_weak.
1417 (if_indextoname): Rename to __if_indextoname and define as weak
1418 alias of __if_indextoname. Use libc_hidden_weak.
1419 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1420 libc_hidden_proto.
1421 [!_ISOMAC] (__if_freenameindex): Likewise.
1422 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1423 if_nametoindex.
1424 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1425 variable.
1426 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1427 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1428 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1429 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1430 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1431 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1432 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1433
d003ada2
JM
1434 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1435 Remove variable.
1436 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1437 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1438
a0d424ef
SP
14392014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1440
0cd85520
SP
1441 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1442 subscript above bounds'
1443
a0d424ef
SP
1444 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1445 bounds.
1446
0e426475
AS
14472014-12-16 Arjun Shankar <arjun.is@lostca.se>
1448
8b460906
AS
1449 * libio/tst-fopenloc.c: Use test-skeleton.c.
1450
fa13e15b
AS
1451 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1452 (entry): Rename to ITEM.
1453 (do_test, comp): Adjust.
1454
0e426475
AS
1455 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1456
4f646bce
TR
14572014-12-16 Torvald Riegel <triegel@redhat.com>
1458
1459 * string/tester.c: Include <libc-internal.h>.
1460 (test_memset): Ignore -Wmemset-transposed-args.
1461
a07c4427
TR
14622014-12-16 Torvald Riegel <triegel@redhat.com>
1463
1464 * misc/tst-mntent2.c (do_test): Fix warning.
1465
1469f466
TR
14662014-12-16 Torvald Riegel <triegel@redhat.com>
1467
1468 * elf/tst-unique4lib.cc(a): Mark as used.
1469
11e3417a
FW
14702014-12-16 Florian Weimer <fweimer@redhat.com>
1471
1472 [BZ #17630]
1473 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1474 names.
1475
ae61fc7b
AM
14762014-12-16 Allan McRae <allan@archlinux.org>
1477
1478 * stdio-common/Makefile (tests): Re-add bug26.
1479
363a9899
OB
14802014-12-15 Ondřej Bílka <neleai@seznam.cz>
1481
1482 [BZ #17657]
1483 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1484 static array.
1485
d52c62df
TR
14862014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1487
1488 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1489 (__lll_lock_wait): Likewise.
1490 (__lll_timedlock_wait): Likewise.
1491 (__lll_timedwait_tid): Likewise.
1492 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1493 (__lll_robust_timedlock_wait): Likewise.
1494 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1495 (lll_cond_trylock): Likewise.
1496 (__lll_lock): Likewise.
1497 (__lll_robust_lock): Likewise.
1498 (__lll_cond_lock): Likewise.
1499 (lll_robust_cond_lock): Likewise.
1500 (__lll_timedlock): Likewise.
1501 (__lll_robust_timedlock): Likewise.
1502 (__lll_unlock): Likewise.
1503 (__lll_robust_unlock): Likewise.
1504 (lll_wait_tid): Likewise.
1505 (lll_timedwait_tid): Likewise.
1506
045a6bcd
TR
15072014-12-15 Torvald Riegel <triegel@redhat.com>
1508
1509 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1510
7f786dc1
TR
15112014-12-15 Torvald Riegel <triegel@redhat.com>
1512
1513 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1514
e7e21cba
AZ
15152014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1516
1517 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1518 * stdio-common/tst-sprintf.c: Likewise.
1519
bc89c0fc
TR
15202014-12-15 Torvald Riegel <triegel@redhat.com>
1521
1522 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1523
a5357b7c
JL
15242014-12-15 Jeff Law <law@redhat.com>
1525
1526 [BZ #16617]
1527 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1528 on the heap. (CVE-2012-3406)
1529 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1530 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1531 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1532
3a12c70f
WN
15332014-12-15 Will Newton <will.newton@linaro.org>
1534
1535 * manual/install.texi: Bump required version of texinfo
1536 to 4.7 from 4.5.
1537 * INSTALL: Regenerated.
1538 * configure.ac: Check for makeinfo version 4.7 and above.
1539 * configure: Regenerated.
1540
e4f639e4
RM
15412014-12-12 Roland McGrath <roland@hack.frob.com>
1542
1543 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1544 PREFIX, string constant to insert between directory and name.
1545 * sysdeps/posix/shm_open.c: Update caller.
1546 * sysdeps/posix/shm_unlink.c: Likewise.
1547 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1548 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1549 (SEM_SHM_PREFIX): New macro.
1550 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1551 [$(have-thread-library) = no].
1552 * nptl/Makefile (libpthread-routines): Add shm-directory.
1553 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1554 * sysdeps/nptl/shm-directory.h: New file.
1555 * sysdeps/posix/shm-directory.c
1556 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1557 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1558 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1559 INTERNAL_SYSCALL.
1560 (__where_is_shmfs): Function removed.
1561 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1562 Variables removed.
1563 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1564 Use SHM_GET_NAME.
1565 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1566
1567 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1568 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1569 unconditional for use inside libpthread.
1570 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1571
439c43f6
RM
15722014-12-12 Roland McGrath <roland@hack.frob.com>
1573
c76d1ff5
RM
1574 * nptl/pthread_getaffinity.c: New file.
1575 * nptl/pthread_setaffinity.c: New file.
1576 * nptl/pthread_getname.c: New file.
1577 * nptl/pthread_setname.c: New file.
1578
439c43f6
RM
1579 * nptl/pthread_create.c (START_THREAD_DEFN)
1580 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1581
48e435cd
SL
15822014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1583 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1584
1585 * resolv/res_send.c (send_vc): Disable warning resplen may
1586 be used uninitialized.
1587
9d9c0019
SL
15882014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1589
1590 * nptl/tst-mutex6.c
1591 (ATTR_NULL): New define checks ATTR against NULL.
1592 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1593 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1594
9173840b
JL
15952014-12-11 James Lemke <jwlemke@codesourcery.com>
1596
1597 [BZ #17581]
1598 * malloc/hooks.c
1599 (mem2mem_check): Revert my previous change.
1600 (malloc_check_get_size): Revert my previous change.
1601 (mem2chunk_check): Revert my previous change.
1602
78e21c5d
RM
16032014-12-11 Roland McGrath <roland@hack.frob.com>
1604
1605 * sysdeps/posix/shm-directory.c: New file.
1606 * sysdeps/posix/shm-directory.h: New file.
1607 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1608 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1609 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1610 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1611 Transmute EPERM to EACCES.
1612 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1613 from ...
1614 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1615 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1616
f82c43af
KK
16172014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1618
1619 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1620 pointer and cast to uintptr_t.
1621 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1622 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1623 Add cast to avoid warning.
1624 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1625
fc00cf7b
JM
16262014-12-11 Joseph Myers <joseph@codesourcery.com>
1627
1628 * nptl/semaphore.h: Move to ...
1629 * sysdeps/pthread/semaphore.h: ... here.
1630 * Makefile (installed-headers): Change nptl/semaphore.h to
1631 sysdeps/pthread/semaphore.h.
1632
1c4053db
RM
16332014-12-11 Roland McGrath <roland@hack.frob.com>
1634
73b0c1a1
RM
1635 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1636 generated error format strings.
1637
1c4053db
RM
1638 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1639 -Wformat-extra-args warnings for scanf formats.
1640 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1641 test of zero-length format (duh).
1642 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1643 corner-case scanf format test.
1644 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1645 generated fprintf format string.
1646 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1647 corner-case sprintf format tests.
1648 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1649 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1650 -Wformat-extra-args warnings throughout.
1651 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1652 (CFLAGS-scanf4.c): Likewise.
1653 (CFLAGS-scanf7.c): Likewise.
1654 (CFLAGS-tst-sprintf.c): Likewise.
1655 (CFLAGS-tst-printf.c): Likewise.
1656 (CFLAGS-tst-printfsz.c): Likewise.
1657
47d51f4f
JM
16582014-12-11 Joseph Myers <joseph@codesourcery.com>
1659
a1edbf3c
JM
1660 * include/cpio.h: New file.
1661 * include/fmtmsg.h: Likewise.
1662
47d51f4f
JM
1663 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1664 corresponding format argument to size_t.
1665 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1666 arguments.
1667 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1668 corresponding format argument to size_t.
1669 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1670 arguments.
1671 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1672 corresponding format argument to size_t.
1673 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1674 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1675 (CFLAGS-tst-mbswcs2.c): Likewise.
1676 (CFLAGS-tst-mbswcs3.c): Likewise.
1677 (CFLAGS-tst-mbswcs4.c): Likewise.
1678 (CFLAGS-tst-mbswcs5.c): Likewise.
1679 (CFLAGS-tst-trans.c): Likewise
1680
e9813cfb
RM
16812014-12-11 Roland McGrath <roland@hack.frob.com>
1682
1683 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1684 rather than assuming they won't contain any '%'s.
1685
f627ca82
CM
16862014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1687
1688 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1689 inhibit_loop_to_libcall to avoid recursive calls.
1690 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1691 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1692
7f296942
AZ
16932014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1694
1695 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1696 prototype.
1697
d0276e18
SE
16982014-12-11 Steve Ellcey <sellcey@imgtec.com>
1699
1700 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1701 integer value instead of boolean.
1702
fc56e970
SE
17032014-12-11 Steve Ellcey <sellcey@imgtec.com>
1704
1705 * malloc/malloc.c: Fix powerof2 check.
1706
40e53917
SL
17072014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1708
1709 * locale/programs/locfile.h (maybe_swap_uint32):
1710 Remove inline and add unused attribute.
1711
1ea166df
SL
17122014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1713
9d9c0019 1714 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
1715 Truncating assembler expression to a .long expression.
1716
acf869f4
AS
17172014-12-11 Andreas Schwab <schwab@suse.de>
1718
1719 * elf/rtld.c (struct map_args): Constify str member.
1720 (do_preload): Constify fname argument.
1721
9d969099
AZ
17222014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1723
1724 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1725 constants definition.
1726
da5bcaa4
AS
17272014-12-11 Andreas Schwab <schwab@suse.de>
1728
b0a3c164
AS
1729 [BZ #16657]
1730 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1731 FORCE_ELISION instead of DO_ELISION.
1732 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1733 Remove.
1734 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1735 Likewise.
1736
da5bcaa4
AS
1737 * iconvdata/gconv-modules: Remove duplicate entry.
1738
6d248857
WN
17392014-12-11 Will Newton <will.newton@linaro.org>
1740
1741 Merge gettext 0.19.3 into intl/.
1742
1743 This involves a number of cosmetic changes to comments
1744 and ANSI function definitions and prototypes throughout
1745 all the files. The gettext copyright header is used but
1746 with the date ranges taken from the glibc copy.
1747
1748 * NEWS: Add gettext merge to 2.21.
1749 * intl/bindtextdom.c: Switch to gettext copyright.
1750 Use ANSI definitions and prototypes.
1751 Use gl_* locking primitives rather than __libc_* ones.
1752 Use __builtin_expect rather than __glibc_likely/unlikely.
1753 * intl/dcgettext.c: Switch to gettext copyright.
1754 Use ANSI definitions and prototypes.
1755 * intl/dcigettext.c: Switch to gettext copyright.
1756 Use ANSI definitions and prototypes.
1757 (INTDIV0_RAISES_SIGFPE): New define.
1758 Use gl_* locking primitives rather than __libc_* ones.
1759 Include eval-plural.h instead of plural-eval.c.
1760 Use __builtin_expect rather than __glibc_likely/unlikely.
1761 * intl/dcngettext.c: Switch to gettext copyright.
1762 Use ANSI definitions and prototypes.
1763 * intl/dgettext.c: Likewise.
1764 * intl/dngettext.c: Likewise.
1765 * intl/plural-eval.c: Renamed to...
1766 * intl/eval-plural.h: ...this.
1767 * intl/explodename.c: Switch to gettext copyright.
1768 Use ANSI definitions and prototypes.
1769 (_nl_explode_name): Use strchr instead of __rawmemchr.
1770 * intl/finddomain.c: Switch to gettext copyright.
1771 Use ANSI definitions and prototypes.
1772 Use gl_* locking primitives rather than __libc_* ones.
1773 (_nl_find_domain): Use malloc rather than alloca for
1774 allocation of temporary locale name.
1775 * intl/gettext.c: Switch to gettext copyright.
1776 Use ANSI definitions and prototypes.
1777 * intl/gettextP.h: Switch to gettext copyright.
1778 Use ANSI definitions and prototypes.
1779 Use gl_* locking primitives rather than __libc_* ones.
1780 * intl/gmo.h: Switch to gettext copyright.
1781 (struct sysdep_string): Move struct segment_pair outside of
1782 struct definition.
1783 * intl/hash-string.c: Use ANSI definitions and prototypes.
1784 * intl/hash-string.h: Switch to gettext copyright.
1785 Use ANSI definitions and prototypes.
1786 * intl/l10nflist.c: Switch to gettext copyright.
1787 Use ANSI definitions and prototypes.
1788 (_nl_normalize_codeset): Avoid integer overflow.
1789 * intl/loadinfo.h: Switch to gettext copyright.
1790 Use ANSI definitions and prototypes.
1791 (LIBINTL_DLL_EXPORTED): New define.
1792 (PATH_SEPARATOR): New define.
1793 * intl/loadmsgcat.c: Switch to gettext copyright.
1794 * intl/localealias.c: Switch to gettext copyright.
1795 Use ANSI definitions and prototypes.
1796 (_nl_expand_alias): Use PATH_SEPARATOR.
1797 * intl/ngettext.c: Switch to gettext copyright.
1798 Use ANSI definitions and prototypes.
1799 * intl/plural-exp.c: Likewise.
1800 * intl/plural-exp.h: Switch to gettext copyright.
1801 Use ANSI definitions and prototypes.
1802 (struct expression): Move definition of enum operator outside
1803 of struct definition.
1804 * intl/plural.c: Regenerate.
1805 * intl/plural.y: Switch to gettext copyright.
1806 Use ANSI definitions and prototypes.
1807 Port to bison 3.0.
1808 * intl/textdomain.c: Switch to gettext copyright.
1809 Use ANSI definitions and prototypes.
1810 Use gl_* locking primitives rather than __libc_* ones.
1811
48c43298
SE
18122014-12-10 Steve Ellcey <sellcey@imgtec.com>
1813
1814 * debug/warning-nop.c: Add used atrribute.
1815
2b89bce9
JM
18162014-12-10 Joseph Myers <joseph@codesourcery.com>
1817
c153ac9f
JM
1818 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1819
2b89bce9
JM
1820 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1821 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1822 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1823
2cfbdb9a
JM
18242014-12-10 Joseph Myers <joseph@codesourcery.com>
1825 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1826
1827 [BZ #17634]
1828 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1829 Undefine after defining function. Define as weak alias of
1830 __wcschr. Use libc_hidden_weak.
1831 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1832 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1833 (libc_hidden_def): Also define __GI___wcschr alias.
1834 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1835 __wcschr and define as weak alias of __wcschr.
1836 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1837 __wcschr.
1838 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1839 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1840 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1841 libc_hidden_weak. Do not use libc_hidden_def.
1842 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1843 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1844 __GI___wcschr alias.
1845 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1846 [IS_IN (libc)] (wcschr): Define as macro expanding to
1847 __redirect_wcschr.
1848 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1849 [IS_IN (libc)] (__wcschr_power6): Likewise.
1850 [IS_IN (libc)] (__wcschr_power7): Likewise.
1851 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1852 instead of wcschr.
1853 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1854 __libc_wcschr.
1855 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1856 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1857 __wcschr and define as weak alias of __wcschr. Use
1858 libc_hidden_builtin_def.
1859 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1860 as weak alias of __wcschr. Use libc_hidden_weak.
1861 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1862 wcschr.
1863 * time/era.c (_nl_init_era_entries): Likewise.
1864 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1865 variable.
1866 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1867 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1868
1b8bf351
JM
18692014-12-10 Joseph Myers <joseph@codesourcery.com>
1870
1871 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1872 format for long int variable.
1873
f5f46d51
AK
18742014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1875
1876 [BZ #10672]
07008f7d 1877 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
1878 qsort stable.
1879
217a74a8
AS
18802014-12-10 Andreas Schwab <schwab@suse.de>
1881
1882 [BZ #12847]
1883 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1884 user-controlled locks.
1885
aa76a5c7
RE
18862014-12-10 Richard Earnshaw <rearnsha@arm.com>
1887
1888 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1889 register.
1890
2084e7ca
JM
18912014-12-10 Joseph Myers <joseph@codesourcery.com>
1892
a4ecc9eb
JM
1893 * configure.ac (--disable-werror): New configure option.
1894 (enable_werror): New AC_SUBST.
1895 * configure: Regenerated.
1896 * config.make.in (enable-werror): New variable.
1897 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1898 -Wno-error=undef.
1899 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1900 * manual/install.texi (Configuring and compiling): Document
1901 --disable-werror.
1902 * INSTALL: Regenerated.
1903 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1904 (CFLAGS-tst-chk2.c): Likewise.
1905 (CFLAGS-tst-chk3.c): Likewise.
1906 (CFLAGS-tst-chk4.cc): Likewise.
1907 (CFLAGS-tst-chk5.cc): Likewise.
1908 (CFLAGS-tst-chk6.cc): Likewise.
1909 (CFLAGS-tst-lfschk1.c): Likewise.
1910 (CFLAGS-tst-lfschk2.c): Likewise.
1911 (CFLAGS-tst-lfschk3.c): Likewise.
1912 (CFLAGS-tst-lfschk4.cc): Likewise.
1913 (CFLAGS-tst-lfschk5.cc): Likewise.
1914 (CFLAGS-tst-lfschk6.cc): Likewise.
1915
0f88636c
JM
1916 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1917 (main): Disable -Wdeprecated-declarations around calls to
1918 register_printf_function.
1919
c81e9deb
JM
1920 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1921 (do_test): Disable -Wdiv-by-zero around some calls to
1922 fwrite_unlocked and fread_unlocked.
1923
2084e7ca
JM
1924 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1925 (DIAG_POP_NEEDS_COMMENT): Likewise.
1926 (_DIAG_STR1): Likewise.
1927 (_DIAG_STR): Likewise.
1928 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1929 * stdio-common/bug21.c: Include <libc-internal.h>.
1930 (do_test): Disable -Wformat around call to sscanf.
1931 * stdio-common/scanf14.c: Include <libc-internal.h>.
1932 (main): Disable -Wformat around some calls to scanf functions.
1933
df7ecc6b
TR
19342014-12-09 Torvald Riegel <triegel@redhat.com>
1935
1936 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1937
2aa3862e
AZ
19382014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1939
1940 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1941 stack variable alignment.
1942
c5c2b7c3
JM
19432014-12-06 Joseph Myers <joseph@codesourcery.com>
1944
1945 [BZ #17682]
1946 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1947 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1948 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1949 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1950 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1951 __getrlimit instead of getrlimit.
1952 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1953 __gettimeofday instead of gettimeofday.
1954 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1955 Likewise.
1956 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1957 Likewise.
1958 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1959 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1960 Remove variable.
1961 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1962 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1963
9752c3cd
AZ
19642014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1965
1966 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1967 for wide-character tests.
1968
4bee4cd9
RM
19692014-12-04 Roland McGrath <roland@hack.frob.com>
1970
1971 * io/openat64.c: #include <libc-internal.h>
1972 (__openat64): Prototypify. Use ignore_value on MODE.
1973 * io/openat.c: Likewise.
1974 * misc/reboot.c: #include <libc-internal.h>
1975 (reboot): Prototypify. Use ignore_value on HOWTO.
1976 * misc/ptrace.c: #include <libc-internal.h>
1977 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1978
84dbedb6
JM
19792014-12-04 Joseph Myers <joseph@codesourcery.com>
1980
1981 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1982 XPG4, UNIX98 and XOPEN2K.
1983 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1984 Remove variable.
1985 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1986
b7a3e1c4 19872014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 1988
af50dfc1 1989 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
1990 * libio/iofopen.c: Likewise.
1991 * libio/wfileops.c: Likewise.
1992
fe8b4d98
SP
1993 [BZ #17653]
1994 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1995 offset on EOF.
1996 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1997 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1998 (fgets_func): Function pointer to fgets and fgetws.
1999 (do_ftell_test): Add test to verify ftell value after read
2000 EOF.
2001 (do_test): Set fgets_func.
2002
61b4f792
SP
2003 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2004 O_TRUNC flag for w and w+ modes.
2005 (do_rewind_test): Likewise.
2006 (do_ftell_test): Likewise.
2007 (do_write_test): Likewise.
2008
be349d70
SP
2009 [BZ #17647]
2010 * libio/fileops.c (do_ftell): Seek only when there are
2011 unflushed writes.
2012 * libio/wfileops.c (do_ftell_wide): Likewise.
2013 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2014 test case.
2015 (do_one_test): Call it.
2016
e3d6dba5
JM
20172014-12-03 Joseph Myers <joseph@codesourcery.com>
2018
2019 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2020 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2021 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2022 Remove variable.
2023 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2024 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2025 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2026
7f994279
JM
20272014-12-02 Joseph Myers <joseph@codesourcery.com>
2028
28a91e8f
JM
2029 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2030 Remove variable.
2031 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2032
7f994279
JM
2033 [BZ #17668]
2034 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2035 as weak alias of __getifaddrs. Use libc_hidden_weak.
2036 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2037 __freeifaddrs. Use libc_hidden_weak.
2038 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2039 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2040 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2041 __freeifaddrs. Use libc_hidden_weak.
2042 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2043 __getifaddrs and define as weak alias of __getifaddrs. Use
2044 libc_hidden_weak.
2045 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2046 __freeifaddrs. Use libc_hidden_weak.
2047 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2048 Remove variable.
2049 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2050 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2051
bbe4c142
PJ
20522014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2053
2054 [BZ #17601]
2055 * sysdeps/mips/start.S (__start): Use indirect jump to call
2056 __libc_start_main.
2057
66cadc05
JM
20582014-12-02 Joseph Myers <joseph@codesourcery.com>
2059
909e16d9
JM
2060 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2061
4e0b9016
JM
2062 * nptl/tst-mutex1.c: Include <stdbool.h>.
2063 [!ATTR] (ATTR_NULL): New macro.
2064 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2065 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2066 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2067
b1aff6a4
JM
2068 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2069 to char *.
2070
266865c0
JM
2071 [BZ #17665]
2072 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2073 Change conditional to [__USE_MISC].
2074
84e5e756
JM
2075 [BZ #17664]
2076 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2077 fgets_unlocked.
2078 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2079 __fgets_unlocked.
2080 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2081 fgets_unlocked.
2082 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2083 Remove variable.
2084 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2085 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2086 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2087 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2088 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2089 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2090 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2091 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2092 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2093
66cadc05
JM
2094 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2095
2e8a2de2 20962014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
2097
2098 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2099 Remove strpbrk objects.
2100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2101 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2102 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2103 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2104 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2105 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2106
bb2542e0
AZ
2107 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2108 Remove strcspn objects.
2109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2110 (__libc_ifunc_impl_list): Remove strcspn implementation.
2111 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2112 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2113 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2114 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
2115
2116 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2117 Remove strspn objetcs.
2118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2119 (__libc_ifunc_impl_list): Remove strspn implementation.
2120 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2121 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2122 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2123 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2124
08f1e1d2
JL
21252014-12-01 James Lemke <jwlemke@codesourcery.com>
2126
2127 [BZ #17581]
2128 * malloc/hooks.c
2129 (mem2mem_check): Add a terminator to the chain of checking blocks.
2130 (malloc_check_get_size): Use it here.
2131 (mem2chunk_check): Ditto.
2132
a8a7d7d2
RS
21332014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2134
2135 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2136 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2137
97114a38
CD
21382014-11-29 Carlos O'Donell <carlos@redhat.com>
2139
c8dc1727
CD
2140 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2141
6d03458e
CD
2142 * nptl/nptl-init.c: Include libc-internal.h.
2143 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2144
97114a38
CD
2145 * elf/ldconfig.c (search_dir): Expand comment.
2146
0e7e69ba
JM
21472014-11-29 Joseph Myers <joseph@codesourcery.com>
2148
2149 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2150 variable.
2151 (linknamespace-symlist-stdlibs-tests): Likewise.
2152 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2153 instead of $(objpfx)symlist-stdlibs.
2154 (linknamespace-libs-isoc): New variable.
2155 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2156 (linknamespace-libs-ISO): New variable.
2157 (linknamespace-libs-ISO99): Likewise.
2158 (linknamespace-libs-ISO11): Likewise.
2159 (linknamespace-libs-XPG3): Likewise.
2160 (linknamespace-libs-XPG4): Likewise.
2161 (linknamespace-libs-POSIX): Likewise.
2162 (linknamespace-libs-UNIX98): Likewise.
2163 (linknamespace-libs-XOPEN2K): Likewise.
2164 (linknamespace-libs-POSIX2008): Likewise.
2165 (linknamespace-libs-XOPEN2K8): Likewise.
2166 ($(objpfx)symlist-stdlibs): Replace by
2167 $(linknamespace-symlist-stdlibs-tests). Use
2168 $(linknamespace-libs-$*) as set of libraries.
2169 ($(linknamespace-header-tests)): Update dependencies. Use
2170 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2171 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2172 * conform/linknamespace.pl: Remove comment about considering
2173 definitions of symbols from irrelevant libraries.
2174
d8dd0080
L
21752014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2176
2177 [BZ #13862]
2178 * elf/dl-tls.c: Include <atomic.h>.
2179 (oom): Remove #ifdef SHARED/#endif.
2180 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2181 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2182 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2183 big enough.
2184 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2185 * nptl/Makefile (tests): Add tst-stack4.
2186 (modules-names): Add tst-stack4mod.
2187 ($(objpfx)tst-stack4): New.
2188 (tst-stack4mod.sos): Likewise.
2189 ($(objpfx)tst-stack4.out): Likewise.
2190 ($(tst-stack4mod.sos)): Likewise.
2191 (clean): Likewise.
2192 * nptl/tst-stack4.c: New file.
2193 * nptl/tst-stack4mod.c: Likewise.
2194
167da422
B
21952014-11-27 J. Brown <jb999@gmx.de>
2196
2197 * sysdeps/x86/bits/string.h: Add recent CPUs.
2198
9114625b
JM
21992014-11-27 Joseph Myers <joseph@codesourcery.com>
2200
6b5189eb
JM
2201 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2202 sigblock.
2203
49051f8e
JM
2204 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2205 feof.
2206
9114625b
JM
2207 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2208 variable.
2209
e7300fef
SL
22102014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2211
2212 * nscd/connections.c: Include libc-internal.h because of macro
2213 usage ignore_value.
2214
1721f0a4
SP
22152014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2216
2217 * string/bits/string3.h (__warn_memset_zero_len): Don't
2218 declare for gcc newer than 5.0.
2219 (memset): Don't test for zero-length __LEN for gcc newer than
2220 5.0.
2221
be970916
JM
22222014-11-27 Joseph Myers <joseph@codesourcery.com>
2223
d88548f4
JM
2224 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2225 size_t for %zu format.
2226
be970916
JM
2227 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2228 difference, not %ju.
2229
3b20fd5c
JM
22302014-11-26 Joseph Myers <joseph@codesourcery.com>
2231
8915eace
JM
2232 * include/libc-internal.h (ignore_value): New macro.
2233 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2234 with ignore_value.
2235
f1a5a0e3
JM
2236 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2237 definition.
2238
59ef1715
JM
2239 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2240 pthread_cleanup_push to void *.
2241
a6f3079b
JM
2242 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2243 Undefine.
2244
706688aa
JM
2245 [BZ #16619]
2246 [BZ #16740]
2247 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2248 instead of 1L << 52.
2249
12da14a5
JM
2250 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2251 * libio/bug-rewind2.c (do_test): Likewise.
2252
bd5dadac
JM
2253 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2254 * debug/test-strcpy_chk-ifunc.c: Likewise.
2255 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2256 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2257 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2258 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2259 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2260 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2261 * Rules [$(multi-arch) = no] (tests): Do not filter out
2262 $(tests-ifunc).
2263 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2264 * debug/Makefile (tests-ifunc): Remove variable.
2265 (tests): Do not add $(tests-ifunc).
2266 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2267 (tests): Do not add $(tests-ifunc).
2268 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2269 [TEST_IFUNC]: Remove conditionals.
2270 * string/test-string.h (TEST_IFUNC): Remove macro.
2271 [TEST_IFUNC]: Remove conditionals.
2272
3b20fd5c
JM
2273 * string/test-strchr.c [!WIDE] (L): New macro.
2274 [WIDE] (L): Likewise.
2275 (check1): Use CHAR instead of char. Use L on string and character
2276 constants.
2277
704f7947
AZ
22782014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2279
2280 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2281 tests.
2282 * sysdeps/powerpc/bits/atomic.h
2283 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2284 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2285 (atomic_exchange_and_add_acq): Likewise.
2286 (atomic_exchange_and_add_rel): Likewise.
2287 * sysdeps/powerpc/powerpc32/bits/atomic.h
2288 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2289 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2290 * sysdeps/powerpc/powerpc64/bits/atomic.h
2291 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2292 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2293
cdcb42d7
TR
22942014-11-26 Torvald Riegel <triegel@redhat.com>
2295
2296 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2297 Change synchronization of __sched_fifo_min_prio and
2298 __sched_fifo_max_prio.
2299 * nptl/pthread_mutexattr_getprioceiling.c
2300 (pthread_mutexattr_getprioceiling): Likewise.
2301 * nptl/pthread_mutexattr_setprioceiling.c
2302 (pthread_mutexattr_setprioceiling): Likewise.
2303 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2304 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2305 Likewise.
2306
c82f5c0c
JM
23072014-11-26 Joseph Myers <joseph@codesourcery.com>
2308
2309 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2310 void.
2311
439e1ad6
JM
23122014-11-25 Joseph Myers <joseph@codesourcery.com>
2313
2314 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2315 third argument const.
2316
b1eda10e
PE
23172014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2318
2319 fnmatch: work around GCC compiler warning bug with uninit var
2320 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2321 This works around a bug with x86-64 GCC 4.9.2 and earlier
2322 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2323 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2324 used uninitialized in this function [-Wmaybe-uninitialized]".
2325
bde2667a
JM
23262014-11-25 Joseph Myers <joseph@codesourcery.com>
2327
2328 * posix/bug-regex31.c (main): Return RES not 0.
2329
5fbb5691
AB
23302014-11-25 Anton Blanchard <anton@samba.org>
2331
2332 * sysdeps/powerpc/bits/atomic.h
2333 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2334
467fec0b
BM
23352014-11-24 Sterling Augustine <saugustine@google.com>
2336
2337 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2338
e9ff8efb
RC
23392014-11-24 Ryan Cumming <etaoins@gmail.com>
2340
2341 [BZ #17608]
2342 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2343
9744496f
JM
23442014-11-24 Joseph Myers <joseph@codesourcery.com>
2345
2346 [BZ #17633]
2347 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2348 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2349 variable.
2350 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2351 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2352
6423d475
WD
23532014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2354
2355 * string/strncpy.c (strncpy): Improve performance by using memset.
2356
23572014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
2358
2359 * string/strcpy.c (strcpy):
2360 Improve performance by using strlen and memcpy.
2361
5d178c37
LH
23622014-11-24 Leonhard Holz <leonhard.holz@web.de>
2363
2364 * string/strcoll_l.c (get_next_seq): __always_inline.
2365 * string/strcoll_l.c (do_compare): __always_inline.
2366
279bc5b3
SP
23672014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2368
7a9ebfa1
SP
2369 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2370 defined.
2371 * include/mqueue.h: Likewise.
2372 * include/stdlib.h: Likewise.
2373
4f41c682
SP
2374 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2375 (get_null_defines): Adjust.
2376 * sunrpc/Makefile: Adjust comment.
2377 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2378 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2379 (CFLAGS-interp.c): Likewise.
2380 (CFLAGS-ldconfig.c): Likewise.
2381 (CPPFLAGS-.os): Likewise.
2382 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2383 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2384 * extra-modules.mk (extra-modules.mk): Likewise.
2385 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2386 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2387 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2388 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2389 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2390 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2391 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2392 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2393 * iconvdata/Makefile (CPPFLAGS): Likewise.
2394 (cpp-srcs-left): Add libof for all iconvdata routines.
2395 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2396 * include/assert.h: Likewise.
2397 * include/ctype.h: Likewise.
2398 * include/errno.h: Likewise.
2399 * include/libc-symbols.h: Likewise.
2400 * include/math.h: Likewise.
2401 * include/netdb.h: Likewise.
2402 * include/resolv.h: Likewise.
2403 * include/stdio.h: Likewise.
2404 * include/stdlib.h: Likewise.
2405 * include/string.h: Likewise.
2406 * include/sys/stat.h: Likewise.
2407 * include/wctype.h: Likewise.
2408 * intl/l10nflist.c: Likewise.
2409 * libidn/idn-stub.c: Likewise.
2410 * libio/libioP.h: Likewise.
2411 * nptl/libc_multiple_threads.c: Likewise.
2412 * nptl/pthreadP.h: Likewise.
2413 * posix/regex_internal.h: Likewise.
2414 * resolv/res_hconf.c: Likewise.
2415 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2416 * sysdeps/arm/memmove.S: Likewise.
2417 * sysdeps/arm/sysdep.h: Likewise.
2418 * sysdeps/generic/_itoa.h: Likewise.
2419 * sysdeps/generic/symbol-hacks.h: Likewise.
2420 * sysdeps/gnu/errlist.awk: Likewise.
2421 * sysdeps/gnu/errlist.c: Likewise.
2422 * sysdeps/i386/i586/memcpy.S: Likewise.
2423 * sysdeps/i386/i586/memset.S: Likewise.
2424 * sysdeps/i386/i686/memcpy.S: Likewise.
2425 * sysdeps/i386/i686/memmove.S: Likewise.
2426 * sysdeps/i386/i686/mempcpy.S: Likewise.
2427 * sysdeps/i386/i686/memset.S: Likewise.
2428 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2429 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2430 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2431 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2432 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2433 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2434 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2435 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2436 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2437 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2438 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2439 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2440 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2441 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2442 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2443 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2444 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2445 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2446 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2447 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2448 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2449 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2450 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2451 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2452 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2453 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2454 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2455 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2456 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2457 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2458 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2459 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2460 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2461 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2462 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2463 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2464 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2465 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2466 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2467 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2468 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2469 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2470 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2471 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2472 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2473 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2474 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2475 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2476 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2477 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2478 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2479 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2480 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2481 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2482 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2483 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2484 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2485 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2486 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2487 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2488 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2489 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2490 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2491 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2492 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2493 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2494 * sysdeps/posix/closedir.c: Likewise.
2495 * sysdeps/posix/opendir.c: Likewise.
2496 * sysdeps/posix/readdir.c: Likewise.
2497 * sysdeps/posix/rewinddir.c: Likewise.
2498 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2499 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2500 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2501 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2502 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2503 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2504 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2505 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2506 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2507 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2508 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2509 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2510 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2511 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2512 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2513 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2514 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2515 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2516 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2517 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2518 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2519 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2520 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2521 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2522 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2523 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2524 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2525 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2526 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2527 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2528 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2529 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2530 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2531 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2532 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2533 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2534 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2535 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2536 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2537 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2538 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2539 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2540 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2541 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2542 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2543 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2544 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2545 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2546 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2547 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2548 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2549 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2550 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2551 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2552 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2553 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2554 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2555 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2556 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2557 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2558 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2559 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2560 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2561 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2562 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2563 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2564 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2565 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2566 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2567 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2568 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2569 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2570 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2571 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2572 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2573 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2574 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2575 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2576 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2577 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2578 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2579 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2580 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2581 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2582 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2583 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2584 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2585 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2586 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2587 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2588 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2589 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2590 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2591 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2592 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2593 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2594 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2596 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2597 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2598 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2599 * sysdeps/unix/alpha/sysdep.S: Likewise.
2600 * sysdeps/unix/alpha/sysdep.h: Likewise.
2601 * sysdeps/unix/make-syscalls.sh: Likewise.
2602 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2603 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2604 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2605 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2606 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2607 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2608 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2609 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2610 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2611 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2612 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2613 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2614 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2615 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2616 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2617 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2618 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2619 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2620 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2621 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2622 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2623 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2624 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2625 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2626 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2627 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2628 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2631 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2632 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2633 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2634 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2635 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2636 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2637 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2638 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2639 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2640 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2641 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2642 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2643 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2644 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2645 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2646 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2647 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2648 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2649 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2650 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2651 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2652 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2653 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2654 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2655 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2656 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2657 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2658 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2659 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2660 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2661 * sysdeps/x86_64/memcpy.S: Likewise.
2662 * sysdeps/x86_64/memmove.c: Likewise.
2663 * sysdeps/x86_64/memset.S: Likewise.
2664 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2665 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2666 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2667 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2668 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2669 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2670 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2671 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2672 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2673 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2674 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2675 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2676 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2677 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2678 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2679 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2680 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2681 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2682 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2683 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2684 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2685 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2686 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2687 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2688 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2689 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2690 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2691 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2692 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2693 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2694 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2695 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2696 * sysdeps/x86_64/strcmp.S: Likewise.
2697
76ca86a5
SP
2698 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2699
a3848485
SP
2700 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2701 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2702 * elf/rtld-Rules: Likewise.
2703 * elf/setup-vdso.h: Likewise.
2704 * include/assert.h: Likewise.
2705 * include/bits/stdlib-float.h: Likewise.
2706 * include/errno.h: Likewise.
2707 * include/sys/stat.h: Likewise.
2708 * include/unistd.h: Likewise.
2709 * sysdeps/aarch64/setjmp.S: Likewise.
2710 * sysdeps/alpha/setjmp.S: Likewise.
2711 * sysdeps/arm/__longjmp.S: Likewise.
2712 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2713 * sysdeps/arm/setjmp.S: Likewise.
2714 * sysdeps/arm/sysdep.h: Likewise.
2715 * sysdeps/generic/_itoa.h: Likewise.
2716 * sysdeps/generic/dl-sysdep.h: Likewise.
2717 * sysdeps/generic/ldsodefs.h: Likewise.
2718 * sysdeps/i386/dl-tls.h: Likewise.
2719 * sysdeps/i386/setjmp.S: Likewise.
2720 * sysdeps/m68k/setjmp.c: Likewise.
2721 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2722 * sysdeps/mach/hurd/opendir.c: Likewise.
2723 * sysdeps/posix/getcwd.c: Likewise.
2724 * sysdeps/posix/opendir.c: Likewise.
2725 * sysdeps/posix/profil.c: Likewise.
2726 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2727 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2728 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2729 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2730 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2731 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2732 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2733 * sysdeps/s390/dl-tls.h: Likewise.
2734 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2735 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2736 * sysdeps/sh/sh3/setjmp.S: Likewise.
2737 * sysdeps/sh/sh4/setjmp.S: Likewise.
2738 * sysdeps/unix/alpha/sysdep.h: Likewise.
2739 * sysdeps/unix/arm/sysdep.S: Likewise.
2740 * sysdeps/unix/i386/sysdep.S: Likewise.
2741 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2742 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2743 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2744 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2745 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2746 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2747 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2748 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2749 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2750 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2751 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2752 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2753 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2756 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2757 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2758 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2759 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2760 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2761 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2762 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2763 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2764 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2765 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2766 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2768 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2769 * sysdeps/x86_64/setjmp.S: Likewise.
2770
a109996e
SP
2771 * include/math.h: Use IS_IN instead of IS_IN_libm.
2772 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2773 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2774 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2775 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2776 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2777 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2778 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2779 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2780 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2781 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2782 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2783 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2784 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2785 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2786 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2787 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2788 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2789 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2790 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2791 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2792 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2793 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2794 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2795 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2796 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2797 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2798 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2799 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2800 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2801 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2802 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2803 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2804 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2806 Likewise.
2807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2808 Likewise.
2809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2810 Likewise.
2811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2812 Likewise.
2813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2814 Likewise.
2815 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2816 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2817 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2818 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2819 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2820 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2826 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2827 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2828 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2829 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2830 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2831 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2832 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2833 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2834 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2835 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2836 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2837 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2838 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2839 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2841 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2842
ce9f10f7
SP
2843 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2844 * nptl/pthreadP.h: Likewise.
2845 * nptl_db/structs.def: Likewise.
2846 * sysdeps/arm/sysdep.h: Likewise.
2847 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2848 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2849 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2850 * sysdeps/unix/alpha/sysdep.h: Likewise.
2851 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2852 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2853 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2854 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2855 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2856 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2857 * sysdeps/unix/sysv/linux/i386/sysdep.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: Likewise.
2866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2867 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2868 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2869 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2870 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2871 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2872 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2873 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2874 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2875 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2876 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2877
016afc75
SP
2878 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2879 * nptl/pthreadP.h: Likewise.
2880 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2881 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2882 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2883 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2884 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2885 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2886 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2887 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2888 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2889 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2890 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2891 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2893 Likewise.
2894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2895 Likewise.
2896 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2897 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2898 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2899 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2901 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2902 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2903 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2904
9b42a0b3
SP
2905 * dlfcn/dladdr.c: Use IS_IN.
2906 * dlfcn/dladdr1.c: Likewise.
2907 * dlfcn/dlclose.c: Likewise.
2908 * dlfcn/dlerror.c: Likewise.
2909 * dlfcn/dlinfo.c: Likewise.
2910 * dlfcn/dlmopen.c: Likewise.
2911 * dlfcn/dlopen.c: Likewise.
2912 * dlfcn/dlsym.c: Likewise.
2913 * dlfcn/dlvsym.c: Likewise.
2914
85f36372
SP
2915 * include/ifaddrs.h: Use IS_IN.
2916 * inet/check_pf.c: Likewise.
2917 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2918 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2919
fb6784e3
SP
2920 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2921 IS_IN_ldconfig.
2922 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2923 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2924
2886d2d1
SP
2925 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2926 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2927 IS_IN (libc).
2928
9a484857
SP
2929 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2930
a10178bd
SP
2931 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2932 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2933 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2934 * include/libc-symbols.h (IS_IN_LIB): New macro.
2935 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2936 * include/netdb.h: Likewise.
2937 * include/stap-probe.h: Remove all uses of IN_LIB.
2938
279bc5b3
SP
2939 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2940 instead of IN_MODULE.
2941 * include/libc-symbols.h (IN_MODULE): Define using
2942 MODULE_NAME.
2943 (PASTE_NAME, PASTE_NAME1): New macros.
2944 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2945 of IN_LIB.
2946 (STAP_PROBE_ASM): Likewise.
2947
e0cfa510
ST
29482014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2949
2950 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2951 __mach_init in dlopened libc.
2952
34d97d87
MF
29532014-11-22 Mike Frysinger <vapier@gentoo.org>
2954
2955 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2956 * sysdeps/arm/preconfigure: Regenerate.
2957
33cd1f74
RM
29582014-11-21 Roland McGrath <roland@hack.frob.com>
2959
2960 * nptl/pthread_create.c (__pthread_create_2_1): Set
2961 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2962 when copying values from IATTR into PD.
2963
8c230039
WN
29642014-11-21 Will Newton <will.newton@linaro.org>
2965 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2966
6d3db89b
AP
2967 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2968 Refactor inline-asm. Also add comment.
2969
01194ba1
WN
2970 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2971 ElfW macro instead of hardcoded Elf64 types.
2972 (la_aarch64_gnu_pltenter): Likewise.
2973 * sysdeps/aarch64/dl-machine.h
2974 (elf_machine_runtime_setup): Use ElfW(Addr).
2975
8c230039
WN
2976 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2977 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2978 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2979 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2980 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2981 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2982 (R_AARCH64_TLS_DTPMOD): This.
2983 (R_AARCH64_TLS_DTPREL64): Rename to ...
2984 (R_AARCH64_TLS_DTPREL): This.
2985 (R_AARCH64_TLS_TPREL64): Rename to ...
2986 (R_AARCH64_TLS_TPREL): This.
2987 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2988 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2989 R_AARCH64_TLS_TPREL64.
2990 (elf_machine_rela): Likewise.
2991
0d79fa53
TR
29922014-11-21 Torvald Riegel <triegel@redhat.com>
2993
2994 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2995 by setting it to 0. 64b atomics are not supported currently.
2996
b59d114b
AO
29972014-11-21 Alexandre Oliva <aoliva@redhat.com>
2998
2999 [BZ #16469]
3000 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3001 search domain names.
3002
f3d945d5
AO
30032014-11-21 Alexandre Oliva <aoliva@redhat.com>
3004
3005 [BZ #16469]
3006 * NEWS: Update.
3007 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3008 trailing dot.
3009 * posix/tst-getaddrinfo5.c: New.
3010 * posix/Makefile (tests): Add it.
3011
49698902
AO
30122014-11-21 Alexandre Oliva <aoliva@redhat.com>
3013
3014 [BZ #14498]
3015 * NEWS: Fixed.
3016 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3017 after parsing line but before break_if_match.
3018 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3019 if there is a protocol mismatch.
3020
81959214
MS
30212014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3022
3023 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3024 because the potential race is on the user-supplied stream.
3025
7729e0e9
AO
30262014-11-21 Alexandre Oliva <aoliva@redhat.com>
3027
3028 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3029 string literal if not passed a buffer.
3030 * manual/job.texi (ctermid): Update reasoning, note deviation
3031 from posix, suggest mtasurace when not passed a buffer, for
3032 future non-preliminary safety notes.
3033
a4ea5e28
AO
30342014-11-21 Alexandre Oliva <aoliva@redhat.com>
3035
3036 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3037 of not passing it a buffer.
3038 Reported by Peng Haitao.
3039
a2b581cb
AO
30402014-11-21 Alexandre Oliva <aoliva@redhat.com>
3041
3042 * manual/Makefile ($(objpfx)stamp-summary): Require
3043 check-safety.sh to pass.
3044 * manual/check-safety.sh: Wish for verification that every
3045 @deftypefn and @deftypefun is followed by a @safety remark.
3046
f214ff74
RM
30472014-11-20 Roland McGrath <roland@hack.frob.com>
3048
7f0dfae0
RM
3049 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3050
2f531bbb
RM
3051 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3052 PTHREAD_CANCEL_ASYNCHRONOUS.
3053 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3054 send SIGCANCEL.
3055
f214ff74
RM
3056 * nptl/default-sched.h: New file.
3057 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3058 * nptl/pthread_create.c: Include it.
3059 (__pthread_create_2_1): Use collect_default_sched instead of making
3060 Linux syscalls here directly.
3061
e37c91d4
TR
30622014-11-20 Torvald Riegel <triegel@redhat.com>
3063
3064 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3065 __pthread_once): Use C11 atomics.
3066
1eccfecd
TR
30672014-11-20 Torvald Riegel <triegel@redhat.com>
3068
3069 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3070
ff871426
TR
30712014-11-20 Torvald Riegel <triegel@redhat.com>
3072
3073 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3074 atomic_thread_fence_acquire, atomic_thread_fence_release,
3075 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3076 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3077 atomic_compare_exchange_weak_relaxed,
3078 atomic_compare_exchange_weak_acquire,
3079 atomic_compare_exchange_weak_release,
3080 atomic_exchange_acquire, atomic_exchange_release,
3081 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3082 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3083 atomic_fetch_and_acquire,
3084 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3085
1ea339b6
TR
30862014-11-20 Torvald Riegel <triegel@redhat.com>
3087
3088 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3089 USE_ATOMIC_COMPILER_BUILTINS): Define.
3090 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3091 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3092 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3093 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3094 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3095 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3096 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3097 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3098 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3099 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3100 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3101 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3102 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3103 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3104 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3105 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3106 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3107 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3108 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3109 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3110 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3111 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3112 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3113 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3114 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3115 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3116 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3117 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3118 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3119 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3120 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3121 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3122 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3123 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3124 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3125 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3126 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3127 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3128 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3129 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3130
cbd463e2
RM
31312014-11-19 Roland McGrath <roland@hack.frob.com>
3132
d960211f
RM
3133 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3134 the sched_priority value here. It was already checked when the user
3135 called pthread_attr_setschedparam.
3136
cbd463e2
RM
3137 * nptl/tst-bad-schedattr.c: New file.
3138 * nptl/Makefile (tests): Add it.
3139
a39208bd
CD
31402014-11-19 Carlos O'Donell <carlos@redhat.com>
3141 Florian Weimer <fweimer@redhat.com>
3142 Joseph Myers <joseph@codesourcery.com>
3143 Adam Conrad <adconrad@0c3.net>
3144 Andreas Schwab <schwab@suse.de>
3145 Brooks <bmoses@google.com>
3146
3147 [BZ #17625]
3148 * wordexp-test.c (__dso_handle): Add prototype.
3149 (__register_atfork): Likewise.
3150 (__app_register_atfork): New function.
3151 (registered_forks): New global.
3152 (register_fork): New function.
3153 (test_case): Add 3 new tests for WRDE_CMDSUB.
3154 (main): Call __app_register_atfork.
3155 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3156 fork count is non-zero fail the test.
3157 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3158 is set.
3159 (parse_dollars): Remove check for WRDE_NOCMD.
3160 (parse_dquote): Likewise.
3161
9cd47470
SP
31622014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3163
130ac68c
SP
3164 * Makeconfig (built-modules): List non-library modules to be
3165 built.
3166 (module-cppflags): Include libc-modules.h for
3167 everything except shlib-versions.v.i.
3168 (CPPFLAGS): Use it.
3169 (before-compile): Add libc-modules.h.
3170 ($(common-objpfx)libc-modules.h,
3171 $(common-objpfx)libc-modules.stmp): New targets.
3172 (common-generated): Add libc-modules.h and libc-modules.stmp.
3173 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3174 * include/libc-symbols.h: Don't include libc-modules.h.
3175 * include/libc-modules.h: Remove file.
3176 * scripts/gen-libc-modules.awk: New script to generate
3177 libc-modules.h.
3178 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3179 Depend on libc-modules.stmp.
3180
286663c3
SP
3181 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3182
9cd47470
SP
3183 * Makeconfig (in-module): Get value of libof set for the
3184 translation unit.
3185 (CPPFLAGS): Use $(in-module).
3186 * Makerules: Don't suffix routine names for nonlib.
3187 * include/libc-modules.h: New file.
3188 * include/libc-symbols.h: Include libc-modules.h
3189 (IS_IN): New macro to replace IS_IN_* macros.
3190 * elf/Makefile: Set libof-* for each routine.
3191 * elf/rtld-Rules: Likewise.
3192 * extra-modules.mk: Likewise.
3193 * iconv/Makefile: Likewise.
3194 * iconvdata/Makefile: Likewise.
3195 * locale/Makefile: Likewise.
3196 * malloc/Makefile: Likewise.
3197 * nss/Makefile: Likewise.
3198 * sysdeps/gnu/Makefile: Likewise.
3199 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3200 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3201 * sysdeps/s390/s390-64/Makefile: Likewise.
3202 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3203 CPPFLAGS for nscd instead of nonlib.
3204
32fed10f
RM
32052014-11-18 Roland McGrath <roland@hack.frob.com>
3206
d71035bd
RM
3207 * nptl/createthread.c: New file.
3208
6540b991
RM
3209 * nptl/createthread.c: Moved ...
3210 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3211
32fed10f
RM
3212 * nptl/createthread.c: Add proper top-line comment.
3213 (do_clone): Folded into ...
3214 (create_thread): ... here. Take new arguments STOPPED_START and
3215 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3216 increment __nptl_threads, do event-reporting logic, do
3217 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3218 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3219 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3220 just send SIGCANCEL.
3221 * nptl/pthread_create.c: Forward-declare create_thread before
3222 including createthread.c.
3223 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3224 declaration, and new macro START_THREAD_SELF to replace argument.
3225 Remove return statement.
3226 (report_thread_creation): New function.
3227 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3228 synchronization logic, and __nptl_nthreads increment here, around
3229 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3230 PD->parent_cancelhandling here, before create_thread. When
3231 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3232 __deallocate_stack, and ENOMEM translation here.
3233
107a5bf0
JM
32342014-11-18 Joseph Myers <joseph@codesourcery.com>
3235
3236 [BZ #17616]
3237 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3238 (mptwo): Rename to __mptwo.
3239 (__inv): Use __mptwo instead of mptwo.
3240 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3241 (mptwo): Rename to __mptwo.
3242 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3243 of mpone and __mptwo instead of mptwo.
3244 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3245 instead of mpone.
3246 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3247 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3248 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3249 of mpone and __mptwo instead of mptwo.
3250 (__mpranred): Use __mpone instead of mpone.
3251 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3252 variable.
3253 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3254 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3255 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3256 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3257 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3258 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3259 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3260 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3261 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3262 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3263 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3264 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3265 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3266 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3267 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3268 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3269 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3270 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3271 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3272
3b679ab3
TV
32732014-11-18 Tom de Vries <tom@codesoucery.com>
3274
3275 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3276 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
3277
32782014-11-17 Richard Henderson <rth@redhat.com>
3279
3280 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3281 (_FP_PACK_RAW_2): Remove.
3282 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3283 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3284 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3285 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3286 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3287 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3288 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3289 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3290 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3291 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3292 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3293 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3294 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3295 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3296 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3297 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3298
0781a777
RM
32992014-11-14 Roland McGrath <roland@hack.frob.com>
3300
3301 * signal/signal.h [__USE_MISC]
3302 (struct sigvec): Remove type.
3303 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3304 (sigvec): Remove declaration.
3305 * sysdeps/posix/sigvec.c: Moved ...
3306 * signal/sigvec.c: ... here, replacing old file.
3307 (struct sigvec): New type, copied from old signal.h definition.
3308 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3309 (__sigvec): Convert definition to prototype.
3310 (sigvec): Replace weak_alias with compat_symbol.
3311 * signal/Versions (libc: GLIBC_2.21): New version set.
3312 * include/signal.h: Remove __sigvec declaration.
3313 * sysdeps/unix/bsd/sigvec.c: Remove file.
3314 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3315 * manual/signal.texi (BSD Handler): Remove subsection.
3316 Move siginterrupt up to ...
3317 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3318 (Blocking in BSD): Fold subsection into its parent.
3319 * NEWS: Mention sigvec removal.
3320
a4733812
JM
33212014-11-14 Joseph Myers <joseph@codesourcery.com>
3322
5ae4fe60
JM
3323 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3324 (DLA_FMS): Make definition conditional only on [__FMA4__].
3325 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3326 definition.
3327
6a0dd472
JM
3328 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3329 Make definition conditional only on [PROF].
3330 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3331 definition.
3332 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3333 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3334
a4733812
JM
3335 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3336 !__GNUC__].
3337 * include/signal.h (__sigpause): Move declaration above call to
3338 libc_hidden_proto.
3339 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3340 variable.
3341 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3342 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3343
cf7246dd
DM
33442014-11-14 David S. Miller <davem@davemloft.net>
3345
3346 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3347 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3348
c1b0aadc
JM
33492014-11-14 Joseph Myers <joseph@codesourcery.com>
3350
4863355a
JM
3351 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3352 * configure: Regenerated.
3353 * manual/install.texi (Tools for Compilation): Document a
3354 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3355 compiler verified to work.
3356 * INSTALL: Regenerated.
3357
c1b0aadc
JM
3358 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3359 redeclare with asm name.
3360 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3361 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3362 including <string.h>.
3363 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3364 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3365 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3366 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3367 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3368 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3369 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3370
2a1cfd94
JM
33712014-11-13 Joseph Myers <joseph@codesourcery.com>
3372
bf438382
JM
3373 * stdlib/strtol.c (__strtol): Use prototype definition.
3374
2a1cfd94
JM
3375 [BZ #17594]
3376 * stdlib/strtol.c (SYM__): New macro.
3377 (SYM__1): Likewise.
3378 (__strtol): Likewise.
3379 (strtol): Rename to __strtol and define as weak alias of
3380 __strtol. Use libc_hidden_weak.
3381
20ed0d26
SL
33822014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3383
3384 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3385 Use numbered labels in inline assembly.
3386
53244a4e
SL
33872014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3388
3389 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3390 Add setjmp LIBC_PROBE.
3391 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3392 Likewise.
3393 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3394 Add longjmp, longjmp_target LIBC_PROBE.
3395 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3396 Likewise.
3397
47df8251
SL
33982014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3399
3400 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3401 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3402 to get rid of unused variable warning.
3403
618cebef
SL
34042014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3405
3406 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3407 Check for unwind_backtrace == NULL only in SHARED case.
3408 (__backchain_backtrace): Compile only in SHARED case.
3409 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3410 Likewise.
3411 (__backchain_backtrace): Declare as static.
3412
c6aab2cb
RM
34132014-11-12 Roland McGrath <roland@hack.frob.com>
3414
3415 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3416 (__libc_multiple_threads_ptr): Variable moved ...
3417 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3418
5a6fa4d7
JM
34192014-11-12 Joseph Myers <joseph@codesourcery.com>
3420
24f4f825
JM
3421 * conform/GlibcConform.pm: New file.
3422 * conform/conformtest.pl: Use GlibcConform module.
3423 * conform/linknamespace.pl: New file.
3424 * conform/list-header-symbols.pl: Likewise.
3425 * conform/Makefile (linknamespace-symlists-base): New variable.
3426 (linknamespace-symlists-tests): Likewise.
3427 (linknamespace-header-base): Likewise.
3428 (linknamespace-header-tests): Likewise.
3429 (tests-special): Add new tests.
3430 ($(linknamespace-symlists-tests)): New rule.
3431 (linknamespace-libs): New variable.
3432 ($(objpfx)symlist-stdlibs): New rule.
3433 ($(linknamespace-header-tests)): Likewise.
3434 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3435 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3436 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3437 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3438 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3439 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3440 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3441 (test-xfail-ISO/math.h/linknamespace): Likewise.
3442 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3443 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3444 (test-xfail-ISO/time.h/linknamespace): Likewise.
3445 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3446 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3447 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3448 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3449 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3450 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3451 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3452 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3453 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3454 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3455 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3456 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3457 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3458 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3459 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3460 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3461 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3462 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3463 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3464 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3465 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3466 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3467 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3468 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3469 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3470 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3471 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3472 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3473 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3474 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3475 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3476 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3477 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3478 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3479 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3480 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3481 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3482 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3483 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3484 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3485 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3486 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3487 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3488 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3489 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3490 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3491 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3492 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3493 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3494 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3495 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3496 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3497 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3498 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3499 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3500 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3501 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3502 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3503 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3504 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3505 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3506 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3507 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3508 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3509 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3510 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3511 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3512 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3513 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3514 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3515 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3516 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3517 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3518 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3519 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3520 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3521 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3522 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3523 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3524 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3525 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3526 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3527 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3528 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3529 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3530 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3531 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3532 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3533 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3534 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3535 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3536 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3537 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3538 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3539 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3540 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3541 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3542 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3543 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3544 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3545 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3546 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3547 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3548 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3549 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3550 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3551 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3552 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3553 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3554 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3555 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3556 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3557 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3558 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3559 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3560 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3561 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3562 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3563 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3564 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3565 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3566 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3567 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3568 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3569 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3570 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3571 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3572 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3573 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3574 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3575 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3576 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3577 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3578 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3579 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3580 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3581 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3582 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3583 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3584 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3585 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3586 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3587 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3588 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3589 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3590 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3591 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3592 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3593 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3594 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3595
cc67478e
JM
3596 [BZ #17589]
3597 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3598 of fgets_unlocked.
3599
9975e3d3
JM
3600 [BZ #17585]
3601 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3602 (memmem): Rename to __memmem and define as weak alias of
3603 __memmem. Use libc_hidden_weak.
3604 (__memmem): Use libc_hidden_def.
3605 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3606 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3607 memmem.
3608
c4eae752
JM
3609 [BZ #17582]
3610 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3611 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3612 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3613 and define as weak alias of __fgets_unlocked. Use
3614 libc_hidden_weak.
3615 (__fgets_unlocked): Use libc_hidden_def.
3616 * include/stdio.h (__fgets_unlocked): Declare. Use
3617 libc_hidden_proto.
3618 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3619 __fgets_unlocked instead of fgets_unlocked.
3620 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3621 (GET_NPROCS_CONF_PARSER): Likewise.
3622 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3623 (GET_NPROCS_CONF_PARSER): Likewise.
3624
01cad84e
JM
3625 [BZ #17574]
3626 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3627 weak alias of __wmemset. Use libc_hidden_weak.
3628 (__wmemset): Use libc_hidden_def.
3629 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3630 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3631 of wmemset.
3632
939da411
JM
3633 [BZ #17573]
3634 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3635 with asm name __mempcpy.
3636 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3637
293d9a41
JM
3638 [BZ #17572]
3639 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3640 and define as weak alias of __rawmemchr.
3641 (__rawmemchr): Do not define as strong alias of rawmemchr.
3642
bef8fd60
JM
3643 [BZ #17571]
3644 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3645 alias of __qsort_r.
3646 (qsort): Call __qsort_r instead of qsort_r.
3647 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3648 (__qsort_r): Declare. Call libc_hidden_proto.
3649 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3650 instead of qsort_r.
3651 * nscd/gai.c (__qsort_r): Define to qsort_r.
3652 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3653 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3654 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3655
c52ff39e
JM
3656 [BZ #17570]
3657 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3658 define as weak alias of __malloc_info.
3659
2f5c1b00
JM
3660 [BZ #17584]
3661 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3662 as weak alias of __rewinddir. Don't use libc_hidden_def.
3663 (__rewinddir): Use libc_hidden_def.
3664 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3665 as weak alias of __rewinddir. Don't use libc_hidden_def.
3666 (__rewinddir): Use libc_hidden_def.
3667 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3668 weak alias of __rewinddir. Don't use libc_hidden_def.
3669 (__rewinddir): Use libc_hidden_def.
3670 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3671 (__rewinddir): Use libc_hidden_proto.
3672 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3673 rewinddir.
3674 (__getcwd): Use __rewinddir instead of rewinddir.
3675
5a6fa4d7
JM
3676 [BZ #17583]
3677 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3678 alias of __fileno. Use libc_hidden_weak.
3679 (__fileno): Use libc_hidden_def.
3680 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3681 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3682 alias of __ftello.
3683 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3684 __ftello.
3685 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3686 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3687 libc_hidden_def.
3688 (fread_unlocked): Don't use libc_hidden_ver.
3689 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3690 and define as weak alias of __fread_unlocked. Don't use
3691 libc_hidden_def.
3692 (__fread_unlocked): Use libc_hidden_def.
3693 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3694 (ftello): Don't use libc_hidden_proto.
3695 (__ftello): Declare. Use libc_hidden_proto.
3696 (fread_unlocked): Don't use libc_hidden_proto.
3697 (__fread_unlocked): Declare. Use libc_hidden_proto.
3698 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3699 and __ftello instead of fileno, fread_unlocked and ftello.
3700
2581b98e
SP
37012012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3702
3703 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3704 GOT12.
3705 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3706 Likewise.
3707 (_dl_start_user): Likewise.
3708 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3709
533bb7c2
SP
37102014-11-12 Carlos O'Donell <carlos@redhat.com>
3711 Siddhesh Poyarekar <siddhesh@redhat.com>
3712
3713 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3714 Move argv and envp down instead of moving argc up.
3715 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3716
fffa1cf8
LH
37172014-11-12 Leonhard Holz <leonhard.holz@web.de>
3718
3719 [BZ #17506]
3720 * test-skeleton.c (main): Return successful if one of
3721 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3722 * string/tst-strcoll-overflow.c: Define expected status.
3723
fb89b46d
TU
37242014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3725
3726 [BZ #17475]
3727 * locale/iso-639.def: Define Bhili and Tulu language codes.
3728
5c40c3ba
AH
37292014-11-11 Alan Hayward <alan.hayward@arm.com>
3730
3731 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3732
b17fe01b 37332014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
3734
3735 [BZ #17555]
3736 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3737
bd805071
AS
37382014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3739
3740 * configure.ac: Updated check of minimal required version to
3741 2.22.
3742 * manual/install.texi (Tools for Compilation): Updated version
3743 number.
3744 * configure: Regenerated.
3745 * INSTALL: Likewise.
3746
1400983e
AS
37472014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3748
3749 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3750 __tls_get_addr.
3751
2c46a66a
JM
37522014-11-07 Joseph Myers <joseph@codesourcery.com>
3753
3754 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3755 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3756 (__waitpid): Don't define as alias. Use libc_hidden_def not
3757 libc_hidden_weak.
3758 (waitpid): Define as alias of __waitpid.
3759 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3760 __waitpid.
3761 (__waitpid): Don't define as alias. Use libc_hidden_def not
3762 libc_hidden_weak.
3763 (waitpid): Define as alias of __waitpid.
3764 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3765 __libc_waitpid alias.
3766 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3767 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3768 Likewise.
3769 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3770 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3771 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3772 alias.
3773 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3774 __waitpid.
3775 (__waitpid): Don't define as alias. Use libc_hidden_def not
3776 libc_hidden_weak.
3777 (waitpid): Define as alias of __waitpid.
3778
da53d6db
CD
37792014-11-06 Carlos O'Donell <carlos@redhat.com>
3780
a2887bdb
CD
3781 * manual/llio.texi: Add comment that write safety has been
3782 fixed in Linux.
3783
da53d6db
CD
3784 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3785 (localplt-build-dso): Add elf/ld.so.
3786 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3787 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3788 and free for ld.so.
3789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3790 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3792 Likewise.
3793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3794 Likewise.
3795 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3796 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3797 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3798 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3799 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3800 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3801 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3802 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3803 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3804 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3805 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3806
9cf27b8d
JM
38072014-11-05 Joseph Myers <joseph@codesourcery.com>
3808
3809 [BZ #14132]
3810 * include/libc-symbols.h (INTUSE): Remove macro.
3811 (INTDEF): Likewise.
3812 (INTVARDEF): Likewise.
3813 (_INTVARDEF): Likewise.
3814 (INTDEF2): Likewise.
3815 (INTVARDEF2): Likewise.
3816 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3817 rtld_hidden_def instead of INTVARDEF.
3818 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3819 (_dl_starting_up_internal): Remove declaration.
3820 (_dl_starting_up): Use rtld_hidden_proto.
3821 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3822 declaration.
3823 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3824 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3825 _dl_starting_up.
3826 * elf/dl-writev.h (_dl_writev): Likewise.
3827 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3828 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3829 _dl_starting_up_internal.
3830
af83568d
AZ
38312014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3832
3833 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3834 test-skeleton.c.
3835
b01ee67c
WN
38362014-11-05 Will Newton <will.newton@linaro.org>
3837
3838 * benchtests/Makefile: (bench-malloc): Add malloc thread
3839 scalability benchmark.
3840 * benchtests/bench-malloc-threads.c: New file.
3841
be9d4ccc
RE
38422014-11-05 Richard Earnshaw <rearnsha@arm.com>
3843
3844 * sysdeps/aarch64/strchrnul.S: New file.
3845
7110166d
AZ
38462014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3847
3848 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3849 definition.
3850 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3851 Likwise.
3852 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3853 Likewise.
3854 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3855 Likewise.
3856 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3857 Likewise.
3858 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3859 Likewise.
3860
38612014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
3862
3863 * catgets/test-gencat.c: Use test-skeleton.c.
3864 * catgets/tst-catgets.c: Likewise.
3865 * csu/tst-empty.c: Likewise.
3866 * elf/tst-audit2.c: Likewise.
3867 * elf/tst-global1.c: Likewise.
3868 * elf/tst-pathopt.c: Likewise.
3869 * elf/tst-piemod1.c: Likewise.
3870 * elf/tst-tls10.c: Likewise.
3871 * elf/tst-tls11.c: Likewise.
3872 * elf/tst-tls12.c: Likewise.
3873 * gnulib/tst-gcc.c: Likewise.
3874 * iconvdata/tst-e2big.c: Likewise.
3875 * iconvdata/tst-loading.c: Likewise.
3876 * iconv/tst-iconv1.c: Likewise.
3877 * iconv/tst-iconv2.c: Likewise.
3878 * inet/test-inet6_opt.c: Likewise.
3879 * inet/tst-gethnm.c: Likewise.
3880 * inet/tst-network.c: Likewise.
3881 * inet/tst-ntoa.c: Likewise.
3882 * intl/tst-codeset.c: Likewise.
3883 * intl/tst-gettext2.c: Likewise.
3884 * intl/tst-gettext3.c: Likewise.
3885 * intl/tst-ngettext.c: Likewise.
3886 * intl/tst-translit.c: Likewise.
3887 * io/test-stat.c: Likewise.
3888 * libio/test-fmemopen.c: Likewise.
3889 * libio/tst-freopen.c: Likewise.
3890 * libio/tst-sscanf.c: Likewise.
3891 * libio/tst-ungetwc1.c: Likewise.
3892 * libio/tst-ungetwc2.c: Likewise.
3893 * libio/tst-widetext.c: Likewise.
3894 * localedata/tst-ctype.c: Likewise.
3895 * localedata/tst-digits.c: Likewise.
3896 * localedata/tst-leaks.c: Likewise.
3897 * localedata/tst-mbswcs1.c: Likewise.
3898 * localedata/tst-mbswcs2.c: Likewise.
3899 * localedata/tst-mbswcs3.c: Likewise.
3900 * localedata/tst-mbswcs4.c: Likewise.
3901 * localedata/tst-mbswcs5.c: Likewise.
3902 * localedata/tst-setlocale.c: Likewise.
3903 * localedata/tst-trans.c: Likewise.
3904 * localedata/tst-wctype.c: Likewise.
3905 * localedata/tst-xlocale1.c: Likewise.
3906 * login/tst-grantpt.c: Likewise.
3907 * malloc/tst-calloc.c: Likewise.
3908 * malloc/tst-malloc.c: Likewise.
3909 * malloc/tst-mallocstate.c: Likewise.
3910 * malloc/tst-mcheck.c: Likewise.
3911 * malloc/tst-mtrace.c: Likewise.
3912 * malloc/tst-obstack.c: Likewise.
3913 * math/atest-exp2.c: Likewise.
3914 * math/atest-exp.c: Likewise.
3915 * math/atest-sincos.c: Likewise.
3916 * math/test-matherr.c: Likewise.
3917 * math/test-misc.c: Likewise.
3918 * math/test-powl.c: Likewise.
3919 * math/tst-definitions.c: Likewise.
3920 * misc/tst-dirname.c: Likewise.
3921 * misc/tst-efgcvt.c: Likewise.
3922 * misc/tst-fdset.c: Likewise.
3923 * misc/tst-hsearch.c: Likewise.
3924 * misc/tst-mntent2.c: Likewise.
3925 * nptl/tst-sem7.c: Likewise.
3926 * nptl/tst-sem8.c: Likewise.
3927 * nptl/tst-sem9.c: Likewise.
3928 * nss/test-netdb.c: Likewise.
3929 * posix/tst-fnmatch.c: Likewise.
3930 * posix/tst-getlogin.c: Likewise.
3931 * posix/tst-gnuglob.c: Likewise.
3932 * posix/tst-mmap.c: Likewise.
3933 * pwd/tst-getpw.c: Likewise.
3934 * resolv/tst-inet_ntop.c: Likewise.
3935 * rt/tst-timer.c: Likewise.
3936 * stdio-common/test-fseek.c: Likewise.
3937 * stdio-common/test-popen.c: Likewise.
3938 * stdio-common/test-vfprintf.c: Likewise.
3939 * stdio-common/tst-cookie.c: Likewise.
3940 * stdio-common/tst-fileno.c: Likewise.
3941 * stdio-common/tst-gets.c: Likewise.
3942 * stdio-common/tst-obprintf.c: Likewise.
3943 * stdio-common/tst-perror.c: Likewise.
3944 * stdio-common/tst-sprintf2.c: Likewise.
3945 * stdio-common/tst-sprintf3.c: Likewise.
3946 * stdio-common/tst-sprintf.c: Likewise.
3947 * stdio-common/tst-swprintf.c: Likewise.
3948 * stdio-common/tst-tmpnam.c: Likewise.
3949 * stdio-common/tst-unbputc.c: Likewise.
3950 * stdio-common/tst-wc-printf.c: Likewise.
3951 * stdlib/tst-environ.c: Likewise.
3952 * stdlib/tst-fmtmsg.c: Likewise.
3953 * stdlib/tst-limits.c: Likewise.
3954 * stdlib/tst-rand48-2.c: Likewise.
3955 * stdlib/tst-rand48.c: Likewise.
3956 * stdlib/tst-random2.c: Likewise.
3957 * stdlib/tst-random.c: Likewise.
3958 * stdlib/tst-strtol.c: Likewise.
3959 * stdlib/tst-strtoll.c: Likewise.
3960 * stdlib/tst-tls-atexit.c: Likewise.
3961 * stdlib/tst-xpg-basename.c: Likewise.
3962 * string/test-ffs.c: Likewise.
3963 * string/tst-bswap.c: Likewise.
3964 * string/tst-inlcall.c: Likewise.
3965 * string/tst-strtok.c: Likewise.
3966 * string/tst-strxfrm.c: Likewise.
3967 * sysdeps/x86_64/tst-audit10.c: Likewise.
3968 * sysdeps/x86_64/tst-audit3.c: Likewise.
3969 * sysdeps/x86_64/tst-audit4.c: Likewise.
3970 * sysdeps/x86_64/tst-audit5.c: Likewise.
3971 * time/tst-ftime_l.c: Likewise.
3972 * time/tst-getdate.c: Likewise.
3973 * time/tst-mktime3.c: Likewise.
3974 * time/tst-mktime.c: Likewise.
3975 * time/tst-posixtz.c: Likewise.
3976 * time/tst-strptime2.c: Likewise.
3977 * time/tst-strptime3.c: Likewise.
3978 * wcsmbs/tst-btowc.c: Likewise.
3979 * wcsmbs/tst-mbrtowc.c: Likewise.
3980 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3981 * wcsmbs/tst-wchar-h.c: Likewise.
3982 * wcsmbs/tst-wcpncpy.c: Likewise.
3983 * wcsmbs/tst-wcrtomb.c: Likewise.
3984 * wcsmbs/tst-wcsnlen.c: Likewise.
3985 * wcsmbs/tst-wcstof.c: Likewise.
3986
2004e7fb
JM
39872014-11-04 Joseph Myers <joseph@codesourcery.com>
3988
ab97ee8f
JM
3989 [BZ #14132]
3990 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3991 INTDEF.
3992 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3993 declaration.
3994 (_dl_mcount): Use rtld_hidden_proto.
3995 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3996 _dl_mcount.
3997 * elf/rtld.c (_rtld_global_ro): Likewise.
3998
c5684fdb
JM
3999 [BZ #14132]
4000 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4001 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4002 of _dl_init_internal.
4003 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4004 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4005 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4006 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4007 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4008 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4009 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4010 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4011 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4012 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4013 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4014 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4015 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4016 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4017 * sysdeps/tile/dl-start.S (_start): Likewise.
4018 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4019 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4020
4243cbea
JM
4021 [BZ #14132]
4022 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4023 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4024 (rtld_progname): Make macro definition unconditional.
4025 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4026 INTDEF.
4027 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4028 (dl_main): Likewise.
4029 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4030 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4031 instead of _dl_argv_internal.
4032 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4033 __GI__dl_argv instead of INTUSE(_dl_argv).
4034 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4035 __GI__dl_argv instead of _dl_argv_internal.
4036
2004e7fb
JM
4037 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4038 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4039 macro.
4040 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4041 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4042 New macro.
4043 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4044 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4045 macro.
4046 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4047 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4048
97827bfc
AS
40492014-11-04 Andreas Schwab <schwab@suse.de>
4050
4051 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4052
5e4df284
AZ
40532014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4054
4055 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4056 mtvsrd instruction in binary form.
4057
04b76b5a
AS
40582014-11-03 Andreas Schwab <schwab@suse.de>
4059
4060 [BZ #17522]
4061 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4062 for less than MB_LEN_MAX use a local buffer of that size.
4063 * libio/tst-fputws.c: New file.
4064 * libio/Makefile (tests): Add tst-fputws.
4065
4c6da7da
JM
40662014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4067
4068 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4069 the size of the fpu_fr.fpu_dregs[] array.
4070
1679ba8e
JM
40712014-11-01 Joseph Myers <joseph@codesourcery.com>
4072
4073 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4074 (__nanosleep): Do not define as alias.
4075 (nanosleep): Define as alias of __nanosleep.
4076 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4077 __libc_nanosleep name.
4078
2626c183
JM
40792014-10-31 Joseph Myers <joseph@codesourcery.com>
4080
4081 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4082 install.texi in comment.
4083
7f981fc2
TR
40842014-10-31 Torvald Riegel <triegel@redhat.com>
4085
4086 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4087 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4088 ... add here and use lwsync or sync ...
4089 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4090 ... and add here using lwsync.
4091
d6f373d2
MF
40922014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4093
4094 * elf/dl-machine-reject-phdr.h: New file.
4095 * elf/dl-load.c: #include that.
4096 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4097 if that returned true.
4098
67c37987
RM
40992014-10-31 Roland McGrath <roland@hack.frob.com>
4100
4101 [BZ #17496]
4102 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4103 gen-as-const-headers chunk. Add a big scare comment after the last
4104 safe place to touch before-compile.
4105
94a42455 41062014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 4107
f3f5d895
JM
4108 * manual/install.texi (Tools for Compilation): Update autoconf
4109 version requirements.
4110 * INSTALL: Regenerated.
4111
f62ff286
JM
4112 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4113 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4114 (__libc_pselect): Likewise.
94a42455
JM
4115
4116 [BZ #14138]
4117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4121
ff9dbdc0
TR
41222014-10-31 Torvald Riegel <triegel@redhat.com>
4123
4124 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4125 correct barrier instruction.
4126 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4127 Likewise.
4128 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4129 Likewise.
4130
b4f66884
RM
41312014-10-30 Roland McGrath <roland@hack.frob.com>
4132
4133 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4134 after defining inlines. Instead, just use parens to defeat macro
4135 expansion of __isctype in its declaration.
4136
e19c95fd
JM
41372014-10-30 Joseph Myers <joseph@codesourcery.com>
4138
4139 * include/sys/uio.h (__libc_readv): Remove declaration.
4140 (__libc_writev): Likewise.
4141 * misc/readv.c (__libc_readv): Rename to __readv.
4142 (__readv): Do not define as alias.
4143 (readv): Define as alias of __readv.
4144 * misc/writev.c (__libc_writev): Rename to __writev.
4145 (__writev): Do not define as alias.
4146 (writev): Define as alias of __writev.
4147 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4148 (__readv): Do not define as alias.
4149 (readv): Define unconditionally as alias of __readv.
4150 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4151 (__writev): Do not define as alias.
4152 (writev): Define unconditionally as alias of __writev.
4153 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4154 name.
4155 (writev): Do not define __libc_writev name.
4156
65b00b6c
RM
41572014-10-30 Roland McGrath <roland@hack.frob.com>
4158
4159 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4160 (convert_charseq): New function, broken out of ...
4161 (use_from_charmap): ... here. Call it.
4162 (use_to_charmap): Use convert_charseq and free instead of duplicating
4163 its code with a variable-length stack struct.
4164
d4e157aa
JM
41652014-10-30 Joseph Myers <joseph@codesourcery.com>
4166
4167 * include/fcntl.h (__libc_creat): Remove declaration.
4168 * io/creat.c (__libc_creat): Rename to creat.
4169 (creat): Do not define as alias.
4170 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4171 of creat instead of __libc_creat.
4172 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4173 to creat.
4174 (creat): Do not define as alias.
4175 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4176 __libc_creat.
4177 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4178 __libc_creat name.
4179 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4180 Likewise.
4181
0c6891a0
CD
41822014-10-29 Carlos O'Donell <carlos@redhat.com>
4183
4184 * manual/llio.texi: Add comments discussing why write() may be
4185 considered MT-unsafe on Linux.
4186
cc00cece
CD
41872014-10-28 Carlos O'Donell <carlos@redhat.com>
4188
4189 * dl-load.c (local_strdup): Remove.
4190 (expand_dynamic_string_token): Use __strdup.
4191 (decompose_rpath): Likewise.
4192 (_dl_map_object): Likewise.
4193
51e623f2
JM
41942014-10-28 Joseph Myers <joseph@codesourcery.com>
4195
4196 [BZ #14132]
4197 * sysdeps/generic/unwind-dw2-fde.c
4198 (__register_frame_info_bases_internal): Do not declare.
4199 (__register_frame_info_table_bases_internal): Likewise.
4200 (__deregister_frame_info_bases_internal): Likewise.
4201 (__register_frame_info_bases): Declare and use hidden_proto before
4202 definition. Use hidden_def instead of INTDEF.
4203 (__register_frame_info_table_bases): Likewise.
4204 (__deregister_frame_info_bases): Likewise.
4205 (__register_frame_info): Do not use INTUSE.
4206 (__register_frame): Likewise.
4207 (__register_frame_info_table): Likewise.
4208 (__register_frame_table): Likewise.
4209 (__deregister_frame_info): Likewise.
4210 (__deregister_frame): Likewise.
4211
03d41216
GC
42122014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4213
4214 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4215 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4216 not undefine.
4217 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4218 Likewise.
4219 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4220 Likewise.
4221
a4b3624d
JM
42222014-10-27 Joseph Myers <joseph@codesourcery.com>
4223
4224 [BZ #14138]
4225 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4226 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4227 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4228 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4229 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4230 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4231 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4232 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4233 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4234 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4235 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4236 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4237 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4238 syscall.
4239 (setfsuid): Likewise.
4240 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4241 (setfsuid): Likewise.
4242 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4243 (setfsuid): Likewise.
4244 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4245 Likewise.
4246 (setfsuid): Likewise.
4247 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4248 (setfsuid): Likewise.
4249 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4250 Likewise.
4251 (setfsuid): Likewise.
4252
3574f2fd
AS
42532014-10-27 Andreas Schwab <schwab@suse.de>
4254
4255 [BZ #17501]
4256 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4257 check for Slow_SSE4_2 feature bit.
4258 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4259 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4260 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4261 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4262
70996a37
RM
42632014-10-24 Roland McGrath <roland@hack.frob.com>
4264
461a7b1e
RM
4265 * configure.ac: Validate compiler version with a empirical test of
4266 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4267 $CC -v output.
4268 * configure: Regenerated.
4269
70996a37
RM
4270 * inet/htons.c (htons): Prototypify.
4271 * inet/htonl.c (htonl): Likewise.
4272
e80514b5
WD
42732014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4274
4275 * string/strncat.c (strncat): Improve performance by using strlen.
4276
6e46de42
WD
42772014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4278
4279 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4280
6a9ad2fa
WD
42812014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4282
4283 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4284 Call libc_fetestexcept_aarch64.
4285
1c8810ed
WD
42862014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4287
4288 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4289 Call libc_feholdexcept_aarch64.
4290
8b1af712
WD
42912014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4292
4293 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4294 Call get_rounding_mode.
4295
a7b00c11
WD
42962014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4297
4298 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4299 Simplify logic.
4300
3a84f1a6
WD
43012014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4302
4303 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4304 Simplify logic.
4305
48eb7a94
JM
43062014-10-24 Joseph Myers <joseph@codesourcery.com>
4307
c8bc4038
JM
4308 [BZ #14138]
4309 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4310 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4311 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4312 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4313 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4314 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4315 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4316 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4317 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4318 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4319 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4320 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4321 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4322 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4323 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4324 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4325 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4326 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4327 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4328 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4329 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4330 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4331 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4332 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4333 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4334 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4335 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4336 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4337 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4338 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4339 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4340 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4341 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4342 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4343 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4344 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4345 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4346 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4347 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4348 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4349 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4350 syscall.
4351 (geteuid): Likewise.
4352 (getgid): Likewise.
4353 (getuid): Likewise.
4354 (getresgid): Likewise.
4355 (getresuid): Likewise.
4356 (getgroups): Likewise.
4357 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4358 (geteuid): Likewise.
4359 (getgid): Likewise.
4360 (getuid): Likewise.
4361 (getresgid): Likewise.
4362 (getresuid): Likewise.
4363 (getgroups): Likewise.
4364 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4365 (geteuid): Likewise.
4366 (getgid): Likewise.
4367 (getuid): Likewise.
4368 (getresgid): Likewise.
4369 (getresuid): Likewise.
4370 (getgroups): Likewise.
4371 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4372 Likewise.
4373 (geteuid): Likewise.
4374 (getgid): Likewise.
4375 (getuid): Likewise.
4376 (getresgid): Likewise.
4377 (getresuid): Likewise.
4378 (getgroups): Likewise.
4379 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4380 (geteuid): Likewise.
4381 (getgid): Likewise.
4382 (getuid): Likewise.
4383 (getresgid): Likewise.
4384 (getresuid): Likewise.
4385 (getgroups): Likewise.
4386 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4387 Likewise.
4388 (geteuid): Likewise.
4389 (getgid): Likewise.
4390 (getuid): Likewise.
4391 (getgroups): Likewise.
4392
48eb7a94
JM
4393 [BZ #14138]
4394 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4395 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4396 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4397 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4398 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4399 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4400 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4401 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4402 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4403 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4404 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4405 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4406 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4407 __chown.
4408 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4409 (lchown): Likewise.
4410 (fchown): Likewise.
4411 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4412 Likewise.
4413 (lchown): Likewise.
4414 (fchown): Likewise.
4415 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4416 (lchown): Likewise.
4417 (fchown): Likewise.
4418 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4419 Likewise.
4420 (lchown): Likewise.
4421 (fchown): Likewise.
4422
ea9a7c8b
WD
44232014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4424
4425 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4426 Simplify logic.
4427
e226de33
WD
44282014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4429
4430 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4431 Cleanup logic.
4432
6e3d8ed3
WD
44332014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4434
4435 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4436 Remove unused include.
4437
eb04247d
WD
44382014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4439
4440 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4441 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4442 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4443 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4444
13d84554
CD
44452014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4446 Helge Deller <deller@gmx.de>
4447
4448 [BZ #17508]
4449 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4450 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4451 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4452
15f9c5df
JM
44532014-10-23 Joseph Myers <joseph@codesourcery.com>
4454
4455 [BZ #14132]
4456 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4457 Remove macro definition.
4458 (__ashrdi3_v_glibc20): Likewise.
4459 (__lshrdi3_v_glibc20): Likewise.
4460 (__cmpdi2_v_glibc20): Likewise.
4461 (__ucmpdi2_v_glibc20): Likewise.
4462 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4463 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4464 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4465 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4466 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4467 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4468
c6dfed24
RM
44692014-10-22 Roland McGrath <roland@hack.frob.com>
4470
4471 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4472 old GNU extension [0] syntax.
4473 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4474 alloca rather than an array member with variable length.
4475 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4476 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4477 (parse_opt): ... here. Likewise use alloca there.
4478 Validate the -i argument before checking for rootness.
4479 (send_shutdown): New function, broken out of ...
4480 (parse_opt): ... here.
4481
8c2b1ed8
RM
44822014-10-22 Roland McGrath <roland@hack.frob.com>
4483
4484 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4485 macro to get at the _rt_local_ro field.
4486 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4487 ([PIC] case) or _dl_hwcap ([!PIC] case).
4488 * sysdeps/arm/setjmp.S: Likewise.
4489
4490 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4491 * sysdeps/arm/configure.ac: New check to define it.
4492 * sysdeps/arm/configure: Regenerated.
4493 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4494 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4495 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4496 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4497 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4498 Use move/movt pair instead of a load.
4499 (LDST_GLOBAL): Macro removed.
4500 (LDR_GLOBAL): New macro replaces it.
4501 (LDR_HIDDEN): New macro.
4502 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4503 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4504
4505 * setjmp/tst-setjmp-static.c: New file.
4506 * setjmp/Makefile (tests): Add it.
4507 (tests-static): New variable.
4508
b5af9297
MR
45092014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4510
4511 [BZ #17485]
4512 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4513
a13d0d74
JM
45142014-10-21 Joseph Myers <joseph@codesourcery.com>
4515
4516 [BZ #14132]
4517 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4518
f05e73f6
RM
45192014-10-21 Roland McGrath <roland@hack.frob.com>
4520
4521 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4522
6ab1d1ea
RM
45232014-10-20 Roland McGrath <roland@hack.frob.com>
4524
4525 * io/fts.c (dirent_not_directory): New function.
4526 (fts_build): Call it.
4527
ab49e763
RM
45282014-10-20 Roland McGrath <roland@hack.frob.com>
4529
e436eb79
RM
4530 * nptl/version.c (__nptl_main): Use normal __write rather than
4531 INTERNAL_SYSCALL.
4532 (banner): Update copyright years.
4533
6af246cf
RM
4534 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4535 gettimeofday.
4536 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4537 * nptl/pthread_cond_timedwait.c: Likewise.
4538 * nptl/pthread_mutex_timedlock.c: Likewise.
4539 * nptl/sem_timedwait.c: Likewise.
4540
ab49e763
RM
4541 * sysdeps/nptl/bits/libc-lock.h
4542 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4543 (__libc_lock_init_recursive): Return void, not 0.
4544 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4545 (__libc_rwlock_init): Likewise.
4546 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4547
f50277c1
TR
45482014-10-20 Torvald Riegel <triegel@redhat.com>
4549
4550 [BZ #15215]
4551 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4552 (__pthread_once_slow): ... here.
4553 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4554 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4555
63668b70
TR
45562014-10-20 Torvald Riegel <triegel@redhat.com>
4557
4558 [BZ #15215]
4559 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4560 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4561 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4562 * nptl/pthread_once.c (__pthread_once): Likewise.
4563 Update comments.
4564
42b7f5d4
JM
45652014-10-20 Joseph Myers <joseph@codesourcery.com>
4566
4567 [BZ #14138]
4568 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4569 name.
4570 (writev): Use __libc_writev as strong name.
4571 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4572 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4573
b0643088
RM
45742014-10-17 Roland McGrath <roland@hack.frob.com>
4575
114c4e09
RM
4576 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4577
674b8978
RM
4578 * sysdeps/i386/nptl/tls.h
4579 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4580 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4581 New macros.
4582 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4583 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4584 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4585 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4586 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4587 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4588
184ee940
RM
4589 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4590 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4591 on [__NR_futex].
4592 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4593 broken out of ...
4594 (__pthread_mutex_init): ... here. Call it.
4595 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4596 Conditionalize PI cases on [__NR_futex].
4597 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4598 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4599 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4600
327ae257
RM
4601 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4602 conditional on [SIGSETXID].
4603 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4604 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4605 is defined. Likewise for SIGSETXID.
4606 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4607 Conditionalize definitions on [SIGSETXID].
4608 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4609 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4610 unblocking on [SIGCANCEL].
4611
b0643088
RM
4612 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4613 [__NR_set_robust_list].
4614
33cc770b
SP
46152014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4616
4617 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4618 (do_compare): Likewise.
4619
0742aef6
LH
46202014-10-17 Leonhard Holz <leonhard.holz@web.de>
4621
4622 [BZ #15884]
4623 * string/strcoll_l.c: Don't include stdio.h.
4624 (coll_seq): Remove members idxarr and rulearr.
4625 (get_next_seq_cached): Remove function.
4626 (get_next_seq): Likewise.
4627 (get_next_seq_nocache): Rename to get_next_seq.
4628 (do_compare): Remove function.
4629 (do_compare_nocache): Rename to do_compare.
4630 (STRCOLL): Remove weight and rules cache.
4631
ee54ce44
RM
46322014-10-16 Roland McGrath <roland@hack.frob.com>
4633
4634 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4635 * sysdeps/arm/sfp-machine.h: ... to here.
4636 * sysdeps/arm/Implies: Remove arm/soft-fp.
4637
a75d3b02
JM
46382014-10-14 Joseph Myers <joseph@codesourcery.com>
4639
4640 * conform/data/sys/utsname.h-data (*_t): Allow.
4641 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4642 [POSIX] (WEXITED): Do not expect constant.
4643 [POSIX] (WSTOPPED): Likewise.
4644 [POSIX] (WNOHANG): Likewise.
4645 [POSIX] (WNOWAIT): Likewise.
4646 [POSIX] (siginfo_t): Do not expect type or elements.
4647 [POSIX] (pid_t): Do not expect type.
4648 [POSIX] (signal.h): Do not allow header.
4649 [POSIX] (sys/resource.h): Likewise.
4650 [POSIX] (si_*): Do not allow pattern.
4651 [POSIX] (W*): Likewise.
4652 [POSIX] (P_*): Likewise.
4653 [POSIX] (BUS_*): Likewise.
4654 [POSIX] (CLD_*): Likewise.
4655 [POSIX] (FPE_*): Likewise.
4656 [POSIX] (ILL_*): Likewise.
4657 [POSIX] (POLL_*): Likewise.
4658 [POSIX] (SEGV_*): Likewise.
4659 [POSIX] (SI_*): Likewise.
4660 [POSIX] (TRAP_*): Likewise.
4661 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4662 variable.
4663
fda389c8
SP
46642014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4665
4666 [BZ #12926]
4667 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4668 infinite loop when __recvmsg returns 0.
4669
6bc6bd3b
JM
46702014-10-10 Joseph Myers <joseph@codesourcery.com>
4671
fcb32af1
JM
4672 * CANCEL-FCT-WAIVE: Remove file.
4673 * CANCEL-FILE-WAIVE: Likewise.
4674
6bc6bd3b
JM
4675 [BZ #14132]
4676 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4677 instead of INTVARDEF.
4678 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4679 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4680 rtld_hidden_data_def instead of INTVARDEF.
4681 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4682 * elf/dl-deps.c (expand_dst): Likewise.
4683 * elf/dl-load.c (_dl_dst_count): Likewise.
4684 (_dl_dst_substitute): Likewise.
4685 (decompose_rpath): Likewise.
4686 (_dl_init_paths): Likewise.
4687 (open_path): Likewise.
4688 (_dl_map_object): Likewise.
4689 * elf/rtld.c (dl_main): Likewise.
4690 (process_dl_audit): Likewise.
4691 (process_envvars): Likewise.
4692 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4693 Remove declaration.
4694 (__libc_enable_secure): Use rtld_hidden_proto.
4695
b8c80a7e
KS
46962014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4697
4698 * elf/dl-load.c
4699 (add_path): New function broken out of _dl_rtld_di_serinfo.
4700 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4701
ff12c11f
JM
47022014-10-09 Joseph Myers <joseph@codesourcery.com>
4703
5c0508a3
JM
4704 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4705 parentheses around macro arguments.
4706 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4707 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4708 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4709 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4710 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4711 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4712 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4713 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4714 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4715 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4716 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4717 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4718 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4719 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4720 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4721 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4722 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4723 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4724 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4725 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4726 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4727 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4728 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4729 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4730 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4731 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4732 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4733 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4734 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4735 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4736 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4737 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4738 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4739 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4740 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4741 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4742 Likewise.
4743 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4744 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4745 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4746 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4747 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4748 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4749 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4750 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4751 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4752 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4753 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4754 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4755 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4756 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4757 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4758 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4759 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4760 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4761 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4762 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4763 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4764 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4765 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4766 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4767 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4768 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4769 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4770 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4771 (_FP_FRAC_SRS_1): Likewise.
4772 (_FP_FRAC_CLZ_1): Likewise.
4773 (_FP_MUL_MEAT_1_imm): Likewise.
4774 (_FP_MUL_MEAT_1_wide): Likewise.
4775 (_FP_MUL_MEAT_1_hard): Likewise.
4776 (_FP_SQRT_MEAT_1): Likewise.
4777 (_FP_FRAC_ASSEMBLE_1): Likewise.
4778 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4779 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4780 (__FP_CLZ_2): Likewise.
4781 (_FP_MUL_MEAT_2_wide): Likewise.
4782 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4783 (_FP_MUL_MEAT_2_gmp): Likewise.
4784 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4785 (_FP_SQRT_MEAT_2): Likewise.
4786 (_FP_FRAC_ASSEMBLE_2): Likewise.
4787 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4788 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4789 (_FP_FRAC_CLZ_4): Likewise.
4790 (_FP_MUL_MEAT_4_wide): Likewise.
4791 (_FP_MUL_MEAT_4_gmp): Likewise.
4792 (_FP_SQRT_MEAT_4): Likewise.
4793 (_FP_FRAC_ASSEMBLE_4): Likewise.
4794 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4795 * soft-fp/op-common.h (_FP_CMP): Likewise.
4796 (_FP_CMP_EQ): Likewise.
4797 (_FP_CMP_UNORD): Likewise.
4798 (_FP_TO_INT): Likewise.
4799 (_FP_FROM_INT): Likewise.
4800 [!__FP_CLZ] (__FP_CLZ): Likewise.
4801 (_FP_DIV_HELP_imm): Likewise.
4802 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4803 Likewise.
4804 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4805 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4806 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4807 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4808 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4809 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4810 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4811 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4812 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4813 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4814 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4815 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4816 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4817 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4818 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4819 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4820 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4821 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4822 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4823 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4824 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4825 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4826 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4827 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4828 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4829 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4830 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4831 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4832 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4833 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4834 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4835 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4836 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4837 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4838 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4839 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4840 (FP_UNPACK_RAW_SP): Likewise.
4841 (FP_PACK_RAW_S): Likewise.
4842 (FP_PACK_RAW_SP): Likewise.
4843 (FP_UNPACK_S): Likewise.
4844 (FP_UNPACK_SP): Likewise.
4845 (FP_UNPACK_SEMIRAW_S): Likewise.
4846 (FP_UNPACK_SEMIRAW_SP): Likewise.
4847 (FP_PACK_S): Likewise.
4848 (FP_PACK_SP): Likewise.
4849 (FP_PACK_SEMIRAW_S): Likewise.
4850 (FP_PACK_SEMIRAW_SP): Likewise.
4851 (_FP_SQRT_MEAT_S): Likewise.
4852 (FP_CMP_S): Likewise.
4853 (FP_CMP_EQ_S): Likewise.
4854 (FP_CMP_UNORD_S): Likewise.
4855 (FP_TO_INT_S): Likewise.
4856 (FP_FROM_INT_S): Likewise.
4857
a736ec37
JM
4858 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4859
ff12c11f
JM
4860 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4861 (FP_EX_INVALID_IMZ): Likewise.
4862 (FP_EX_INVALID_IMZ_FMA): Likewise.
4863 (FP_EX_INVALID_ISI): Likewise.
4864 (FP_EX_INVALID_ZDZ): Likewise.
4865 (FP_EX_INVALID_IDI): Likewise.
4866 (FP_EX_INVALID_SQRT): Likewise.
4867 (FP_EX_INVALID_CVI): Likewise.
4868 (FP_EX_INVALID_VC): Likewise.
4869 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4870 "invalid" exceptions.
4871 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4872 (_FP_ADD_INTERNAL): Likewise.
4873 (_FP_MUL): Likewise.
4874 (_FP_FMA): Likewise.
4875 (_FP_DIV): Likewise.
4876 (_FP_CMP_CHECK_NAN): Likewise.
4877 (_FP_SQRT): Likewise.
4878 (_FP_TO_INT): Likewise.
4879 (FP_EXTEND): Likewise.
4880
b6dcfe8c
AM
48812014-10-09 Allan McRae <allan@archlinux.org>
4882
4883 * po/fr.po: Update French translation from translation project.
4884
2d6a47ba
JM
48852014-10-09 Joseph Myers <joseph@codesourcery.com>
4886
cb831245
JM
4887 [BZ #14132]
4888 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4889 of INTDEF.
4890 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4891 (__cxa_atexit): Use libc_hidden_proto.
4892 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4893
5deeb190
JM
4894 [BZ #14132]
4895 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4896 declaration.
4897 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4898 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4899 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4900 [!_ISOMAC] (__iswctype_internal): Likewise.
4901 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4902 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4903 alias.
4904 (fcntl): Remove __fcntl_internal alias.
4905 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4906 __connect_internal alias.
4907 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4908 Likewise.
4909
454ac701
JM
4910 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4911 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4912 FP_DENORM_ZERO.
4913 (_FP_CHECK_FLUSH_ZERO): New macro.
4914 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4915 (_FP_CMP): Likewise.
4916 (_FP_CMP_EQ): Likewise.
4917 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4918 FP_DENORM_ZERO.
4919 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4920 (FP_TRUNC): Likewise.
4921
0022e688
JM
4922 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4923 treated as invalid conversion, not as normal exponent.
4924
73e28d9c
JM
4925 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4926 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4927 (_FP_CMP_EQ): Likewise.
4928 (_FP_CMP_UNORD): Likewise.
4929 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4930 (FP_CMP_EQ_D): Likewise.
4931 (FP_CMP_UNORD_D): Likewise.
4932 * soft-fp/extended.h (FP_CMP_E): Likewise.
4933 (FP_CMP_EQ_E): Likewise.
4934 (FP_CMP_UNORD_E): Likewise.
4935 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4936 (FP_CMP_EQ_Q): Likewise.
4937 (FP_CMP_UNORD_Q): Likewise.
4938 * soft-fp/single.h (FP_CMP_S): Likewise.
4939 (FP_CMP_EQ_S): Likewise.
4940 (FP_CMP_UNORD_S): Likewise.
4941 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4942 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4943 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4944 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4945 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4946 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4947 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4948 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4949 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4950 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4951 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4952 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4953 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4954 to FP_CMP_Q.
4955 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4956 FP_CMP_Q.
4957 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4958 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4959 FP_CMP_EQ_Q.
4960 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4961 FP_CMP_Q.
4962 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4963 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4964 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4965 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4966 FP_CMP_EQ_Q.
4967 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4968 FP_CMP_Q.
4969 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4970 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4971 FP_CMP_EQ_Q.
4972 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4973 FP_CMP_Q.
4974 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4975 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4976 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4977 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4978 FP_CMP_EQ_Q.
4979
43059f42
JM
4980 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4981 a subnormal result, set the underflow exception if trapping on
4982 underflow is enabled.
4983 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4984 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4985 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4986 redefine to 0.
4987 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4988 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4989 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4990 * soft-fp/extendxftf2.c (__extendxftf2): Use
4991 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4992
2d6a47ba
JM
4993 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4994 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4995 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4996 FP_HANDLE_EXCEPTIONS.
4997 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4998 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4999 FP_HANDLE_EXCEPTIONS.
5000 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5001 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5002 FP_HANDLE_EXCEPTIONS.
5003 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5004 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5005 FP_HANDLE_EXCEPTIONS.
5006
620f462e
JM
50072014-10-08 Joseph Myers <joseph@codesourcery.com>
5008
5009 [BZ #14132]
5010 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5011 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5012 use INTUSE.
5013 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5014 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5015 Remove alias.
5016 (__adjtimex): Define using libc_hidden_ver.
5017 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5018 Remove declaration.
5019 (ntp_gettime): Call __adjtimex directly.
5020 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5021 Remove declaration.
5022 (ntp_gettimex): Call __adjtimex directly.
5023 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5024 __adjtimex_internal alias.
5025
c763c5d2
RM
50262014-10-08 Roland McGrath <roland@hack.frob.com>
5027
5028 [BZ #17460]
5029 * nscd/nscd.c (more_help): Rewrite list of tables collection
5030 using xstrdup and asprintf.
5031
5032 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5033
7b8fb2b8
RM
50342014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5035 Roland McGrath <roland@hack.frob.com>
5036
5037 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5038 (do_lookup_unique): ... local function 'enter' here; update callers.
5039
abb280f7
JM
50402014-10-06 Joseph Myers <joseph@codesourcery.com>
5041
f7b42517
JM
5042 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5043 compat_symbol calls on [SHARED].
5044 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5045 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5046 Remove.
5047 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5048 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5049 (oldsetrlimit): Remove.
5050 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5052 (lchown): New syscall entry.
5053 (oldsetrlimit): Remove.
5054 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5055 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5056 (oldsetrlimit): Remove.
5057 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5058
abb280f7
JM
5059 [BZ #14138]
5060 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5061 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5062 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5063 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5064 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5065 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5066 (fchown): Likewise.
5067 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5068 (fchown): Likewise.
5069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5070 Likewise.
5071
47d46237
AZ
50722014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5073
5074 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5075 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5076 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5077 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5078 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5079 Likewise.
5080 (__old_sem_post): Likewise.
5081
50822014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 5083
845a7343
CM
5084 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5085 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5086 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5087 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5088 Use INLINE_VSYSCALL macro.
5089 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5090 __vdso_clock_gettime.
5091 * sysdeps/unix/sysv/linux/tile/init-first.c
5092 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5093 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5094 __vdso_clock_gettime.
5095
83d641ef
CM
5096 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5097 to set up frame more cleanly.
5098
d9cd52e6
CM
5099 * sysdeps/tile/memcmp.c: New file.
5100
4b68ea11
CM
5101 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5102
c86f7b80
CM
5103 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5104 * sysdeps/tile/tilegx/strcasestr.c: New file.
5105 * sysdeps/tile/tilegx/strnlen.c: New file.
5106 * sysdeps/tile/tilegx/strstr.c: New file.
5107
1c4c1a6f
CM
5108 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5109
99d86ea3
AS
51102014-10-06 Arjun Shankar <arjun.is@lostca.se>
5111
5112 * nptl/tst-setuid3.c: Write errors to stdout.
5113
06210a44
KS
51142014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5115
5116 * elf/dl-deps.c
5117 (preload): New functions broken out of _dl_map_object_deps.
5118 (_dl_map_object_deps): Remove a nested function. Update call sites.
5119
6268f532
JM
51202014-10-01 Joseph Myers <joseph@codesourcery.com>
5121
5122 [BZ #14138]
5123 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5124 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5125
b925285f
SE
51262014-10-01 Steve Ellcey <sellcey@mips.com>
5127
5128 * sysdeps/mips/strcmp.S: New.
5129
754a15c6
JM
51302014-09-30 Joseph Myers <joseph@codesourcery.com>
5131
5132 [BZ #14138]
5133 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5134 (linkat): Likewise.
5135 (mkdirat): Likewise.
5136 (readlinkat): Likewise.
5137 (renameat): Likewise.
5138 (symlinkat): Likewise.
5139 (unlinkat): Likewise.
5140 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5141 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5142 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5143 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5144 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5145 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5146 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5147
85bb81c9
WN
51482014-09-30 Will Newton <will.newton@linaro.org>
5149
dc6fe23b
WN
5150 * math/math.h: Define long double math functions if
5151 _LIBC_TEST is defined.
5152 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5153
85bb81c9
WN
5154 * localedata/Makefile: Move assignment to tests-special
5155 into an ifdef testing run-built-tests.
5156 * timezone/Makefile: Likewise.
5157
b7e02da4
JM
51582014-09-29 Joseph Myers <joseph@codesourcery.com>
5159
5160 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5161 with $(BASH) not $(SHELL).
5162
62058ce6
CD
51632014-09-29 Carlos O'Donell <carlos@redhat.com>
5164 Matthew LeGendre <legendre1@llnl.gov>
5165
5166 [BZ #17411]
5167 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5168 l_reloc_result.
5169
8e257a29
KS
51702014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5171
5172 * stdio-common/printf_fp.c
5173 (hack_digit): New function, broken out of ...
5174 (__printf_fp): ... local function here. Update call sites.
5175 hack_digit now takes an additional parameter that is a pointer
5176 to a struct of the referenced locals. Those locals moved inside
5177 the struct and references updated.
5178
f4a58f0d
L
51792014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5180
5181 * aclocal.m4: Require autoconf 2.69.
5182 * configure: Regenerated.
5183 * sysdeps/aarch64/configure: Likewise.
5184 * sysdeps/alpha/configure: Likewise.
5185 * sysdeps/arm/armv7/configure: Likewise.
5186 * sysdeps/arm/configure: Likewise.
5187 * sysdeps/ia64/configure: Likewise.
5188 * sysdeps/mach/configure: Likewise.
5189 * sysdeps/mips/configure: Likewise.
5190 * sysdeps/s390/configure: Likewise.
5191 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5193
5194 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5195 file.
5196 * sysdeps/ia64/configure.ac: Likewise.
5197
93ae1eba
JM
51982014-09-26 Joseph Myers <joseph@codesourcery.com>
5199
1810d3ab
JM
5200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5201 specify symbol version for ld.so. Do not include entry for
5202 libpthread.
5203 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5204 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5205 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5206
93ae1eba
JM
5207 [BZ #14171]
5208 * Makeconfig [$(build-shared) = yes]
5209 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5210 makefiles.
5211 [$(build-shared) = yes && $(soversions.mk-done) = t]
5212 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5213 [$(build-shared) = yes && $(soversions.mk-done) = t]
5214 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5215 to Makerules.
5216 [$(build-shared) = yes && $(soversions.mk-done) = t]
5217 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5218 here.
5219 [$(build-shared) = yes && $(soversions.mk-done) = t]
5220 (common-generated): Don't append gnu/lib-names.h and
5221 gnu/lib-names.stmp here.
5222 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5223 (lib-names-h-abi): New variable.
5224 [$(build-shared) = yes && $(soversions.mk-done) = t]
5225 (lib-names-stmp-abi): Likewise.
5226 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5227 abi-variants] (before-compile): Append
5228 $(common-objpfx)$(lib-names-h-abi).
5229 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5230 abi-variants] (common-generated): Append gnu/lib-names.h.
5231 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5232 abi-variants] (install-others-nosubdir): Depend on
5233 $(inst_includedir)/$(lib-names-h-abi).
5234 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5235 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5236 [$(build-shared) = yes && $(soversions.mk-done) = t]
5237 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5238 [$(build-shared) = yes && $(soversions.mk-done) = t]
5239 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5240 [$(build-shared) = yes && $(soversions.mk-done) = t]
5241 (common-generated): Append $(lib-names-h-abi) and
5242 $(lib-names-stmp-abi).
5243 * scripts/lib-names.awk: Do not handle multi being set.
5244 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5245 Remove variable.
5246 (abi-lp64_be-ld-soname): Likewise.
5247 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5248 Likewise.
5249 (abi-hard-ld-soname): Likewise.
5250 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5251 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5252 Remove variable.
5253 (abi-o32_hard-ld-soname): Likewise.
5254 (abi-o32_soft_2008-ld-soname): Likewise.
5255 (abi-o32_hard_2008-ld-soname): Likewise.
5256 (abi-n32_soft-ld-soname): Likewise.
5257 (abi-n32_hard-ld-soname): Likewise.
5258 (abi-n32_soft_2008-ld-soname): Likewise.
5259 (abi-n32_hard_2008-ld-soname): Likewise.
5260 (abi-n64_soft-ld-soname): Likewise.
5261 (abi-n64_hard-ld-soname): Likewise.
5262 (abi-n64_soft_2008-ld-soname): Likewise.
5263 (abi-n64_hard_2008-ld-soname): Likewise.
5264 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5265 Likewise.
5266 (abi-64-v2-ld-soname): Likewise.
5267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5268 ld.so entries.
5269 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5270 variable.
5271 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5272 entry.
5273 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5274 variable.
5275 (abi-64-ld-soname): Likewise.
5276 (abi-x32-ld-soname): Likewise.
5277 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5278 entry.
5279 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5280
68870f12
JM
52812014-09-23 Joseph Myers <joseph@codesourcery.com>
5282
5283 [BZ #14138]
5284 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5285 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5286 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5287 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5288 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5289 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5290 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5291 syscall entry for GLIBC_2.2 symbol version.
5292 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5293 Likewise.
5294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5295 (setrlimit): Likewise.
5296 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5297 Likewise.
5298
ea58f202
WN
52992014-09-23 Will Newton <will.newton@linaro.org>
5300
5301 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5302 _LINUX_ARM_SYSDEP_H include guard too.
5303 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5304 define.
5305
69eb9a18
RV
53062014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5307
5308 * sysdeps/unix/sysv/linux/eventfd.c:
5309 Make first argument unsigned.
5310 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5311 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5312
20e5a5f7
OB
53132014-09-20 Ondřej Bílka <neleai@seznam.cz>
5314
5315 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5316 * socket/sys/socket.h: Likewise
5317 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5318
d3c827e7
AK
53192014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5320
5321 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5322
fe1cc35a
AS
53232014-09-17 Arjun Shankar <arjun.is@lostca.se>
5324
5325 * time/tst-ftime.c: New test.
5326 * time/Makefile (tests): Add tst-ftime.
5327
4e8afe69
JM
53282014-09-17 Joseph Myers <joseph@codesourcery.com>
5329
c4fe3ea7
JM
5330 * soft-fp/extended.h: Fix comment formatting.
5331 * soft-fp/op-1.h: Likewise.
5332 * soft-fp/op-2.h: Likewise.
5333 * soft-fp/op-4.h: Likewise.
5334 * soft-fp/op-8.h: Likewise.
5335 * soft-fp/op-common.h: Likewise.
5336 * soft-fp/soft-fp.h: Likewise.
5337
4e8afe69
JM
5338 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5339
af296fcd
JM
53402014-09-16 Joseph Myers <joseph@codesourcery.com>
5341
5342 [BZ #6652]
5343 * Makeconfig (soversions-default-setname): Remove variable.
5344 ($(common-objpfx)soversions.i): Don't pass default_setname to
5345 soversions.awk.
5346 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5347 oldest_abi to abi-versions.awk.
5348 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5349 * config.make.in (oldest-abi): Remove variable.
5350 * configure.ac (--enable-oldest-abi): Remove configure option.
5351 * configure: Regenerated.
5352 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5353 text.
5354 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5355 * scripts/soversions.awk: Do not handle default_setname variable.
5356 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5357 variable.
5358 * sysdeps/mach/hurd/configure: Regenerated.
5359 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5360 variable.
5361 * sysdeps/unix/sysv/linux/configure: Regenerated.
5362
545583d6
SP
53632014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5364
d330b980
SP
5365 * elf/Makefile (CFLAGS-interp.c): Remove.
5366 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5367 path string.
5368 * elf/interp.c: Include generated runtime-linker.h
5369
02657da2
SP
5370 * Makerules (lib%.so): Don't include $(+interp) in
5371 prerequisites.
5372 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5373 * dlfcn/eval.c: Remove file.
5374
653b1080
SP
5375 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5376 macros.
5377
602f80ec
SP
5378 [BZ #17266]
5379 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5380 4.2 and newer.
5381
545583d6
SP
5382 [BZ #17370]
5383 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5384
884ddc50
SP
53852014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5386 Jakub Jelinek <jakub@redhat.com>
5387
5388 [BZ #17266]
5389 * libio/stdio.h: Check definition of __fortify_function
5390 instead of __extern_always_inline to include bits/stdio2.h.
5391 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5392 check if __extern_always_inline is defined.
5393 [__USE_MISC || __USE_XOPEN]: Likewise.
5394 [__USE_ISOC99] Likewise.
5395 * misc/sys/cdefs.h (__fortify_function): Define only if
5396 __extern_always_inline is defined.
5397 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5398 __extern_always_inline and __extern_inline only for g++-4.3
5399 and newer or a compatible gcc.
5400
a7b87268
AS
54012014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5402
5403 [BZ #17371]
5404 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5405 last change to handle zero prefix length.
5406
3f41521d
SP
54072014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5408
61fe374a
SP
5409 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5410 _SC_REGEX_VERSION.
5411
3f41521d
SP
5412 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5413 _POSIX_RAW_SOCKETS.
5414
d8f879ee
AM
54152014-09-13 Allan McRae <allan@archlinux.org>
5416
5417 * po/ru.po: Update Russian translation from translation project.
5418
c079afb7
RM
54192014-09-12 Roland McGrath <roland@hack.frob.com>
5420
a62b3c15
RM
5421 * locale/programs/locale.c (show_locale_vars): Inline local function
5422 into its sole call site. Clean up some style nits.
5423 (print_item): New function, broken out of ...
5424 (show_info): ... local function here. Clean up style nits.
5425
d7e49b19
RM
5426 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5427 out of ...
5428 (set_class_defaults): ... local function set_default here.
5429 Define set_default as a macro locally to pass constant parameters.
5430 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5431 rather than a shared local.
5432
c079afb7
RM
5433 * stdlib/rpmatch.c (try): New function, broken out of ...
5434 (rpmatch): ... local function here. Also, prototypify definition.
5435
0bd72468
JM
54362014-09-12 Joseph Myers <joseph@codesourcery.com>
5437
ba90e050
JM
5438 * scripts/soversions.awk: Do not handle configuration names.
5439 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5440 vendor and os variables to soversions.awk.
5441 * configure.ac: Do not modify gnu-* host_os.
5442 * configure: Regenerated
5443 * shlib-versions: Remove first column with configuration names.
5444 * nptl/shlib-versions: Likewise.
5445 * nptl_db/shlib-versions: Likewise.
5446 * sysdeps/hppa/shlib-versions: Likewise.
5447 * sysdeps/m68k/shlib-versions: Likewise.
5448 * sysdeps/mach/hurd/shlib-versions: Likewise.
5449 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5450 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5451 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5452 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5453 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5454 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5455 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5456 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5458 Likewise.
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/shlib-versions: Likewise.
5462 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5463 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5464 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5465 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5466 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5467
73a39112
JM
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5469 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5471 Regenerated.
5472 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5474 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5475
c729e7c1
JM
5476 * shlib-versions: Remove OS-specific entries. Moved to files in
5477 sysdeps.
5478 * sysdeps/mach/hurd/shlib-versions: New file.
5479 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5480
dc932a24
JM
5481 * nptl/shlib-versions: Remove architecture-specific entries.
5482 Moved to files in sysdeps.
5483 * shlib-versions: Likewise.
5484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5485 file.
5486 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5487 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5488 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5489 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5490
0bd72468
JM
5491 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5492 (UDP_NO_CHECK6_RX): Likewise.
5493
920238e0
SP
54942014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5495
5496 * sysdeps/posix/sysconf.c (__sysconf): Spell
5497 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5498
ba7b4d29
FW
54992014-08-12 Florian Weimer <fweimer@redhat.com>
5500
5501 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5502 loading.
5503 * iconv/Versions (__gconv_transliterate): Export for use from
5504 gconv modules.
5505 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5506 (struct __gconv_trans_data, __gconv_trans_fct,
5507 __gconv_trans_context_fct, __gconv_trans_query_fct,
5508 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5509 definitions.
5510 (struct __gconv_step_data): Remove __trans member.
5511 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5512 longer hidden. Remove unused trans_data argument.
5513 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5514 (__gconv_translit_find): Remove declaration.
5515 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5516 prototype.
5517 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5518 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5519 trans_data argument. Add hidden definition.
5520 (__gconv_translit_find): Remove.
5521 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5522 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5523 * iconv/skeleton.c: Remove transliteration initialization.
5524 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5525 __gconv_step_data initialization.
5526 * libio/iofwide.c (__libio_translit_): Remove.
5527 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5528 * wcsmbs/btowc.c (__btowc): Likewise.
5529 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5530 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5531 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5532 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5533 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5534 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5535 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5536 * wcsmbs/wctob.c (wctob): Likewise.
5537
5379aebd
SP
55382014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5539
5540 [BZ #16194]
5541 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5542 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5543 register usage.
5544 * sysdeps/x86/Makefile: Adjust.
5545
8c0ab919
RM
55462014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5547 Roland McGrath <roland@hack.frob.com>
5548
5549 * locale/weight.h: Add include guard.
5550 (findidx): Make static rather than auto; take new parameters
5551 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5552 * locale/weightwc.h: Likewise.
5553 * posix/fnmatch_loop.c
5554 (FCT): Change type of EXTRA from int32_t to wint_t.
5555 Don't include either header inside the function.
5556 Call FINDIDX rather than findidx, and pass new arguments.
5557 #undef FINDIDX at the end of the file.
5558 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5559 FINDIDX before including fnmatch_loop.c for the non-wide version.
5560 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5561 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5562 for the wide version.
5563 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5564 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5565 Pass new arguments to findidx.
5566 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5567 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5568 Don't #include it inside the function. Pass new arguments to findidx.
5569 * posix/regex_internal.h
5570 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5571 (re_string_elem_size_at): Don't #include it inside the function.
5572 Pass new arguments to findidx.
5573 * string/strcoll_l.c: #include WEIGHT_H at top level.
5574 (get_next_seq): Don't #include it inside the function.
5575 Pass new arguments to findidx.
5576 (get_next_seq_nocache): Likewise.
5577 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5578 (STRXFRM): Don't #include it inside the function.
5579 Pass new arguments to findidx.
5580
52ffbdf2
FW
55812014-09-11 Florian Weimer <fweimer@redhat.com>
5582
5583 [BZ #17344]
5584 * malloc/malloc.c (unlink): Turn asserts into a call to
5585 malloc_printerr.
5586
984c0ea9
TL
55872014-09-11 Tim Lammens <tim.lammens@gmail.com>
5588
5589 [BZ #17370]
5590 * libio/wfileops (do_ftell_wide): Free OUT.
5591
3daee107
CM
55922014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5593
5594 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5595
58b930ae
SP
55962014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5597
5598 [BZ #17363]
5599 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5600 group if the current group is empty.
5601
3b473fec
AZ
56022014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5603
71ae8647
AZ
5604 * benchtests/bench-memset.c (test_main): Add more test from size
5605 from 32 to 512 bytes.
5606 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5607 Add POWER8 memset object.
5608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5609 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5610 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5611 implementation.
5612 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5613 Likewise.
5614 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5615 multiarch POWER8 memset optimization.
5616 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5617 POWER8 memset optimization.
5618
3b473fec
AZ
5619 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5620 Remove bzero multiarch objects.
5621 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5622 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5623 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5624 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5625 Remove define.
5626 [__bzero]: Redefine to specific name.
5627 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5628 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5629 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5630 define.
5631 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5632 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5633
e6fb9587
FW
56342014-09-10 Florian Weimer <fweimer@redhat.com>
5635
5636 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5637 warnings into errors.
5638
5639 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5640 __cxa_thread_atexit_impl prototype.
5641
9d3a350b
SE
56422014-09-09 Steve Ellcey <sellcey@mips.com>
5643
5644 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5645 Fix capitalization of error message.
5646
0febba23
SE
56472014-09-09 Steve Ellcey <sellcey@mips.com>
5648
5649 * sysdeps/mips/preconfigure: Modify ABI tests.
5650
645a0e9c
CD
56512014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5652
5653 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5654
d83f0734
CD
56552014-09-07 Roland McGrath <roland@hack.frob.com>
5656 Carlos O'Donell <carlos@systemhalted.org>
5657
5658 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5659 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5660 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5661 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5662 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5663 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5664 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5665 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5666 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5667 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5668 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5669 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5670 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5671 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5672 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5673 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5674 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5675 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5676 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5677 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5678 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5679 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5680 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5681 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5682 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5683 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5684 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5685 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5686 Deconditionalize the code that was previously under [RESET_PID].
5687 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5688 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5689 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5690 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5691 include sysdep.h.
5692
21c83793
AM
56932014-09-08 Allan McRae <allan@archlinux.org>
5694
5695 * version.h (RELEASE): Set to "development".
5696 (VERSION): Set to "2.20.90"
5697
1cd9b65c
AM
56982014-09-07 Allan McRae <allan@archlinux.org
5699
b8079dd0
AM
5700 * version.h (RELEASE): Set to "stable".
5701 (VERSION): Set to "2.20"
5702 * include/features.h (__GLIBC_MINOR__): Set to 20.
5703
c46303ef
AM
5704 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5705 Liebler.
5706
1cd9b65c
AM
5707 * po/ko.po: Update Korean translation from translation project.
5708
8622092d
CM
57092014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5710
5711 [BZ #17354]
5712 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5713 macro for handling signed relocations.
5714
41488498
FW
57152014-09-03 Florian Weimer <fweimer@redhat.com>
5716
5717 [BZ #17325]
5718 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5719 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5720 assert.
5721 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5722 * iconvdata/ibm935.c (BODY): Likewise.
5723 * iconvdata/ibm937.c (BODY): Likewise.
5724 * iconvdata/ibm939.c (BODY): Likewise.
5725 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5726 assert.
5727 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5728 script.
5729 * iconvdata/run-iconv-test.sh: New test loop for checking for
5730 decoder crashers.
5731
a78b712d
KR
57322014-09-02 Khem Raj <raj.khem@gmail.com>
5733
5734 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5735 libm_hidden_ver.
5736
cb08abc6
AM
57372014-09-01 Allan McRae <allan@archlinux.org>
5738
2c31e102
AM
5739 * po/eo.po: Update Esperanto translation from translation project.
5740
cb08abc6
AM
5741 * po/ca.po: Update Catalan translation from translation project.
5742
17a62de1
ST
57432014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5744
5745 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5746 __proc_dostop call.
5747
9570bc53
MW
57482014-08-27 Mark Wielaard <mjw@redhat.com>
5749
5750 [BZ #17319]
5751 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5752 to call set_thread_area instead of hand written asm.
5753 (__NR_set_thread_area): Removed define.
5754 (TLS_FLAG_WRITABLE): Likewise.
5755 (__ASSUME_SET_THREAD_AREA): Remove check.
5756 (TLS_EBX_ARG): Remove define.
5757 (TLS_LOAD_EBX): Likewise.
5758
b0f955c9
ST
57592014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5760
5761 Simplify atomicity of socket creation in bind.
5762
5763 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5764 looking up the name after linking the file.
5765
529bf515
AM
57662014-08-27 Allan McRae <allan@archlinux.org>
5767
5768 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5769
a1a6a401
FW
57702014-08-26 Florian Weimer <fweimer@redhat.com>
5771
5772 [BZ #17187]
5773 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5774 trans_compare, open_translit, __gconv_translit_find):
5775 Remove module loading code.
5776
686ab290
AM
57772014-08-26 Allan McRae <allan@archlinux.org>
5778
e4e7cfd2
AM
5779 * po/vi.po: Update Vietnamese translation from translation project.
5780
6aa09f71
AM
5781 * po/uk.po: Update Ukrainian translation from translation project.
5782
edc0660e
AM
5783 * po/fr.po: Update French translation from translation project.
5784
7eea72ac
AM
5785 * po/ru.po: Update Russian translation from translation project.
5786
93c49eff
AM
5787 * po/pl.po: Update Polish translation from translation project.
5788
46acaf63
AM
5789 * po/cs.po: Update Czech translation from translation project.
5790
a9f5ce98
AM
5791 * po/de.po: Update German translation from translation project.
5792
373f2b78
AM
5793 * po/bg.po: Update Bulgarian translation from translation project.
5794
e7548bd8
AM
5795 * po/sv.po: Update Sweedish translation from translation project.
5796
c526bf4d
AM
5797 * po/nl.po: Update Dutch translation from translation project.
5798
686ab290
AM
5799 * po/es.po: Update Spanish translation from translation project.
5800
eb72478a
SP
58012014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5802
dd763fdb
SP
5803 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5804
318c7a58
SP
5805 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5806 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5807 (CPPFLAGS-iconvconfig): Likewise.
5808 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5809
eb72478a
SP
5810 * include/libc-symbols.h: Remove unnecessary check for
5811 NOT_IN_libc.
5812 * nptl/pthreadP.h: Likewise.
5813 * sysdeps/aarch64/setjmp.S: Likewise.
5814 * sysdeps/alpha/setjmp.S: Likewise.
5815 * sysdeps/arm/sysdep.h: Likewise.
5816 * sysdeps/i386/setjmp.S: Likewise.
5817 * sysdeps/m68k/setjmp.c: Likewise.
5818 * sysdeps/posix/getcwd.c: Likewise.
5819 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5820 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5821 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5822 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5823 * sysdeps/sh/sh3/setjmp.S: Likewise.
5824 * sysdeps/sh/sh4/setjmp.S: Likewise.
5825 * sysdeps/unix/alpha/sysdep.h: Likewise.
5826 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5827 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5828 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5829 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5832 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5833 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5834 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5835 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5837 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5838 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5839 * sysdeps/x86_64/setjmp.S: Likewise.
5840
d44a052c
JM
58412014-08-13 Joseph Myers <joseph@codesourcery.com>
5842
5843 [BZ #17263]
5844 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5845 <stdint.h>.
5846 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5847 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5848
508ce3ac
SP
58492014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5850
e44c8b0e
SP
5851 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5852
508ce3ac
SP
5853 [BZ #17262]
5854 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5855 and __x86_64__ when disabling x87 inline functions.
5856
b4acef1f
L
58572014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5858
5859 [BZ #17259]
5860 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5861 asm statement with __cpuid_count.
5862
61b1ef6e
MF
58632014-08-12 Mike Frysinger <vapier@gentoo.org>
5864
5865 * configure.ac: Change __ehdr_start code to dereference the struct.
5866 Run readelf on the output to look for relocations.
5867 * configure: Regenerated.
5868
898c62f4
JM
58692014-08-12 Joseph Myers <joseph@codesourcery.com>
5870
5871 [BZ #17261]
5872 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5873 value to 0.
5874 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5875
9a8a5720
RM
58762014-08-12 Roland McGrath <roland@hack.frob.com>
5877
5878 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5879
4e75751c
BO
58802014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5881
5882 [BZ #16892]
5883 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5884 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5885
bb2ce416
SA
58862014-08-12 Sean Anderson <seanga2@gmail.com>
5887
5888 * malloc/malloc.c: Fix typo in comment.
5889
7950a4ee
AM
58902014-08-09 Allan McRae <allan@archlinux.org>
5891
5892 * Regenerate libc.po.
5893
f469c49f
MF
58942014-08-08 Mike Frysinger <vapier@gentoo.org>
5895
5896 * intl/tst-gettext2.sh: Check every lang file for creation.
5897
656b84c2
WD
58982014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5899
5900 * sysdeps/aarch64/fpu/math_private.h
5901 (libc_feholdsetround_noex_aarch64_ctx): New function.
5902
538e9e45
W
59032014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5904
5905 * sysdeps/arm/armv6/strcpy.S (strcpy):
5906 Fix performance issue in misaligned cases.
5907
d4795e4a
AZ
59082014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5909
5910 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5911 Move definition from termios.h.
5912 (struct termio): Likewise.
5913 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5914 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5915 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5916 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5917 Likewise.
5918 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5919 Move definition to ioctl-types.h
5920 (struct termio): Likewise.
5921 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5922 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5923 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5924 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5925 Likewise.
5926
64accb62
RH
59272014-08-05 Richard Henderson <rth@redhat.com>
5928
27bb6dc0
RH
5929 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5930 exceptions.
5931 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5932 Add fraiseexcpt.
5933 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5934 Use __feraiseexcept.
5935 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5936 Protect libm symbols with IS_IN_libm.
5937
64accb62
RH
5938 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5939
e5292691
BO
59402014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5941
5942 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5943
5b4bd2d4
WN
59442014-08-04 Will Newton <will.newton@linaro.org>
5945
5946 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5947 file.
5948
fcadaeef
MF
59492014-08-04 Mike Frysinger <vapier@gentoo.org>
5950
5951 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5952 variants for each function.
5953
43a94c64
RM
59542014-08-04 Roland McGrath <roland@hack.frob.com>
5955
5956 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5957 appended ...
5958 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5959 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5960 appended ...
5961 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5962 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5963 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5964 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5965 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5966 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5967 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5968 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5969 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5970 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5971 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5972 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5973 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5974 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5975 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5976 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5977 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5978 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5979 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5980 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5981 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5982 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5983 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5984 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5985 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5986 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5987 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5988 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5989 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5990 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5991 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5992 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5993 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5994 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5995 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5996 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5997 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5998 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5999 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6000 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6001 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6002 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6003 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6004 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6005 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6006 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6007 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6008 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6009 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6010 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6011 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6012 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6013 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6014 Update #include.
6015 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6016 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6017
8f3c1fa4
RM
60182014-08-04 Roland McGrath <roland@hack.frob.com>
6019
6020 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6021 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6022 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6023 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6024 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6025 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6026
ca08746f
RM
60272014-08-04 Roland McGrath <roland@hack.frob.com>
6028
6029 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6030 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6031 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6032 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6033
9c925ff9
RM
60342014-08-04 Roland McGrath <roland@hack.frob.com>
6035
6036 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6037 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6038 (__libc_vfork): Define function under this name.
6039 (__vfork): Define as an alias.
6040 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6041 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6042
e641054c
RM
60432014-08-04 Roland McGrath <roland@hack.frob.com>
6044
6045 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6046 that was previously under [RESET_PID].
6047 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6048
dacdc867
AS
60492014-08-04 Andreas Schwab <schwab@suse.de>
6050
6051 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6052
41f725ff
MF
60532014-08-03 Mike Frysinger <vapier@gentoo.org>
6054
6055 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6056 (main): Likewise.
6057
277cfb31
RM
60582014-08-01 Roland McGrath <roland@hack.frob.com>
6059
6060 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6061
4896f049
RH
60622014-08-01 Richard Henderon <rth@redhat.com>
6063
6064 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6065 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6066 typo in exact zero test.
6067 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6068 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6069 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6070
6f64e7d7
RM
60712014-08-01 Roland McGrath <roland@hack.frob.com>
6072
6073 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6074 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6075 * sysdeps/arm/sysdep.h: ... here.
6076 [!__ASSEMBLER__]: Include <stdint.h>.
6077
3f3dd810
SP
60782014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6079
a476ac4b
SP
6080 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6081 (HAVE_WCTYPE_H): Likewise.
6082 (HAVE_ISWCTYPE): Likewise.
6083 (ENABLE_NLS): Likewise.
6084 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6085 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6086
78dd658a
SP
6087 * posix/regex_internal.c: Check if DEBUG is defined and is
6088 set.
6089
3f3dd810
SP
6090 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6091 (HAVE_MBSRTOWCS): Likewise.
6092 * posix/fnmatch.c: Include string.h unconditionally.
6093
95ee7fb1
SL
60942014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6095
6096 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6097 reversal.
6098
23fe486b
RM
60992014-07-31 Roland McGrath <roland@hack.frob.com>
6100
f61a113f
RM
6101 * sysdeps/generic/safe-fatal.h: New file.
6102 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6103 * nptl/forward.c: Include it.
6104 (__pthread_unwind): Use __safe_fatal as default action, rather
6105 than a bogus use of INTERNAL_SYSCALL that could never work.
6106
9fe7e787
RM
6107 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6108 * configure.ac (libc_cv_builtin_trap): New test.
6109 * configure: Regenerated.
6110 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6111 (ABORT_INSTRUCTION): Define using __builtin_trap.
6112
23fe486b
RM
6113 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6114 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6115 * sysdeps/nptl/nptl-signals.h: New file.
6116 * nptl/pthreadP.h: Include <nptl-signals.h>.
6117
f349489e
SL
61182014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6119
6120 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6121 (ONE_DIRECTION): Define.
6122 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6123 (ONE_DIRECTION): Define.
6124 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6125 (ONE_DIRECTION): Define.
6126
2f438e20
SL
61272014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6128
6129 * sysdeps/s390/Makefile: Delete file.
6130 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6131 * sysdeps/s390/__longjmp.c: Delete file.
6132 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6133 Remove fields __flags and __reserved.
6134 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6135 and add versioning.
6136 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6137 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6138 * sysdeps/s390/rtld-setjmp.S: Likewise.
6139 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6140 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6141 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6142 * sysdeps/s390/s390-32/setjmp.S: ... here.
6143 Add versioning.
6144 (__sigsetjmp): Remove setting __flags field.
6145 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6146 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6147 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6148 * sysdeps/s390/s390-64/setjmp.S: ... here.
6149 Add versioning.
6150 (__sigsetjmp): Remove setting __flags field.
6151 * sysdeps/s390/setjmp.S: Delete file.
6152 * sysdeps/s390/sigjmp.c: Likewise.
6153 * sysdeps/s390/v1-longjmp.c: Likewise.
6154 * sysdeps/s390/v1-setjmp.h: Likewise.
6155 * sysdeps/s390/v1-sigjmp.c: Likewise.
6156 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6157 Remove v1-longjmp_chk.
6158 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6159 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6160 Include debug/longjmp_chk.c and add versioning.
6161 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6162 Include nptl/pt-longjmp.c and add versioning.
6163 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6164 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6165 Include __longjmp.c.
6166 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6167 Move to ...
6168 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6169 (__getcontext): Remove setting __flags field.
6170 Add versioning.
6171 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6172 Don't restore upper high grps.
6173 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6174 Likewise.
6175 (__swapcontext): Remove setting uc_flags field.
6176 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6177 Delete file.
6178 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6179 Include __longjmp.c.
6180 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6181 Move to ...
6182 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6183 (__getcontext): Remove setting __flags field.
6184 Add versioning.
6185 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6186 (__swapcontext): Remove setting uc_flags field.
6187 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6188 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6189 Remove fields uc_high_gprs and __reserved.
6190 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6191 New file with reverted content.
6192 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6193 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6194 Regenerated.
6195 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6196 Regenerated.
6197
6c9578a2
AS
61982014-07-31 Andreas Schwab <schwab@suse.de>
6199
6200 * config.h.in (HAVE_IFUNC): Define to 0.
6201 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6202 definedness.
6203
05f3633d
LM
62042014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6205
6206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6207 memmove-avx-unaligned, memcpy-avx-unaligned and
6208 mempcpy-avx-unaligned.
6209 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6210 Add tests for AVX memcpy functions.
6211 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6212 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6213 memcpy_chk.
6214 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6215 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6216 memmove_chk.
6217 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6218 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6219 mempcpy_chk.
6220 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6221 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6222 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6223
a53fbd8e
AZ
62242013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6225
6226 [BZ #17213]
6227 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6228 powerpc64le.
6229
0961f7e1
JL
62302014-07-29 Jeff Layton <jlayton@poochiereds.net>
6231
6232 [BZ #16839]
6233 * manual/llio.texi: Add section about open file description locks.
6234 * manual/examples/ofdlocks.c: Example of open file description
6235 lock usage.
6236 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6237 F_OFD_SETLK, and F_OFD_SETLKW.
6238
cc5fb300
AM
62392014-07-23 Allan McRae <allan@archlinux.org>
6240
6241 * po/es.po: Update Spanish translation from translation project.
6242
23329dca
AS
62432014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6244
6245 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6246
9c82da17
MR
62472014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6248
6249 [BZ #17078]
6250 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6251 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6252 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6253
29c4f53e
JM
62542014-07-17 Joseph Myers <joseph@codesourcery.com>
6255
831b9896
JM
6256 [BZ #17088]
6257 * math/fesetenv.c (__fesetenv)
6258 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6259 * math/feupdateenv.c (__feupdateenv)
6260 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6261
b21c2d50
JM
6262 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6263 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6264 (__ASSUME_SOCKETCALL): Do not define.
6265
067764ef
JM
6266 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6267 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6268 (__ASSUME_SOCKETCALL): Do not define.
6269 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6270 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6271 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6272 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6273 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6274 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6275 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6276 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6277
642530c1
JM
6278 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6279 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6280 (__ASSUME_SOCKETCALL): Do not define.
6281 (__ASSUME_IPC64): Define unconditionally.
6282 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6283 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6284 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6285 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6286 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6287 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6288 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6289 Likewise.
6290
03f77315
JM
6291 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6292 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6293 (__ASSUME_SOCKETCALL): Do not define.
6294 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6295 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6296 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6297 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6298 (__ASSUME_REQUEUE_PI): Define unconditionally.
6299 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6300 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6301 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6302 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6303 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6304 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6305
083b1f7c
JM
6306 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6307 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6308 (__ASSUME_SOCKETCALL): Do not define.
6309 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6310 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6311 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6312 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6313 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6314 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6315
5be44ea6
JM
6316 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6317 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6318 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6319 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6320 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6321 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6322 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6323 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6324 (__ASSUME_GETCPU_SYSCALL): Likewise.
6325
d95ffd4c
JM
6326 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6327 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6328 cases for individual architectures.
6329 * sysdeps/gnu/configure: Regenerated.
6330 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6331 LIBC_SLIBDIR_RTLDDIR.
6332 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6333 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6334 LIBC_SLIBDIR_RTLDDIR.
6335 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6337 LIBC_SLIBDIR_RTLDDIR.
6338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6339 Regenerated.
6340 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6341 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6342 file.
6343 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6344 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6345 file.
6346 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6347 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6348 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6349 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6350
29c4f53e
JM
6351 * sysdeps/aarch64/shlib-versions: Move to ...
6352 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6353 * sysdeps/alpha/shlib-versions: Move to ...
6354 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6355 * sysdeps/arm/shlib-versions: Move to ...
6356 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6357 * sysdeps/hppa/shlib-versions: Move all contents except for
6358 libgcc_s entry to ...
6359 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6360 entry from ...
6361 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6362 * sysdeps/ia64/shlib-versions: Move to ...
6363 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6364 entry from ...
6365 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6366 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6367 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6368 * sysdeps/microblaze/shlib-versions: Move to ...
6369 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6370 * sysdeps/mips/shlib-versions: Move to ...
6371 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6372 entry from ...
6373 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6374 * sysdeps/tile/shlib-versions: Move to ...
6375 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6376 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6377 from ...
6378 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6379 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6380 entry from ...
6381 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6382
32bead5b
WN
63832014-07-17 Will Newton <will.newton@linaro.org>
6384
57977c4b
WN
6385 * sysdeps/arm/bits/atomic.h
6386 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6387 (__arch_compare_and_exchange_bool_16_int): Likewise.
6388 (__arch_compare_and_exchange_bool_64_int): Likewise.
6389
32bead5b
WN
6390 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6391 into an #else block.
6392
37fccd41
RM
63932014-07-16 Roland McGrath <roland@hack.frob.com>
6394
6395 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6396 just Linux configurations. Test empirically that the compiler sets
6397 __ARM_EABI__, rather than using the tuple to decide.
6398 * sysdeps/arm/preconfigure: Regenerated.
6399 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6400 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6401 contents appended ...
6402 * sysdeps/arm/configure.ac: ... here.
6403 * sysdeps/arm/configure: Regenerated.
6404
b365f3ec
RM
64052014-07-15 Roland McGrath <roland@hack.frob.com>
6406
8badf496
RM
6407 * nptl/pthread_kill.c: New file.
6408 * nptl/pthread_sigmask.c: New file.
6409 * nptl/pthread_sigqueue.c: New file.
6410
3df6f22e
RM
6411 * sysdeps/nptl/lowlevellock.h: New file.
6412 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6413 * sysdeps/nptl/lowlevellock-futex.h: New file.
6414
b365f3ec
RM
6415 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6416 Remove dead declarations.
6417
f2fef657
L
64182014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6419
6420 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6421 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6422 config-cflags-avx2.
6423 * sysdeps/x86_64/configure.ac: Likewise.
6424 * sysdeps/i386/configure: Regenerated.
6425 * sysdeps/x86_64/configure: Likewise.
6426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6427 memset-avx2 only if config-cflags-avx2 is yes.
6428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6429 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6430 defined.
6431 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6432 only if HAVE_AVX2_SUPPORT is defined.
6433 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6434
f6c44d47
AM
64352014-07-14 Alan Modra <amodra@gmail.com>
6436
6437 [BZ #17153]
6438 * elf/elf.h (DT_PPC64_NUM): Correct value.
6439 * NEWS: Add to fixed bug list.
6440
7ee03f00
JM
64412014-07-13 Jim Meyering <meyering@fb.com>
6442
6443 [BZ 17150]
6444 regex: don't deref NULL upon heap allocation failure
6445 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6446 failure in one more place.
6447 To trigger the segfault, configure grep -with-included-regex,
6448 build it, and run these commands:
6449 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6450
9d39d517
AS
64512014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6452
6453 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6454
a75b89b7
RH
64552014-07-11 Richard Henderson <rth@redhat.com>
6456
6457 * sysdeps/aarch64/libm-test-ulps: Update.
6458
771eb141
FW
64592014-07-10 Florian Weimer <fweimer@redhat.com>
6460
6461 [BZ #17135]
6462 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6463 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6464 (__nptl_setxid): Initialize error member. Call
6465 __nptl_setxid_error.
6466 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6467 * nptl/descr.h (struct xid_command): Add error member.
6468 * nptl/tst-setuid3.c: New file.
6469 * nptl/Makefile (tests): Add it.
6470
bc1da176
AZ
64712014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6472
6473 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6474 New define.
6475 (__lll_trylock): Use __lll_base_trylock.
6476 (__lll_cond_trylock): Likewise.
6477
887865fc
RM
64782014-07-10 Roland McGrath <roland@hack.frob.com>
6479
c0c6bac9
RM
6480 * nptl/pthread_create.c (start_thread): Use atomic_or and
6481 lll_futex_wake directly rather than lll_robust_dead.
6482 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6483 (lll_robust_dead): Macro removed.
6a42be57 6484 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
6485 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6486 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6487 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6488 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6489 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6490 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6491 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6492 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6493 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6494 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6495 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6496 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6497 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6498 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6499
887865fc
RM
6500 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6501 Use atomic_compare_and_exchange_val_acq directly rather than
6502 lll_robust_trylock.
6503 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6504 (__lll_robust_trylock, lll_robust_trylock): Removed.
6505 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6506 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6507 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6508 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6509 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6510 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6511 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6512 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6513 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6514 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6515 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6516 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6517 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6518 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6519
58536726
FW
65202014-07-02 Florian Weimer <fweimer@redhat.com>
6521
6522 * manual/locale.texi (Locale Names): New section documenting
6523 locale name syntax. Adjust menu and node chaining accordingly.
6524 (Choosing Locale): Reference Locale Names, Locale Categories.
6525 Mention setting LC_ALL=C. Reflect that name syntax is now
6526 documented.
6527 (Locale Categories): New section title. Reference Locale Names.
6528 LC_ALL is an environment variable, but not a category.
6529 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6530 description, now in Locale Name. Reference that section. Locale
6531 name syntax is now documented.
6532
4e8f95a0
FW
65332014-07-02 Florian Weimer <fweimer@redhat.com>
6534
6535 [BZ #17137]
6536 * locale/findlocale.c (name_present, valid_locale_name): New
6537 functions.
6538 (_nl_find_locale): Use the loc_name variable to store name
6539 candidates. Call name_present and valid_locale_name to check and
6540 validate locale names. Return an error if the locale is invalid.
6541
d1836456
FW
65422014-07-02 Florian Weimer <fweimer@redhat.com>
6543
6544 * locale/setlocale.c (setlocale): Use strdup for allocating
6545 composite name copy.
6546
d69b7f5a
SP
65472014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6548
888c679b
SP
6549 Sync up with gnulib.
6550 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6551 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6552 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6553 and _GL_ARG_NONNULL.
6554 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6555 [!_LIBC]: Include code for Windows and Cygwin.
6556 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6557 Include prototype for int strerror_r.
6558 [!_LIBC] (is_open): New function.
6559 (flush_stdout): New function.
6560 (print_errno_message): Use it.
6561 (error): Likewise.
6562 (error_at_line): Likewise.
6563 (error_tail) Add function attribute macros. Use
6564 __builtin_expect.
6565
180e0e4b
SP
6566 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6567
d22f1fe2
SP
6568 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6569
12f2254b
SP
6570 * io/ftw.c: Include sys/param.h unconditionally.
6571
c3c7c360
SP
6572 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6573
d62aa75a
SP
6574 [BZ #17125]
6575 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6576 libc_freeres_ptr.
6577 (freecache): New function to free CACHE on exit.
6578
d69b7f5a
SP
6579 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6580 initialization.
6581
5efe06a1
DM
65822014-07-09 David S. Miller <davem@davemloft.net>
6583
6584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6585
7000d82e
DM
6586 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6587 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6588 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6589 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6590 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6591 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6592 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6593 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6594 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6595 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6596 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6597 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6598 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6599
c213442d
AS
66002014-07-09 Andreas Schwab <schwab@suse.de>
6601
4a2552c3
AS
6602 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6603 output.
6604 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6605 (do_test): Likewise.
6606
c213442d
AS
6607 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6608
82374e65
WN
66092014-07-09 Will Newton <will.newton@linaro.org>
6610
6611 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6612 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6613 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6614 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6615 * sysdeps/hppa/start.S (_start): Likewise.
6616
6680738a
SP
66172014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6618
6ee3eab4
SP
6619 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6620
6680738a
SP
6621 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6622 defined.
6623
80b5c505
SP
66242014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6625
e35c53e3
SP
6626 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6627 after checking that it is non-NULL.
6628
80b5c505
SP
6629 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6630
91f4b564
AZ
66312014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6632
27b75f56
AZ
6633 * sysdeps/powerpc/memmove.c: Remove file.
6634 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6635 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6636 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6637 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6638 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6639 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6640 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6641 string memmove instead of removed powerpc one.
6642
e7f95bb5
AZ
6643 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6644 [weak_alias]: Fix compiler warning due trailing data.
6645 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6646 [weak_alias]: Likewise.
6647 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6648 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6649
91f4b564
AZ
6650 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6651 (__libc_ifunc_impl_list): Add memmove functions.
6652
7c33f1e5
SP
66532014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6654
6655 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6656 Remove code.
6657 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6658 Likewise
6659 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6660 Likewise
6661 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6662 Likewise
6663 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6664 Likewise
6665 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6666 Likewise
6667 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6668 Likewise
6669 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6670 Likewise
6671 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6672 Likewise
6673 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6674 Likewise
6675 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6676 Likewise
6677 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6678 Likewise
6679 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6680 Likewise
6681 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6682 Likewise
6683 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6684 Likewise
6685 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6686 Likewise
6687 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6688 Likewise
6689
3f17b03b
AZ
66902014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6691
87868c24
AZ
6692 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6693 to avoid alignment traps in non-cacheable memory.
6694 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6695
07aedd78
AZ
6696 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6697 multiarch objects.
6698 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6699 file: multiarch power7 memmove.
6700 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6701 multiarch default memmove.
6702 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6703 multiarch memove for powerpc32/power4.
6704
17762f66
AZ
6705 * string/bcopy.c: Use full path to include memmove.c.
6706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6707 multiarch objects.
6708 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6709 bcopy for powerpc64.
6710 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6711 bcopy for powerpc64.
6712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6713 and memmove implementations.
6714 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6715 optimized multiarch memmove for POWER7/powerpc64.
6716 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6717 default multiarch memmove for powerpc64.
6718 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6719 multiarch for powerpc64.
6720 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6721 for POWER7/powerpc64.
6722 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6723 memmove for POWER7/powerpc64.
6724
d6f68bbe
AZ
6725 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6726 glibc default one.
6727
3f17b03b
AZ
6728 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6729 __ELF_NATIVE_CLASS equal to 64.
6730
08192659
RM
67312014-07-07 Roland McGrath <roland@hack.frob.com>
6732
f4c4021b
RM
6733 * sysdeps/nptl/lowlevellock.h: File removed.
6734
f083450f
RM
6735 * NEWS: NPTL is no longer an add-on!
6736 * nptl/internaltypes.h: Moved ...
6737 * sysdeps/nptl/internaltypes.h: ... here.
6738 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6739 * sysdeps/nptl/fork.c: Likewise.
6740 * sysdeps/nptl/gai_misc.h: Likewise.
6741 * sysdeps/nptl/librt-cancellation.c: Likewise.
6742 * sysdeps/nptl/jmp-unwind.c: Likewise.
6743 * sysdeps/nptl/setxid.h: Likewise.
6744 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6745 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6746 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6747 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6748 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6749 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6750 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6751 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6752 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6753 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6754 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6755 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6756 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6757 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6758 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6759 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6760 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6761 * nptl/Makeconfig: Moved ...
6762 * sysdeps/nptl/Makeconfig: ... here.
6763 * nptl/configure: File removed.
6764 * nptl/ANNOUNCE: File removed.
6765 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6766 * sysdeps/unix/sysv/linux/configure: Regenerated.
6767
08192659
RM
6768 * nptl/Makefile (routines): Add libc_pthread_init,
6769 libc_multiple_threads, register-atfork and unregister-atfork.
6770 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6771 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6772 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6773 pthread-pi-defines.sym, structsem.sym.
6774 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6775 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6776 [$(subdir) = nptl] (tests): Add tst-setgetname.
6777 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6778 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6779 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6780 [!LIBC_SIGACTION]: Remove aliases.
6781 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6782 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6783 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6784 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6785 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6786 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6787 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6788 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6789 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6790 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6791 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6792 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6793 __libc_allocate_rtsig_private.
6794 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6795 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6796 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6797 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6798 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6799 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6800 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6801 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6802 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6803 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6804 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6805 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6806 * nptl/internaltypes.h: ... here.
6807 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6808 * sysdeps/nptl/jmp-unwind.c: ... here.
6809 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6810 * nptl/libc-lowlevellock.c: ... here.
6811 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6812 * nptl/libc_multiple_threads.c: ... here.
6813 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6814 * nptl/libc_pthread_init.c: ... here.
6815 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6816 * nptl/lowlevelbarrier.sym: ... here.
6817 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6818 * nptl/lowlevelcond.sym: ... here.
6819 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6820 * nptl/lowlevellock.c: ... here.
6821 * nptl/lowlevellock.h: Moved ...
6822 * sysdeps/nptl/lowlevellock.h: ... here.
6823 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6824 * nptl/lowlevelrobustlock.c: ... here.
6825 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6826 * nptl/lowlevelrobustlock.sym: ... here.
6827 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6828 * nptl/lowlevelrwlock.sym: ... here.
6829 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6830 * nptl/pt-fork.c: ... here.
6831 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6832 * nptl/pthread-pi-defines.sym: ... here.
6833 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6834 * nptl/pthread_attr_getaffinity.c: ... here.
6835 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6836 * nptl/pthread_attr_setaffinity.c: ... here.
6837 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6838 * nptl/pthread_mutex_cond_lock.c: ... here.
6839 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6840 Update #include.
6841 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6842 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6843 * nptl/pthread_once.c: ... here, replacing old file.
6844 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6845 * nptl/pthread_yield.c: ... here.
6846 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6847 * nptl/register-atfork.c: ... here.
6848 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6849 * nptl/sem_post.c: ... here.
6850 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6851 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6852 * nptl/sem_timedwait.c: ... here.
6853 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6854 * nptl/sem_trywait.c: ... here.
6855 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6856 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6857 * nptl/sem_wait.c: ... here.
6858 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6859 * nptl/structsem.sym: ... here.
6860 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6861 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6862 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6863 * nptl/unregister-atfork.c: ... here.
6864 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6865 * nptl/unwindbuf.sym: ... here.
6866 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6867 * sysdeps/nptl/fork.c: ... here.
6868 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6869 * sysdeps/nptl/fork.h: ... here.
6870 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6871 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6872 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6873 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6874 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6875 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6876 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6877 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6878 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6879 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6880 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6881 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6882 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6883 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6884 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6885 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6886 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6887 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6888 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6889 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6890 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6891 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6892 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6893 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6894 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6895 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6896 * sysdeps/unix/sysv/linux/raise.c: ... here.
6897 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6898 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6899 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6900 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6901 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6902 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6903 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6904 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6905 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6906 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6907 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6908 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6909 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6910 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6911 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6912
96baf6ff
SP
69132014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6914
6915 * sysdeps/generic/memcopy.h: Add comment for
6916 MEMCPY_OK_FOR_FWD_MEMMOVE.
6917
6b7b14b2
WN
69182014-07-04 Will Newton <will.newton@linaro.org>
6919
1570a72b
WN
6920 * string/memchr.c: Merge from gnulib.
6921 [_LIBC]: Remove conditionals.
6922 (__ptr_t): Remove define.
6923 (LONG_MAX_32_BITS): Likewise.
6924 (LONG_MAX): Likewise.
6925 (MEMCHR): Use ANSI prototype and optimize algorithm.
6926
6b7b14b2
WN
6927 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6928
38851324
SP
69292014-07-03 Roland McGrath <roland@hack.frob.com>
6930
3d9eb57c
RM
6931 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6932 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6933
78b984ae
RM
6934 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6935 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6936 in a bare environment with no <stdlib.h> installed.
6937 * sysdeps/nptl/configure: Regenerated.
6938
2d5976a5
RM
6939 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6940
c1f5acd4
RM
6941 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6942 AC_EGREP_CPP for kernel header checks, so they only succeed if
6943 including <linux/version.h> actually works right.
6944 * sysdeps/unix/sysv/linux/configure: Regenerated.
6945
4d614fe5
RM
6946 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6947 value so it's not diagnosed as unused.
6948
38851324
SP
6949 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6950 thing) with "ifeq ($(subdir),rt)".
6951
b3ec00e5
RH
69522014-07-03 Richard Henderson <rth@redhat.com>
6953
69862e25
RH
6954 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6955 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6956 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6957
d5e16ade
RH
6958 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6959 (math_force_eval): New.
6960
ca7b945c
RH
6961 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6962 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6963
cd1175a3
RH
6964 * sysdeps/alpha/fpu/s_round.c: Remove file.
6965 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6966
b3ec00e5
RH
6967 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6968 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6969 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6970 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6971 (_dl_start, print_statistics): Likewise.
6972 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6973 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6974
6975 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6976 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6977 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6978 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6979 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6980 (HP_SMALL_TIMING_AVAIL): Define.
6981 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6982 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6983 (HP_SMALL_TIMING_AVAIL): Define.
6984 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6985 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6986
6987 * sysdeps/aarch64/hp-timing.h: New file.
6988
6989 * sysdeps/generic/hp-timing.h: Remove dead comment.
6990 * sysdeps/generic/hp-timing-common.h: New file.
6991 * sysdeps/alpha/hp-timing.h: Include it.
6992 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6993 * sysdeps/i386/i686/hp-timing.h: Likewise.
6994 * sysdeps/ia64/hp-timing.h: Likewise.
6995 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6996 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6997 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6998 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6999 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7000 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7001 (hp_timing_t): New.
7002
7003 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7004 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7005 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7006 * elf/rtld.c (_dl_start_final): Likewise.
7007 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7008 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7009 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7010 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7011 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7012 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7013 (HP_TIMING_DIFF_INIT): Remove.
7014 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7015 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7016 (HP_TIMING_DIFF_INIT): Remove.
7017 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7018 * sysdeps/i386/i686/hp-timing.c: Remove file.
7019 * sysdeps/x86_64/hp-timing.c: Remove file.
7020 * sysdeps/ia64/hp-timing.c: Remove file.
7021 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7022 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7023 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7024 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7025
7026 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7027 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7028 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7029 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7030 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7031 (HP_TIMING_ACCUM): Remove.
7032 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7033 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7034 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7035
7036 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7037 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7038 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7039 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7040 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7041 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7042 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7043 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7044
7045 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7046
225f410f
MR
70472014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7048
7049 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7050
3247f285
SP
70512014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7052
7053 Sync up with gettext.
7054 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7055 [_MSC_VER]: Include malloc.h
7056 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7057 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7058 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7059 TEMP_FAILURE_RETRY. Cast return of alloca.
7060 [!_LIBC] Call gl_rwlock_init.
7061 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7062
d12704c7
SP
70632014-07-02 Roland McGrath <roland@hack.frob.com>
7064
7065 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7066 before checking its value.
7067
99f8dc92
SP
70682014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7069
05fdac77
SP
7070 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7071
99f8dc92
SP
7072 * debug/memcpy_chk.c: Don't include pagecopy.h.
7073 * debug/mempcpy_chk.c: Likewise.
7074 * string/memcpy.c: Likewise.
7075 * string/memmove.c: Likewise.
7076 * sysdeps/powerpc/memmove.c: Likewise.
7077 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7078 definition of PAGE_COPY_FWD_MAYBE here...
7079 * sysdeps/generic/pagecopy.h: ... from here.
7080 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7081
bc8ea385
VR
70822014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7083 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7084
7085 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7087 optimizations.
7088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7089 (__libc_ifunc_impl_list): Likewise.
7090 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7091 multiarch strcat for PPC64.
7092 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7093 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7094
fe5f34e4
RM
70952014-07-02 Roland McGrath <roland@hack.frob.com>
7096
7097 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7098
256aa665
SP
70992014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7100
d4eb8195
SP
7101 * intl/loadmsgcat.c: Remove declaration of
7102 get_sysdep_segment_value.
7103 (get_sysdep_segment_value): Use ISO C style.
7104 (_nl_load_domain): Use ISO C style. Get rid of redundant
7105 semicolon. Fix typo and formatting in comment.
7106 (_nl_unload_domain): Use ISO C style.
7107
256aa665
SP
7108 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7109
b100f9aa
WN
71102014-07-02 Will Newton <will.newton@linaro.org>
7111
7112 * malloc/obstack.c: Merge from gnulib master.
7113 [HAVE_CONFIG_H]: Remove conditional code.
7114 [!_LIBC]: Include config.h.
7115 [!ELIDE_CODE]: Don't include inttypes.h, include
7116 stdint.h unconditionally.
7117 (print_and_abort): Mark as _Noreturn.
7118 (_obstack_allocated_p): Mark as __attribute_pure__.
7119 (obstack_free): Rename to __obstack_free.
7120 [!__attribute__]: Remove conditional code.
7121 * malloc/obstack.h: Merge from gnulib master.
7122 [__cplusplus]: Move conditional down.
7123 [!__attribute_pure__]: Define __attribute_pure__ here
7124 if it is not already defined.
7125 (_obstack_memory_used): Mark as __attribute_pure__.
7126 [!__obstack_free]: Define as obstack_free.
7127 [__GNUC__]: Remove check for ancient NeXT gcc.
7128
c4c41244
PE
71292014-07-02 Will Newton <will.newton@linaro.org>
7130 Paul Eggert <eggert@cs.ucla.edu>
7131
7132 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7133
e1e041c4
SP
71342014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7135
7136 * resolv/gethnamaddr.c: Add comment warning that the file is
7137 not maintained.
7138
ccf431ff
CD
71392014-07-01 Carlos O'Donell <carlos@redhat.com>
7140
d34570a6
CD
7141 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7142 entries.
7143
ccf431ff
CD
7144 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7145 entry for aio_cancel and aio_cancel64.
7146 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7147 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7148 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7149 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7150 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7151 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7152 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7153 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7154 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7155 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7156 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7157 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7158 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7159
ca06321d
RM
71602014-07-01 Roland McGrath <roland@hack.frob.com>
7161
7162 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7163 * nptl/pthread_mutex_lock.c: Likewise.
7164 * nptl/pthread_mutex_timedlock.c: Likewise.
7165 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7166
a1ac3184
RH
71672014-07-01 Richard henderson <rth@redhat.com>
7168
631021e0
RH
7169 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7170 (__isnan, __isnanl): Remove.
7171 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7172
a1ac3184
RH
7173 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7174
0c1d731f
SL
71752014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7176
7177 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7178
76985d3e
SP
71792014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7180
7181 * resolv/nss_dns/dns-host.c (getanswer_r)
7182 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7183
b0cb3096
JM
71842014-07-01 Joseph Myers <joseph@codesourcery.com>
7185
7186 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7187 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7188 undefine.
7189 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7190 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7191
4d76cb39
RM
71922014-07-01 Roland McGrath <roland@hack.frob.com>
7193
7194 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7195 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7196
7197 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7198 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7199
7200 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7201 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7202 ... here.
7203 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7204 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7205
7206 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7207 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7208 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7209 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7210
7211 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7212 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7213 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7214 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7215 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7216 Moved ...
7217 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7218 ... here.
7219 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7220 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7221 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7222 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7223 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7224 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7225 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7226 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7227 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7228 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7229 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7230 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7231 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7232 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7233 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7234 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7235 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7236 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7237 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7238 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7239 ... here.
7240 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7241 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7242 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7243 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7244 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7245 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7246 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7247 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7248
0cdcad17
DH
72492014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7250
7251 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7252 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7253 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7254 Add sysdep.
7255
9b71d0e3
AZ
72562014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7257
7258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7259
665390c2
JM
72602014-06-30 Joseph Myers <joseph@codesourcery.com>
7261
ae05a9d7
JM
7262 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7263 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7264
a7672a2f
JM
7265 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7266
665390c2
JM
7267 * sysdeps/arm/libm-test-ulps: Regenerated.
7268
d7a05d07
MR
72692014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7270 Roland McGrath <roland@hack.frob.com>
7271
7272 * test-skeleton.c (signal_handler): Kill the whole process group
7273 before killing the child individually.
7274 (main): Report any failure on `setpgid'.
7275
46f1d8a6
RM
72762014-06-30 Roland McGrath <roland@hack.frob.com>
7277
7278 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7279 from _TLS_H to _ARM_NPTL_TLS_H.
7280 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7281 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7282
9c37ec0b
JM
72832014-06-30 Joseph Myers <joseph@codesourcery.com>
7284
ce9c5b3e
JM
7285 [BZ #16539]
7286 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7287 (__expm1l): Return argument unchanged when small but not
7288 subnormal.
7289
3a6e9887
JM
7290 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7291 include macro name.
7292 (_FP_UNPACK_RAW_1_P): Likewise.
7293 (_FP_PACK_RAW_1): Likewise.
7294 (_FP_PACK_RAW_1_P): Likewise.
7295 (_FP_MUL_MEAT_1_wide): Likewise.
7296 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7297 (_FP_MUL_MEAT_1_hard): Likewise.
7298 (_FP_DIV_MEAT_1_imm): Likewise.
7299 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7300 (_FP_DIV_MEAT_1_udiv): Likewise.
7301 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7302 (_FP_UNPACK_RAW_2): Likewise.
7303 (_FP_UNPACK_RAW_2_P): Likewise.
7304 (_FP_PACK_RAW_2): Likewise.
7305 (_FP_PACK_RAW_2_P): Likewise.
7306 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7307 (_FP_MUL_MEAT_2_wide): Likewise.
7308 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7309 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7310 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7311 (_FP_MUL_MEAT_2_gmp): Likewise.
7312 (_FP_DIV_MEAT_2_udiv): Likewise.
7313 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7314 (_FP_FRAC_SRL_4): Likewise.
7315 (_FP_FRAC_SRST_4): Likewise.
7316 (_FP_FRAC_SRS_4): Likewise.
7317 (_FP_UNPACK_RAW_4): Likewise.
7318 (_FP_UNPACK_RAW_4_P): Likewise.
7319 (_FP_PACK_RAW_4): Likewise.
7320 (_FP_PACK_RAW_4_P): Likewise.
7321 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7322 (_FP_MUL_MEAT_4_wide): Likewise.
7323 (_FP_MUL_MEAT_4_gmp): Likewise.
7324 (umul_ppppmnnn): Likewise.
7325 (_FP_DIV_MEAT_4_udiv): Likewise.
7326 (__FP_FRAC_ADD_4): Likewise.
7327 (__FP_FRAC_SUB_3): Likewise.
7328 (__FP_FRAC_SUB_4): Likewise.
7329 (__FP_FRAC_DEC_3): Likewise.
7330 (__FP_FRAC_DEC_4): Likewise.
7331 (__FP_FRAC_ADDI_4): Likewise.
7332 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7333 (_FP_FRAC_SRL_8): Likewise.
7334 (_FP_FRAC_SRS_8): Likewise.
7335
9c37ec0b
JM
7336 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7337 include macro name.
7338 (FP_UNPACK_RAW_EP): Likewise.
7339 (FP_PACK_RAW_E): Likewise.
7340 (FP_PACK_RAW_EP): Likewise.
7341 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7342 (_FP_ISSIGNAN): Likewise.
7343 (_FP_ADD_INTERNAL): Likewise.
7344 (_FP_FMA): Likewise.
7345 (_FP_CMP): Likewise.
7346 (_FP_SQRT): Likewise.
7347 (_FP_TO_INT): Likewise.
7348 (_FP_FROM_INT): Likewise.
7349 (FP_EXTEND): Likewise.
7350 (_FP_DIV_MEAT_N_loop): Likewise.
7351
2125f674
MR
73522014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7353
7354 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7355 throughout.
7356
edea4028
JM
73572014-06-29 Joseph Myers <joseph@codesourcery.com>
7358
7359 [BZ #17097]
7360 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7361 result with correct sign in case of exponents that produce
7362 overflow except for X very close to 1.
7363
dd0ba018
PE
73642014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7365
7366 mktime: merge #if/#ifdef usage from glibc
7367 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7368 as that works with both Glibc's and Gnulib's style.
7369 See thread starting at Siddhesh Poyarekar's bug report at:
7370 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7371
64df73c2
SP
73722014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7373
7374 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7375 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7376 * sysdeps/tile/tilegx/memmove.c: Remove file.
7377
f1eafb41
JM
73782014-06-27 Joseph Myers <joseph@codesourcery.com>
7379
7380 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7381 abi-name definition.
7382 * scripts/soversions.awk: Do not handle or generate ABI lines.
7383 * shlib-versions: Remove ABI entries.
7384 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7385 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7386
58eb0862
RM
73872014-06-27 Roland McGrath <roland@hack.frob.com>
7388
37caf178
RM
7389 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7390 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7391 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7392 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7393 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7394 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7395 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7396 Moved ...
7397 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7398 ... here.
7399 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7400 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7401 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7402 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7403 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7404 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7405 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7406 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7407 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7408 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7409 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7410 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7411 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7412 Moved ...
7413 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7414 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7415 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7416 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7417 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7418 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7419 Moved ...
7420 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7421 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7422 Moved ...
7423 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7424 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7425 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7426 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7427 Moved ...
7428 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7429 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7430 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7431 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7432 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7433 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7434 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7435 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7436 Moved ...
7437 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7438 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7439 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7440 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7441 Moved ...
7442 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7443 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7444 Moved ...
7445 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7446 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7447 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7448 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7449 Moved ...
7450 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7451 ... here.
7452 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7453 Identical file removed.
7454 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7455 Moved ...
7456 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7457 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7458 Identical file removed.
7459 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7460 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7461 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7462 Moved ...
7463 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7464 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7465 Identical file removed.
7466 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7467 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7468 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7469 Identical file removed.
7470 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7471 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7472 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7473 Identical file removed.
7474 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7475 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7476 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7477 Identical file removed.
7478 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7479 Moved ...
7480 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7481 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7482 Identical file removed.
7483 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7484 Moved ...
7485 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7486 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7487 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7488 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7489 Identical file removed.
7490 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7491 Moved ...
7492 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7493 ... here.
7494 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7495 Identical file removed.
7496 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7497 Moved ...
7498 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7499 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7500 Identical file removed.
7501 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7502 Moved ...
7503 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7504 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7505 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7506 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7507 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7508 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7509 Moved ...
7510 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7511 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7512 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7513
58eb0862
RM
7514 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7515 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7516 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7517 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7518 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7519
6f12d062
AS
75202014-06-27 Arjun Shankar <arjun.is@lostca.se>
7521
7522 [BZ #17092]
7523 * nscd/nscd.c (monitor_child): Return exit status of child
7524 instead of return value from wait syscall.
7525
be254932
JM
75262014-06-27 Joseph Myers <joseph@codesourcery.com>
7527
cb403c34
JM
7528 * configure.ac (libc_commonpagesize): Remove variable.
7529 (libc_relro_required): Likewise.
7530 (libc_cv_z_relro): Remove configure test.
7531 * configure: Regenerated.
7532 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7533 variable.
7534 (libc_relro_required): Likewise.
7535 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7536 (libc_relro_required): Likewise.
7537 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7538 (libc_relro_required): Likewise.
7539 * sysdeps/arm/preconfigure: Regenerated.
7540 * sysdeps/ia64/preconfigure: Remove file.
7541 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7542 variable.
7543 (libc_relro_required): Likewise.
7544
be254932
JM
7545 [BZ #16561]
7546 [BZ #16562]
7547 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7548 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7549 recompute overflowing results in original rounding mode.
7550 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7551 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7552 recompute overflowing results in original rounding mode.
7553 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7554 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7555 recompute overflowing results in original rounding mode.
7556 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7557 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7558 recompute overflowing results in original rounding mode.
7559 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7560 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7561 recompute overflowing results in original rounding mode.
7562 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7563 (libc_feholdsetround_ctx): New macro.
7564 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7565 * sysdeps/i386/fpu/libm-test-ulps: Update.
7566 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7567
b351d85a
JM
75682014-06-26 Joseph Myers <joseph@codesourcery.com>
7569
7570 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7571 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7572 corresponding .cpsetup call.
7573
3cb4de47
RM
75742014-06-26 Roland McGrath <roland@hack.frob.com>
7575
7576 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7577 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7578 * sysdeps/arm/Makefile [$(subdir) = csu]
7579 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7580 (static-only-routines): Add aeabi_read_tp here.
7581 (shared-only-routines): Add libc-aeabi_read_tp here.
7582 (CFLAGS-libc-start.c): Add -fexceptions here.
7583 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7584 (sysdep_routines, static-only-routines, shared-only-routines):
7585 Don't add to these here.
7586 (CFLAGS-libc-start.c): Likewise.
7587
7588 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7589 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7590 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7591 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7592 * sysdeps/arm/Makefile [$(subdir) = rt]
7593 (librt-sysdep_routines, librt-shared-only-routines):
7594 Append rt-aeabi_unwind_cpp_pr1 here.
7595 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7596 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7597 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7598 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7599 Append nptl-aeabi_unwind_cpp_pr1 here.
7600 (tests): Filter out tst-cleanupx4 here.
7601 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7602 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7603 Don't do those here.
7604
354426bb
JM
76052014-06-26 Joseph Myers <joseph@codesourcery.com>
7606
7607 * scripts/list-sources.sh: Do not handle ports specially.
7608
28b0a8c9
RM
76092014-06-26 Roland McGrath <roland@hack.frob.com>
7610
a3dd035d
RM
7611 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7612 * sysdeps/arm/feupdateenv.c: Likewise.
7613
28b0a8c9
RM
7614 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7615
e66a8203
JM
76162014-06-26 Joseph Myers <joseph@codesourcery.com>
7617
7618 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7619 trailing whitespace removed.
7620 * scripts/config.guess: Update to version 2014-03-23.
7621 * scripts/config.sub: Update to version 2014-05-01
7622 * scripts/install-sh: Update to version 2013-12-25.23.
7623 * scripts/move-if-change: Update from gnulib.
7624
74171115
SP
76252014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7626
b97c9ce5
SP
7627 * debug/memmove_chk.c: Remove pagecopy.h include.
7628
4000f892
SP
76292014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7630
74171115
SP
7631 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7632 identical to gnulib mktime.
7633
a8779c28
JM
76342014-06-26 Joseph Myers <joseph@codesourcery.com>
7635
e64708de
JM
7636 * configure.ac: Do not test for machine being rs6000. Do not test
7637 for powerpc*-*soft.
7638 * configure: Regenerated.
7639
a8779c28
JM
7640 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7641 test.
7642 * configure: Regenerated.
7643 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7644 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7645 Remove configure test.
7646 * sysdeps/arm/configure: Regenerated.
7647 * sysdeps/nptl/configure.ac: Do not check
7648 libc_cv_asm_cfi_directives.
7649 * sysdeps/nptl/configure: Regenerated.
7650 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7651 * sysdeps/x86_64/nptl/configure: Remove generated file.
7652 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7653 unconditional.
7654 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7655
2aac0a86
SP
76562014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7657
059bf913
SP
7658 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7659 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7660 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7661 it is defined.
7662
4cf5b6d0
SP
7663 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7664 instead of whether it is defined.
7665 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7666 * sysdeps/hppa/dl-machine.h: Likewise.
7667 * sysdeps/ia64/dl-machine.h: Likewise.
7668 * sysdeps/m68k/dl-machine.h: Likewise.
7669 * sysdeps/microblaze/dl-machine.h: Likewise.
7670 * sysdeps/mips/dl-machine.: Likewise.
7671 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7672 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7673 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7674 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7675 * sysdeps/sh/dl-machine.h: Likewise.
7676 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7677 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7678 * sysdeps/tile/dl-machine.h: Likewise.
7679 * sysdeps/x86_64/dl-machine.h: Likewise.
7680
2aac0a86
SP
7681 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7682 code.
7683 (verify_persistent_db): Likewise.
7684
6ad2df0b
RM
76852014-06-26 Roland McGrath <roland@hack.frob.com>
7686
d8a483f3
RM
7687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7688 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7690 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7692 Moved ...
7693 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7694 ... here.
7695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7696 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7698 Identical file removed.
7699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7700 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7702 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7704 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7706 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7708 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7710 Moved ...
7711 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7713 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7715 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7717 Moved ...
7718 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7720 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7722 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7724 Identical file removed.
7725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7726 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7728 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7730 Moved ...
7731 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7732 ... here.
7733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7734 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7736 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7738 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7740 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7742 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7744 Moved ...
7745 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7747 Moved ...
7748 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7750 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7752 Moved ...
7753 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7755 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7756
52ae23b4
RM
7757 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7758 folded into ...
7759 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7760 * sysdeps/unix/sysv/linux/s390/Versions
7761 (libpthread: GLIBC_2.19): New version set.
7762 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7763 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7764 (librt: GLIBC_2.3.3): New version set.
7765 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7766 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7767 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7768 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7769 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7770 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7771 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7772 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7773 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7774 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7775 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7776 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7777 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7778 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7779 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7780 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7781 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7782 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7783 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7784 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7785 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7786 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7787 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7788 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7789 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7790 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7791 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7792 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7793 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7794 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7795 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7796 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7797 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7798 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7800 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7801 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7802 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7803 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7804 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7805 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7806 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7807 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7808 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7809 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7810
39507e4a
RM
7811 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7812 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7813 (__libc_vfork): Define the function under this name.
7814 [!NOT_IN_libc] (__vfork): Make this an alias.
7815 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7816 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7817 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7818 (__libc_vfork): Define the function under this name.
7819 [!NOT_IN_libc] (__vfork): Make this an alias.
7820 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7821 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7822 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7823 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7824 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7825 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7826
e549ee56
RM
7827 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7828 code that was previously under [RESET_PID].
7829 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7830 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7831 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7832
6ad2df0b
RM
7833 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7834 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7835 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7836 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7837 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7838 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7839 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7840 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7841 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7842 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7843 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7844 Moved ...
7845 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7846 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7847 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7848 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7849 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7850 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7851 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7852 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7853 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7854 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7855 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7856 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7857 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7858 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7859 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7860 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7861 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7862 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7863 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7864 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7865 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7866 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7867 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7868 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7869 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7870 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7871 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7872 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7873 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7874
7c1c1d8e
RM
78752014-06-25 Roland McGrath <roland@hack.frob.com>
7876
7877 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7878 that was previously under [RESET_PID].
7879 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7880
3e239be6
JM
78812014-06-25 Joseph Myers <joseph@codesourcery.com>
7882
74385da5
JM
7883 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7884 not undefine and redefine.
7885 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7886 [O_CLOEXEC]: Make code unconditional.
7887 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7888 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7889 <kernel-features.h>.
7890 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7891 conditional variable definition.
7892 (shm_open) [O_CLOEXEC]: Make code unconditional.
7893 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7894 code.
7895
c2570a0b
JM
7896 * configure.ac (USE_REGPARMS): Don't define here.
7897 * configure: Regenerated.
7898 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7899 * sysdeps/i386/configure: Regenerated.
7900
11b076bb
JM
7901 * nptl/createthread.c: Don't include kernel-features.h.
7902 * nptl/pthread_cancel.c: Likewise.
7903 * nptl/pthread_condattr_setclock.c: Likewise.
7904 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7905 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7906 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7907 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7908 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7909 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7910 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7911 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7912 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7913 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7914 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7915 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7916 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7917 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7918 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7919 * nscd/gai.c: Likewise.
7920 * nss/nss_db/db-open.c: Likewise.
7921 * sysdeps/generic/ldsodefs.h: Likewise.
7922 * sysdeps/sh/nptl/tls.h: Likewise.
7923 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7924 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7925 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7926 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7927 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7928 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7929 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7930 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7931 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7932 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7933 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7934 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7935 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7936 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7937 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7938 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7939 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7940 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7941 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7942 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7943 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7944 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7945 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7946 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7947 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7948 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7949 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7950 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7951 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7952 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7953 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7954 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7955 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7956 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7957 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7958 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7959 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7960 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7961 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7962 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7963 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7964 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7965 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7966 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7967 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7968 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7969 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7970 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7971 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7972 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7973 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7974 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7975 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7976 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7977 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7978 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7979 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7980 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8003 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8004 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8005 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8006 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8007 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8008 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8009 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8010 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8011 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8012 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8013 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8014 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8015 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8016 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8017 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8018 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8019 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8020 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8021 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8022 * sysdeps/unix/sysv/linux/system.c: Likewise.
8023 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8024 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8025 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8026 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8027 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8028 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8029 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8030
92072d57
JM
8031 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8032 * configure: Regenerated.
8033 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8034
3e239be6
JM
8035 * configure.ac (base_machine): Do not set specially for particular
8036 machines here.
8037 * configure: Regenerated.
8038 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8039 settings from configure.ac.
8040 * sysdeps/i386/preconfigure: New file.
8041 * sysdeps/s390/preconfigure: Likewise.
8042 * sysdeps/sh/preconfigure: Likewise.
8043 * sysdeps/sparc/preconfigure: Likewise.
8044
06d50baa
RM
80452014-06-25 Roland McGrath <roland@hack.frob.com>
8046
74836003
RM
8047 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8048 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8049 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8050 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8051 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8052 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8053 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8054 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8055 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8056 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8057 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8058 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8059 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8060 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8061 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8062 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8063 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8064 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8065 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8066
8067 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8068 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8069 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8070 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8071 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8072 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8073 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8074 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8075 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8076 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8077 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8078 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8079 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8080 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8081 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8082 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8083 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8084 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8085 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8086 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8087 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8088 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8089 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8090 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8091 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8092 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8093 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8094 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8095 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8096 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8097 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8098 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8099 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8100 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8101 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8102 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8103 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8104 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8105
06d50baa
RM
8106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8107 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8109 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8111 Moved ...
8112 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8113 ... here.
8114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8115 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8117 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8119 Moved ...
8120 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8122 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8124 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8126 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8128 Moved ...
8129 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8131 Moved ...
8132 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8134 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8136 Moved ...
8137 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8139 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8141 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8143 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8145 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8147 Moved ...
8148 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8149 ... here.
8150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8151 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8153 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8155 Moved ...
8156 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8158 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8160 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8162 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8164 Moved ...
8165 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8167 Moved ...
8168 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8170 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8172 Moved ...
8173 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8175 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8177 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8178
a4ccbc9b
JM
81792014-06-25 Joseph Myers <joseph@codesourcery.com>
8180
0828edbf
JM
8181 * timezone/checktab.awk: Update from tzcode 2014e.
8182 * timezone/private.h: Likewise.
8183 * timezone/tzfile.h: Likewise.
8184 * timezone/zdump.c: Likewise.
8185 * timezone/zic.c: Likewise.
8186
a4ccbc9b
JM
8187 * sysdeps/unix/sysv/linux/kernel-features.h
8188 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8189 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8190 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8191 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8192 Remove conditional code.
8193
9aea0cb8
WN
81942014-06-25 Will Newton <will.newton@linaro.org>
8195
8196 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8197 (_dl_arm_cap_flags): Add HWCAP2 values.
8198 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8199 (_DL_HWCAP_COUNT): Increase to 37.
8200 (_DL_HWCAP_LAST): New define.
8201 (_DL_HWCAP2_LAST): New define.
8202 (_dl_procinfo): Add support for printing
8203 AT_HWCAP2 entries.
8204 (_dl_string_hwcap): Use _dl_hwcap_string.
8205
6eaa65ce
AZ
82062014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8207
8208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8209
0f5b7185
JM
82102014-06-25 Joseph Myers <joseph@codesourcery.com>
8211
cfd2ea50
JM
8212 * README: Do not mention ports directory.
8213
cecf2ed4
JM
8214 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8215 Remove macro.
8216 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8217 <kernel-features.h>.
8218 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8219 conditional variable definition.
8220 (__futimes): Update comment.
8221 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8222 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8223
a638de82
JM
8224 [BZ #16560]
8225 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8226 arguments close to 0.
8227 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8228 Likewise.
8229 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8230 Likewise.
8231 * math/auto-libm-test-in: Add more tests of exp10.
8232 * math/auto-libm-test-out: Regenerated.
8233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8234
0f5b7185
JM
8235 * sysdeps/unix/sysv/linux/kernel-features.h
8236 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8237 * sysdeps/unix/sysv/linux/readv.c: Do not include
8238 <kernel-features.h>.
8239 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8240 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8241 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8242 unconditional.
8243 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8244 conditional code.
8245 * sysdeps/unix/sysv/linux/writev.c: Do not include
8246 <kernel-features.h>.
8247 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8248 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8249 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8250 unconditional.
8251 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8252 conditional code.
8253
c7aec4be
WN
82542014-06-25 Will Newton <will.newton@linaro.org>
8255
8256 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8257 comment changes throughout the file. Remove checks
8258 for HAVE_*_H definitions that are not required.
8259 (__gen_tempname): Call abort if an unknown kind value is
8260 passed.
8261
c5241f95
AS
82622014-06-25 Andreas Schwab <schwab@suse.de>
8263
8264 [BZ #17086]
8265 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8266 scalbln, scalblnf, scalblnl in libc.
8267
911422da
SP
82682014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8269
8270 [BZ #17086]
8271 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8272 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8273 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8274
0d749bbe
RM
82752014-06-24 Roland McGrath <roland@hack.frob.com>
8276
8277 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8278 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8279 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8280 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8281 Update #include.
8282 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8283 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8284 Update #include.
8285 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8286 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8287 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8288 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8289 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8290 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8291 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8292 * sysdeps/x86/bits/semaphore.h: ... here.
8293 * sysdeps/x86/nptl/elide.h: Moved ...
8294 * sysdeps/x86/elide.h: ... here.
8295 * sysdeps/x86_64/nptl/Implies: File removed.
8296 * sysdeps/i386/nptl/Implies: File removed.
8297
0ea5d373
JM
82982014-06-24 Joseph Myers <joseph@codesourcery.com>
8299
4060283d
JM
8300 [BZ #16539]
8301 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8302 return the argument for normal arguments with exponent below -64.
8303 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8304 Likewise.
8305 * math/auto-libm-test-in: Add another test of expm1.
8306 * math/auto-libm-test-out: Regenerated.
8307
e7dd3c8c
JM
8308 [BZ #16287]
8309 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8310 calling __erfcl for arguments at least 16.
8311 * math/auto-libm-test-in: Add more tests of erf.
8312 * math/auto-libm-test-out: Regenerated.
8313
0ea5d373
JM
8314 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8315 individual architectures.
8316 * sysdeps/unix/sysv/linux/configure: Regenerated.
8317 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8318 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8319 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8320 (ldd_rewrite_script): Define variable.
8321 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8323 file.
8324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8325 generated file.
8326 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8327 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8328 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8329 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8330 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8331 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8332 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8333 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8334
2307e126
SP
83352014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8336
8337 [BZ #17084]
8338 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8339 Rename member __data.d to __data.__elision_data.
8340
c0a4ed77
W
83412014-06-24 Wilco <wdijkstr@arm.com>
8342
8343 * NEWS: Add 16918 to fixed bug list.
8344
b8c00573
W
83452014-06-24 Wilco <wdijkstr@arm.com>
8346
8347 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8348
b5570d92
W
83492014-06-24 Wilco <wdijkstr@arm.com>
8350
8351 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8352 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8353 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8354 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8355 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8356 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8357 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8358 Use _FPU_MASK_RM.
8359
947bdca2
W
83602014-06-24 Wilco <wdijkstr@arm.com>
8361
8362 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8363
00f669ed
W
83642014-06-24 Wilco <wdijkstr@arm.com>
8365
8366 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8367 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8368 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8369 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8370
db59bad3
W
83712014-06-24 Wilco <wdijkstr@arm.com>
8372
8373 [BZ #16918]
8374 * sysdeps/arm/feupdateenv.c (feupdateenv):
8375 Rewrite to reduce FPSCR accesses and fix return value.
8376
001f7b77
W
83772014-06-24 Wilco <wdijkstr@arm.com>
8378
8379 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8380 Optimize to avoid unnecessary FPSCR writes.
8381 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8382 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8383 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8384 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8385
4841e6a6
W
83862014-06-24 Wilco <wdijkstr@arm.com>
8387
8388 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8389 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8390 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8391 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8392 Call libc_fetestexcept_vfp.
8393 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8394 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8395 __SOFTFP__ ifdef so that they can be built for softfp.
8396
0813022c
SP
83972014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8398
08e5862f
SP
8399 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8400 argument type signed char.
8401
0813022c
SP
8402 * Makerules (check-abi): Dump diff of symlist if the test
8403 fails.
8404
3fc7236a
RM
84052014-06-23 Roland McGrath <roland@hack.frob.com>
8406
aba8ef95
RM
8407 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8408 using abort.
8409
3fc7236a
RM
8410 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8411 Remove unused variable ST.
8412
4da6db51
JM
84132014-06-23 Joseph Myers <joseph@codesourcery.com>
8414
4648909d
JM
8415 [BZ #16354]
8416 [BZ #17061]
8417 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8418 small arguments before calling __expm1.
8419 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8420 small arguments before calling __expm1f.
8421 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8422 small arguments before calling __expm1l.
8423 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8424 Likewise.
8425 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8426 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8427 spurious underflow for some cosh tests.
8428 * math/auto-libm-test-out: Regenerated.
8429 * sysdeps/i386/fpu/libm-test-ulps: Update.
8430
46a3d3c7
JM
8431 [BZ #17050]
8432 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8433 (__ieee754_y1): Set errno if return value overflows.
8434 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8435 (__ieee754_y1f): Set errno if return value overflows.
8436 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8437 (__ieee754_y1l): Set errno if return value overflows.
8438 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8439 (__ieee754_y1l): Set errno if return value overflows.
8440 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8441 * math/auto-libm-test-out: Regenerated.
8442
863893ec
JM
8443 * math/gen-auto-libm-tests.c: Document use of
8444 ignore-zero-inf-sign.
8445 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8446 (input_flags): Add ignore-zero-inf-sign.
8447 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8448 * math/gen-libm-test.pl (generate_testfile): Handle
8449 ignore-zero-inf-sign.
8450 * math/auto-libm-test-in: Mark some cpow tests with
8451 ignore-zero-inf-sign and some with xfail-rounding.
8452 * math/auto-libm-test-out: Regenerated.
8453 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8454 * sysdeps/i386/fpu/libm-test-ulps: Update.
8455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8456
4da6db51
JM
8457 [BZ #16315]
8458 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8459 overflowing or underflowing operations take place with sign of
8460 result.
8461 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8462 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8463 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8464 (__ieee754_pow): Recompute overflowing and underflowing results in
8465 original rounding mode.
8466 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8467 (__powl_helper): Allow negative argument X and scale negated value
8468 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8469 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8470 overflowing or underflowing operations take place with sign of
8471 result.
8472 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8473 Include <math.h>.
8474 * math/auto-libm-test-in: Add more tests of pow.
8475 * math/auto-libm-test-out: Regenerated.
8476 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8477 (pow_tonearest_test_data): Remove.
8478 (pow_test_tonearest): Likewise.
8479 (pow_towardzero_test_data): Likewise.
8480 (pow_test_towardzero): Likewise.
8481 (pow_downward_test_data): Likewise.
8482 (pow_test_downward): Likewise.
8483 (pow_upward_test_data): Likewise.
8484 (pow_test_upward): Likewise.
8485 (main): Don't call removed functions.
8486 * sysdeps/i386/fpu/libm-test-ulps: Update.
8487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8488
5686b236
RM
84892014-06-23 Roland McGrath <roland@hack.frob.com>
8490
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8492 Moved ...
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8495 Moved ...
8496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8498 Moved ...
8499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8501 Moved ...
8502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8504 File removed.
8505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8506 File removed.
8507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8508 File removed.
8509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8510 File removed.
8511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8512 File removed.
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8514 File removed.
8515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8516 File removed.
8517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8518 File removed.
8519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8520 File removed.
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8522 File removed.
8523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8524 File removed.
8525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8526 File removed.
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8528 Moved ...
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8531 Moved ...
8532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8533 ... here.
8534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8535 Moved ...
8536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8538 Moved ...
8539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8541 Moved ...
8542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8544 Moved ...
8545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8547 Moved ...
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8550 Moved ...
8551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8553 Moved ...
8554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8557 ... here.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8559 Moved ...
8560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8562 Moved ...
8563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8564 ... here.
8565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8566 Moved ...
8567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8568 ... here.
8569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8570 Moved ...
8571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8572 ... here.
8573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8574 Moved ...
8575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8577 Moved ...
8578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8582 Moved ...
8583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8584 ... here.
8585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8586 Moved ...
8587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8588 ... here.
8589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8590 Moved ...
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8593 Moved ...
8594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8596 Moved ...
8597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8599 Moved ...
8600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8602 Moved ...
8603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8604 ... here.
8605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8606 Moved ...
8607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8609 Moved ...
8610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8612 Moved ...
8613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8615 Moved ...
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8620 Moved ...
8621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8623 Moved ...
8624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8626 Moved ...
8627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8628 ... here.
8629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8630 Moved ...
8631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8632 ... here.
8633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8634 Moved ...
8635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8636 ... here.
8637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8638 Moved ...
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8641 Moved ...
8642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8644 Moved ...
8645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8647 Moved ...
8648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8649 ... here.
8650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8651 Moved ...
8652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8653 ... here.
8654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8655 Moved ...
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8657 ... here.
8658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8659 Moved ...
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8662 Moved ...
8663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8664
e6d90d67
WD
86652014-06-23 Will Newton <will.newton@linaro.org>
8666 Wilco <wdijkstr@arm.com>
8667
8668 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8669 implementation. Include get-rounding-mode.h.
8670 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8671 [!libc_feholdsetround_noex_ctx]: Define
8672 libc_feholdsetround_noex_ctx.
8673 [!libc_feholdsetround_noexf_ctx]: Define
8674 libc_feholdsetround_noexf_ctx.
8675 [!libc_feholdsetround_noexl_ctx]: Define
8676 libc_feholdsetround_noexl_ctx.
8677 (libc_feholdsetround_ctx): New function.
8678 (libc_feresetround_ctx): New function.
8679 (libc_feholdsetround_noex_ctx): New function.
8680 (libc_feresetround_noex_ctx): New function.
8681
d42df555
RM
86822014-06-23 Roland McGrath <roland@hack.frob.com>
8683
88a46474
RM
8684 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8685 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8686 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8687 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8688 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8689 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8690
15bed472
RM
8691 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8692 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8693 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8694 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8695 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8696 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8697 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8698 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8699 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8700 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8701 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8702 Moved ...
8703 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8704 ... here.
8705 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8706 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8707 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8708 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8709 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8710 Moved ...
8711 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8712 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8713 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8714 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8715 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8716 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8717 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8718 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8719 Moved ...
8720 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8721 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8722 Moved ...
8723 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8724 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8725 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8726 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8727 Moved ...
8728 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8729 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8730 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8731 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8732 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8733 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8734 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8735 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8736 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8737 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8738 Moved ...
8739 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8740 ... here.
8741 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8742 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8743 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8744 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8745 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8746 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8747 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8748 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8749 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8750 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8751 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8752 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8753 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8754 Moved ...
8755 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8756 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8757 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8758 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8759 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8760 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8761 Moved ...
8762 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8763 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8764 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8765 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8766 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8767
d42df555
RM
8768 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8769 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8770 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8771 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8772 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8773 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8774 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8775 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8776 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8777 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8778 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8779 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8780 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8781 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8782 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8783 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8784 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8785 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8786 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8787 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8788 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8789 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8790 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8791 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8792 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8793 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8794 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8795 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8796
76e5216e
JM
87972014-06-23 Joseph Myers <joseph@codesourcery.com>
8798
8799 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8800 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8801 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8802 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8803 (IPV6_PMTUDISC_INTERFACE): Likewise.
8804 (IPV6_PMTUDISC_OMIT): Likewise.
8805
7a81cbcc
AS
88062014-06-23 Andreas Schwab <schwab@suse.de>
8807
8808 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8809 Remove unused errout label.
8810
db224009
AZ
88112014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8812
8813 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8814 macro: hardware supports Vector Crypto instructions.
8815
f393b4aa
WN
88162014-06-23 Will Newton <will.newton@linaro.org>
8817
cc7d0447
WN
8818 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8819 rather than __builtin_expect.
8820
d6d06225
WN
8821 * elf/dl-lookup.c (undefined_msg): Remove variable.
8822 (_dl_lookup_symbol_x): Replace undefined_msg with string
8823 literal.
8824
f393b4aa
WN
8825 * elf/dl-lookup.c (do_lookup_unique): New function.
8826 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8827 to a separate function.
8828
ac60763e
AS
88292014-06-23 Andreas Schwab <schwab@suse.de>
8830
8831 [BZ #17079]
8832 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8833 before reading the next line.
8834
c5c13355
WN
88352014-06-23 Will Newton <will.newton@linaro.org>
8836
8837 * test-skeleton.c (signal_handler): Use printf and %m
8838 rather than perror. Use printf rather than fprintf to
8839 stderr. Use puts rather than fputs to stderr.
8840 (main): Likewise.
8841
bd3675f9
LC
88422014-06-22 Ludovic Courtès <ludo@gnu.org>
8843
8844 * nscd/nscd.c (thread_info_t): Remove typedef.
8845 (thread_info): Remove variable.
8846
d03efb2f
AM
88472014-06-21 Allan McRae <allan@archlinux.org>
8848
8849 * NEWS: Mention CVE-2014-4043.
8850
bc4a86fa
RM
88512014-06-20 Roland McGrath <roland@hack.frob.com>
8852
dc9a54f8
RM
8853 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8854 * nptl/smp.h: ... here.
8855
bd7022c4
RM
8856 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8857
26ffd5e6
RM
8858 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8859 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8860 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8861 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8862
93a6d082
RM
8863 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8864 * nptl/stack-aliasing.h: New file.
8865 * sysdeps/i386/i686/stack-aliasing.h: New file.
8866 * sysdeps/i386/i686/nptl/Makefile: File removed.
8867 * sysdeps/x86_64/stack-aliasing.h: New file.
8868 * sysdeps/x86_64/nptl/Makefile
8869 (CFLAGS-pthread_create.c): Variable removed.
8870
bc4a86fa
RM
8871 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8872 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8873 old file.
8874 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8875 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8876 old file.
8877
2272ffc1
JM
88782014-06-21 Joseph Myers <joseph@codesourcery.com>
8879
8880 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8881 (__ASSUME_SIGFRAME_V2): Remove macro.
8882 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8883 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8884 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8885 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8886 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8887 Declare as function. Remove conditional macro definitions.
8888 (__default_rt_sa_restorer): Likewise.
8889 (__default_sa_restorer_v1): Remove declaration.
8890 (__default_sa_restorer_v2): Likewise.
8891 (__default_rt_sa_restorer_v1): Likewise.
8892 (__default_rt_sa_restorer_v2): Likewise.
8893 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8894 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8895 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8896
4b88139b
RM
88972014-06-20 Roland McGrath <roland@hack.frob.com>
8898
8899 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8900 (libpthread-routines): Add sysdep.
8901 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8902 * sysdeps/unix/sysv/linux/sparc/Versions
8903 (libpthread: GLIBC_2.3.3): New version set.
8904 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8905 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8906 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8907 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8908 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8909 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8910 Moved ...
8911 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8912 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8913 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8914 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8915 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8916 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8917 * sysdeps/sparc/nptl/sem_init.c: ... here.
8918 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8919 * sysdeps/sparc/nptl/sem_post.c: ... here.
8920 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8921 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8922 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8923 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8924 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8925 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8926 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8927 (libpthread-routines): Add cpu_relax.
8928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8929 File removed.
8930 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8931 (librt: GLIBC_2.3.3): New version set.
8932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8933 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8934 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8935 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8938 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8940 Moved ...
8941 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8943 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8944 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8945 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8947 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8949 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8951 Moved ...
8952 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8953 Update #include.
8954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8955 Moved ...
8956 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8957 Update #include.
8958 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8959 Moved ...
8960 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8961 Update #include.
8962 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8963 Moved ...
8964 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8965 Update #include.
8966 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8967 Moved ...
8968 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8969 Update #include.
8970 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8971 Moved ...
8972 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8973 Update #include.
8974 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8975 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8976 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8978 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8979 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8980 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8981 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8982 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8983 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8984 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8985 Moved ...
8986 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8987 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8988 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8990 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8991
d7109027
JM
89922014-06-20 Joseph Myers <joseph@codesourcery.com>
8993
9bc6103d
JM
8994 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8995 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8996 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8997 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8998 * nscd/nscd.c: Likewise.
8999 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9000 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9001 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9002 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9003
d7109027
JM
9004 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9005 <kernel-features.h>.
9006 (init_mq_netlink): Remove conditional have_sock_cloexec
9007 definitions. Remove code conditional on have_sock_cloexec < 0.
9008 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9009 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9010 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9011 <kernel-features.h>.
9012 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9013 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9014
d92d8f8a
L
90152014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9016
9017 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9018 Add tests for memset_chk and memset.
9019
9020 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9021 with AVX2_Usable.
9022
4e6d2347
MR
90232014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9024
257ce712
MR
9025 [BZ #16046]
9026 * elf/tst-dl-iter-static.c: New file.
9027 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9028
4e6d2347
MR
9029 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9030 error.
9031
a2a76afe
JM
90322014-06-20 Joseph Myers <joseph@codesourcery.com>
9033
7fd00f99
JM
9034 * sysdeps/unix/sysv/linux/kernel-features.h
9035 (__ASSUME_F_GETOWN_EX): Remove macro.
9036 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9037 <kernel-features.h>.
9038 (miss_F_GETOWN_EX): Remove variable or macro.
9039 (do_fcntl): Do not check miss_F_GETOWN_EX.
9040 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9041
4a103975
JM
9042 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9043 Remove macro.
9044 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9045 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9046 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9047
a2a76afe
JM
9048 * sysdeps/unix/sysv/linux/kernel-features.h
9049 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9050 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9051 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9052 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9053
90e5dd48
MR
90542014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9055
9056 [BZ #17075]
9057 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9058 Fix calculation of the symbol's value.
9059 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9060 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9061 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9062 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9063 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9064 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9065 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9066 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9067 (modules-names): Add `tst-armtlsdescmod',
9068 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9069 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9070 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9071 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9072 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9073 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9074 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9075 ($(objpfx)tst-armtlsdescloc): New dependency.
9076 ($(objpfx)tst-armtlsdescextnow): Likewise.
9077 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9078 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9079 TLS scheme support.
9080 * sysdeps/arm/configure: Regenerate.
9081
809fdf0d
JM
90822014-06-20 Joseph Myers <joseph@codesourcery.com>
9083
9084 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9085 (__atfct_seterrno_2): Likewise.
9086 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9087 <kernel-features.h>.
9088 (__ASSUME_ATFCTS): Do not undefine and redefine.
9089 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9090 (__have_atfcts): Remove conditional definition.
9091 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9092 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9093 unreachable if [__ASSUME_ATFCTS].
9094 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9095 not undefine and redefine.
9096 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9097 <kernel-features.h>.
9098 (faccessat) [__NR_faccessat]: Make code unconditional.
9099 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9100 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9101 <kernel-features.h>.
9102 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9103 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9104 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9105 <kernel-features.h>.
9106 (fchownat) [__NR_fchownat]: Make code unconditional.
9107 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9108 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9109 <kernel-features.h>.
9110 (futimesat) [__NR_futimesat]: Make code unconditional.
9111 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9112 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9113 <kernel-features.h>.
9114 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9115 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9116 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9117 <kernel-features.h>.
9118 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9119 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9120 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9121 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9122 <kernel-features.h>.
9123 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9124 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9125 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9126 <kernel-features.h>.
9127 (linkat) [__NR_linkat]: Make code unconditional.
9128 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9129 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9130 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9131 <kernel-features.h>.
9132 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9133 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9134 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9135 <kernel-features.h>.
9136 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9137 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9138 * sysdeps/unix/sysv/linux/openat.c: Do not include
9139 <kernel-features.h>.
9140 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9141 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9142 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9143 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9144 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9145 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9146 <kernel-features.h>.
9147 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9148 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9149 result of INLINE_SYSCALL directly, not via int variable.
9150 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9151 <kernel-features.h>.
9152 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9153 (renameat) [__NR_renameat]: Make code unconditional.
9154 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9155 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9156 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9157 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9158 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9159 (__ASSUME_ATFCTS): Do not undefine and redefine.
9160 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9161 <kernel-features.h>.
9162 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9163 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9164 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9165 <kernel-features.h>.
9166 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9167 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9168 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9169 (__ASSUME_ATFCTS): Do not undefine and redefine.
9170 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9171 <kernel-features.h>.
9172 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9173 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9174 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9175 <kernel-features.h>.
9176 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9177 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9178
224c6c51
L
91792014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9180
9181 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9182
aa6ec754
AS
91832014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9184
9185 [BZ #17069]
9186 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9187 constructed tree before returning error.
9188 * posix/bug-regexp36.c: Expand test case.
9189
d8c2869d
SL
91902014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9191
3ef6b850
SL
9192 [BZ #6803]
9193 * math/libm-test.inc (scalbln_test_date):
9194 Add errno expectations.
9195 * math/w_scalblnf.c: New File.
9196 Add wrapper which checks for setting errno to ERANGE.
9197 Add weak_alias for corresponding scalbln function.
9198 * math/w_scalbln.c: Likewise.
9199 * math/w_scalblnl.c: Likewise.
9200 * math/Makefile (libm-calls): Add w_scalbln.
9201 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9202 Remove weak_alias for corresponding scalbln function.
9203 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9204 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9205 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9207 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9208 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9209 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9210 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9211 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9212 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9213 Remove long_double_symbol for scalblnl function in libm, libc.
9214 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9215 Add wrapper which checks for setting errno to ERANGE.
9216 Add long_double_symbol for scalblnl function in libm, libc.
9217 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9218 Remove long_double_symbol for scalblnl in libm.
9219 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9220 Add wrapper which checks for setting errno to ERANGE.
9221 Add long_double_symbol for scalblnl function in libm.
9222 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9223 Do not use wrapper because of own implementation.
9224
c8daec5c
L
92252014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9226
9227 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9228 3 bytes for __pad1 for x32.
9229 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9230
5c74e47c
LM
92312014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9232 H.J. Lu <hongjiu.lu@intel.com>
9233
9234 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9235 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9236 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9237 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9238 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9239
4d43ef1e
AS
92402014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9241
9242 [BZ #17069]
9243 * posix/regcomp.c (parse_expression): Deallocate partially
9244 constructed tree before returning error.
9245 * posix/Makefile.c (tests): Add bug-regex36.
9246 (generated): Add bug-regex36.mtrace.
9247 (tests-special): Add $(objpfx)bug-regex36-mem.out
9248 (bug-regex36-ENV): New variable.
9249 ($(objpfx)bug-regex36-mem.out): New rule.
9250 * posix/bug-regex36.c: New file.
9251
51a7380b
WN
92522014-06-19 Will Newton <will.newton@linaro.org>
9253
9254 * malloc/malloc.c (systrim): If extra is zero then return
9255 early.
9256
91b84fe5
SP
92572014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9258
9259 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9260
f940b965
RE
92612014-06-19 Richard Earnshaw <rearnsha@arm.com>
9262
9263 * sysdeps/aarch64/strchr.S: New file.
9264
4ba7a00f
JM
92652014-06-18 Joseph Myers <joseph@codesourcery.com>
9266
9267 [BZ #17022]
9268 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9269 from arguments -2 or below.
9270 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9271 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9272
b3a9f56b
AS
92732014-06-18 Andreas Schwab <schwab@suse.de>
9274
9275 [BZ #17062]
9276 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9277 of a bracket expr not to run off the end of the string.
9278 * posix/Makefile (tests): Add tst-fnmatch3.
9279 * posix/tst-fnmatch3.c: New file.
9280
85d89278
JM
92812014-06-18 Joseph Myers <joseph@codesourcery.com>
9282
9283 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9284 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9285 [$(cross-compiling) = no]: Likewise.
9286 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9287 [$(cross-compiling) = no]: Likewise.
9288
754c5a08
RS
92892014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9290
9291 [BZ #17031]
9292 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9293 double, adjusted for any remainder from the high double.
9294 * math/libm-test.inc (nearbyint): Add tests.
9295 (rint): Likewise.
9296
556f529d
AZ
92972014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9298
9299 * nptl/sysdeps/powerpc/Makefile: Moved ...
9300 * sysdeps/powerpc/nptl/Makefile: ... here.
9301 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9302 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9303 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9304 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9305 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9306 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9307 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9308 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9309 * nptl/sysdeps/powerpc/tls.h: Moved ...
9310 * sysdeps/powerpc/nptl/tls.h: ... here.
9311
91c03c53
JM
93122014-06-16 Joseph Myers <joseph@codesourcery.com>
9313
9314 [BZ #16681]
9315 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9316 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9317 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9318 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9319 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9320 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9321 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9322 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9323 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9324
a76e63c5
AS
93252014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9326
9327 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9328
f2f6d82f
AS
93292014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9330
ea8a15f6
AS
9331 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9332 defined operator.
9333
f2f6d82f
AS
9334 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9335 $TIMEOUTFACTOR.
9336
a7291117
FW
93372014-06-16 Florian Weimer <fweimer@redhat.com>
9338
9339 [BZ #17058]
9340 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9341 non-executed part of the test.
9342
3d7c00e3
AS
93432014-06-16 Andreas Schwab <schwab@suse.de>
9344
9345 * string/bits/string2.h (strdup, strndup): Update feature guard.
9346
6957fb31
DM
93472014-06-14 David S. Miller <davem@davemloft.net>
9348
9349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9350
11b9e55b
AS
93512014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9352
1d2a0492
AS
9353 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9354 that was previously under [RESET_PID].
9355 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9356
11b9e55b
AS
9357 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9358 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9359 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9360 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9361 (__libc_vfork): New strong alias.
9362 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9363
0f6901d0
AK
93642014-06-14 Andi Kleen <ak@linux.intel.com>
9365
9366 * sysdeps/generic/elide.h: New file.
9367
38bbbb9f
SL
93682014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9369
9370 * Makefile (installed-headers): Adjust path of pthread.h header.
9371
45193bb8
RM
93722014-06-13 Roland McGrath <roland@hack.frob.com>
9373
9a25fd1e
RM
9374 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9375 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9376 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9377 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9378
4004f7e4
RM
9379 * nptl/sysdeps/s390/Makefile: Moved ...
9380 * sysdeps/s390/nptl/Makefile: ... here.
9381 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9382 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9383 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9384 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9385 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9386 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9387 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9388 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9389 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9390 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9391 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9392 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9393 * nptl/sysdeps/s390/tls.h: Moved ...
9394 * sysdeps/s390/nptl/tls.h: ... here.
9395
45193bb8
RM
9396 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9397 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9398
f6fdf533
DM
93992014-06-13 David S. Miller <davem@davemloft.net>
9400
9401 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9402 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9403 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9404 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9405 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9407 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9408 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9409 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9410 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9411 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9412 Remove RESET_PID cpp guards.
9413 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9414 Remove RESET_PID cpp guards.
9415 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9416
f5d71e14
AS
94172014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9418
9419 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9420 __sp to uintptr_t.
9421
b7aa8caa
AK
94222014-06-13 Andi Kleen <ak@linux.intel.com>
9423
4b266200
AZ
9424 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9425 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9426 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9427 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9428 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9429 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9430 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9431 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9432 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9433 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9434 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9435 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9436 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9437 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9438 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9439 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9440 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9441 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9442 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9443 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
9444
9445 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
9446 (pthread_rwlock_rdlock): Add elision.
9447 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9448 (pthread_rwlock_wrlock): Add elision.
9449 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9450 (pthread_rwlock_trywrlock): Add elision.
9451 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9452 (pthread_rwlock_tryrdlock): Add elision.
9453 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9454 (pthread_rwlock_tryrdlock): Add elision unlock.
9455 * nptl/sysdeps/pthread/pthread.h:
9456 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9457 (PTHREAD_RWLOCK_INITIALIZER,
9458 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9459 Handle new elision field.
9460 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9461 * sysdeps/arm/nptl/bits/pthreadtypes.h
9462 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9463 * sysdeps/sh/nptl/bits/pthreadtypes.h
9464 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9465 * sysdeps/tile/nptl/bits/pthreadtypes.h
9466 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9467 * sysdeps/a/nptl/bits/pthreadtypes.h
9468 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9469 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9470 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9471 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9472 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9473 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9474 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9475 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9476 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9477 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9478 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9479 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9480 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9481 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9482 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9483 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9484 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9485 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9486 (elision_init): Set try_xbegin to zero when no RTM.
9487 * sysdeps/x86/nptl/bits/pthreadtypes.h
9488 (pthread_rwlock_t): Change __pad1 to __rwelision.
9489 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 9490
a832bdd3
AK
94912014-06-13 Andi Kleen <ak@linux.intel.com>
9492
9493 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9494 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9495 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9496 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9497
995a46bb
MI
94982014-06-13 Meador Inge <meadori@codesourcery.com>
9499
9500 [BZ #16996]
03ed7738 9501 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
9502 that the cached result has been set before returning it.
9503
45262aee
RM
95042014-06-12 Roland McGrath <roland@hack.frob.com>
9505
febf6cc5
RM
9506 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9507 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9508 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9509 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9510 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9511 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9512
e2682246
RM
9513 * nptl/sysdeps/sparc/Makefile: Moved ...
9514 * sysdeps/sparc/nptl/Makefile: ... here.
9515 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9516 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9517 * nptl/sysdeps/sparc/tls.h: Moved ...
9518 * sysdeps/sparc/nptl/tls.h: ... here.
9519 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9520 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9521 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9522 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9523 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9524 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9525 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9526 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9527 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9528 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9529 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9530 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9531 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9532 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9533 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9534 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9535 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9536 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9537 Update #include.
9538 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9539 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9540 Update #include.
9541 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9542 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9543 Update #include.
9544 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9545 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9546 Update #include.
9547
b0725f43
RM
9548 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9549
b14368b8
RM
9550 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9551 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9552
c5620eb3
RM
9553 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9554 (struct list_links): Type removed.
9555 (struct thread_node, struct timer_node): Replace struct list_links
9556 with struct list_head.
9557 (list_unlink_ip): Likewise.
9558 * sysdeps/pthread/timer_routines.c
9559 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9560 (list_append, list_insbefore): Likewise.
9561 (list_init): Function removed.
9562 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
9563 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9564 * sysdeps/pthread/Makefile: ... here, new file.
9565
9566 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9567 * sysdeps/nptl/Implies: ... here.
9568 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9569 * nptl/sysdeps/pthread/list.h: Moved ...
9570 * include/list.h: ... here.
9571 * nptl/sysdeps/pthread/createthread.c: Moved ...
9572 * nptl/createthread.c: ... here.
9573 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9574 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9575 * nptl/pt-longjmp.c: ... here.
9576 * nptl/sysdeps/pthread/Makefile: Moved ...
9577 * sysdeps/nptl/Makefile: ... here.
9578 * nptl/sysdeps/pthread/Subdirs: Moved ...
9579 * sysdeps/nptl/Subdirs: ... here.
9580 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9581 * sysdeps/nptl/aio_misc.h: ... here.
9582 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9583 * sysdeps/nptl/bits/libc-lock.h: ... here.
9584 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9585 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9586 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9587 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9588 * nptl/sysdeps/pthread/configure: Moved ...
9589 * sysdeps/nptl/configure: ... here.
9590 * nptl/sysdeps/pthread/configure.ac: Moved ...
9591 * sysdeps/nptl/configure.ac: ... here.
9592 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9593 * sysdeps/nptl/gai_misc.h: ... here.
9594 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9595 * sysdeps/nptl/librt-cancellation.c: ... here.
9596 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9597 * sysdeps/nptl/malloc-machine.h: ... here.
9598 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9599 * sysdeps/nptl/pthread-functions.h: ... here.
9600 * nptl/sysdeps/pthread/pthread.h: Moved ...
9601 * sysdeps/nptl/pthread.h: ... here.
9602 * nptl/sysdeps/pthread/setxid.h: Moved ...
9603 * sysdeps/nptl/setxid.h: ... here.
9604 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9605 * sysdeps/nptl/sigfillset.c: ... here.
9606 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9607 * sysdeps/nptl/tcb-offsets.h: ... here.
9608 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9609 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9610 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9611 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9612 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9613 * sysdeps/pthread/allocalim.h: ... here.
9614 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9615 * sysdeps/pthread/bits/sigthread.h: ... here.
9616 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9617 * sysdeps/pthread/flockfile.c: ... here.
9618 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9619 * sysdeps/pthread/ftrylockfile.c: ... here.
9620 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9621 * sysdeps/pthread/funlockfile.c: ... here.
9622 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9623 * sysdeps/pthread/posix-timer.h: ... here.
9624 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9625 * sysdeps/pthread/timer_create.c: ... here.
9626 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9627 * sysdeps/pthread/timer_delete.c: ... here.
9628 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9629 * sysdeps/pthread/timer_getoverr.c: ... here.
9630 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9631 * sysdeps/pthread/timer_gettime.c: ... here.
9632 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9633 * sysdeps/pthread/timer_routines.c: ... here.
9634 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9635 * sysdeps/pthread/timer_settime.c: ... here.
9636 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9637 * sysdeps/pthread/tst-timer.c: ... here.
9638 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9639 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9640
e876b090
RM
9641 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9642 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9643
f6b07b3d
RM
9644 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9645 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9646 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9647 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9648 Update #include target.
9649 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9650 * sysdeps/i386/i686/nptl/Makefile: ... here.
9651 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9652 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9653 Update #include target.
9654 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9655 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9656 * nptl/sysdeps/i386/Makefile: Moved ...
9657 * sysdeps/i386/nptl/Makefile: ... here.
9658 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9659 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9660 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9661 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9662 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9663 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9664 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9665 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9666 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9667 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9668 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9669 * nptl/sysdeps/i386/tls.h: Moved ...
9670 * sysdeps/i386/nptl/tls.h: ... here.
9671
45262aee
RM
9672 * sysdeps/sh/Makefile [$(subdir) = csu]
9673 (gen-as-const-headers): Add tcb-offsets.sym.
9674 * nptl/sysdeps/sh/Makefile: File removed.
9675 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9676 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9677 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9678 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9679 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9680 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9681 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9682 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9683 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9684 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9685 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9686 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9687 * nptl/sysdeps/sh/tls.h: Moved ...
9688 * sysdeps/sh/nptl/tls.h: ... here.
9689 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9690 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9691 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9692 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9693 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9694 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9695 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9696 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9697 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9698 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9699 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9700 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9701 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9702 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9703 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9704 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9705 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9706 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9707 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9708 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9709 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9710 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9711 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9712 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9713 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9714 Moved ...
9715 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9716 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9717 Moved ...
9718 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9719 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9720 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9721 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9722 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9723 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9724 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9725 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9726 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9727 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9728 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9729 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9730 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9731 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9732 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9733 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9734 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9735 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9736 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9737
35a5e3e3
SL
97382014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9739
9740 * posix/spawn_faction_addopen.c: Include string.h.
9741
14642b85
RM
97422014-06-11 Roland McGrath <roland@hack.frob.com>
9743
9744 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9745 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9746 * nptl/sysdeps/x86_64/Makefile: Moved ...
9747 * sysdeps/x86_64/nptl/Makefile: ... here.
9748 * nptl/sysdeps/x86_64/configure: Moved ...
9749 * sysdeps/x86_64/nptl/configure: ... here.
9750 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9751 * sysdeps/x86_64/nptl/configure.ac: ... here.
9752 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9753 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9754 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9755 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9756 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9757 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9758 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9759 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9760 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9761 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9762 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9763 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9764 * nptl/sysdeps/x86_64/tls.h: Moved ...
9765 * sysdeps/x86_64/nptl/tls.h: ... here.
9766 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9767 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9768 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9769 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9770
9771 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9772
31c44fea
AZ
97732014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9774
9775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9776
e81a4f9a
JM
97772014-06-11 Joseph Myers <joseph@codesourcery.com>
9778
9779 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9780 type.
9781 [POSIX] (off_t): Likewise.
9782 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9783 [POSIX] (S_ISBLK): Require macro.
9784 [POSIX] (S_ISCHR): Likewise.
9785 [POSIX] (S_ISDIR): Likewise.
9786 [POSIX] (S_ISFIFO): Likewise.
9787 [POSIX] (S_ISREG): Likewise.
9788 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9789 optional-macro.
9790 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9791 type.
9792 [POSIX] (time_t): Likewise.
9793 [POSIX] (timer_t): Likewise.
9794
89e435f3
FW
97952014-06-11 Florian Weimer <fweimer@redhat.com>
9796
9797 [BZ #17048]
9798 * posix/spawn_int.h (struct __spawn_action): Make the path string
9799 non-const to support deallocation.
9800 * posix/spawn_faction_addopen.c
9801 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9802 * posix/spawn_faction_destroy.c
9803 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9804 path in all spawn_do_open actions.
9805 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9806 posix_spawn_file_actions_addopen.
9807
c3a2ebe1
CM
98082014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9809
9810 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9811 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9812 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9813 conditional code always true.
9814 (__libc_vfork): New alias.
9815
9503784a
RM
98162014-06-11 Roland McGrath <roland@hack.frob.com>
9817
c9cab3d2
RM
9818 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9819 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9820
d3996c79
RM
9821 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9822
ba5ec611
RM
9823 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9824 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9825
f12b4814
RM
9826 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9827 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9828
9503784a
RM
9829 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9830 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9831
e23d3d26
VR
98322014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9833
9834 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9835 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9836 multiarch strcmp for PPC64.
9837 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9838 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9839 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9840 multiarch optimizations.
9841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9842 (__libc_ifunc_impl_list): Likewise.
9843
42b1161e
SP
98442014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9845
9846 * benchtests/scripts/validate_benchout.py: New script.
9847 * benchtests/Makefile (bench-func): Call it.
9848 * benchtests/scripts/benchout.schema.json: New file.
9849
2d0fc4dc
CM
98502014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9851
4a594c34
AZ
9852 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9853 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9854 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9855 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9856 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9857 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9858 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9859 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9860 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9861 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9862 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9863 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9864 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9865 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9866 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9867 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 9869 Moved ...
4a594c34 9870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 9871 ... here.
4a594c34 9872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 9873 Moved ...
4a594c34
AZ
9874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 9876 Moved ...
4a594c34 9877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 9878 ... here.
4a594c34 9879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 9880 Moved ...
4a594c34 9881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 9882 ... here.
4a594c34 9883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 9884 Moved ...
4a594c34
AZ
9885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 9887 Moved ...
4a594c34 9888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 9889 ... here.
4a594c34 9890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 9891 Moved ...
4a594c34 9892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 9893 ... here.
4a594c34 9894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 9895 Moved ...
4a594c34
AZ
9896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 9898 Moved ...
4a594c34 9899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 9900 ... here.
4a594c34 9901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 9902 Moved ...
4a594c34 9903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 9904 ... here.
4a594c34 9905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 9906 Moved ...
4a594c34 9907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 9908 ... here.
4a594c34 9909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 9910 Moved ...
4a594c34
AZ
9911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 9913 Moved ...
4a594c34 9914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 9915 ... here.
4a594c34 9916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 9917 Moved ...
4a594c34 9918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 9919 ... here.
4a594c34 9920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 9921 Moved ...
4a594c34 9922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 9923 ... here.
4a594c34 9924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 9925 Moved ...
4a594c34
AZ
9926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 9928 Moved ...
4a594c34 9929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 9930 ... here.
4a594c34 9931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 9932 Moved ...
4a594c34 9933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 9934 ... here.
4a594c34 9935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 9936 Moved ...
4a594c34
AZ
9937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 9939 Moved ...
4a594c34 9940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 9941 ... here.
4a594c34 9942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 9943 Moved ...
4a594c34
AZ
9944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 9946 Moved ...
4a594c34
AZ
9947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 9949 Moved ...
4a594c34 9950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 9951 ... here.
4a594c34 9952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 9953 Moved ...
4a594c34 9954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 9955 ... here.
4a594c34 9956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 9957 Moved ...
4a594c34 9958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 9959 ... here.
4a594c34 9960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 9961 Moved ...
4a594c34
AZ
9962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 9964 Moved ...
4a594c34 9965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 9966 ... here.
4a594c34 9967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 9968 Moved ...
4a594c34 9969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 9970 ... here.
4a594c34
AZ
9971 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9972 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9973 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9974 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9975 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 9976 Moved ...
4a594c34 9977 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 9978 ... here.
4a594c34
AZ
9979 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9980 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9981 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9982 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9983 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9984 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9985 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9986 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9987 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9988 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9989 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9990 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9991 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 9992 Moved ...
4a594c34
AZ
9993 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9994 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 9995 Moved ...
4a594c34
AZ
9996 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9997 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9998 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9999 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 10000 Moved ...
4a594c34
AZ
10001 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10002 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10003 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10004 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10005 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10006 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10007 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 10008
0570cfed
W
100092014-06-10 Wilco <wdijkstr@arm.com>
10010
10011 * math/test-fenv-return.c: New file.
10012 * math/Makefile: Add new test test-fenv-return.
10013
f8ba1b56
JM
100142014-06-10 Joseph Myers <joseph@codesourcery.com>
10015
10016 [BZ #17042]
10017 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10018 when x - 1 is zero.
10019 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10020 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10021 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10022 0.0L for an argument of 1.0L.
10023 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10024 Likewise.
10025 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10026 value when x - 1 is zero.
10027 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10028 * sysdeps/i386/fpu/libm-test-ulps: Update.
10029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10030
2c3520d9
BO
100312014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10032
10033 [BZ #15119]
10034 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10035
acaa4d24
RM
100362014-06-09 Roland McGrath <roland@hack.frob.com>
10037
10038 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10039 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10040
962b744d
RM
100412014-06-09 Roland McGrath <roland@hack.frob.com>
10042
d752f0cc
RM
10043 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10044 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10045
34eda6d1
RM
10046 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10047 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10048
50f0a637
RM
10049 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10050 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10051
08f41f04
RM
10052 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10053 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10054
962b744d
RM
10055 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10056 if not already defined.
10057 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10058 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10059 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10060 (TLS_INIT_TP): Use it.
10061 (TLS_DEFINE_INIT_TP): New macro.
10062 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10063
09f19b05
JM
100642014-06-09 Joseph Myers <joseph@codesourcery.com>
10065
10066 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10067 constant.
10068 [POSIX] (IXANY): Likewise.
10069 [POSIX] (OLCUC): Likewise.
10070 [POSIX || POSIX2008] (CBAUD): Do not allow.
10071 [POSIX || POSIX2008] (DEFECHO): Likewise.
10072 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10073 [POSIX || POSIX2008] (ECHOKE): Likewise.
10074 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10075 [POSIX || POSIX2008] (EXTA): Likewise.
10076 [POSIX || POSIX2008] (EXTB): Likewise.
10077 [POSIX || POSIX2008] (FLUSHO): Likewise.
10078 [POSIX || POSIX2008] (LOBLK): Likewise.
10079 [POSIX || POSIX2008] (PENDIN): Likewise.
10080 [POSIX || POSIX2008] (SWTCH): Likewise.
10081 [POSIX || POSIX2008] (VDISCARD): Likewise.
10082 [POSIX || POSIX2008] (VDSUSP): Likewise.
10083 [POSIX || POSIX2008] (VLNEXT): Likewise.
10084 [POSIX || POSIX2008] (VREPRINT): Likewise.
10085 [POSIX || POSIX2008] (VSTATUS): Likewise.
10086 [POSIX || POSIX2008] (VWERASE): Likewise.
10087 (B*): Change to B[0123456789]*.
10088 * conform/data/time.h-data [POSIX || UNIX98]
10089 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10090 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10091 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10092 [POSIX] (tm_*): Do not allow.
10093
686554bf
JM
100942014-06-07 Joseph Myers <joseph@codesourcery.com>
10095
10096 * Makefile (install): Don't set LANGUAGE.
10097 * Makefile.in (install): Likewise.
10098 * assert/Makefile (test-assert-ENV): Remove variable.
10099 (test-assert-perr-ENV): Likewise.
10100 * elf/Makefile (neededtest4-ENV): Likewise.
10101 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10102 [$(cross-compiling) = no]: Don't set LANGUAGE.
10103 * io/ftwtest-sh (LANG): Remove variable.
10104 * libio/Makefile (tst-widetext-ENV): Likewise.
10105 * manual/install.texi (Running make install): Don't refer to
10106 environment settings for make install.
10107 * INSTALL: Regenerated.
10108 * nptl/tst-tls6.sh: Don't set LANG.
10109 * posix/globtest.sh (LANG): Remove variable.
10110 * string/Makefile (tester-ENV): Likewise.
10111 (inl-tester-ENV): Likewise.
10112 (noinl-tester-ENV): Likewise.
10113 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10114 [$(cross-compiling) = no]: Don't set LANGUAGE.
10115 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10116 without explicit environment settings.
10117
68e6b6b1
RM
101182014-06-06 Roland McGrath <roland@hack.frob.com>
10119
10120 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10121 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10122 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10123 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10124
4d3ae034
CM
101252014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10126
10127 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10128 other files in the crypt directory.
10129 * crypt/crypt.c: Remove duplicate includes.
10130 * crypt/crypt-entry.c: Likewise.
10131 * crypt/crypt_util.c: Likewise.
10132
8540f6d2
JM
101332014-06-06 Joseph Myers <joseph@codesourcery.com>
10134
10135 * Makeconfig (run-program-env): New variable.
10136 (run-program-prefix-before-env): Likewise.
10137 (run-program-prefix-after-env): Likewise.
10138 (run-program-prefix): Define in terms of new variables.
10139 (built-program-cmd-before-env): New variable.
10140 (built-program-cmd-after-env): Likewise.
10141 (built-program-cmd): Define in terms of new variables.
10142 (test-program-prefix-before-env): New variable.
10143 (test-program-prefix-after-env): Likewise.
10144 (test-program-prefix): Define in terms of new variables.
10145 (test-program-cmd-before-env): New variable.
10146 (test-program-cmd-after-env): Likewise.
10147 (test-program-cmd): Define in terms of new variables.
10148 * Rules (make-test-out): Use $(run-program-env).
10149 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10150 (help): Do not mention environment variables. Mention
10151 --timeoutfactor option.
10152 (timeoutfactor): New variable.
10153 (blacklist_exports): Remove function.
10154 (exports): Remove variable.
10155 (command): Do not include ${exports}.
10156 * manual/install.texi (Configuring and compiling): Do not mention
10157 test wrappers preserving environment variables. Mention that last
10158 assignment to a variable must take precedence.
10159 * INSTALL: Regenerated.
10160 * benchtests/Makefile (run-bench): Use $(run-program-env).
10161 * catgets/Makefile ($(objpfx)test1.cat): Use
10162 $(built-program-cmd-before-env), $(run-program-env) and
10163 $(built-program-cmd-after-env).
10164 ($(objpfx)test2.cat): Do not specify environment variables
10165 explicitly.
10166 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10167 $(run-program-env) and $(built-program-cmd-after-env).
10168 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10169 $(run-program-env) and $(test-program-cmd-after-env).
10170 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10171 explicitly.
10172 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10173 run_program_env and test_program_cmd_after_env arguments.
10174 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10175 * elf/tst-pathopt.sh: Use run_program_env argument.
10176 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10177 $(test-wrapper-env) and $(run-program-env).
10178 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10179 run_program_env arguments.
10180 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10181 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10182 $(test-program-prefix-before-env), $(run-program-env) and
10183 $(test-program-prefix-after-env).
10184 ($(objpfx)tst-gettext2.out): Likewise.
10185 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10186 run_program_env and test_program_prefix_after_env arguments.
10187 * intl/tst-gettext2.sh: Likewise.
10188 * intl/tst-gettext4.sh: Do not set environment variables
10189 explicitly.
10190 * intl/tst-gettext6.sh: Likewise.
10191 * intl/tst-translit.sh: Likewise.
10192 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10193 $(test-program-prefix-before-env), $(run-program-env) and
10194 $(test-program-prefix-after-env).
10195 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10196 run_program_env and test_program_prefix_after_env arguments.
10197 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10198 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10199 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10200 explicitly with each use of ${test_wrapper_env}.
10201 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10202 $(test-program-prefix-before-env), $(run-program-env) and
10203 $(test-program-prefix-after-env).
10204 * posix/tst-getconf.sh: Do not set environment variables
10205 explicitly.
10206 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10207 run_program_env and test_program_prefix_after_env arguments.
10208 * stdio-common/tst-printf.sh: Do not set environment variables
10209 explicitly.
10210 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10211 $(test-program-prefix-before-env), $(run-program-env) and
10212 $(test-program-prefix-after-env).
10213 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10214 run_program_env and test_program_prefix_after_env arguments.
10215 Split $test calls into $test_pre and $test.
10216 * timezone/Makefile (build-testdata): Use
10217 $(built-program-cmd-before-env), $(run-program-env) and
10218 $(built-program-cmd-after-env).
10219
ed36bfa1
AZ
102202014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10221
10222 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10223 strlen for non SHARED builds.
10224
fc75bf46
SP
102252014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10226
10227 * nptl/allocatestack.c (check_list): Inlined function...
10228 (__reclaim_stacks): ... here.
10229
d89b3d80
OB
102302014-06-05 Ondřej Bílka <neleai@seznam.cz>
10231
10232 [BZ #15698]
10233 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10234 memory overrun.
10235
2bf18041
JM
102362014-06-05 Joseph Myers <joseph@codesourcery.com>
10237
10238 * Rules (make-test-out): Include
10239 LOCPATH=$(common-objpfx)localedata in default environment.
10240 * debug/Makefile (tst-chk1-ENV): Remove variable.
10241 (tst-chk2-ENV): Likewise.
10242 (tst-chk3-ENV): Likewise.
10243 (tst-chk4-ENV): Likewise.
10244 (tst-chk5-ENV): Likewise.
10245 (tst-chk6-ENV): Likewise.
10246 (tst-lfschk1-ENV): Likewise.
10247 (tst-lfschk2-ENV): Likewise.
10248 (tst-lfschk3-ENV): Likewise.
10249 (tst-lfschk4-ENV): Likewise.
10250 (tst-lfschk5-ENV): Likewise.
10251 (tst-lfschk6-ENV): Likewise.
10252 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10253 (tst-iconv7-ENV): Likewise.
10254 * intl/Makefile (LOCPATH-ENV): Likewise.
10255 (tst-codeset-ENV): Likewise.
10256 (tst-gettext3-ENV): Likewise.
10257 (tst-gettext5-ENV): Likewise.
10258 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10259 (tst-fopenloc-ENV): Likewise.
10260 (tst-fgetws-ENV): Remove variable.
10261 (tst-ungetwc1-ENV): Likewise.
10262 (tst-ungetwc2-ENV): Likewise.
10263 (bug-ungetwc2-ENV): Likewise.
10264 (tst-swscanf-ENV): Likewise.
10265 (bug-ftell-ENV): Likewise.
10266 (tst-fgetwc-ENV): Likewise.
10267 (tst-fseek-ENV): Likewise.
10268 (tst-ftell-partial-wide-ENV): Likewise.
10269 (tst-ftell-active-handler-ENV): Likewise.
10270 (tst-ftell-append-ENV): Likewise.
10271 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10272 (tst-regexloc-ENV): Likewise.
10273 (bug-regex1-ENV): Likewise.
10274 (tst-regex-ENV): Likewise.
10275 (tst-regex2-ENV): Likewise.
10276 (bug-regex5-ENV): Likewise.
10277 (bug-regex6-ENV): Likewise.
10278 (bug-regex17-ENV): Likewise.
10279 (bug-regex18-ENV): Likewise.
10280 (bug-regex19-ENV): Likewise.
10281 (bug-regex20-ENV): Likewise.
10282 (bug-regex22-ENV): Likewise.
10283 (bug-regex23-ENV): Likewise.
10284 (bug-regex25-ENV): Likewise.
10285 (bug-regex26-ENV): Likewise.
10286 (bug-regex30-ENV): Likewise.
10287 (bug-regex32-ENV): Likewise.
10288 (bug-regex33-ENV): Likewise.
10289 (bug-regex34-ENV): Likewise.
10290 (bug-regex35-ENV): Likewise.
10291 (tst-rxspencer-ENV): Likewise.
10292 (tst-rxspencer-no-utf8-ENV): Likewise.
10293 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10294 (tst-sscanf-ENV): Likewise.
10295 (tst-swprintf-ENV): Likewise.
10296 (tst-swscanf-ENV): Likewise.
10297 (test-vfprintf-ENV): Likewise.
10298 (scanf13-ENV): Likewise.
10299 (bug14-ENV): Likewise.
10300 (tst-grouping-ENV): Likewise.
10301 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10302 (tst-strtod3-ENV): Likewise.
10303 (tst-strtod4-ENV): Likewise.
10304 (tst-strtod5-ENV): Likewise.
10305 (testmb2-ENV): Likewise./
10306 * string/Makefile (tst-strxfrm-ENV): Likewise.
10307 (tst-strxfrm2-ENV): Likewise.
10308 (bug-strcoll1-ENV): Likewise.
10309 (test-strcasecmp-ENV): Likewise.
10310 (test-strncasecmp-ENV): Likewise.
10311 * time/Makefile (tst-strptime-ENV): Likewise.
10312 (tst-ftime_l-ENV): Likewise.
10313 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10314 (tst-mbrtowc-ENV): Likewise.
10315 (tst-wcrtomb-ENV): Likewise.
10316 (tst-mbrtowc2-ENV): Likewise.
10317 (tst-c16c32-1-ENV): Likewise.
10318 (tst-mbsnrtowcs-ENV): Likewise.
10319
cd1fb604
OB
103202014-06-05 Ondřej Bílka <neleai@seznam.cz>
10321
10322 * manual/resource.texi (How to get information about the memory
10323 subsystem?): Fix typo.
10324 Reported by Peon de la Parra Ivan <peon@keba.com>
10325
b42eca7d
GY
103262014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10327
10328 [BZ #16882]
10329 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10330 (pthread_spin_lock): Branch out of spin loop to proper location.
10331 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10332 (pthread_spin_lock): Likewise.
10333
902b71f9
DM
10334 * nptl/tst-spin4.c: New test.
10335 * nptl/Makefile (tests): Add tst-spin4.
10336
f9d2d032
AS
103372014-06-03 Andreas Schwab <schwab@suse.de>
10338
10339 [BZ #15946]
10340 * resolv/res_send.c (send_dg): Reload file descriptor after
10341 calling reopen.
10342
cf7bfd28
SL
103432014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10344
10345 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10346
111cc714
RH
103472014-06-03 Richard Henderson <rth@redhat.com>
10348
89b4bd6b
RH
10349 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10350 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10351 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10352 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10353 in the SAVE_PID block.
10354 (__libc_vfork): New alias.
71840409 10355 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 10356
111cc714
RH
10357 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10358 child in registers, not on the stack. Remove RESET_PID conditionals.
10359 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10360
ccc39911
MS
103612014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10362
10363 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10364
693096cc
W
103652014-06-03 Wilco <wdijkstr@arm.com>
10366
10367 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10368 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10369 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10370 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10371 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10372 Likewise.
10373
0b4366bc
W
103742014-06-03 Wilco <wdijkstr@arm.com>
10375
10376 * sysdeps/aarch64/fpu/math_private.h
10377 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10378 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10379 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10380 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10381 Fix declarations.
10382
8747cd03
KS
103832014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10384
10385 * crypt/crypt-private.h: Include ufc-crypt.h.
10386 (__b64_from_24bit): Declare extern.
10387 * crypt/crypt_util.c(__b64_from_24bit): New function.
10388 (b64t): New static const variable.
10389 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10390 (b64t): Remove variable.
10391 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10392 * crypt/sha256-crypt.c: Include crypt-private.h.
10393 (b64t): Remove variable.
10394 (__sha256_crypt_r): Remove b64_from_24bit and replace
10395 with __b64_from_24bit.
10396 * crypt/sha512-crypt.c: Likewise.
10397
d936d379
RM
103982014-06-02 Roland McGrath <roland@hack.frob.com>
10399
10400 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10401 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10402 Label the code __libc_vfork rather than __vfork.
10403 [!NOT_IN_libc] (vfork): Define as weak alias.
10404 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10405 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10406 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10407
9fa76613
SP
104082014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10409
10410 * malloc/malloc.c (malloc_info): Fix format specifier for
10411 n_mmaps.
10412
a88dadbe
W
104132014-06-02 Wilco <wdijkstr@arm.com>
10414
10415 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10416 FPCR write.
10417
c95b3011
W
104182014-06-02 Wilco <wdijkstr@arm.com>
10419
10420 [BZ #17009]
10421 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10422 Rewrite to reduce FPCR/FPSR accesses.
10423
6b4d7a90
DM
104242014-06-01 David S. Miller <davem@davemloft.net>
10425
10426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10427
30f3d07c
DM
104282014-05-31 David S. Miller <davem@davemloft.net>
10429
10430 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10431 to occur in round to nearest mode when |x| >= 2.0
10432
74f31c18
RH
104332014-05-30 Richard Henderson <rth@twiddle.net>
10434
f0712b54
RH
10435 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10436 (PSEUDO_RET_NOERRNO): Remove.
10437 (ret): Don't redefine.
10438 (ret_NOERRNO): Define in terms of ret.
10439 (ret_ERRVAL): Likewise.
10440
74f31c18
RH
10441 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10442 use of PSEUDO_RET; perform the error check directly.
10443
30477995
MM
104442014-05-30 Marko Myllynen <myllynen@redhat.com>
10445
10446 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10447 with __int128_t.
10448
62a58816
SP
104492014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10450
10451 * malloc/malloc (malloc_info): Fix formatting.
10452
4d653a59
SP
104532014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10454 Roland McGrath <roland@hack.frob.com>
10455
10456 * malloc/malloc (malloc_info): Also print mmapped statistics.
10457
5190c17f
RM
104582014-05-30 Roland McGrath <roland@hack.frob.com>
10459
10460 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10461 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10462
987c0269
OB
104632014-05-30 Ondřej Bílka <neleai@seznam.cz>
10464
10465 * malloc/malloc.c (malloc_info): Inline mi_arena.
10466
af4e8ef9
RH
104672014-05-29 Richard Henderson <rth@twiddle.net>
10468
1670e207
RH
10469 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10470 Remove comma before expanding ASM_ARGS_##nr.
10471 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10472 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10473 of ASM_ARGS_##nr.
10474 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10475 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10476 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10477 (ASM_ARGS_1): Add leading comma.
10478
11a28aee
RH
10479 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10480 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10481 to __errno_location.
10482 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10483 Remove the expected plt for __errno_location.
10484
a17e5ffb 10485 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 10486 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
10487 call to __read_tp.
10488
b5be4597
RH
10489 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10490 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10491 it and break it down.
10492 (DOCARGS_0, DOCARGS_1): Do nothing.
10493 (DOCARGS_2): Update to store into the new stack frame.
10494 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10495 (UNDOCARGS_1): Update to restore from the new stack frame.
10496 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10497 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10498
645d44ab
RH
10499 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10500 (SINGLE_THREAD_P): New parameter for result regno.
10501 (PSEUDO): Update to match; use cbz instead of beq.
10502
a8b4f04a
RH
10503 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10504 Use ENTRY to define the _nocancel entry point. Share the syscall
10505 and syscall error check paths with the cancel path.
10506 (PSEUDO_END): New.
10507
af4e8ef9
RH
10508 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10509 whitespace; tabs before and after asm mnemonics.
10510
26b0d2e1
EW
105112014-05-29 Eric Wong <normalperson@yhbt.net>
10512
10513 [BZ #15132]
10514 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10515 Call fstat64 or stat64 internally, depending on arguments passed.
10516 Replace stat buffer argument with file descriptor argument.
10517 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10518 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10519 Pass fd to __internal_statvfs instead of calling fstat64.
10520 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10521 Pass fd to __internal_statvfs64 instead of calling fstat64.
10522 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10523 Pass -1 to __internal_statvfs instead of calling stat64.
10524 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10525 Pass -1 to __internal_statvfs64 instead of calling stat64.
10526
1efe2bd9
RM
105272014-05-28 Roland McGrath <roland@hack.frob.com>
10528
0d3b7a19
RM
10529 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10530 that was previously under [RESET_PID].
10531 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10532
1efe2bd9
RM
10533 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10534 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10535
a6bea3ca
RM
105362014-05-27 Roland McGrath <roland@hack.frob.com>
10537
30b6629e
RM
10538 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10539
a6bea3ca
RM
10540 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10541 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10542
3dfb9a5c
OB
105432014-05-27 Ondřej Bílka <neleai@seznam.cz>
10544
10545 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10546
774f9285
AS
105472014-05-27 Andreas Schwab <schwab@suse.de>
10548
10549 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10550 TLS_INIT_TP macro.
10551 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10552 * elf/rtld.c (init_tls, dl_main): Likewise.
10553 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10554 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10555 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10556 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10557 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10558 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10559 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10560 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10561 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10562 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10563 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10564 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10565 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10566 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10567 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10568 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10569 * sysdeps/generic/tls.h: Update description.
10570
36ffe739
WN
105712014-05-27 Will Newton <will.newton@linaro.org>
10572
10573 [BZ #16990]
10574 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10575 and restore r2 rather than just restoring.
10576
2482ae43
SP
105772014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10578
10579 [BZ #16724]
10580 * libio/tst-ftell-append.c: New test case.
10581 * libio/Makefile (tests): Add test case.
10582 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10583 append mode.
10584 * libio/wfileops.c (do_ftell_wide): Likewise.
10585
3d1024e8
AZ
105862014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10587
bab90016
AZ
10588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10589
c7a8d667
AZ
10590 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10591 ...
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10594 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10595 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10596 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10597 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10598 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10599 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10600 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10601 Moved ...
10602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10604 Moved ...
10605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10606 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10607 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10608 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10609 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10610 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10611 ...
10612 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10613 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10614 Moved ...
10615 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10616 here.
10617 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10618 ...
10619 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10620 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10621 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10622
daee7851
AZ
10623 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10624 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10625 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10626 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10627
50a40819
AZ
10628 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10629 merge into ...
10630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10631 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10632 ...
10633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10634 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10635 ...
10636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10637 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10638 Moved ...
10639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10640 here.
10641 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10642 Moved ...
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10644 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10645 Moved ...
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10647
8464c2a1
AZ
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10649 conditional [RESET_PID].
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10651 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10652 removed.
10653 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10654 removed.
10655
3d1024e8
AZ
10656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10657 <tcb-offsets.h>.
10658 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10659 (__libc_vfork): New strong alias.
10660 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10661 removed.
10662 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10663 Removed.
10664
10665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10666 <tcb-offsets.h>.
10667 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10668 (__libc_vfork): New strong alias.
10669 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10670 removed.
10671 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10672 removed.
10673
fdfd175d
CD
106742014-05-26 Carlos O'Donell <carlos@redhat.com>
10675
10676 * malloc/malloc.c (mi_arena): New function.
10677 (malloc_info): Remove nested function mi_arena. Call non-nosted
10678 function mi_arena.
10679
d298c416
AZ
106802014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10681
10682 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10683 by insrwi.
10684 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10685 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10686 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10687 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10688 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10689 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10690 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10691
b60ea6ff
AS
106922014-05-26 Andreas Schwab <schwab@suse.de>
10693
10694 [BZ #16984]
10695 * locale/programs/repertoire.c (repertoire_read): Add slash
10696 between I18NPATH element and file name.
10697 * locale/programs/locfile.c (locfile_read): Likewise.
10698
67365926
SL
106992014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10700
10701 * nptl/pthread_mutexattr_settype.c
10702 (__pthread_mutexattr_settype):
10703 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10704
f8bdf1f0
SL
107052014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10706
10707 * nptl/tst-mutex5 (do_test):
10708 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10709
15eaf6ff
SP
107102014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10711
10712 * benchtests/README: Document 'init' directive.
10713 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10714 BENCH_INIT.
10715 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10716 (parse_file): Recognize 'init' directive.
10717
75f11331
KM
107182014-05-26 Kyle McMartin <kyle@redhat.com>
10719
10720 [BZ #16796]
10721 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10722 alignment of struct pthread.
10723
c3ec475c
SP
107242014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10725
10726 [BZ #16878]
10727 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10728 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10729 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10730 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10731
82aab97c
RH
107322014-05-25 Richard Henderson <rth@twiddle.net>
10733
aa2f176d
RH
10734 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10735 (SINGLE_THREAD_P_PIC): Remove.
10736 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10737 (SINGLE_THREAD_P_PIC): Remove.
10738
ca3cfa40
RH
10739 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10740 branch to syscall error ...
10741 (PSEUDO): ... here.
10742 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10743 from __local_syscall_error to .Lsyscall_error.
10744 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10745 (SYSCALL_ERROR): Update label name.
10746
6e6c2d01
RH
10747 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10748 Do not use DOARGS/UNDOARGS.
10749 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10750 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10751 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10752 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10753 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10754
c69abcee
RH
10755 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10756 block comment.
10757
82aab97c
RH
10758 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10759 define if !NOT_IN_libc.
10760 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10761 define with non-default symbol versions.
10762
8820e3ac
RH
107632014-05-23 Richard Henderson <rth@twiddle.net>
10764
900e445f
RH
10765 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10766 (vfork, __vfork): Define via compat_symbol.
10767
8820e3ac
RH
10768 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10769 [!HAVE_IFUNC] (vfork_compat): Remove.
10770 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10771
e59252a5
JM
107722014-05-23 Joseph Myers <joseph@codesourcery.com>
10773
10774 [BZ #16978]
10775 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10776 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10777 variable.
10778
132c7f5f
RH
107792014-05-23 Richard Henderson <rth@twiddle.net>
10780
bc89e962
RH
10781 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10782 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10783 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10784 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10785
10786 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10787 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10788 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10789 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10790 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10791 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10792 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10793 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10794 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10795 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10796 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10797 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10798 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10799 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10800 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10801 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10802 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10803 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10804 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10805 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10806 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10807 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10808 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10809 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10810 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10811 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10812 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10813 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10814 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10815 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10816 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10817 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10818 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10819 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10820 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10821 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10822 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10823 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10824 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10825 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10826 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10827 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10828 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10829 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10830 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10831 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10832 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10833 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10834 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10835 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10836 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10837 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10838 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10839 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10840 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10841 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10842
e2fa4bc2
RH
10843 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10844 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10845 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10846 before exiting on error.
10847 (__libc_vfork): New strong alias.
10848 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10849 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10850
279b24e2
RH
10851 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10852 that was previously under [RESET_PID].
10853 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10854
132c7f5f
RH
10855 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10856
b72592e7
JM
108572014-05-23 Joseph Myers <joseph@codesourcery.com>
10858
10859 [BZ #16977]
10860 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10861 value when x - 1 is zero.
10862 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10863 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10864 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10865 0.0L for an argument of 1.0L.
10866 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10867 Likewise.
10868 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10869 value when x - 1 is zero.
10870 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10871 * sysdeps/i386/fpu/libm-test-ulps: Update.
10872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10873
2302d679
RV
108742014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10875
10876 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10877 alphasort and versionsort.
10878
32999d63
AZ
108792014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10880
10881 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10882 macro.
10883 [copysignf]: Likewise.
10884
019324d0
SP
108852014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10886
10887 * crypt/md5-crypt.c: Fix formatting.
10888
34fff5c2
KS
108892014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10890
10891 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10892 (b64_from_24bit): New function.
10893
3d2badac
AZ
108942014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10895
10896 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10897 libc_hidden_builtin_def to ifunc.
10898 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10899 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10900
f7bb179f 109012014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
10902
10903 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10904 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10905
4134b50d
JM
109062014-05-21 Joseph Myers <joseph@codesourcery.com>
10907
bb7d0337
JM
10908 * nscd/Depend (linuxthreads): Remove.
10909 (nptl): Add.
10910 * resolv/Depend (linuxthreads): Remove.
10911 * rt/Depend (linuxthreads): Remove.
10912
4134b50d
JM
10913 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10914 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10915 $(common-objpfx)elf/.
10916 (link-libc-before-gnulib): Likewise.
10917 (elfobjdir): Remove variable.
10918 * Makefile (install): Use $(elf-objpfx) instead of
10919 $(common-objpfx)elf/.
10920 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10921 $(elfobjdir)/.
10922 (link-libc-deps): Likewise.
10923 ($(common-objpfx)libc.so): Likewise.
10924 ($(common-objpfx)linkobj/libc.so): Likewise.
10925 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10926 instead of $(common-objpfx)elf/.
10927 (symbolic-link-list): Likewise.
10928 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10929 [$(cross-compiling) = no]: Likewise.
10930 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10931 $(elfobjdir)/.
10932 (static-gnulib-arch): Likewise.
10933 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10934 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10935 $(common-objpfx)elf/.
10936
3612eb8f
RH
109372014-05-21 Richard Henderson <rth@redhat.com>
10938
a6b3657b
RH
10939 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10940 (SINGLE_THREAD_P): Use the correct width load. Fold
10941 into the ldr offset.
10942
3612eb8f
RH
10943 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10944 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10945
175cef41
JM
109462014-05-20 Joseph Myers <joseph@codesourcery.com>
10947
10948 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10949 (libgcc_s_resume): Use __attribute_used__.
10950 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10951 Likewise.
10952
e13bccd3
AZ
109532014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10954
10955 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10956 optimization when used with float constants.
10957
7c112a38
AZ
10958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10959
ae75a883
AJ
109602014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10961
10962 [BZ #16915]
10963 * locale/nl_langinfo_l.c: Make direct reference to every
10964 _nl_current_CATEGORY symbol.
10965 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10966 (tests-static): Add tst-langinfo-static.
10967 (tests-special): Add tst-langinfo-static.out.
10968 ($(objpfx)tst-langinfo.out): Redirect output.
10969 ($(objpfx)tst-langinfo-static.out): New.
10970 * localedata/tst-langinfo.sh: Send output to stdout.
10971 * localedata/tst-langinfo-static.c: New file.
10972
4406c41c
AJ
10973 [BZ #16965]
10974 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10975 when the shift amount is modulo the limb size.
10976
4c0a1e63
RH
109772014-05-20 Richard Henderson <rth@redhat.com>
10978
de9d8f20
RH
10979 [BZ #16967]
10980 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10981 Change type of sa_flags from unsigned int to int.
10982
4c0a1e63
RH
10983 [BZ #16966]
10984 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
10985
10986 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10987
a60339aa
WN
109882014-05-20 Will Newton <will.newton@linaro.org>
10989
10990 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10991 Test the return value of the system call in the nocancel case.
10992
7d05a816
YR
109932014-05-20 Will Newton <will.newton@linaro.org>
10994 Yvan Roux <yvan.roux@linaro.org>
10995
10996 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10997 #include of asm/ptrace.h.
10998 (PTRACE_GET_THREAD_AREA): Remove #undef.
10999 (PTRACE_GETHBPREGS): Likewise.
11000 (PTRACE_SETHBPREGS): Likewise.
11001 (struct user_regs_struct): New structure.
11002 (struct user_fpsimd_struct): New structure.
11003 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11004 #include of asm/ptrace.h and second #include of sys/user.h.
11005 (PTRACE_GET_THREAD_AREA): Remove #undef.
11006 (PTRACE_GETHBPREGS): Likewise.
11007 (PTRACE_SETHBPREGS): Likewise.
11008 (ELF_NGREG): Use new struct user_regs_struct.
11009 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11010
af121e37
AZ
110112014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11012
11013 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11014 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11015
834caf06
JM
110162014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11017
11018 [BZ #16958]
11019 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11020 membar to avoid block loads/stores to overlap previous stores.
11021
e184a918
RH
110222014-05-17 Richard Henderson <rth@redhat.com>
11023
11024 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11025 Create the __##syscall_name##_nocancel entry point.
11026 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11027 Remove; let the sysdep-cancel.h code create it.
11028
f56c7a6a
DM
110292014-05-17 David S. Miller <davem@davemloft.net>
11030
11031 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11032 Protect with __USE_GNU.
11033 (TIOCSET_TEMPT): Likewise.
11034 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11035 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11036 these are already provided in bits/ioctl-types.h
11037
f75616b2
RM
110382014-05-16 Roland McGrath <roland@hack.frob.com>
11039
3edeca86
RM
11040 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11041 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11042
f75616b2
RM
11043 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11044 Use wait4 regardless of [__NR_waitpid].
11045
deb0f7f6
MR
110462014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11047
11048 PR libgcc/60166
11049 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11050 (_FP_NANSIGN_Q): Set the quiet bit.
11051
79520f4b
JM
110522014-05-16 Joseph Myers <joseph@codesourcery.com>
11053
11054 * benchtests/Makefile
11055 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11056 not $(common-objpfx)math/libm.so.
11057 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11058 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11059 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11060 $(common-objpfx)dlfcn/libdl.so.
11061 ($(objpfx)tst-audit8): Depend on $(libm), not
11062 $(common-objpfx)math/libm.so.
11063 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11064 not $(common-objpfx)dlfcn/libdl.so.
11065 * math/Makefile
11066 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11067 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11068 [$(build-shared) = yes].
11069 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11070 $(common-objpfx)nptl/libpthread.so.
11071 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11072 $(common-objpfx)math/libm.so$(libm.so-version) or
11073 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11074 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11075 $(common-objpfx)dlfcn/libdl.so.
11076 * setjmp/Makefile (link-libm): Remove variable.
11077 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11078 * stdio-common/Makefile (link-libm): Remove variable.
11079 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11080 * stdlib/Makefile (link-libm): Remove variable.
11081 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11082 ($(objpfx)tst-strtod-round): Likewise.
11083 ($(objpfx)tst-tininess): Likewise.
11084 ($(objpfx)tst-strtod-underflow): Likewise.
11085 ($(objpfx)tst-strtod6): Likewise.
11086 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11087 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11088 $(common-objpfx)dlfcn/libdl.so.
11089
026b0fe4
AZ
110902014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11091
11092 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11093 BSD terminal modes definitions.
11094
def4bcb2
RM
110952014-05-16 Roland McGrath <roland@hack.frob.com>
11096
fe39b021
RM
11097 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11098 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11099
1d1fc46e 11100 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
11101 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11102 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11103 Don't do #include_next.
11104 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11105 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11106 Don't do #include_next.
11107 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11108 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11109 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11110 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11111
c72399fb
AM
111122014-05-16 Allan McRae <allan@archlinux.org>
11113
d51d659d
AM
11114 * po/sv.po: Update Swedish translation from translation project.
11115
c72399fb
AM
11116 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11117 in sed expression.
11118
d0583c40
AJ
111192014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11120
11121 [BZ #16917]
11122 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11123 errno if the TIOCGPTN ioctl fails with an error different than
11124 EINVAL.
11125 * login/tst-ptsname.c: New file.
11126 * login/Makefile (tests): Add tst-ptsname.
11127
d16e6ec7
AJ
11128 [BZ #16943]
11129 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11130 and prlimit64.
11131
cf26a0cb
SP
111322014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11133
11134 [BZ #16849]
11135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11136 herrno to return EAI_AGAIN.
11137
5675da1e
RM
111382014-05-14 Roland McGrath <roland@hack.frob.com>
11139
a5d87b3d
RM
11140 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11141 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11142 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11143 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11144 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11145 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11146 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11147 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11148 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11149 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11150 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11151 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11152 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11153 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11154 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11155 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11156 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11157 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11158 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11159 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11160 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11161 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11162 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11163 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11164 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11165 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11166 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11167 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11168 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11169 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11171 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11173 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11175 Moved ...
11176 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11178 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11180 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11182 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11184 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11186 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11188 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11190 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11192 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11194 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11196 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11198 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11200 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11202 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11204 Moved ...
11205 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11207 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11209 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11211 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11213 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11215 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11217 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11219 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11221 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11223 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11225 Moved ...
11226 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11228 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11229
039890a6
RM
11230 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11231 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11232 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11233 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11234 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11235 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11236 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11237 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11238 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11239 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11240 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11241 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11242 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11243 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11244 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11245 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11246 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11247 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11248 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11249 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11250 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11251 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11252 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11253 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11254 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11255 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11256 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11257 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11258 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11259 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11260 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11261
65c89320
RM
11262 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11263 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11264
348f8e8c
RM
11265 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11266 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11267 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11268 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11269 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11270 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11271 Moved ...
11272 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11273 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11274 Moved ...
11275 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11276 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11277 Moved ...
11278 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11279 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11280 Moved ...
11281 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11282 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11283 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11284 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11285 Moved ...
11286 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11287 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11288 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11289 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11290 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11291 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11292 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11293 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11294 Moved ...
11295 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11296 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11297 Moved ...
11298 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11299 ... here.
11300 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11301 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11302 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11303 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11304 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11305 Moved ...
11306 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11307 ... here.
11308 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11309 Moved ...
11310 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11311 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11312 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11313 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11314 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11315 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11316 Moved ...
11317 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11318 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11319 Moved ...
11320 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11321 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11322 Moved ...
11323 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11324 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11325 Moved ...
11326 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11327 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11328 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11329 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11330 Moved ...
11331 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11332 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11333 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11334 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11335 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11336 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11337 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11338 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11339 Moved ...
11340 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11341 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11342 Moved ...
11343 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11344 ... here.
11345 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11346 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11347 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11348 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11349 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11350 Moved ...
11351 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11352 ... here.
11353 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11354 Moved ...
11355 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11356 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11357 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11358 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11359 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11360 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11361 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11362 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11363 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11364 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11365 Moved ...
11366 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11367 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11368 Moved ...
11369 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11370 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11371 Moved ...
11372 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11373 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11374 Moved ...
11375 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11376 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11377 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11378 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11379 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11380 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11381 Moved ...
11382 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11383 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11384 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11385 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11386 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11387 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11388 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11389 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11390 Moved ...
11391 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11392 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11393 Moved ...
11394 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11395 ... here.
11396 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11397 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11398 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11399 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11400 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11401 Moved ...
11402 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11403 ... here.
11404 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11405 Moved ...
11406 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11407 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11408 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11409 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11410 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11411 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11412 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11413 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11414 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11415 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11416 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11417
5085af05
RM
11418 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11419 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11420
708f0813
RM
11421 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11422 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11423
c96067bc
RM
11424 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11425 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11426 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11427 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11428 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11429 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11430 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11431 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11432 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11433 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11434 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11435 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11436 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11437 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11438 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11439 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11440 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11441 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11442 Moved ...
11443 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11444 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11445 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11446 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11447 Moved ...
11448 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11449 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11450 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11451 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11452 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11453 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11454 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11455 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11456 Moved ...
11457 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11458 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11459 Moved ...
11460 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11461 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11462 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11463 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11464 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11465 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11466 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11467 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11468 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11469 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11470 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11471 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11472 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11473 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11474 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11475 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11476 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11477
ec136444
RM
11478 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11479 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11480 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11481 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11482 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11483
2fbdf533
RM
11484 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11485 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11486 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11487 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11488 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11489 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11490 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11491 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11492 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11493 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11494
4c68138b
RM
11495 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11496 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11497
4eaae765
RM
11498 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11499 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
11500 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11501 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11502 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11503 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11504 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11505 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11506 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11507 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11508 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11509 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11510 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11511 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11512 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11513 Update #include.
11514 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11515 Likewise.
11516 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11517 Likewise.
11518 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11519 Likewise.
11520 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11521 Likewise.
11522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11523 Likewise.
11524 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11525 Likewise.
11526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11527 Likewise.
11528 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11529 Likewise.
11530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11531 Likewise.
4ef6befa
RM
11532 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11533 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11534 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11535 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11536 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
11537 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11538 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11539 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11540 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11541 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11542 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11543 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11544 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11545 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11546 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 11547
941d7dfd
RM
11548 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11549 that was previously under [RESET_PID].
11550 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11551 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11552 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11553
1b731c35
RM
11554 * sysdeps/i386/nptl/Implies: New file.
11555 * sysdeps/x86_64/nptl/Implies: New file.
11556 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11557 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11558 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11559 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11560
e2787137
RM
11561 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11562 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11563 (__libc_vfork): New strong alias.
11564 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11565 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11566
11567 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11568 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11569 (__libc_vfork): New strong alias.
11570 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11571 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11572
5675da1e
RM
11573 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11574 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11575 (__libc_vfork): New strong alias.
11576 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11577 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11578 * nptl/pt-vfork.c: New file.
11579 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11580 (libpthread: GLIBC_2.20): New version set (empty).
11581
4f02e2b8
WN
115822014-05-14 Will Newton <will.newton@linaro.org>
11583
11584 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11585 rather than #if.
11586
0bf061d3
JM
115872014-05-14 Joseph Myers <joseph@codesourcery.com>
11588
1a84c3d6
JM
11589 [BZ #16564]
11590 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11591 arguments with exponent 65 or above.
11592 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11593 arguments 0x1p113L or above.
11594 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11595 to arguments 0x1p107L or above.
11596 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11597 positive arguments with exponent 65 or above.
11598 * math/auto-libm-test-in: Add more tests of log1p.
11599 * math/auto-libm-test-out: Regenerated.
11600
01dbacd2
JM
11601 [BZ #16928]
11602 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11603 non-finite arguments is +0.
11604 * math/s_cacosf.c (__cacosf): Likewise.
11605 * math/s_cacosl.c (__cacosl): Likewise.
11606 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11607 * sysdeps/i386/fpu/libm-test-ulps: Update.
11608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11609
913d03c8
JM
11610 [BZ #16927]
11611 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11612 value.
11613 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11614 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11615 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11616 for explicit high bit of mantissa when testing for argument equal
11617 to 1.
11618 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11619 * sysdeps/i386/fpu/libm-test-ulps: Update.
11620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11621
0bf061d3
JM
11622 [BZ #16516]
11623 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11624 (__erf): Scale by 16 instead of 8 in potentially underflowing
11625 case. Ensure exception if result actually underflows.
11626 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11627 (__erff): Scale by 16 instead of 8 in potentially underflowing
11628 case. Ensure exception if result actually underflows.
11629 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11630 (efx8): Remove variable.
11631 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11632 case. Ensure exception if result actually underflows.
11633 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11634 (efx8): Remove variable.
11635 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11636 case. Ensure exception if result actually underflows.
11637 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11638 (efx8): Remove variable.
11639 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11640 case. Ensure exception if result actually underflows.
11641 * math/auto-libm-test-in: Add more tests of erf.
11642 * math/auto-libm-test-out: Regenerated.
11643
73ba67cb
AS
116442014-05-14 Andreas Schwab <schwab@suse.de>
11645
3d8c8bff
AS
11646 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11647 Remove code conditionalized on USE___THREAD.
11648
73ba67cb
AS
11649 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11650 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11651 not definedness.
11652
5c521ecd
JM
116532014-05-14 Joseph Myers <joseph@codesourcery.com>
11654
5e7698c6
JM
11655 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11656 Define unconditionally.
11657 (__ASSUME_O_CLOEXEC): Likewise.
11658 (__ASSUME_SOCK_CLOEXEC): Likewise.
11659 (__ASSUME_IN_NONBLOCK): Likewise.
11660 (__ASSUME_PIPE2): Likewise.
11661 (__ASSUME_EVENTFD2): Likewise.
11662 (__ASSUME_SIGNALFD4): Likewise.
11663 (__ASSUME_DUP3): Likewise.
11664 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11665 (__ASSUME_DUP3): Do not define.
11666 (__ASSUME_EVENTFD2): Likewise.
11667 (__ASSUME_IN_NONBLOCK): Likewise.
11668 (__ASSUME_O_CLOEXEC): Likewise.
11669 (__ASSUME_PIPE2): Likewise.
11670 (__ASSUME_SIGNALFD4): Likewise.
11671 (__ASSUME_SOCK_CLOEXEC): Likewise.
11672 (__ASSUME_UTIMES): Undefine.
11673 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11674 (__ASSUME_UTIMES): Do not define.
11675 (__ASSUME_O_CLOEXEC): Likewise.
11676 (__ASSUME_SOCK_CLOEXEC): Likewise.
11677 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11678 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11679 0x020621].
11680 (__ASSUME_PIPE2): Likewise.
11681 (__ASSUME_EVENTFD2): Likewise.
11682 (__ASSUME_SIGNALFD4): Likewise.
11683 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11684 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11685 Do not define.
11686 (__ASSUME_EVENTFD2): Likewise.
11687 (__ASSUME_SIGNALFD4): Likewise.
11688 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11689 (__ASSUME_32BITUIDS): Likewise.
11690 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11691 (__ASSUME_IPC64): Likewise.
11692 (__ASSUME_ST_INO_64_BIT): Likewise.
11693 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11694 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11695 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11696 (__ASSUME_UTIMES): Do not define.
11697 (__ASSUME_PSELECT): Likewise.
11698 (__ASSUME_PPOLL): Likewise.
11699 (__ASSUME_O_CLOEXEC): Likewise.
11700 (__ASSUME_SOCK_CLOEXEC): Likewise.
11701 (__ASSUME_IN_NONBLOCK): Likewise.
11702 (__ASSUME_PIPE2): Likewise.
11703 (__ASSUME_EVENTFD2): Likewise.
11704 (__ASSUME_SIGNALFD4): Likewise.
11705 (__ASSUME_DUP3): Likewise.
11706 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11707 (__ASSUME_UTIMES): Likewise.
11708 (__ASSUME_O_CLOEXEC): Likewise.
11709 (__ASSUME_SOCK_CLOEXEC): Likewise.
11710 (__ASSUME_IN_NONBLOCK): Likewise.
11711 (__ASSUME_PIPE2): Likewise.
11712 (__ASSUME_EVENTFD2): Likewise.
11713 (__ASSUME_SIGNALFD4): Likewise.
11714 (__ASSUME_DUP3): Likewise.
11715 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11716 (__ASSUME_UTIMES): Likewise.
11717 (__ASSUME_O_CLOEXEC): Likewise.
11718 (__ASSUME_SOCK_CLOEXEC): Likewise.
11719 (__ASSUME_IN_NONBLOCK): Likewise.
11720 (__ASSUME_PIPE2): Likewise.
11721 (__ASSUME_EVENTFD2): Likewise.
11722 (__ASSUME_SIGNALFD4): Likewise.
11723 (__ASSUME_DUP3): Likewise.
11724 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11725 Likewise.
11726 (__ASSUME_UTIMES): Likewise.
11727 (__ASSUME_EVENTFD2): Likewise.
11728 (__ASSUME_SIGNALFD4): Likewise.
11729 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11730 (__ASSUME_O_CLOEXEC): Likewise.
11731 (__ASSUME_SOCK_CLOEXEC): Likewise.
11732 (__ASSUME_IN_NONBLOCK): Likewise.
11733 (__ASSUME_PIPE2): Likewise.
11734 (__ASSUME_EVENTFD2): Likewise.
11735 (__ASSUME_SIGNALFD4): Likewise.
11736 (__ASSUME_DUP3): Likewise.
11737 (__ASSUME_UTIMES): Undefine.
11738
5c521ecd
JM
11739 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11740 feclearexcept. Remove symbol versioning code.
11741 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11742 symbol versioning code.
11743 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11744 symbol versioning code.
11745 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11746 feupdateenv. Remove symbol versioning code.
11747 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11748 fegetexceptflag. Remove symbol versioning code.
11749 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11750 fesetexceptflag. Remove symbol versioning code.
11751 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11752 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11753 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11754 (__posix_fadvise64_l32): Remove prototype.
11755 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11756 code.
11757
5da9dfad
RM
117582014-05-13 Roland McGrath <roland@hack.frob.com>
11759
11760 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11761 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11762 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11763 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11764
893b4f37
SK
117652014-05-13 Sami Kerola <kerolasa@iki.fi>
11766
11767 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11768 current working directory
11769
e0db6517
RM
117702014-05-13 Roland McGrath <roland@hack.frob.com>
11771
58aa195d
RM
11772 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11773 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11774 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11775 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11776 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11777 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11778 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11779 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11780 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11781 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11782 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11783 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11784 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11785 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11786 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11787 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11788 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11789 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11790 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11791 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11792 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11793 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11794 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11795 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11796 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11797 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11798 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11799 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11800 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11801 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11802 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11803 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11804 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11805 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11806 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11807 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11808 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11809 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11810 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11811 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11812 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11813 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11814
8c6d01f0
RM
11815 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11816 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11817
11818 * sysdeps/unix/sysv/linux/arm/Makefile
11819 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11820 Add rt-aeabi_unwind_cpp_pr1.
11821 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11822 Add nptl-aeabi_unwind_cpp_pr1.
11823 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11824 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11825 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11826 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11827 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11828 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11829
11830 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11831 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11832 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11833 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11834
bba6da4e
RM
11835 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11836 Deconditionalize the code that was previously under [RESET_PID].
11837 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11838
e0db6517
RM
11839 * sysdeps/generic/exit-thread.h: New file.
11840 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11841 * include/unistd.h (__exit_thread): Remove declaration.
11842 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11843 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11844 * csu/libc-start.c: Include <exit-thread.h>.
11845 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11846 * nptl/pthread_create.c: Include <exit-thread.h>.
11847 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11848 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11849 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11850 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11851 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11852 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11853 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11854 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11855 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11856 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11857 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11858 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11859 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11860 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11861 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11862 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11863 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11864
01eb16fd
AS
118652014-05-13 Andreas Schwab <schwab@suse.de>
11866
11867 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11868
637461d9
JM
118692014-05-12 Joseph Myers <joseph@codesourcery.com>
11870
11871 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11872 (__ASSUME_UTIMES): Do not condition on kernel version.
11873 (__ASSUME_PSELECT): Define unconditionally.
11874 (__ASSUME_PPOLL): Likewise.
11875 (__ASSUME_ATFCTS): Likewise.
11876 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11877 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11878 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11879 (__ASSUME_UTIMENSAT): Define unconditionally.
11880 (__ASSUME_PRIVATE_FUTEX): Likewise.
11881 (__ASSUME_FALLOCATE): Likewise.
11882 (__ASSUME_O_CLOEXEC): Likewise.
11883 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11884 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11885 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11886 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11887 (__ASSUME_IN_NONBLOCK): Likewise.
11888 (__ASSUME_PIPE2): Likewise.
11889 (__ASSUME_EVENTFD2): Likewise.
11890 (__ASSUME_SIGNALFD4): Likewise.
11891 (__ASSUME_DUP3): Likewise.
11892 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11893 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11894 (__ASSUME_AT_RANDOM): Likewise.
11895 (__ASSUME_PREADV): Likewise.
11896 (__ASSUME_PWRITEV): Likewise.
11897 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11898 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11899 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11900 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11901 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11902 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11903 (__ASSUME_O_CLOEXEC): Define unconditionally.
11904 (__ASSUME_PSELECT): Do not undefine conditionally.
11905 (__ASSUME_PPOLL): Likewise.
11906 (__ASSUME_ATFCTS): Likewise.
11907 (__ASSUME_SET_ROBUST_LIST): Likewise.
11908 (__ASSUME_UTIMENSAT): Likewise.
11909 (__ASSUME_FDATASYNC): Define unconditionally.
11910 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11911 (__ASSUME_SIGFRAME_V2): Likewise.
11912 )__ASSUME_EVENTFD2): Likewise.
11913 (__ASSUME_SIGNALFD4): Likewise.
11914 (__ASSUME_PSELECT): Do not undefine conditionally.
11915 (__ASSUME_PPOLL): Likewise.
11916 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11917 (__ASSUME_PSELECT): Define unconditionally.
11918 (__ASSUME_PPOLL): Likewise.
11919 (__ASSUME_O_CLOEXEC): Likewise.
11920 (__ASSUME_SOCK_CLOEXEC): Likewise.
11921 (__ASSUME_IN_NONBLOCK): Likewise.
11922 (__ASSUME_PIPE2): Likewise.
11923 (__ASSUME_EVENTFD2): Likewise.
11924 (__ASSUME_SIGNALFD4): Likewise.
11925 (__ASSUME_DUP3): Likewise.
11926 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11927 (__ASSUME_O_CLOEXEC): Likewise.
11928 (__ASSUME_SOCK_CLOEXEC): Likewise.
11929 (__ASSUME_IN_NONBLOCK): Likewise.
11930 (__ASSUME_PIPE2): Likewise.
11931 (__ASSUME_EVENTFD2): Likewise.
11932 (__ASSUME_SIGNALFD4): Likewise.
11933 (__ASSUME_DUP3): Likewise.
11934 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11935 (__ASSUME_EVENTFD2): Likewise.
11936 (__ASSUME_SIGNALFD4): Likewise.
11937 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11938
315eb1d8
AS
119392014-05-12 Andreas Schwab <schwab@suse.de>
11940
11941 [BZ #16932]
11942 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11943 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11944 than maximum RPC packet size.
11945 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11946 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11947 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11948 (_nss_nis_getservbyport_r): Likewise.
11949
91df99f7
WN
119502014-05-12 Will Newton <will.newton@linaro.org>
11951
11952 * malloc/Makefile (tests): Add tst-mallopt.
11953 * malloc/tst-mallopt.c: New file.
11954
0a982a29
RM
119552014-05-09 Roland McGrath <roland@hack.frob.com>
11956
11957 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11958 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11959
0ded08a5
AZ
119602014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11961
11962 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11963 (tst-tlsmod6.so): Likewise.
11964
55d4d550
RM
119652014-05-09 Roland McGrath <roland@hack.frob.com>
11966
11967 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11968
77d08aca
JM
119692014-05-09 Joseph Myers <joseph@codesourcery.com>
11970
11971 [BZ #16064]
11972 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11973 and <dl-procinfo.h>.
11974 (__fegetenv): Save SSE state in envp->__eip if supported.
11975 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11976 envp->__eip if supported.
11977 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11978 and <dl-procinfo.h>.
11979 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11980 __data_offset and __data_selector in environment to 0. Set SSE
11981 state if supported.
11982 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11983 test-fenv-sse.
11984 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11985 -mfpmath=sse.
11986 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11987
28162f4d
WN
119882014-05-09 Will Newton <will.newton@linaro.org>
11989
11990 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11991 and libc_relro_required for ARM.
11992 * sysdeps/arm/preconfigure: Regenerate.
11993
5a414ff7
DV
119942014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11995 Stefan Liebler <stli@linux.vnet.ibm.com>
11996
11997 * config.make.in (enable-lock-elision): New Makefile variable.
11998 * configure.ac: Likewise.
11999 * configure: Regenerate.
12000 * sysdeps/s390/configure.ac:
12001 Add check for gcc transactions support.
12002 * sysdeps/s390/configure: Regenerate.
12003 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12004 Build elision files if enabled.
12005 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12006 Add lock elision support for s390.
12007 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12008 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12009 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12010 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12011 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12012 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12013 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12014 Likewise.
12015 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12016 Likewise.
12017 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12018 Likewise.
12019 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12020 Likewise.
12021 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12022 (__lll_timedlock_elision, __lll_lock_elision)
12023 (__lll_unlock_elision, __lll_trylock_elision)
12024 (lll_timedlock_elision, lll_lock_elision)
12025 (lll_unlock_elision, lll_trylock_elision): Add.
12026 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12027 (pthread_mutex_t): Add lock elision support for s390.
12028
1a2f40e5
W
120292014-05-14 Wilco <wdijkstr@arm.com>
12030
12031 * sysdeps/arm/fclrexcpt.c: Cleanup.
12032 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12033 * sysdeps/arm/feenablxcpt.c: Cleanup.
12034 * sysdeps/arm/fegetenv.c: Cleanup.
12035 * sysdeps/arm/fegetexcept.c: Cleanup.
12036 * sysdeps/arm/fegetround.c: Cleanup.
12037 * sysdeps/arm/feholdexcpt.c: Cleanup.
12038 * sysdeps/arm/fesetenv.c: Cleanup.
12039 * sysdeps/arm/fesetround.c: Cleanup.
12040 * sysdeps/arm/feupdateenv.c: Cleanup.
12041 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12042 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12043 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12044 * sysdeps/arm/ftestexcept.c: Cleanup.
12045 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12046 * sysdeps/arm/setfpucw.c: Cleanup.
12047
f63c86fe
WN
120482014-05-09 Will Newton <will.newton@linaro.org>
12049
12050 * sysdeps/arm/armv7/strcmp.S: New file.
12051 * NEWS: Mention addition of ARMv7 optimized strcmp.
12052
7a1a51b5
RM
120532014-05-08 Roland McGrath <roland@hack.frob.com>
12054
95afbbe5
RM
12055 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12056 look for %.ac rather than %.in.
12057
12058 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12059 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12060 * sysdeps/mach/hurd/configure: Regenerated.
12061 * sysdeps/unix/sysv/linux/configure: Regenerated.
12062
7a1a51b5
RM
12063 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12064
5057ad3b
SE
120652014-05-07 Steve Ellcey <sellcey@mips.com>
12066
12067 [BZ# 16922]
12068 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12069 (LONG_SUB): Ditto.
12070 (PTR_SUB): Ditto.
12071
8dc97517
AS
120722014-05-07 Andreas Schwab <schwab@suse.de>
12073
12074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12075 when skipping over non-matching result from nscd.
12076
ce0c5b8f
OB
120772014-05-07 Ondřej Bílka <neleai@seznam.cz>
12078
12079 [BZ #16876]
12080 * nptl/sockperf.c (client): Check socket return value.
8dc97517 12081
a1189263
OB
12082 [BZ #16877]
12083 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12084 nscd security class.
ce0c5b8f 12085
0f58d252
RM
120862014-05-06 Roland McGrath <roland@hack.frob.com>
12087
12088 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12089 * sysdeps/arm/unwind.h: ... here.
12090
83df9ad0
AJ
120912014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12092
ce0c5b8f
OB
12093 [BZ# 16916]
12094 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12095 Define.
83df9ad0 12096
f360f94a
VR
120972014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12098
12099 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12100 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12101 multiarch strncpy for PPC64.
12102 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12103 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12105 multiarch optimizations.
12106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12107 (__libc_ifunc_impl_list): Likewise.
12108 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12109 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12110 multiarch stpncpy for PPC64.
12111 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12112 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12113
978a41c3
AS
121142014-05-06 Andreas Schwab <schwab@suse.de>
12115
12116 [BZ #16912]
12117 * gmon/mcount.c (_MCOUNT_DECL): Use
12118 atomic_compare_and_exchange_bool_acq instead of
12119 catomic_compare_and_exchange_bool_acq.
12120
eb1ed03d
RM
121212014-05-05 Roland McGrath <roland@hack.frob.com>
12122
fe658845
RM
12123 * elf/Makefile (others, install-bin): Remove pldd.
12124 (pldd-modules): Variable removed.
12125 ($(objpfx)pldd): Target removed.
12126 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12127 (others, install-bin): Append pldd here.
12128 ($(objpfx)pldd): New target.
12129
eb1ed03d
RM
12130 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12131 to 0, so the first #if test emitted later doesn't see it undefined.
12132 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12133 * sysdeps/gnu/errlist.c: Regenerated.
12134
19c4bec0
AZ
121352014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12136
12137 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12138 [libc_hidden_builtin_def]: Define to empty value.
12139 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12140 [libc_hidden_builtin_def]: Likewise.
12141 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12142 [libc_hidden_builtin_def]: Likewise.
12143 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12144 [libc_hidden_builtin_def]: Likewise.
12145 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12146 __redirect_memcpy and define ifunc as default hidden symbol.
12147 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12148 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12149
7776e669
AC
121502014-05-04 Adam Conrad <adconrad@0c3.net>
12151
12152 * locale/iso-4217.def: Reintroduce XDR currency.
12153
d69aeb12
AM
121542014-05-04 Allan McRae <allan@archlinux.org>
12155
12156 * po/eo.po: Update Esperanto translation from translation project.
12157
8f1df5cf
CD
121582014-05-02 Carlos O'Donell <carlos@redhat.com>
12159
12160 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12161 and FEATURE_INDEX_MAX to 1.
12162 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12163
13e402e7
SE
121642014-05-01 Steve Ellcey <sellcey@mips.com>
12165
12166 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12167 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12168 * iconvdata/big5.c (ONE_DIRECTION): Define.
12169 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12170 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12171 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12172 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12173 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12174 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12175 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12176 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12177 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12178 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12179 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12180 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12181 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12182 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12183 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12184 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12185 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12186 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12187 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12188 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12189 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12190 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12191 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12192 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12193 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12194 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12195 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12196 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12197 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12198 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12199 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12200 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12201 * iconvdata/johab.c (ONE_DIRECTION): Define.
12202 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12203 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12204 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12205 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12206 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12207 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12208 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12209 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12210 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12211 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12212
c727f032
RM
122132014-05-01 Roland McGrath <roland@hack.frob.com>
12214
8f2f08d0
RM
12215 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12216 (_IO_JUMPS_OFFSET): Define to 0.
12217
c727f032
RM
12218 * nptl/sysdeps/pthread/bits/libc-lock.h
12219 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12220 (__libc_lock_define_initialized_recursive): Always define using
12221 initializer. Modern compilers treat uninitialized (implicit zero) and
12222 explicit zero initializers the same (i.e. put the datum in bss).
12223
a849e800
AS
122242014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12225
12226 * nscd/nscd-client.h: Include <string.h>.
12227
5331255b
DM
122282014-05-01 David S. Miller <davem@davemloft.net>
12229
12230 [BZ #16885]
12231 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12232 multiple zero bytes exist at the end of a string.
12233 Reported by Aurelien Jarno <aurelien@aurel32.net>
12234
12235 * string/test-strcmp.c (check): Add explicit test for situations where
12236 there are multiple zero bytes after the first.
12237
4fdfe821
AS
122382014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12239
12240 [BZ #16890]
12241 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12242 when compiling wprintf.
12243 * stdio-common/tstdiomisc.c (t3): New function.
12244 (main): Call it.
12245
0cdddc25
SE
122462014-05-01 Steve Ellcey <sellcey@mips.com>
12247
12248 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12249 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12250 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12251 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12252
6426d77e
SE
122532014-05-01 Steve Ellcey <sellcey@mips.com>
12254
12255 * stdlib/longlong.h: Updated from GCC.
12256
6d96f5e4
WN
122572014-05-01 Will Newton <will.newton@linaro.org>
12258 Bernard Ogden <bernie.ogden@linaro.org>
12259
7470db0c
WN
12260 * NEWS: Update fixed bug list.
12261
6d96f5e4
WN
12262 [BZ #15119]
12263 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12264
211d653c
DM
122652014-04-30 David S. Miller <davem@davemloft.net>
12266
4fa262fa
DM
12267 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12268 (libc_feholdexcept_setround_sparc_ctx): New function.
12269 (libc_fesetenv_sparc_ctx): Likewise.
12270 (libc_feupdateenv_sparc_ctx): Likewise.
12271 (libc_feholdsetround_sparc_ctx): Likewise.
12272 (libc_feholdexcept_setround_ctx): Define.
12273 (libc_feholdexcept_setroundf_ctx): Likewise.
12274 (libc_feholdexcept_setroundl_ctx): Likewise.
12275 (libc_fesetenv_ctx): Likewise.
12276 (libc_fesetenvf_ctx): Likewise.
12277 (libc_fesetenvl_ctx): Likewise.
12278 (libc_feupdateenv_ctx): Likewise.
12279 (libc_feupdateenvf_ctx): Likewise.
12280 (libc_feupdateenvl_ctx): Likewise.
12281 (libc_feresetround_ctx): Likewise.
12282 (libc_feresetroundf_ctx): Likewise.
12283 (libc_feresetroundl_ctx): Likewise.
12284 (libc_feholdsetround_ctx): Likewise.
12285 (libc_feholdsetroundf_ctx): Likewise.
12286 (libc_feholdsetroundl_ctx): Likewise.
12287
1d3d93ef
DM
12288 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12289 with __USE_GNU instead of XOPEN cpp guards.
12290
8aa583c3
DM
12291 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12292 0.
12293
211d653c
DM
12294 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12295 with XOPEN cpp guards.
12296
60c8f1f6
JB
122972014-04-30 Julian Brown <julian@codesourcery.com>
12298
12299 [BZ #16888]
12300 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12301 handling.
12302
9a461d46
JM
123032014-04-30 Joseph Myers <joseph@codesourcery.com>
12304
d0f5b3f8
JM
12305 [BZ #9894]
12306 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12307 Change to 2.6.32.
12308 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12309 * sysdeps/unix/sysv/linux/configure: Regenerated.
12310 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12311 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12312 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12313 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12314 * README: Update reference to required Linux kernel version.
12315 * manual/install.texi (Linux): Update reference to required Linux
12316 kernel headers version.
12317 * INSTALL: Regenerated.
12318
9a461d46
JM
12319 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12320 header inclusion.
12321 [POSIX] (limits.h): Likewise.
12322 [POSIX] (math.h): Likewise.
12323 [POSIX] (sys/wait.h): Likewise.
12324 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12325 function.
12326 [POSIX] (stddef.h): Do not allow header inclusion.
12327
1775babf
AZ
123282014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12329
57f41c40 12330 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 12331
8f630cca
YY
123322014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12333
12334 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12335 Return immediately after lll_futex_wake.
12336
1cdeb237
SP
123372014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12338
bc8f194c
SP
12339 [BZ #16791]
12340 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12341 structure.
12342 (datahead_init_pos): Call datahead_init_common early.
12343 (datahead_init_neg): Likewise.
12344
1cdeb237
SP
12345 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12346 datahead_init_neg): New functions.
12347 * nscd/aicache.c (addhstaiX): Use them.
12348 * nscd/grpcache.c (cache_addgr): Likewise.
12349 * nscd/hstcache.c (cache_addhst): Likewise.
12350 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12351 * nscd/netgroupcache.c (do_notfound): Likewise.
12352 (addgetnetgrentX): Likewise.
12353 (addinnetgrX): Likewise.
12354 * nscd/pwdcache.c (cache_addpw): Likewise.
12355 * nscd/servicescache.c (cache_addserv): Likewise.
12356
16b293a7
SP
123572014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12358 Atsushi Onoe <atsushi@onoe.org>
12359
12360 [BZ #14308]
12361 [BZ #12994]
12362 [BZ #13651]
12363 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12364 one response is valid.
12365 * resolv/res_send.c (send_dg): Check for validity of other
12366 response if the current response is a referral.
12367
a28a9b94
SE
123682014-04-29 Steve Ellcey <sellcey@mips.com>
12369
12370 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12371
2ca180e9
SL
123722014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12373
12374 [BZ #16823]
12375 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12376 Always divide by positive zero when computing -Inf result.
12377 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12378 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12379
18f2945a
AZ
123802014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12381
12382 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12383 FPSCR if value do not change.
12384 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12385 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12386 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12387 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12388 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12389 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12390 function.
12391
5abebba4
CD
123922014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12393
12394 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12395 * sysdeps/unix/sysv/linux/hppa: Move directory from
12396 ports/systeps/unix/sysv/linux/hppa.
12397 * README: Update listing for hppa-*-linux-gnu.
12398
f7ed60c2
OB
123992014-04-28 Ondřej Bílka <neleai@seznam.cz>
12400
fff763a5
OB
12401 [BZ #16754]
12402 * manual/stdio.texi (Hook functions): Fix types of stream hook
12403 functions.
f7ed60c2
OB
12404 [BZ #16854]
12405 * socket/sys/socket.h: Fix typo in comment.
12406
df639d73
WD
124072014-04-28 Wilco <wdijkstr@arm.com>
12408
f7ed60c2 12409 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
12410 * sysdeps/arm/math_private.h: New file.
12411 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12412
48332d82
L
124132014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12414
12415 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12416 with __int128_t.
12417 (La_x86_64_retval): Likewise.
12418
e5e0d9a4
IB
124192014-04-24 Ian Bolton <ian.bolton@arm.com>
12420
12421 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12422 fpsr if value didn't change.
12423 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12424 to fpcr if value didn't change.
12425 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12426 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12427 fpsr or fpcr if value didn't change.
12428 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12429 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12430 fpcr if value didn't change.
12431 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12432 to fpsr if value didn't change.
12433
bacc75f7
SP
124342014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12435
12436 * nptl/tst-sem3.c: Use test-skeleton.c
12437 (main): Rename to do_test. Use return instead of
12438 exit.
12439 * nptl/tst-sem4.c: Use test-skeleton.c
12440 (main): Rename to do_test.
12441
a059d359
DM
124422014-04-22 David S. Miller <davem@davemloft.net>
12443
12444 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12445 (struct sigaction): New struct member __glibc_reserved0, change
12446 type of sa_flags to int.
12447
ea6c92f3
YZ
124482014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12449
12450 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12451 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12452
766c4a36
SP
124532014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12454
12455 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12456 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12457
140cc7ab
VK
124582014-04-22 Will Newton <will.newton@linaro.org>
12459 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12460
12461 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12462 (__longjmp): Add longjmp and longjmp_target SystemTap
12463 probes.
12464 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12465 (__sigsetjmp): Add setjmp SystemTap probe.
12466
c54e5cf7
CD
124672014-04-17 Carlos O'Donell <carlos@redhat.com>
12468
12469 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12470 match manual order.
12471
75ffb047
AZ
124722014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12473
12474 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12475
2cd925f7
AZ
12476 * sysdeps/powerpc/fpu/fenv_private.h
12477 (libc_feholdexcept_setroundl_ctx): Define to
12478 libc_feholdexcept_setround_ppc_ctx.
12479 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12480 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12481 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12482 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12483
39e6cd8d
IB
124842014-04-17 Ian Bolton <ian.bolton@arm.com>
12485
12486 * sysdeps/aarch64/math-tests.h: New file.
12487
f9281df9
SY
124882014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12489
12490 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12491 New.
12492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12493 Check and set bit_AVX2_Usable.
12494 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12495 macro.
12496 (bit_AVX2): Likewise.
12497 (index_AVX2_Usable): Likewise.
12498 (CPUID_AVX2): Likewise.
12499 (HAS_AVX2): Likewise.
12500
37d35007
WN
125012014-04-17 Will Newton <will.newton@linaro.org>
12502
7c677662
WN
12503 * manual/setjmp.texi (System V contexts): Add note that
12504 calling setcontext on a context created by a call to a
12505 signal handler is undefined. Update text to note that
12506 setcontext from a signal handler is possible but not
12507 recommended.
12508
37d35007 12509 [BZ #16629]
e04a4e9d
WN
12510 * stdlib/tst-setcontext.c: Include signal.h.
12511 (main): Check that the signal stack before and
12512 after swapcontext is the same.
12513
37d35007
WN
12514 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12515 Re-implement to restore registers in user code and avoid
12516 rt_sigreturn system call.
12517
423a7160
W
125182014-04-17 Wilco <wdijkstr@arm.com>
12519
12520 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12521 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12522 * math/test-fenv.c: Skip exception trap tests on targets which only
12523 support non-stop mode.
12524
bc93ab29
IB
125252014-04-17 Ian Bolton <ian.bolton@arm.com>
12526 Wilco Dijkstra <wilco.dijkstra@arm.com>
12527
12528 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12529 (libc_feholdsetround_aarch64_ctx)
12530 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12531 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12532 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12533 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12534 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12535 (libc_feresetround_noexl_ctx): Define.
12536
95fc5fa3
RH
125372014-04-16 Richard Henderson <rth@redhat.com>
12538
ddb04724
RH
12539 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12540
d77c0899
RH
12541 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12542 unwind tables.
12543
a3df56fc
RH
12544 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12545 const from the non-libc, non-ldso copy.
12546
95fc5fa3
RH
12547 * sysdeps/alpha/libm-test-ulps: Regenerate.
12548
7e0b6763
IB
125492014-04-16 Ian Bolton <ian.bolton@arm.com>
12550 Wilco Dijkstra <wilco.dijkstra@arm.com>
12551
12552 * sysdeps/aarch64/fpu/math_private.h: New file.
12553
a9ea2e0c
MS
125542014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12555
12556 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12557
ea8ba7cd
IZ
125582014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12559
7e54fd04 12560 [BZ #16275]
ea8ba7cd
IZ
12561 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12562 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12563 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12564 Intel MPX bound registers before _dl_profile_fixup.
12565 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12566 registers after _dl_profile_fixup. Save and restore bound
12567 registers bnd0/bnd1 when calling _dl_call_pltexit.
12568 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12569 (LR_BND_OFFSET): Likewise.
12570 (LRV_BND0_OFFSET): Likewise.
12571 (LRV_BND1_OFFSET): Likewise.
12572
9f2a4fbc
ST
125732014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12574
12575 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12576 to...
12577 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
12578 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12579 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12580 fields.
9f2a4fbc 12581
fd15a59b
ST
125822014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12583
12584 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12585
f19dfa0a
SL
125862014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12587
12588 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12589
4fa8bc3b
SL
125902014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12591
12592 [BZ #14770]
12593 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12594 * sysdeps/s390/configure: Regenerate.
12595
8ea587db
SL
12596 [BZ #16824]
12597 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12598 Set round-to-nearest internally to reduce error accumulation.
12599
aa5f0ff1
AM
126002014-04-16 Alan Modra <amodra@gmail.com>
12601
12602 [BZ #16740]
12603 [BZ #16619]
12604 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12605 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 12606 * NEWS: Update fixed bug list.
aa5f0ff1 12607
bb9c256f
SP
126082014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12609
12610 * benchtests/Makefile: Depend on libraries in build directory.
12611 (bench-math): Separate out math tests.
12612 (bench-pthread): Separate out pthread tests.
12613 (bench): Include math and pthread tests.
12614
f737dfd0
CD
126152014-04-14 Carlos O'Donell <carlos@redhat.com>
12616
12617 [BZ #16831]
12618 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12619 _dl_debug_initialize.
12620
0699f766
CD
12621 * configure.ac: Remove SELinux header check.
12622 * configure: Regenerate.
12623 * nscd/selinux.c (perms): Array of const char* to permission names.
12624 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12625 default policy. Call string_to_security_class and string_to_av_perm to
12626 translate strings. Enforce default policy and call avs_has_perm with
12627 results of translated strings.
12628
809bd45f
DM
126292014-04-13 David S. Miller <davem@davemloft.net>
12630
12631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12632
89e691f2
AM
126332014-04-12 Allan McRae <allan@archlinux.org>
12634
12635 [BZ #16838]
12636 * manual/string.texi (Collation Functions): Fix qsort argument
12637 order in example.
12638 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12639
9c9daaeb
CM
126402014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12641
12642 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12643 Make the test a no-op if there are no exceptions defined.
12644
95561fb9
PP
126452014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12646
fe8d072c 12647 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
12648 enable-hardcoded-path-in-tests
12649
970c602a
WN
126502014-04-11 Will Newton <will.newton@linaro.org>
12651
12652 * benchtests/Makefile (extra-objs): Add json-lib.o.
12653 (bench-func): Tidy up JSON output.
12654 * benchtests/bench-skeleton.c: Include json-lib.h.
12655 (main): Use JSON library functions to do output of
12656 benchmark results.
12657 * benchtests/bench-timing-type.c (main): Output the
12658 timing type simply, leaving formatting to the user.
12659 * benchtests/json-lib.c: New file.
12660 * benchtests/json-lib.h: Likewise.
12661
36875b06
TR
126622014-04-11 Torvald Riegel <triegel@redhat.com>
12663
12664 [BZ #15215]
12665 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12666 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12667 memory barriers. Add comments.
12668 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12669 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12670 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12671 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12672 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12673 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12674
579db35a
SL
126752014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12676
12677 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12678 * sysdeps/s390/s390-64/configure.ac: ... this ...
12679 * sysdeps/s390/configure.ac: ... to here.
12680 * sysdeps/s390/s390-32/configure: Delete file.
12681 * sysdeps/s390/s390-64/configure: Delete file.
12682 * sysdeps/s390/configure: Regenerate.
12683
c12e9f37
JAPH
126842014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12685
12686 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12687
439bda32
WN
126882014-04-11 Will Newton <will.newton@linaro.org>
12689
12690 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12691 to zero if it is not defined elsewhere. (mtrim): Test
12692 the value of MALLOC_DEBUG with #if rather than #ifdef.
12693
6a5d6ea1
TR
126942014-04-10 Torvald Riegel <triegel@redhat.com>
12695
12696 * benchtests/pthread_once-inputs: New file.
12697 * benchtests/pthread_once-source.c: New file.
12698 * benchtests/README: Update documentation.
12699
a4c75cfd
IZ
127002014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12701 H.J. Lu <hongjiu.lu@intel.com>
12702
7e54fd04 12703 [BZ #16275]
a4c75cfd
IZ
12704 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12705 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12706 * sysdeps/x86_64/configure: Regenerated.
12707 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12708 macro.
12709 (REGISTER_SAVE_RAX): Likewise.
12710 (REGISTER_SAVE_RCX): Likewise.
12711 (REGISTER_SAVE_RDX): Likewise.
12712 (REGISTER_SAVE_RSI): Likewise.
12713 (REGISTER_SAVE_RDI): Likewise.
12714 (REGISTER_SAVE_R8): Likewise.
12715 (REGISTER_SAVE_R9): Likewise.
12716 (REGISTER_SAVE_BND0): Likewise.
12717 (REGISTER_SAVE_BND1): Likewise.
12718 (REGISTER_SAVE_BND2): Likewise.
12719 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12720 bound registers when calling _dl_fixup.
12721
27822ce6
AZ
127222014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12723
12724 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
12725 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12726 of its definition.
27822ce6
AZ
12727 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12728 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12729 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12730 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12731 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12732 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12733 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12734
a88ddc90
PTB
127352014-04-09 Peter Brett <peter@peter-b.co.uk>
12736
12737 [BZ #15514]
12738 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12739 pathconf(_PC_NAME_MAX).
12740
01f8eac2
AZ
127412014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12742
12743 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12744 Remove macro usage.
12745 (__PTHREAD_SPINS): Move definition to ...
12746 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12747 (__PTHREAD_SPINS): ... here.
12748 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12749 (__PTHREAD_SPIN): Likewise.
12750 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12751 (__PTHREAD_SPIN): Likewise.
12752 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12753 (__PTHREAD_SPIN): Likewise.
12754 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12755 (__PTHREAD_SPIN): Likewise.
12756 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12757 (__PTHREAD_SPIN): Likewise.
12758 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12759 (__PTHREAD_SPIN): Likewise.
12760 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12761 (__PTHREAD_SPIN): Likewise.
12762 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12763 (__PTHREAD_SPIN): Likewise.
12764 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12765 (__PTHREAD_SPIN): Likewise.
12766 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12767 (__PTHREAD_SPIN): Likewise.
12768 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12769 (__PTHREAD_SPIN): Likewise.
12770 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12771 (__PTHREAD_SPIN): Likewise.
12772
de21c33c
AZ
12773 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12774 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12775 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12776 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12777 imply folder.
12778 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12779 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12780 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12781 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12782 correct imply path.
12783 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12784 strlen symbol for non multi-arch builds.
12785 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12786 missing hidden_def and weak_alias.
12787
862c472e
CD
127882014-04-08 Carlos O'Donell <carlos@redhat.com>
12789
12790 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12791
8667f90e
WN
127922014-04-07 Will Newton <will.newton@linaro.org>
12793
12794 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12795 and contents. [!_LIBC] Remove #ifndef and contents.
12796 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12797 * string/memccpy.c (__memccpy): Use ANSI prototype.
12798 * string/memfrob.c (memfrob): Likewise.
12799 * string/strcoll.c (STRCOLL): Likewise.
12800 * string/strlen.c (strlen): Likewise.
12801 * string/strtok.c (STRTOK): Likewise.
12802 * string/strcat.c: Remove unused #include of memcopy.h.
12803 (strcat): Use ANSI prototype.
12804 * string/strchr.c: Remove unused #include of memcopy.h.
12805 (strchr): Use ANSI prototype.
12806 * string/strcmp.c: Remove unused #include of memcopy.h.
12807 (strcmp): Use ANSI prototype.
12808 * string/strcpy.c: Remove unused #include of memcopy.h.
12809 (strcpy): Use ANSI prototype.
12810
7ffa9423
AZ
128112014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12812
12813 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12814 * config.make.in (config-extra-cppflags): Set it from
12815 libc_extra_cppflags.
12816 * configure.ac (libc_extra_cflags): Make it accumulate over
12817 configure fragments.
12818 (libc_extra_cppflags): New flag.
12819 * configure. Regenerate.
12820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
12821 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12822 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
12823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12824
8bd70862
AZ
12825 [BZ #16815]
12826 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12827 result for FE_DOWNWARD rounding mode.
12828 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12829 Likewise.
12830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12831
d42f3448
CM
128322014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12833
12834 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12835 in function argument name.
12836
1c21d115
DS
128372014-04-03 David Svoboda <svoboda@cert.org>
12838
12839 [BZ #5666]
12840 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12841 explicitly.
12842
fcccd512
RM
128432014-04-03 Roland McGrath <roland@hack.frob.com>
12844
12845 * elf/dl-unmap-segments.h: New file.
12846 * sysdeps/generic/ldsodefs.h
12847 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12848 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12849 * elf/dl-fptr.c: Likewise.
12850 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12851 * sysdeps/aarch64/tlsdesc.c: Likewise.
12852 * sysdeps/arm/tlsdesc.c: Likewise.
12853 * sysdeps/i386/tlsdesc.c: Likewise.
12854 * sysdeps/tile/dl-runtime.c: Likewise.
12855 * sysdeps/x86_64/tlsdesc.c: Likewise.
12856 * elf/dl-load.h: New file.
12857 * elf/dl-load.c: Include it.
12858 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12859 Macros moved to dl-load.h.
12860 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12861 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12862 Use _dl_unmap_segments in place of __munmap.
12863 Break out segment-mapping loop into ...
12864 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12865
f6488e2b
WN
128662014-04-03 Will Newton <will.newton@linaro.org>
12867
12868 * elf/dl-lookup.c (do_lookup_x): Remove comment
12869 referring to nested function and move variable
12870 declarations down to before first use.
12871
6f05bafe
JM
128722014-04-02 Joseph Myers <joseph@codesourcery.com>
12873
a84e78c8
JM
12874 [BZ #16799]
12875 [BZ #16800]
12876 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12877 with 0 numerator.
12878 * math/s_catanf.c (__catanf): Likewise.
12879 * math/s_catanh.c (__catanh): Likewise.
12880 * math/s_catanhf.c (__catanhf): Likewise.
12881 * math/s_catanhl.c (__catanhl): Likewise.
12882 * math/s_catanl.c (__catanl): Likewise.
12883 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12884 by positive zero when computing -Inf result.
12885 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12886 (catanh_test): Likewise.
12887 * sysdeps/i386/fpu/libm-test-ulps: Update.
12888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12889
6f05bafe
JM
12890 [BZ #16789]
12891 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12892 instead of using underflowing value in computing result.
12893 * math/s_clog10.c (__clog10): Likewise.
12894 * math/s_clog10f.c (__clog10f): Likewise.
12895 * math/s_clog10l.c (__clog10l): Likewise.
12896 * math/s_clogf.c (__clogf): Likewise.
12897 * math/s_clogl.c (__clogl): Likewise.
12898 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12899 (clog10_test): Likewise.
12900 * sysdeps/i386/fpu/libm-test-ulps: Update.
12901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12902
b0abbc21
AM
129032014-04-02 Alan Modra <amodra@gmail.com>
12904
12905 [BZ #16739]
12906 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12907 output when value is near a power of two. Use int64_t for lx and
12908 remove casts. Use decimal rather than hex exponent constants.
12909 Don't use long double multiplication when double will suffice.
12910 * math/libm-test.inc (nextafter_test_data): Add tests.
12911 * NEWS: Add 16739 and 16786 to bug list.
12912
af6b1797
AM
12913 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12914
483818d7
AM
12915 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12916
f6c55796
WN
129172014-04-01 Will Newton <will.newton@linaro.org>
12918
12919 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12920 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12921
13f7fe35
FW
129222014-04-01 Florian Weimer <fweimer@redhat.com>
12923
12924 [BZ #13347]
12925 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12926 * nptl/tst-setuid2.c: New file.
12927 * nptl/Makefile (xtests): Add tst-setuid2.
12928
c859b32e
AM
129292014-04-01 Alan Modra <amodra@gmail.com>
12930
12931 [BZ #16786]
12932 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12933
54fa2475
JM
129342014-03-31 Joseph Myers <joseph@codesourcery.com>
12935
8795b4a4
JM
12936 [BZ #6803]
12937 [BZ #6804]
12938 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12939 set errno as appropriate.
12940 * math/w_scalbf.c (__scalbf): Likewise.
12941 * math/w_scalbl.c (__scalbl): Likewise.
12942 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12943 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12944 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12945 Add more NaN tests.
12946
54fa2475
JM
12947 [BZ #16349]
12948 * math/w_atan2.c: Include <errno.h>.
12949 (__atan2): Set errno for result underflowing to zero.
12950 * math/w_atan2f.c: Include <errno.h>.
12951 (__atan2f): Set errno for result underflowing to zero.
12952 * math/w_atan2l.c: Include <errno.h>.
12953 (__atan2l): Set errno for result underflowing to zero.
12954 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12955 tests.
12956 * math/auto-libm-test-out: Regenerated.
12957
757d9dd5
AZ
129582014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12959
12960 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12961 Encode instruction correctly in little endian.
12962 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12963 Likewise.
12964 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12965 Likewise.
12966 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12967 Likewise.
12968 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12969 Likewise.
12970
d7a68734
JM
129712014-03-31 Joseph Myers <joseph@codesourcery.com>
12972
47c5adeb
JM
12973 [BZ #9894]
12974 * sysdeps/unix/sysv/linux/kernel-features.h
12975 [__sparc__ && !__arch64__ && !__sparc_v9__]
12976 (__ASSUME_SET_ROBUST_LIST): Do not define.
12977 [__sparc__ && !__arch64__ && !__sparc_v9__]
12978 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12979 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12980 Likewise.
12981 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12982 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12983 (__ASSUME_REQUEUE_PI): Likewise.
12984 (__ASSUME_SET_ROBUST_LIST): Likewise.
12985 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12986 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12987 Undefine.
12988 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12989 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12990 Likewise.
12991 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12992 Likewise.
12993 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12994 Likewise.
12995 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12996 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12997 Undefine.
12998 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12999 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13000 Likewise.
13001
d7a68734
JM
13002 [BZ #16648]
13003 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13004 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13005 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13006
c760f5c2
WN
130072014-03-31 Will Newton <will.newton@linaro.org>
13008
13009 * benchtests/Makefile (bench): Add ffs and ffsll to list
13010 of tests.
13011 * benchtests/ffs-inputs: New file.
13012 * benchtests/ffsll-inputs: Likewise.
13013
ea6029b1
JM
130142014-03-29 Joseph Myers <joseph@codesourcery.com>
13015
13016 [BZ #16770]
13017 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13018 too large before casting to int.
13019 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13020 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13021 * math/libm-test.inc (scalb_test_data): Add more tests.
13022
cf806aff
SP
130232014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13024
56737508
SP
13025 * benchtests/Makefile (DETAILED_OPT): New make option.
13026 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13027 set.
13028 * benchtests/bench-skeleton.c: Include stdbool.h.
13029 (main): Store and print timings per input.
13030 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13031 member to each argument value.
13032 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13033 (_print_arg_data): Initialize per-input timing to 0.
13034
cb5e4aad
SP
13035 * benchtests/Makefile (timing-type): New binary.
13036 (bench-clean): Also remove bench-timing-type.
13037 (bench): New target for timing-type.
13038 (bench-func): Print output in JSON format.
13039 * benchtests/bench-skeleton.c (main): Print output in JSON
13040 format.
13041 * benchtests/bench-timing-type.c: New file.
13042 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13043 (TIMING_PRINT_STATS): Remove.
13044 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13045 name separately.
13046
cf806aff
SP
13047 * benchtests/bench-modf.c: Remove.
13048 * benchtests/modf-inputs: New inputs file.
13049
289e0779
JM
130502014-03-28 Joseph Myers <joseph@codesourcery.com>
13051
13052 [BZ #16362]
13053 * math/s_clog10.c (M_PI_LOG10E): New macro.
13054 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13055 imaginary parts are 0.
13056 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13057 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13058 imaginary parts are 0.
13059 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13060 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13061 imaginary parts are 0.
13062 * math/libm-test.inc (clog10_test_data): Update expected results
13063 for when real and imaginary parts are 0.
13064
277ae3f1
PP
130652014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13066
13067 * elf/dl-load.c: Finish conversion of __builtin_expect into
13068 __glibc_{un}likely.
13069
03a7091f
JM
130702014-03-27 Joseph Myers <joseph@codesourcery.com>
13071
13072 [BZ #16348]
13073 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13074 1+x for argument with exponent below -67.
13075 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13076 Likewise.
13077 * math/auto-libm-test-in: Add more tests of exp.
13078 * math/auto-libm-test-out: Regenerated.
13079
ea7d8b95
SP
130802014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13081
dd3022d7
SP
13082 [BZ #16759]
13083 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13084 (nscd_getnetgrent): Use it.
13085
ea7d8b95
SP
13086 [BZ #16760]
13087 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13088 of stpcpy.
13089
df5b85da
AK
130902014-03-27 Andi Kleen <ak@linux.intel.com>
13091
57f41c40
AS
13092 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13093 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13094 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13095 (lll_robust_unlock): Remove out of line section. Use cfi
13096 intrinsics.
df5b85da 13097 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
13098 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13099 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13100 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13101 (lll_robust_unlock): Remove out of line section. Use cfi
13102 intrinsics.
df5b85da
AK
13103 (LLL_STUB_UNWIND_INFO*): Remove.
13104
fbd6b5a4
SP
131052014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13106
13107 [BZ #16758]
13108 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13109 blank values.
13110
1b26b855
PP
131112014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13112
13113 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13114
9be36fb8
JM
131152014-03-26 Joseph Myers <joseph@codesourcery.com>
13116
13117 [BZ #16198]
13118 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13119 fnstenv.
13120 * math/test-fenv-preserve.c: New file.
13121 * math/Makefile (tests): Add test-fenv-preserve.
13122
60a2f3c1
WN
131232014-03-26 Will Newton <will.newton@linaro.org>
13124
13125 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13126
a5e5f1e2
RM
131272014-03-25 Roland McGrath <roland@hack.frob.com>
13128
13129 * scripts/versionlist.awk: Partition the version sets and emit all
13130 GLIBC_* (sorted) before all others (sorted).
13131
00f4012a
JM
131322014-03-25 Joseph Myers <joseph@codesourcery.com>
13133
13134 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13135 GLIBC_2.2.5 version.
13136
7bc5a741
AZ
131372014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13138
13139 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13140 calls.
13141
7578473b
AZ
13142 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13143 previous change.
13144
f3f1dab3
AZ
13145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13146
6da36183
AS
131472014-03-25 Andreas Schwab <schwab@suse.de>
13148
13149 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13150 label to be used after in6ailist is initialized.
13151
f3f1dab3 131522014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 13153
7578473b 13154 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
13155 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13156
046651c1
JM
131572014-03-25 Joseph Myers <joseph@codesourcery.com>
13158
13159 [BZ #16357]
13160 [BZ #16599]
13161 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13162 min_plus_half.
13163 (fp_formats): Update initializers.
13164 (init_fp_formats): Initialize new field.
13165 (output_for_one_input_case): Allow underflow for results up to
13166 min_plus_half.
13167 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13168 * math/auto-libm-test-in: Don't mark some underflows from asin and
13169 atanh as spurious.
13170 * math/auto-libm-test-out: Regenerated.
13171 * sysdeps/i386/fpu/libm-test-ulps: Update.
13172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13173
003e49ed
AS
131742014-03-25 Andreas Schwab <schwab@suse.de>
13175
13176 * libio/Makefile (tst-ftell-partial-wide-ENV)
13177 (tst-ftell-active-handler-ENV): Define.
13178
de031874
SL
131792014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13180
13181 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13182
55a81e3b
PP
131832014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13184
13185 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13186
f3426898
JM
131872014-03-24 Joseph Myers <joseph@codesourcery.com>
13188
13189 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13190 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13191 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13192
a42faf59
PP
131932014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13194
13195 [BZ #16634]
a42faf59 13196 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
13197 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13198 (open_path): Change from boolean 'secure' to complete flag 'mode'
13199 (_dl_map_object): Adjust.
a42faf59
PP
13200 * elf/Makefile (tests): Add tst-dlopen-aout.
13201 * elf/tst-dlopen-aout.c: New test.
13202
50936127
SL
132032014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13204
13205 [BZ #16714]
13206 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13207 (struct stat): Rename member pad0 to __glibc_reserved0.
13208
26011b5c
SL
13209 [BZ #16712]
13210 * sysdeps/s390/s390-32/bits/wordsize.h
13211 (__WORDSIZE32_SIZE_ULONG): New define.
13212 * sysdeps/s390/s390-64/bits/wordsize.h
13213 (__WORDSIZE32_SIZE_ULONG): Likewise.
13214 * sysdeps/generic/stdint.h (SIZE_MAX):
13215 Define as UL if __WORDSIZE32_SIZE_ULONG.
13216
a2d86bf1
SL
13217 [BZ #16713]
13218 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13219 (__glibc_reserved0): New variable.
13220 (sa_flags): Change type to int.
13221
78b6eebc
SL
13222 * posix/Makefile (before-compile): Use += before-compile instead
13223 of a :=.
13224
f1399b5a
SL
13225 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13226 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13227
a071766e
AS
132282014-03-20 Andreas Schwab <schwab@suse.de>
13229
13230 [BZ #16743]
13231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13232 non-matching result from nscd.
13233
27c673b8
SP
132342014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13235
13236 * scripts/bench.py: Moved to ...
13237 * benchtests/scripts/bench.py: ... here.
13238 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13239
44152e4b
AS
132402014-03-24 Andreas Schwab <schwab@suse.de>
13241
13242 [BZ #16002]
13243 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13244 alloca_account and account alloca use for struct in6ailist.
13245
b376a11a
JM
132462014-03-24 Joseph Myers <joseph@codesourcery.com>
13247
13248 [BZ #16284]
13249 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13250 rounding mode to recompute results that overflow to infinity or
13251 underflow to zero.
13252 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13253 bug 16284.
13254 * math/auto-libm-test-out: Regenerated.
13255 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13256 (ccosh_test): Likewise.
13257 (csin_test_data): Use plus_oflow.
13258 (csin_test): Use ALL_RM_TEST.
13259 (csinh_test_data): Use plus_oflow.
13260 (csinh_test): Use ALL_RM_TEST.
13261 * sysdeps/i386/fpu/libm-test-ulps: Update.
13262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13263
f7be7376
JM
132642014-03-21 Joseph Myers <joseph@codesourcery.com>
13265
1ca2d03e
JM
13266 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13267 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13268 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13269
f7be7376
JM
13270 [BZ #16731]
13271 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13272 when x - 1 is zero.
13273 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13274 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13275 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13276 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13277 argument is 1.
13278 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13279 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13280 zero.
13281 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13282 * sysdeps/i386/fpu/libm-test-ulps: Update.
13283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13284
fdf4534d
SP
132852014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13286
df26ea53
SP
13287 * scripts/bench.pl: Remove file.
13288 * scripts/bench.py: New benchmark script.
13289 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13290 * benchtests/README: Mention python dependency.
13291 * scripts/pylintrc: New file.
13292 * scripts/pylint: New file.
13293
fdf4534d
SP
13294 * bits/mathdef.h: Use #ifdef instead of #if.
13295 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13296 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13297 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13298 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13299 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13300 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13301
6f23d093
AZ
133022014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13303 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13304
13305 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13307 and strpbrk-ppc64 objects.
13308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13309 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13310 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13311 multiarch strpbrk for POWER7.
13312 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13313 multiarch strpbrk for PPC64.
13314 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13315 ifunc selector.
13316 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13317 strpbrk for POWER7.
13318
8c92dfff
JM
133192014-03-20 Joseph Myers <joseph@codesourcery.com>
13320
13321 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13322 (atan_test): Likewise.
13323 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13324 (atanh_test): Use ALL_RM_TEST.
13325 (atan2_test_data): Likewise.
13326 (cabs_test): Likewise.
13327 (cacosh_test): Likewise.
13328 (carg_test): Likewise.
13329 (casin_test): Likewise.
13330 (casinh_test): Likewise.
13331 (cbrt_test): Likewise.
13332 (csqrt_test): Likewise.
13333 (erf_test): Likewise.
13334 (erfc_test): Likewise.
13335 (pow10_test): Likewise.
13336 (exp2_test): Likewise.
13337 (hypot_test): Likewise.
13338 (j0_test): Likewise.
13339 (j1_test): Likewise.
13340 (lgamma_test): Likewise.
13341 (gamma_test): Likewise.
13342 (sincos_test): Likewise.
13343 (tanh_test): Likewise.
13344 (y0_test): Likewise.
13345 (y1_test): Likewise.
13346 * sysdeps/i386/fpu/libm-test-ulps: Update.
13347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13348
6eaf95cb
AZ
133492014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13350
a387428c
SP
13351 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13352 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
13353 and strcspn-ppc64 objects.
13354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13355 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13356 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13357 multiarch strcspn for POWER7.
13358 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13359 multiarch strcspn for PPC64.
13360 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13361 ifunc selector.
13362 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13363 strcspn for POWER7.
13364
ae3a5dff
JM
133652014-03-20 Joseph Myers <joseph@codesourcery.com>
13366
13367 * math/gen-libm-test.pl (generate_testfile): Expect only function
13368 name as argument to AUTO_TESTS_* and pass results for all rounding
13369 modes to parse_args.
13370 (parse_auto_input): Separate inputs of automatic tests from
13371 outputs before storing in %auto_tests.
13372 * math/libm-test.inc (acos_test_data): Update call to
13373 AUTO_TESTS_f_f.
13374 (acos_test): Use ALL_RM_TEST.
13375 (acos_tonearest_test_data): Remove.
13376 (acos_test_tonearest): Likewise.
13377 (acos_towardzero_test_data): Likewise.
13378 (acos_test_towardzero): Likewise.
13379 (acos_downward_test_data): Likewise.
13380 (acos_test_downward): Likewise.
13381 (acos_upward_test_data): Likewise.
13382 (acos_test_upward): Likewise.
13383 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13384 (asin_test_data): Likewise.
13385 (asin_test): Use ALL_RM_TEST.
13386 (asin_tonearest_test_data): Remove.
13387 (asin_test_tonearest): Likewise.
13388 (asin_towardzero_test_data): Likewise.
13389 (asin_test_towardzero): Likewise.
13390 (asin_downward_test_data): Likewise.
13391 (asin_test_downward): Likewise.
13392 (asin_upward_test_data): Likewise.
13393 (asin_test_upward): Likewise.
13394 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13395 (atan_test_data): Likewise.
13396 (atanh_test_data): Likewise.
13397 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13398 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13399 (carg_test_data): Likewise.
13400 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13401 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13402 (ccosh_test_data): Likewise.
13403 (cexp_test_data): Likewise.
13404 (clog_test_data): Likewise.
13405 (clog10_test_data): Likewise.
13406 (cos_test_data): Update call to AUTO_TESTS_f_f.
13407 (cos_test): Use ALL_RM_TEST.
13408 (cos_tonearest_test_data): Remove.
13409 (cos_test_tonearest): Likewise.
13410 (cos_towardzero_test_data): Likewise.
13411 (cos_test_towardzero): Likewise.
13412 (cos_downward_test_data): Likewise.
13413 (cos_test_downward): Likewise.
13414 (cos_upward_test_data): Likewise.
13415 (cos_test_upward): Likewise.
13416 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13417 (cosh_test): Use ALL_RM_TEST.
13418 (cosh_tonearest_test_data): Remove.
13419 (cosh_test_tonearest): Likewise.
13420 (cosh_towardzero_test_data): Likewise.
13421 (cosh_test_towardzero): Likewise.
13422 (cosh_downward_test_data): Likewise.
13423 (cosh_test_downward): Likewise.
13424 (cosh_upward_test_data): Likewise.
13425 (cosh_test_upward): Likewise.
13426 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13427 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13428 (ctan_test_data): Likewise.
13429 (ctan_test): Use ALL_RM_TEST.
13430 (ctan_tonearest_test_data): Remove.
13431 (ctan_test_tonearest): Likewise.
13432 (ctan_towardzero_test_data): Likewise.
13433 (ctan_test_towardzero): Likewise.
13434 (ctan_downward_test_data): Likewise.
13435 (ctan_test_downward): Likewise.
13436 (ctan_upward_test_data): Likewise.
13437 (ctan_test_upward): Likewise.
13438 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13439 (ctanh_test): Use ALL_RM_TEST.
13440 (ctanh_tonearest_test_data): Remove.
13441 (ctanh_test_tonearest): Likewise.
13442 (ctanh_towardzero_test_data): Likewise.
13443 (ctanh_test_towardzero): Likewise.
13444 (ctanh_downward_test_data): Likewise.
13445 (ctanh_test_downward): Likewise.
13446 (ctanh_upward_test_data): Likewise.
13447 (ctanh_test_upward): Likewise.
13448 (erf_test_data): Update call to AUTO_TESTS_f_f.
13449 (erfc_test_data): Likewise.
13450 (exp_test_data): Likewise.
13451 (exp_test): Use ALL_RM_TEST.
13452 (exp_tonearest_test_data): Remove.
13453 (exp_test_tonearest): Likewise.
13454 (exp_towardzero_test_data): Likewise.
13455 (exp_test_towardzero): Likewise.
13456 (exp_downward_test_data): Likewise.
13457 (exp_test_downward): Likewise.
13458 (exp_upward_test_data): Likewise.
13459 (exp_test_upward): Likewise.
13460 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13461 (exp10_test): Use ALL_RM_TEST.
13462 (exp10_tonearest_test_data): Remove.
13463 (exp10_test_tonearest): Likewise.
13464 (exp10_towardzero_test_data): Likewise.
13465 (exp10_test_towardzero): Likewise.
13466 (exp10_downward_test_data): Likewise.
13467 (exp10_test_downward): Likewise.
13468 (exp10_upward_test_data): Likewise.
13469 (exp10_test_upward): Likewise.
13470 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13471 (expm1_test_data): Likewise.
13472 (expm1_test): Use ALL_RM_TEST.
13473 (expm1_tonearest_test_data): Remove.
13474 (expm1_test_tonearest): Likewise.
13475 (expm1_towardzero_test_data): Likewise.
13476 (expm1_test_towardzero): Likewise.
13477 (expm1_downward_test_data): Likewise.
13478 (expm1_test_downward): Likewise.
13479 (expm1_upward_test_data): Likewise.
13480 (expm1_test_upward): Likewise.
13481 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13482 (fma_test): Use ALL_RM_TEST.
13483 (fma_towardzero_test_data): Remove.
13484 (fma_test_towardzero): Likewise.
13485 (fma_downward_test_data): Likewise.
13486 (fma_test_downward): Likewise.
13487 (fma_upward_test_data): Likewise.
13488 (fma_test_upward): Likewise.
13489 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13490 (j0_test_data): Update call to AUTO_TESTS_f_f.
13491 (j1_test_data): Likewise.
13492 (jn_test_data): Update call to AUTO_TESTS_if_f.
13493 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13494 (log_test_data): Update call to AUTO_TESTS_f_f.
13495 (log10_test_data): Likewise.
13496 (log1p_test_data): Likewise.
13497 (log2_test_data): Likewise.
13498 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13499 (pow_tonearest_test_data): Likewise.
13500 (sin_test_data): Update call to AUTO_TESTS_f_f.
13501 (sin_test): Use ALL_RM_TEST.
13502 (sin_tonearest_test_data): Remove.
13503 (sin_test_tonearest): Likewise.
13504 (sin_towardzero_test_data): Likewise.
13505 (sin_test_towardzero): Likewise.
13506 (sin_downward_test_data): Likewise.
13507 (sin_test_downward): Likewise.
13508 (sin_upward_test_data): Likewise.
13509 (sin_test_upward): Likewise.
13510 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13511 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13512 (sinh_test): Use ALL_RM_TEST.
13513 (sinh_tonearest_test_data): Remove.
13514 (sinh_test_tonearest): Likewise.
13515 (sinh_towardzero_test_data): Likewise.
13516 (sinh_test_towardzero): Likewise.
13517 (sinh_downward_test_data): Likewise.
13518 (sinh_test_downward): Likewise.
13519 (sinh_upward_test_data): Likewise.
13520 (sinh_test_upward): Likewise.
13521 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13522 (sqrt_test): Use ALL_RM_TEST.
13523 (sqrt_tonearest_test_data): Remove.
13524 (sqrt_test_tonearest): Likewise.
13525 (sqrt_towardzero_test_data): Likewise.
13526 (sqrt_test_towardzero): Likewise.
13527 (sqrt_downward_test_data): Likewise.
13528 (sqrt_test_downward): Likewise.
13529 (sqrt_upward_test_data): Likewise.
13530 (sqrt_test_upward): Likewise.
13531 (tan_test_data): Update call to AUTO_TESTS_f_f.
13532 (tan_test): Use ALL_RM_TEST.
13533 (tan_tonearest_test_data): Remove.
13534 (tan_test_tonearest): Likewise.
13535 (tan_towardzero_test_data): Likewise.
13536 (tan_test_towardzero): Likewise.
13537 (tan_downward_test_data): Likewise.
13538 (tan_test_downward): Likewise.
13539 (tan_upward_test_data): Likewise.
13540 (tan_test_upward): Likewise.
13541 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13542 (tgamma_test_data): Likewise.
13543 (y0_test_data): Likewise.
13544 (y1_test_data): Likewise.
13545 (yn_test_data): Update call to AUTO_TESTS_if_f.
13546 (main): Do not call removed functions.
13547
d71aeee8
JM
135482014-03-19 Joseph Myers <joseph@codesourcery.com>
13549
13550 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13551 (ldexp_test_data): Remove.
13552 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13553 scalbn_test_data.
13554 (scalb_test): Use ALL_RM_TEST.
13555
baaf1ded
AS
135562014-03-19 Andreas Schwab <schwab@suse.de>
13557
13558 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13559
b1115e91
JM
135602014-03-19 Joseph Myers <joseph@codesourcery.com>
13561
13562 [BZ #16649]
13563 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13564 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13565 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13566 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13567 (__ASSUME_PREADV): Undefine.
13568 (__ASSUME_PWRITEV): Likewise.
13569
0283ecca
RM
135702014-03-18 Roland McGrath <roland@hack.frob.com>
13571
7d375303
RM
13572 * bits/mman-linux.h: Add comment about non-Linux use.
13573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13574 bits/mman-linux.h resting place.
13575
0283ecca
RM
13576 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13577 * bits/mman-linux.h: ... here.
13578
aebe1003
AZ
135792014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13580
13581 * conform/conformtest.pl: Add standard definition when calling C
13582 preprocessor on data files.
13583 (checknamespace): Remove unused variable.
13584
b29b6bb8
JM
135852014-03-18 Joseph Myers <joseph@codesourcery.com>
13586
13587 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13588 minus_oflow, plus_uflow and minus_uflow in expected results.
13589 * math/libm-test.inc (scalbn_test_data): Add more tests of
13590 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13591 minus_uflow.
13592 (scalbn_test): Use ALL_RM_TEST.
13593 (scalbln_test_data): Add more tests of negative arguments. Use
13594 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13595 (scalbln_test): Use ALL_RM_TEST.
13596
c8f8fa15
RM
135972014-03-18 Roland McGrath <roland@hack.frob.com>
13598
13599 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13600
fede7a5f
WN
136012014-03-18 Will Newton <will.newton@linaro.org>
13602
13603 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13604 inaccurate comment.
13605
80cf0a58
JM
136062014-03-18 Joseph Myers <joseph@codesourcery.com>
13607
13608 * Makerules [!subdir] (check-abi): Exit with error status if a
13609 test failed.
13610
b3620862
JM
136112014-03-17 Joseph Myers <joseph@codesourcery.com>
13612
13613 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13614 for rint. Include results for all rounding modes.
13615 (nearbyint_test): Use ALL_RM_TEST.
13616 (rint_test_data): Include all tests used for nearbyint.
13617
788bba36
WN
136182014-03-17 Will Newton <will.newton@linaro.org>
13619
04ec140a
WN
13620 * nptl/sysdeps/pthread/pthread.h: Revert previous
13621 change.
13622
7579d8d5
WN
13623 * sysdeps/generic/ldsodefs.h: Revert previous
13624 change.
13625
c15cf13a
WN
13626 * libio/genops.c: Revert previous change.
13627 * libio/libioP.h: Likewise.
13628 * stdio-common/vfprintf.c: Likewise.
13629
d0ac1324
WN
13630 * sysdeps/generic/math_private.h: Revert previous
13631 change.
13632
9290130a
WN
13633 * sysdeps/generic/math_private.h: Check whether
13634 HAVE_RM_CTX is defined with #ifdef rather
13635 than #if.
13636
afb466fc
WN
13637 * argp/argp-fmtstream.h: Check whether
13638 __STRICT_ANSI__ is defined with #ifdef rather
13639 than #if.
13640 * argp/argp.h: Likewise.
13641
f7efd7c3
WN
13642 * libio/genops.c: Check whether
13643 _IO_JUMPS_OFFSET is defined with #ifdef rather
13644 than #if.
13645 * libio/libioP.h: Likewise.
13646 * stdio-common/vfprintf.c: Likewise.
13647
53f1bed3
WN
13648 * sysdeps/generic/ldsodefs.h: Check whether
13649 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13650 than #if.
13651
788bba36
WN
13652 * nptl/sysdeps/pthread/pthread.h: Check
13653 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13654 its value.
13655
fcd89ebe
SP
136562014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13657
ae42bbc5
SP
13658 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13659 setting O_APPEND.
13660 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13661 test case.
13662
ea33158c
SP
13663 [BZ #16680]
13664 * libio/fileops.c (_IO_file_open): Seek to end of file but
13665 don't cache the offset.
13666 (get_file_offset): Remove function.
13667 (do_ftell): Use cached offset when available.
13668 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13669 don't cache the offset.
13670 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13671 case.
13672 (do_one_test): Call it.
13673 (do_ftell_test): Fix up expected old offset for a+ mode.
13674 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13675 available.
13676
b1dbb426
SP
13677 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13678 up test status with function return status.
13679 (do_write_test): Likewise.
13680 (do_append_test): Likewise.
13681
fcd89ebe
SP
13682 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13683 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13684 Remove.
13685
9962a2d3
JM
136862014-03-17 Joseph Myers <joseph@codesourcery.com>
13687
13688 * math/gen-libm-test.pl (parse_args): Handle results specified for
13689 each rounding mode separately.
13690 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13691 tests and results from lrint_tonearest_test_data,
13692 lrint_towardzero_test_data, lrint_downward_test_data and
13693 lrint_upward_test_data.
13694 (lrint_test): Use ALL_RM_TEST.
13695 (lrint_tonearest_test_data): Remove.
13696 (lrint_test_tonearest): Likewise.
13697 (lrint_towardzero_test_data): Likewise.
13698 (lrint_test_towardzero): Likewise.
13699 (lrint_downward_test_data): Likewise.
13700 (lrint_test_downward): Likewise.
13701 (lrint_upward_test_data): Likewise.
13702 (lrint_test_upward): Likewise.
13703 (llrint_test_data): Merge in per-rounding-mode tests and results
13704 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13705 llrint_downward_test_data and llrint_upward_test_data.
13706 (llrint_test): Use ALL_RM_TEST.
13707 (llrint_tonearest_test_data): Remove.
13708 (llrint_test_tonearest): Likewise.
13709 (llrint_towardzero_test_data): Likewise.
13710 (llrint_test_towardzero): Likewise.
13711 (llrint_downward_test_data): Likewise.
13712 (llrint_test_downward): Likewise.
13713 (llrint_upward_test_data): Likewise.
13714 (llrint_test_upward): Likewise.
13715 (rint_test_data): Merge in per-rounding-mode tests and results
13716 from rint_tonearest_test_data, rint_towardzero_test_data,
13717 rint_downward_test_data and rint_upward_test_data. Add
13718 per-rounding-mode results for tests not in those arrays.
13719 (rint_test): Use ALL_RM_TEST.
13720 (rint_tonearest_test_data): Remove.
13721 (rint_test_tonearest): Likewise.
13722 (rint_towardzero_test_data): Likewise.
13723 (rint_test_towardzero): Likewise.
13724 (rint_downward_test_data): Likewise.
13725 (rint_test_downward): Likewise.
13726 (rint_upward_test_data): Likewise.
13727 (rint_test_upward): Likewise.
13728 (main): Don't call removed functions.
13729
5006148e
RM
137302014-03-14 Roland McGrath <roland@hack.frob.com>
13731
13732 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13733 "Compiled on ..." crapola. It is anti-useful.
13734
d6fe5e58
JM
137352014-03-14 Joseph Myers <joseph@codesourcery.com>
13736
13737 * scripts/evaluate-test.sh: Handle fourth argument to determine
13738 whether test run should stop on failure.
13739 * Makeconfig (stop-on-test-failure): New variable.
13740 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13741 $(stop-on-test-failure).
13742 * Makefile (tests): Give a summary of results from testing and
13743 exit with failure status if they include an ERROR or FAIL.
13744 (xtests): Likewise.
13745 * manual/install.texi (Configuring and compiling): Mention
13746 stop-on-test-failure=y.
13747 * INSTALL: Regenerated.
13748
498a2233
RM
137492014-03-14 Roland McGrath <roland@hack.frob.com>
13750
22dbc19d
RM
13751 * scripts/versionlist.awk: New file.
13752 * Makerules [$(build-shared) = yes]
13753 (postclean-generated): Add Versions.def, not Versions.def.v and
13754 Versions.def.v.i.
13755 ($(common-objpfx)Versions.def.v.i): Target removed.
13756 ($(common-objpfx)Versions.def): New target.
13757 ($(common-objpfx)Versions.all): Depend on that rather that
13758 $(common-objpfx)Versions.def.v.
13759 * Versions.def: File removed.
13760
498a2233
RM
13761 * Makeconfig (+gccwarn): Add -Wundef.
13762 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13763 a dl-sysdep.h breaking its contract.
13764 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13765 * include/stackinfo.h: New file.
13766 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13767 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13768 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13769 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13770 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13771 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13772 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13773 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13774 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13775 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13776 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13777 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13778 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13779 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13780 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13781
c7de5025
AZ
137822014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13783
13784 [BZ #16707]
13785 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13786 implementation.
13787 * math/libm-test.inc (round_test_data): Add more tests.
13788
98fb27a3
AZ
13789 [BZ #16706]
13790 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13791 implementation.
13792 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13793
374f7f61
AZ
13794 [BZ #16701]
13795 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13796 implementation.
13797 * math/libm-test.inc (ceil_test_data): Add more tests.
13798
4655c291
AZ
13799 * math/libm-test.inc (trunc_test_data): Add more tests related to
13800 BZ#16414.
13801
d7329d4b
RM
138022014-03-14 Roland McGrath <roland@hack.frob.com>
13803
13804 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13805 with #if rather than #ifdef.
13806 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13807
aa4de9ce
L
138082014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13809
13810 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13811 first. Disable AVX-512 GCC support if assembler doesn't support
13812 it.
13813 * sysdeps/x86_64/configure: Regenerated.
13814
2e03fae7
CD
138152014-03-13 Carlos O'Donell <carlos@redhat.com>
13816
13817 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13818 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13819 (__old_pthread_attr_setstack): Likewise.
13820 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13821 [!_STACK_GROWS_DOWN]: Likewise.
13822
43ca83ec
MF
138232014-03-13 Mike Frysinger <vapier@gentoo.org>
13824
13825 * config.make.in (have-bash2): Delete.
13826 * configure.ac (libc_cv_have_bash2): Delete.
13827 * configure: Regenerate.
13828 * elf/Makefile (common-ldd-rewrite): Rename to ...
13829 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13830 (sh-ldd-rewrite): Delete.
13831 (bash-ldd-rewrite): Delete.
13832 (have-bash2): Delete checks.
57f41c40
AS
13833 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13834 ldd-rewrite.
c66e48b4
MF
13835
13836 * config.make.in (have-ksh): Delete.
13837 (KSH): Delete.
13838 * configure.ac (libc_cv_have_ksh): Delete.
13839 * configure: Regenerate.
13840
b93834ef
MF
13841 * elf/Makefile: Delete $(have-ksh) check.
13842 ($(objpfx)sotruss): Change KSH to BASH.
13843 * elf/sotruss.ksh: Rename to ...
13844 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13845 function style to match POSIX. Drop ksh vim mode setting.
13846
f3a4632a
MF
13847 * manual/time.texi (Specifying the Time Zone with TZ): Change
13848 Tuesday to Thursday.
13849
5896c8bd
MF
13850 * debug/tst-longjmp_chk2.c: Update header comment.
13851 (stackoverflow_handler): Add comment. Call assert on pass value.
13852
2d63a517
IZ
138532014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13854
7e54fd04 13855 [BZ #16194]
2d63a517
IZ
13856 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13857 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13858 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13859 (La_x86_64_vector): Add zmm.
13860 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13861 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13862 ($(objpfx)tst-audit10): New target.
13863 ($(objpfx)tst-audit10.out): Likewise.
13864 (tst-audit10-ENV): New.
13865 (AVX512-CFLAGS): Likewise.
13866 (CFLAGS-tst-audit10.c): Likewise.
13867 (CFLAGS-tst-auditmod10a.c): Likewise.
13868 (CFLAGS-tst-auditmod10b.c): Likewise.
13869 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13870 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13871 * sysdeps/x86_64/configure: Regenerated.
13872 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13873 AVX-512 zmm register support.
13874 (_dl_x86_64_save_sse): Likewise.
13875 (_dl_x86_64_restore_sse): Likewise.
13876 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13877 size vector registers.
13878 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13879 (ZMM_SIZE): Likewise.
13880 * sysdeps/x86_64/tst-audit10.c: New file.
13881 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13882 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13883
44c4e5d5
RM
138842014-03-13 Roland McGrath <roland@hack.frob.com>
13885
13886 * configure.ac (HAVE_EHDR_START): New check.
13887 * configure: Regenerated.
13888 * config.h.in (HAVE_EHDR_START): New #undef.
13889 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13890 assuming the lowest-addressed segment maps the start of the file.
13891
acd6e389
JM
138922014-03-13 Joseph Myers <joseph@codesourcery.com>
13893
13894 * INSTALL: Regenerated.
13895
6f918f36
WN
138962014-03-13 Will Newton <will.newton@linaro.org>
13897
13898 * manual/setjmp.texi (System V contexts): Improve
13899 clarity and grammar of documentation.
13900
798212a0
PP
139012014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13902
13903 [BZ #16381]
798212a0 13904 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 13905 (tests-pie): Add tst-pie2.
798212a0
PP
13906 * elf/tst-pie2.c: New file.
13907 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13908 for ET_EXEC.
13909 * elf/rtld.c (map_doit): Load executable as lt_executable.
13910 (dl_main): Likewise.
13911
abe6d90c
JM
139122014-03-12 Joseph Myers <joseph@codesourcery.com>
13913
13914 [BZ #16642]
13915 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13916 (__ASSUME_PSELECT): Undefine.
13917
dd3946c6
AZ
139182014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13919
13920 [BZ #16689]
13921 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13922 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13923 static build.
13924 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13925 selector for static builds.
13926
c44496df
SP
139272014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13928
13929 [BZ #16695]
13930 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13931 key in the buffer.
13932
27c7220a
AZ
139332014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13934
57f41c40
AS
13935 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13936 IFUNC selector for static builds.
27c7220a 13937
600fa361
JM
139382014-03-11 Joseph Myers <joseph@codesourcery.com>
13939
76c96cf7
JM
13940 * sysdeps/mips/math_private.h [__mips_hard_float]
13941 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13942 libc_feresetround_mips_ctx.
13943 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13944 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13945 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13946
600fa361
JM
13947 [BZ #16677]
13948 * math/s_nextafter.c (__nextafter): Do not return value from
13949 overflowing computation.
13950 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13951 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13952 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13953 Likewise.
13954 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13955 Likewise.
13956 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13957 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13958
d7706c32
RM
139592014-03-11 Roland McGrath <roland@hack.frob.com>
13960
13961 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13962 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13963 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13964 the new mov targetting sp.
13965
4facea47
AZ
139662014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13967
13968 [BZ #16683]
13969 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13970 Define it for static builds as well.
13971 (NO_BZERO_IMPL): Likewise.
13972
e65caf1f
VR
139732014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13974
13975 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13976 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13977 multiarch strspn for PPC64.
13978 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13979 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13981 (__libc_ifunc_impl_list): Likewise.
13982 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13983 multiarch optimizations
13984 * string/strspn.c (strspn): Using macro to redefine symbol name.
13985
ba9cc071
AZ
139862014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13987 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13988
13989 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13990 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13991 multiarch strncat for PPC64.
13992 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13993 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13995 (__libc_ifunc_impl_list): Likewise.
13996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13997 multiarch optimizations
13998
8b4ff974
SP
139992014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14000
14001 [BZ #16639]
14002 * nscd/nscd.service: Make service type forking.
14003
54b46a4b
AZ
140042014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14005
14006 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14007 sign in non default rounding modes.
14008 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14009
e9996ef7
JM
140102014-03-08 Joseph Myers <joseph@codesourcery.com>
14011
14012 * math/libm-test.inc (ALL_RM_TEST): New macro.
14013 (ceil_test): Use ALL_RM_TEST.
14014 (cimag_test): Likewise.
14015 (conj_test): Likewise.
14016 (copysign_test): Likewise.
14017 (cproj_test): Likewise.
14018 (creal_test): Likewise.
14019 (fabs_test): Likewise.
14020 (floor_test): Likewise.
14021 (fmax_test): Likewise.
14022 (fmin_test): Likewise.
14023 (fmod_test): Likewise.
14024 (fpclassify_test): Likewise.
14025 (frexp_test): Likewise.
14026 (ilogb_test): Likewise.
14027 (isfinite_test): Likewise.
14028 (finite_test): Likewise.
14029 (isgreater_test): Likewise.
14030 (isgreaterequal_test): Likewise.
14031 (isinf_test): Likewise.
14032 (isless_test): Likewise.
14033 (islessequal_test): Likewise.
14034 (islessgreater_test): Likewise.
14035 (isnan_test): Likewise.
14036 (isnormal_test): Likewise.
14037 (issignaling_test): Likewise.
14038 (isunordered_test): Likewise.
14039 (logb_test): Likewise.
14040 (logb_downward_test_data): Remove.
14041 (logb_test_downward): Likewise.
14042 (lround_test): Use ALL_RM_TEST.
14043 (llround_test): Likewise.
14044 (modf_test): Likewise.
14045 (nexttoward_test): Likewise.
14046 (remainder_test): Likewise.
14047 (drem_test): Likewise.
14048 (remainder_tonearest_test_data): Likewise.
14049 (remainder_test_tonearest): Likewise.
14050 (drem_test_tonearest): Likewise.
14051 (remainder_towardzero_test_data): Likewise.
14052 (remainder_test_towardzero): Likewise.
14053 (drem_test_towardzero): Likewise.
14054 (remainder_downward_test_data): Likewise.
14055 (remainder_test_downward): Likewise.
14056 (drem_test_downward): Likewise.
14057 (remainder_upward_test_data): Likewise.
14058 (remainder_test_upward): Likewise.
14059 (drem_test_upward): Likewise.
14060 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14061 (round_test): Use ALL_RM_TEST.
14062 (signbit_test): Likewise.
14063 (trunc_test): Likewise.
14064 (significand_test): Likewise.
14065 (main): Don't call removed functions.
14066
bc61d27c
JM
140672014-03-07 Joseph Myers <joseph@codesourcery.com>
14068
5c780849
JM
14069 [BZ #16674]
14070 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14071 || __USE_XOPEN2K8].
14072 (ILL_ILLOPN): Likewise.
14073 (ILL_ILLADR): Likewise.
14074 (ILL_ILLTRP): Likewise.
14075 (ILL_PRVOPC): Likewise.
14076 (ILL_PRVREG): Likewise.
14077 (ILL_COPROC): Likewise.
14078 (ILL_BADSTK): Likewise.
14079 (FPE_INTDIV): Likewise.
14080 (FPE_INTOVF): Likewise.
14081 (FPE_FLTDIV): Likewise.
14082 (FPE_FLTOVF): Likewise.
14083 (FPE_FLTUND): Likewise.
14084 (FPE_FLTRES): Likewise.
14085 (FPE_FLTINV): Likewise.
14086 (FPE_FLTSUB): Likewise.
14087 (SEGV_MAPERR): Likewise.
14088 (SEGV_ACCERR): Likewise.
14089 (BUS_ADRALN): Likewise.
14090 (BUS_ADRERR): Likewise.
14091 (BUS_OBJERR): Likewise.
14092 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14093 (TRAP_TRACE): Likewise.
14094 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14095 __USE_XOPEN2K8].
14096 (CLD_KILLED): Likewise.
14097 (CLD_DUMPED): Likewise.
14098 (CLD_TRAPPED): Likewise.
14099 (CLD_STOPPED): Likewise.
14100 (CLD_CONTINUED): Likewise.
14101 (POLL_IN): Likewise.
14102 (POLL_OUT): Likewise.
14103 (POLL_MSG): Likewise.
14104 (POLL_ERR): Likewise.
14105 (POLL_PRI): Likewise.
14106 (POLL_HUP): Likewise.
14107 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14108 Likewise.
14109 (ILL_ILLOPN): Likewise.
14110 (ILL_ILLADR): Likewise.
14111 (ILL_ILLTRP): Likewise.
14112 (ILL_PRVOPC): Likewise.
14113 (ILL_PRVREG): Likewise.
14114 (ILL_COPROC): Likewise.
14115 (ILL_BADSTK): Likewise.
14116 (FPE_INTDIV): Likewise.
14117 (FPE_INTOVF): Likewise.
14118 (FPE_FLTDIV): Likewise.
14119 (FPE_FLTOVF): Likewise.
14120 (FPE_FLTUND): Likewise.
14121 (FPE_FLTRES): Likewise.
14122 (FPE_FLTINV): Likewise.
14123 (FPE_FLTSUB): Likewise.
14124 (SEGV_MAPERR): Likewise.
14125 (SEGV_ACCERR): Likewise.
14126 (BUS_ADRALN): Likewise.
14127 (BUS_ADRERR): Likewise.
14128 (BUS_OBJERR): Likewise.
14129 (BUS_MCEERR_AR): Likewise.
14130 (BUS_MCEERR_AO): Likewise.
14131 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14132 (TRAP_TRACE): Likewise.
14133 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14134 __USE_XOPEN2K8].
14135 (CLD_KILLED): Likewise.
14136 (CLD_DUMPED): Likewise.
14137 (CLD_TRAPPED): Likewise.
14138 (CLD_STOPPED): Likewise.
14139 (CLD_CONTINUED): Likewise.
14140 (POLL_IN): Likewise.
14141 (POLL_OUT): Likewise.
14142 (POLL_MSG): Likewise.
14143 (POLL_ERR): Likewise.
14144 (POLL_PRI): Likewise.
14145 (POLL_HUP): Likewise.
14146 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14147 (ILL_ILLOPN): Likewise.
14148 (ILL_ILLADR): Likewise.
14149 (ILL_ILLTRP): Likewise.
14150 (ILL_PRVOPC): Likewise.
14151 (ILL_PRVREG): Likewise.
14152 (ILL_COPROC): Likewise.
14153 (ILL_BADSTK): Likewise.
14154 (FPE_INTDIV): Likewise.
14155 (FPE_INTOVF): Likewise.
14156 (FPE_FLTDIV): Likewise.
14157 (FPE_FLTOVF): Likewise.
14158 (FPE_FLTUND): Likewise.
14159 (FPE_FLTRES): Likewise.
14160 (FPE_FLTINV): Likewise.
14161 (FPE_FLTSUB): Likewise.
14162 (SEGV_MAPERR): Likewise.
14163 (SEGV_ACCERR): Likewise.
14164 (BUS_ADRALN): Likewise.
14165 (BUS_ADRERR): Likewise.
14166 (BUS_OBJERR): Likewise.
14167 (BUS_MCEERR_AR): Likewise.
14168 (BUS_MCEERR_AO): Likewise.
14169 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14170 (TRAP_TRACE): Likewise.
14171 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14172 __USE_XOPEN2K8].
14173 (CLD_KILLED): Likewise.
14174 (CLD_DUMPED): Likewise.
14175 (CLD_TRAPPED): Likewise.
14176 (CLD_STOPPED): Likewise.
14177 (CLD_CONTINUED): Likewise.
14178 (POLL_IN): Likewise.
14179 (POLL_OUT): Likewise.
14180 (POLL_MSG): Likewise.
14181 (POLL_ERR): Likewise.
14182 (POLL_PRI): Likewise.
14183 (POLL_HUP): Likewise.
14184 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14185 Likewise.
14186 (ILL_ILLOPN): Likewise.
14187 (ILL_ILLADR): Likewise.
14188 (ILL_ILLTRP): Likewise.
14189 (ILL_PRVOPC): Likewise.
14190 (ILL_PRVREG): Likewise.
14191 (ILL_COPROC): Likewise.
14192 (ILL_BADSTK): Likewise.
14193 (ILL_BADIADDR): Likewise.
14194 (ILL_BREAK): Likewise.
14195 (FPE_INTDIV): Likewise.
14196 (FPE_INTOVF): Likewise.
14197 (FPE_FLTDIV): Likewise.
14198 (FPE_FLTOVF): Likewise.
14199 (FPE_FLTUND): Likewise.
14200 (FPE_FLTRES): Likewise.
14201 (FPE_FLTINV): Likewise.
14202 (FPE_FLTSUB): Likewise.
14203 (FPE_DECOVF): Likewise.
14204 (FPE_DECDIV): Likewise.
14205 (FPE_DECERR): Likewise.
14206 (FPE_INVASC): Likewise.
14207 (FPE_INVDEC): Likewise.
14208 (SEGV_MAPERR): Likewise.
14209 (SEGV_ACCERR): Likewise.
14210 (SEGV_PSTKOVF): Likewise.
14211 (BUS_ADRALN): Likewise.
14212 (BUS_ADRERR): Likewise.
14213 (BUS_OBJERR): Likewise.
14214 (BUS_MCEERR_AR): Likewise.
14215 (BUS_MCEERR_AO): Likewise.
14216 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14217 (TRAP_TRACE): Likewise.
14218 (TRAP_BRANCH): Likewise.
14219 (TRAP_HWBKPT): Likewise.
14220 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14221 __USE_XOPEN2K8].
14222 (CLD_KILLED): Likewise.
14223 (CLD_DUMPED): Likewise.
14224 (CLD_TRAPPED): Likewise.
14225 (CLD_STOPPED): Likewise.
14226 (CLD_CONTINUED): Likewise.
14227 (POLL_IN): Likewise.
14228 (POLL_OUT): Likewise.
14229 (POLL_MSG): Likewise.
14230 (POLL_ERR): Likewise.
14231 (POLL_PRI): Likewise.
14232 (POLL_HUP): Likewise.
14233 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14234 (ILL_ILLOPN): Likewise.
14235 (ILL_ILLADR): Likewise.
14236 (ILL_ILLTRP): Likewise.
14237 (ILL_PRVOPC): Likewise.
14238 (ILL_PRVREG): Likewise.
14239 (ILL_COPROC): Likewise.
14240 (ILL_BADSTK): Likewise.
14241 (FPE_INTDIV): Likewise.
14242 (FPE_INTOVF): Likewise.
14243 (FPE_FLTDIV): Likewise.
14244 (FPE_FLTOVF): Likewise.
14245 (FPE_FLTUND): Likewise.
14246 (FPE_FLTRES): Likewise.
14247 (FPE_FLTINV): Likewise.
14248 (FPE_FLTSUB): Likewise.
14249 (SEGV_MAPERR): Likewise.
14250 (SEGV_ACCERR): Likewise.
14251 (BUS_ADRALN): Likewise.
14252 (BUS_ADRERR): Likewise.
14253 (BUS_OBJERR): Likewise.
14254 (BUS_MCEERR_AR): Likewise.
14255 (BUS_MCEERR_AO): Likewise.
14256 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14257 (TRAP_TRACE): Likewise.
14258 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14259 __USE_XOPEN2K8].
14260 (CLD_KILLED): Likewise.
14261 (CLD_DUMPED): Likewise.
14262 (CLD_TRAPPED): Likewise.
14263 (CLD_STOPPED): Likewise.
14264 (CLD_CONTINUED): Likewise.
14265 (POLL_IN): Likewise.
14266 (POLL_OUT): Likewise.
14267 (POLL_MSG): Likewise.
14268 (POLL_ERR): Likewise.
14269 (POLL_PRI): Likewise.
14270 (POLL_HUP): Likewise.
14271 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14272 (ILL_ILLOPN): Likewise.
14273 (ILL_ILLADR): Likewise.
14274 (ILL_ILLTRP): Likewise.
14275 (ILL_PRVOPC): Likewise.
14276 (ILL_PRVREG): Likewise.
14277 (ILL_COPROC): Likewise.
14278 (ILL_BADSTK): Likewise.
14279 (FPE_INTDIV): Likewise.
14280 (FPE_INTOVF): Likewise.
14281 (FPE_FLTDIV): Likewise.
14282 (FPE_FLTOVF): Likewise.
14283 (FPE_FLTUND): Likewise.
14284 (FPE_FLTRES): Likewise.
14285 (FPE_FLTINV): Likewise.
14286 (FPE_FLTSUB): Likewise.
14287 (SEGV_MAPERR): Likewise.
14288 (SEGV_ACCERR): Likewise.
14289 (BUS_ADRALN): Likewise.
14290 (BUS_ADRERR): Likewise.
14291 (BUS_OBJERR): Likewise.
14292 (BUS_MCEERR_AR): Likewise.
14293 (BUS_MCEERR_AO): Likewise.
14294 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14295 (TRAP_TRACE): Likewise.
14296 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14297 __USE_XOPEN2K8].
14298 (CLD_KILLED): Likewise.
14299 (CLD_DUMPED): Likewise.
14300 (CLD_TRAPPED): Likewise.
14301 (CLD_STOPPED): Likewise.
14302 (CLD_CONTINUED): Likewise.
14303 (POLL_IN): Likewise.
14304 (POLL_OUT): Likewise.
14305 (POLL_MSG): Likewise.
14306 (POLL_ERR): Likewise.
14307 (POLL_PRI): Likewise.
14308 (POLL_HUP): Likewise.
14309 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14310 (ILL_ILLOPN): Likewise.
14311 (ILL_ILLADR): Likewise.
14312 (ILL_ILLTRP): Likewise.
14313 (ILL_PRVOPC): Likewise.
14314 (ILL_PRVREG): Likewise.
14315 (ILL_COPROC): Likewise.
14316 (ILL_BADSTK): Likewise.
14317 (FPE_INTDIV): Likewise.
14318 (FPE_INTOVF): Likewise.
14319 (FPE_FLTDIV): Likewise.
14320 (FPE_FLTOVF): Likewise.
14321 (FPE_FLTUND): Likewise.
14322 (FPE_FLTRES): Likewise.
14323 (FPE_FLTINV): Likewise.
14324 (FPE_FLTSUB): Likewise.
14325 (SEGV_MAPERR): Likewise.
14326 (SEGV_ACCERR): Likewise.
14327 (BUS_ADRALN): Likewise.
14328 (BUS_ADRERR): Likewise.
14329 (BUS_OBJERR): Likewise.
14330 (BUS_MCEERR_AR): Likewise.
14331 (BUS_MCEERR_AO): Likewise.
14332 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14333 (TRAP_TRACE): Likewise.
14334 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14335 __USE_XOPEN2K8].
14336 (CLD_KILLED): Likewise.
14337 (CLD_DUMPED): Likewise.
14338 (CLD_TRAPPED): Likewise.
14339 (CLD_STOPPED): Likewise.
14340 (CLD_CONTINUED): Likewise.
14341 (POLL_IN): Likewise.
14342 (POLL_OUT): Likewise.
14343 (POLL_MSG): Likewise.
14344 (POLL_ERR): Likewise.
14345 (POLL_PRI): Likewise.
14346 (POLL_HUP): Likewise.
14347 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14348 (ILL_ILLOPN): Likewise.
14349 (ILL_ILLADR): Likewise.
14350 (ILL_ILLTRP): Likewise.
14351 (ILL_PRVOPC): Likewise.
14352 (ILL_PRVREG): Likewise.
14353 (ILL_COPROC): Likewise.
14354 (ILL_BADSTK): Likewise.
14355 (ILL_DBLFLT): Likewise.
14356 (ILL_HARDWALL): Likewise.
14357 (FPE_INTDIV): Likewise.
14358 (FPE_INTOVF): Likewise.
14359 (FPE_FLTDIV): Likewise.
14360 (FPE_FLTOVF): Likewise.
14361 (FPE_FLTUND): Likewise.
14362 (FPE_FLTRES): Likewise.
14363 (FPE_FLTINV): Likewise.
14364 (FPE_FLTSUB): Likewise.
14365 (SEGV_MAPERR): Likewise.
14366 (SEGV_ACCERR): Likewise.
14367 (BUS_ADRALN): Likewise.
14368 (BUS_ADRERR): Likewise.
14369 (BUS_OBJERR): Likewise.
14370 (BUS_MCEERR_AR): Likewise.
14371 (BUS_MCEERR_AO): Likewise.
14372 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14373 (TRAP_TRACE): Likewise.
14374 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14375 __USE_XOPEN2K8].
14376 (CLD_KILLED): Likewise.
14377 (CLD_DUMPED): Likewise.
14378 (CLD_TRAPPED): Likewise.
14379 (CLD_STOPPED): Likewise.
14380 (CLD_CONTINUED): Likewise.
14381 (POLL_IN): Likewise.
14382 (POLL_OUT): Likewise.
14383 (POLL_MSG): Likewise.
14384 (POLL_ERR): Likewise.
14385 (POLL_PRI): Likewise.
14386 (POLL_HUP): Likewise.
14387 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14388 (ILL_ILLOPN): Likewise.
14389 (ILL_ILLADR): Likewise.
14390 (ILL_ILLTRP): Likewise.
14391 (ILL_PRVOPC): Likewise.
14392 (ILL_PRVREG): Likewise.
14393 (ILL_COPROC): Likewise.
14394 (ILL_BADSTK): Likewise.
14395 (FPE_INTDIV): Likewise.
14396 (FPE_INTOVF): Likewise.
14397 (FPE_FLTDIV): Likewise.
14398 (FPE_FLTOVF): Likewise.
14399 (FPE_FLTUND): Likewise.
14400 (FPE_FLTRES): Likewise.
14401 (FPE_FLTINV): Likewise.
14402 (FPE_FLTSUB): Likewise.
14403 (SEGV_MAPERR): Likewise.
14404 (SEGV_ACCERR): Likewise.
14405 (BUS_ADRALN): Likewise.
14406 (BUS_ADRERR): Likewise.
14407 (BUS_OBJERR): Likewise.
14408 (BUS_MCEERR_AR): Likewise.
14409 (BUS_MCEERR_AO): Likewise.
14410 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14411 (TRAP_TRACE): Likewise.
14412 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14413 __USE_XOPEN2K8].
14414 (CLD_KILLED): Likewise.
14415 (CLD_DUMPED): Likewise.
14416 (CLD_TRAPPED): Likewise.
14417 (CLD_STOPPED): Likewise.
14418 (CLD_CONTINUED): Likewise.
14419 (POLL_IN): Likewise.
14420 (POLL_OUT): Likewise.
14421 (POLL_MSG): Likewise.
14422 (POLL_ERR): Likewise.
14423 (POLL_PRI): Likewise.
14424 (POLL_HUP): Likewise.
14425 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14426 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14427
bc61d27c
JM
14428 [BZ #16670]
14429 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14430 before #include of <time.h>.
14431 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14432 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14433 (test-xfail-UNIX98/sched.h/conform): Likewise.
14434
302949e2
MS
144352014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14436
14437 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14438 error absence of trapping exception support.
14439 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14440
a00f522a
JM
144412014-03-07 Joseph Myers <joseph@codesourcery.com>
14442
6f99f280
JM
14443 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14444 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14445 * timezone/Makefile (testdata): Move definition above include of
14446 Rules.
14447 (test-zones): New variable.
14448 (tests-special): Add zone files.
14449 (build-testdata): Use $(evaluate-test).
14450
0b20a9e8
JM
14451 * elf/Makefile (tests-special): Rename tests to end with .out.
14452 ($(objpfx)noload-mem): Likewise.
14453 ($(objpfx)tst-leaks1-mem): Likewise.
14454 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14455 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14456 $(objpfx)test-iconvconfig.out.
14457 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14458 set -e inside subshell and redirect output to file.
14459 * iconvdata/Makefile (generated): Rename tests to end with .out.
14460 Correct type.
14461 (tests-special): Rename tests to end with .out.
14462 ($(objpfx)mtrace-tst-loading): Likewise.
14463 * intl/Makefile (generated): Likewise.
14464 (tests-special): Likewise.
14465 ($(objpfx)mtrace-tst-gettext): Likewise.
14466 * misc/Makefile (generated): Likewise.
14467 (tests-special): Likewise.
14468 ($(objpfx)tst-error1-mem): Likewise.
14469 * nptl/Makefile (tests-special): Likewise.
14470 ($(objpfx)tst-stack3-mem): Likewise.
14471 (generated): Likewise.
14472 * posix/Makefile (generated): Likewise.
14473 (tests-special): Likewise.
14474 (xtests-special): Likewise.
14475 ($(objpfx)tst-fnmatch-mem): Likewise.
14476 ($(objpfx)bug-regex2-mem): Likewise.
14477 ($(objpfx)bug-regex14-mem): Likewise.
14478 ($(objpfx)bug-regex21-mem): Likewise.
14479 ($(objpfx)bug-regex31-mem): Likewise.
14480 ($(objpfx)tst-vfork3-mem): Likewise.
14481 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14482 ($(objpfx)tst-pcre-mem): Likewise.
14483 ($(objpfx)tst-boost-mem): Likewise.
14484 ($(objpfx)bug-ga2-mem): Likewise.
14485 ($(objpfx)bug-glob2-mem): Likewise.
14486 * resolv/Makefile (generate): Likewise.
14487 (tests-special): Likewise.
14488 (xtests-special): Likewise.
14489 (generated): Likewise.
14490 ($(objpfx)mtrace-tst-leaks): Likewise.
14491 ($(objpfx)mtrace-tst-leaks2): Likewise.
14492
265d52ab
JM
14493 * scripts/merge-test-results.sh: New file.
14494 * Makefile (tests-special-notdir): New variable.
14495 (tests): Run merge-test-results.sh.
14496 (xtests): Likewise.
14497 * Rules (tests-special-notdir): New variable.
14498 (xtests-special-notdir): Likewise.
14499 (tests): Run merge-test-results.sh
14500 (xtests): Likewise.
14501
54ee292d
JM
14502 * Makeconfig (test-xfail-name): New variable.
14503 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14504 compute variable name for expected failures.
14505 * conform/Makefile (conformtest-headers-data): New variable.
14506 (conformtest-standards): Likewise.
14507 (conformtest-headers-ISO): Likewise.
14508 (conformtest-headers-ISO99): Likewise.
14509 (conformtest-headers-ISO11): Likewise.
14510 (conformtest-headers-POSIX): Likewise.
14511 (conformtest-headers-XPG3): Likewise.
14512 (conformtest-headers-XPG4): Likewise.
14513 (conformtest-headers-UNIX98): Likewise.
14514 (conformtest-headers-XOPEN2K): Likewise.
14515 (conformtest-headers-POSIX2008): Likewise.
14516 (conformtest-headers-XOPEN2K8): Likewise.
14517 (conformtest-header-list-base): Likewise.
14518 (conformtest-header-list-tests): Likewise.
14519 (conformtest-header-base): Likewise.
14520 (conformtest-header-tests): Likewise.
14521 (tests-special): Add $(conformtest-header-list-tests). If
14522 [$(fast-check) && !$(cross-compiling)], add
14523 $(conformtest-header-tests) instead of
14524 $(objpfx)run-conformtest.out.
14525 (generated): Add $(conformtest-header-list-base). If
14526 [$(fast-check) && !$(cross-compiling)], add
14527 $(conformtest-header-base). Remove previous setting.
14528 ($(conformtest-header-list-tests)): New target.
14529 (test-xfail-run-conformtest): Remove variable.
14530 ($(objpfx)run-conformtest.out): Remove target.
14531 (test-xfail-ISO11/complex.h/conform): New variable.
14532 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14533 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14534 (test-xfail-XPG3/varargs.h/conform): Likewise.
14535 (test-xfail-XPG4/varargs.h/conform): Likewise.
14536 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14537 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14538 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14539 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14540 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14541 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14542 (test-xfail-XPG3/ftw.h/conform): Likewise.
14543 (test-xfail-XPG3/grp.h/conform): Likewise.
14544 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14545 (test-xfail-XPG3/limits.h/conform): Likewise.
14546 (test-xfail-XPG3/pwd.h/conform): Likewise.
14547 (test-xfail-XPG3/search.h/conform): Likewise.
14548 (test-xfail-XPG3/signal.h/conform): Likewise.
14549 (test-xfail-XPG3/stdio.h/conform): Likewise.
14550 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14551 (test-xfail-XPG3/string.h/conform): Likewise.
14552 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14553 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14554 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14555 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14556 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14557 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14558 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14559 (test-xfail-XPG3/termios.h/conform): Likewise.
14560 (test-xfail-XPG3/time.h/conform): Likewise.
14561 (test-xfail-XPG3/unistd.h/conform): Likewise.
14562 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14563 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14564 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14565 (test-xfail-XPG4/netdb.h/conform): Likewise.
14566 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14567 (test-xfail-XPG4/signal.h/conform): Likewise.
14568 (test-xfail-XPG4/stdio.h/conform): Likewise.
14569 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14570 (test-xfail-XPG4/stropts.h/conform): Likewise.
14571 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14572 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14573 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14574 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14575 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14576 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14577 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14578 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14579 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14580 (test-xfail-XPG4/termios.h/conform): Likewise.
14581 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14582 (test-xfail-XPG4/unistd.h/conform): Likewise.
14583 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14584 (test-xfail-POSIX/sched.h/conform): Likewise.
14585 (test-xfail-POSIX/signal.h/conform): Likewise.
14586 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14587 (test-xfail-POSIX/tar.h/conform): Likewise.
14588 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14589 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14590 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14591 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14592 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14593 (test-xfail-UNIX98/sched.h/conform): Likewise.
14594 (test-xfail-UNIX98/signal.h/conform): Likewise.
14595 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14596 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14597 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14598 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14599 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14600 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14601 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14602 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14603 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14604 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14605 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14606 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14607 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14608 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14609 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14610 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14611 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14612 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14613 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14614 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14615 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14616 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14617 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14618 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14619 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14620 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14621 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14622 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14623 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14624 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14625 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14626 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14627 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14628 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14629 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14630 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14631 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14632 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14633 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14634 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14635 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14636 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14637 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14638 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14639 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14640 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14641 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14642 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14643 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14644 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14645 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14646 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14647 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14648 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14649 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14650 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14651 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14652 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14653 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14654 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14655 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14656 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14657 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14658 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14659 (conformtest-cc-flags): Likewise.
14660 ($(conformtest-header-tests): New target.
14661 * conform/check-header-lists.sh: New file.
14662 * conform/run-conformtest.sh: Remove.
14663
a00f522a
JM
14664 * conform/conformtest.pl: Allow ' and \ in values given for
14665 constants.
14666 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14667 inclusion.
14668 [POSIX] (sys/types.h): Likewise.
14669 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14670 inclusion.
14671 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14672 inclusion.
14673 * conform/data/signal.h-data (SIGIO): Remove expectation.
14674 [XPG3] (SIGBUS): Do not expect.
14675 [POSIX || XPG3] (SIGPOLL): Likewise.
14676 [POSIX || XPG3] (SIGPROF): Likewise.
14677 [POSIX || XPG3] (SIGSYS): Likewise.
14678 [XPG3] (SIGTRAP): Likewise.
14679 [POSIX || XPG3] (SIGURG): Likewise.
14680 [POSIX || XPG3] (SIGVTALRM): Likewise.
14681 [POSIX || XPG3] (SIGXCPU): Likewise.
14682 [POSIX || XPG3] (SIGXFSZ): Likewise.
14683 [POSIX] (SA_SIGINFO): Expect.
14684 [XPG3] (siginfo_t): Do not expect type or contents.
14685 [POSIX] (si_pid): Do not expect element.
14686 [POSIX] (si_uid): Likewise.
14687 [POSIX] (si_addr): Likewise.
14688 [POSIX] (si_status): Likewise.
14689 [POSIX] (si_band): Likewise.
14690 [XPG4] (si_value): Likewise.
14691 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14692 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14693 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14694 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14695 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14696 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14697 [POSIX || XPG3] (ILL_COPROC): Likewise.
14698 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14699 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14700 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14701 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14702 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14703 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14704 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14705 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14706 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14707 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14708 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14709 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14710 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14711 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14712 [POSIX || XPG3] (CLD_EXITED): Likewise.
14713 [POSIX || XPG3] (CLD_KILLED): Likewise.
14714 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14715 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14716 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14717 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14718 [POSIX || XPG3] (POLL_IN): Likewise.
14719 [POSIX || XPG3] (POLL_OUT): Likewise.
14720 [POSIX || XPG3] (POLL_MSG): Likewise.
14721 [POSIX || XPG3] (POLL_ERR): Likewise.
14722 [POSIX || XPG3] (POLL_PRI): Likewise.
14723 [POSIX || XPG3] (POLL_HUP): Likewise.
14724 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14725 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14726 (SIG*): Do not allow.
14727 [XPG3] (si_*): Likewise.
14728 [XPG3] (SI_*): Likewise.
14729 [XPG3 || XPG4] (sigev_*): Likewise.
14730 [XPG3 || XPG4] (SIGEV_*): Likewise.
14731 [XPG3 || XPG4] (sival_*): Likewise.
14732 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14733 [POSIX || XPG3] (BUS_*): Likewise.
14734 [POSIX || XPG3] (CLD_*): Likewise.
14735 [POSIX || XPG3] (FPE_*): Likewise.
14736 [POSIX || XPG3] (ILL_*): Likewise.
14737 [POSIX || XPG3] (POLL_*): Likewise.
14738 [POSIX || XPG3] (SEGV_*): Likewise.
14739 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14740 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14741 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14742 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14743 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14744 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14745 Specify type and value.
14746 (TVERSLEN): Likewise.
14747 (REGTYPE): Likewise.
14748 (AREGTYPE): Likewise.
14749 (LNKTYPE): Likewise.
14750 (SYMTYPE): Likewise.
14751 (CHRTYPE): Likewise.
14752 (BLKTYPE): Likewise.
14753 (DIRTYPE): Likewise.
14754 (FIFOTYPE): Likewise.
14755 (CONTTYPE): Likewise.
14756 (TSUID): Likewise.
14757 (TSGID): Likewise.
14758 (TSVTX): Likewise.
14759 (TUREAD): Likewise.
14760 (TUWRITE): Likewise.
14761 (TUEXEC): Likewise.
14762 (TGREAD): Likewise.
14763 (TGWRITE): Likewise.
14764 (TGEXEC): Likewise.
14765 (TOREAD): Likewise.
14766 (TOWRITE): Likewise.
14767 (TOEXEC): Likewise.
14768 [POSIX] (TSVTX): Expect constant.
14769
aa97dee1
JM
147702014-03-06 Joseph Myers <joseph@codesourcery.com>
14771
f214606a
JM
14772 * Makefile (tests): Change dependencies to ....
14773 (tests-special): ... additions to this variable.
14774 (tests): Depend on $(tests-special).
14775 * Makerules (check-abi-list): New variable.
14776 (check-abi): Depend on $(check-abi-list).
14777 [$(subdir) = elf] (tests-special): Add
14778 $(objpfx)check-abi-libc.out.
14779 [$(build-shared) = yes && subdir] (tests-special): Add
14780 $(check-abi-list).
14781 [$(build-shared) = yes && subdir] (tests): Do not depend on
14782 check-abi.
14783 * Rules (tests): Depend on $(tests-special).
14784 (xtests): Depend on $(xtests-special).
14785 * catgets/Makefile (tests): Change dependencies to ....
14786 (tests-special): ... additions to this variable.
14787 * conform/Makefile (tests): Change dependencies to ....
14788 (tests-special): ... additions to this variable.
14789 * elf/Makefile (tests): Change dependencies to ....
14790 (tests-special): ... additions to this variable.
14791 * grp/Makefile (tests): Change dependencies to ....
14792 (tests-special): ... additions to this variable.
14793 * iconv/Makefile (xtests): Change dependencies to ....
14794 (xtests-special): ... additions to this variable.
14795 * iconvdata/Makefile (tests): Change dependencies to ....
14796 (tests-special): ... additions to this variable.
14797 * intl/Makefile (tests): Change dependencies to ....
14798 (tests-special): ... additions to this variable. Also add
14799 $(objpfx)tst-gettext.out.
14800 * io/Makefile (tests): Change dependencies to ....
14801 (tests-special): ... additions to this variable.
14802 * libio/Makefile (tests): Change dependencies to ....
14803 (tests-special): ... additions to this variable.
14804 * malloc/Makefile (tests): Change dependencies to ....
14805 (tests-special): ... additions to this variable.
14806 * misc/Makefile (tests): Change dependencies to ....
14807 (tests-special): ... additions to this variable.
14808 * nptl/Makefile (tests): Change dependencies to ....
14809 (tests-special): ... additions to this variable.
14810 * nptl_db/Makefile (tests): Change dependencies to ....
14811 (tests-special): ... additions to this variable.
14812 * posix/Makefile (tests): Change dependencies to ....
14813 (tests-special): ... additions to this variable.
14814 (xtests): Change dependencies to ....
14815 (xtests-special): ... additions to this variable.
14816 * resolv/Makefile (tests): Change dependencies to ....
14817 (tests-special): ... additions to this variable.
14818 (xtests): Change dependencies to ....
14819 (xtests-special): ... additions to this variable.
14820 * stdio-common/Makefile (tests): Change dependencies to ....
14821 (tests-special): ... additions to this variable.
14822 (do-tst-unbputc): Remove target.
14823 (do-tst-printf): Likewise.
14824 * stdlib/Makefile (tests): Change dependencies to ....
14825 (tests-special): ... additions to this variable.
14826 * string/Makefile (tests): Change dependencies to ....
14827 (tests-special): ... additions to this variable.
14828 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14829 (tests-special): ... additions to this variable.
14830
81700b53
JM
14831 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14832 whole file.
14833 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14834 whole file.
14835 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14836 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14837
2ea18461
JM
14838 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14839 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14840 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14841 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14842 * conform/data/libgen.h-data [XPG3]: Likewise.
14843 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14844 * conform/data/ndbm.h-data [XPG3]: Likewise.
14845 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14846 * conform/data/netdb.h-data [XPG3]: Likewise.
14847 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14848 * conform/data/poll.h-data [XPG3]: Likewise.
14849 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14850 * conform/data/strings.h-data [XPG3]: Likewise.
14851 * conform/data/stropts.h-data [XPG3]: Likewise.
14852 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14853 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14854 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14855 Likewise.
14856 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14857 * conform/data/sys/time.h-data [XPG3]: Likewise.
14858 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14859 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14860 * conform/data/sys/un.h-data [XPG3]: Likewise.
14861 * conform/data/syslog.h-data [XPG3]: Likewise.
14862 * conform/data/ucontext.h-data [XPG3]: Likewise.
14863 * conform/data/utmpx.h-data [XPG3]: Likewise.
14864 * conform/data/varargs.h-data [UNIX98]: Enable file.
14865
355bc986
JM
14866 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14867
215db402
JM
14868 * math/libm-test.inc (struct test_f_f_data): Move expected results
14869 into structure for each rounding mode.
14870 (struct test_ff_f_data): Likewise.
14871 (struct test_ff_f_data_nexttoward): Likewise.
14872 (struct test_fi_f_data): Likewise.
14873 (struct test_fl_f_data): Likewise.
14874 (struct test_if_f_data): Likewise.
14875 (struct test_fff_f_data): Likewise.
14876 (struct test_c_f_data): Likewise.
14877 (struct test_f_f1_data): Likewise.
14878 (struct test_fF_f1_data): Likewise.
14879 (struct test_ffI_f1_data): Likewise.
14880 (struct test_c_c_data): Likewise.
14881 (struct test_cc_c_data): Likewise.
14882 (struct test_f_i_data): Likewise.
14883 (struct test_ff_i_data): Likewise.
14884 (struct test_f_l_data): Likewise.
14885 (struct test_f_L_data): Likewise.
14886 (struct test_fFF_11_data): Likewise.
14887 (RM_): New macro.
14888 (RM_FE_DOWNWARD): Likewise.
14889 (RM_FE_TONEAREST): Likewise.
14890 (RM_FE_TOWARDZERO): Likewise.
14891 (RM_FE_UPWARD): Likewise.
14892 (RUN_TEST_LOOP_f_f): Update references to expected results.
14893 (RUN_TEST_LOOP_2_f): Likewise.
14894 (RUN_TEST_LOOP_fff_f): Likewise.
14895 (RUN_TEST_LOOP_c_f): Likewise.
14896 (RUN_TEST_LOOP_f_f1): Likewise.
14897 (RUN_TEST_LOOP_fF_f1): Likewise.
14898 (RUN_TEST_LOOP_fI_f1): Likewise.
14899 (RUN_TEST_LOOP_ffI_f1): Likewise.
14900 (RUN_TEST_LOOP_c_c): Likewise.
14901 (RUN_TEST_LOOP_cc_c): Likewise.
14902 (RUN_TEST_LOOP_f_i): Likewise.
14903 (RUN_TEST_LOOP_f_i_tg): Likewise.
14904 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14905 (RUN_TEST_LOOP_f_b): Likewise.
14906 (RUN_TEST_LOOP_f_b_tg): Likewise.
14907 (RUN_TEST_LOOP_f_l): Likewise.
14908 (RUN_TEST_LOOP_f_L): Likewise.
14909 (RUN_TEST_LOOP_fFF_11): Likewise.
14910 * math/gen-libm-test.pl (parse_args): Output four copies of
14911 expected results for each test.
14912
67737b8f
JM
14913 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14914 (__ASSUME_UTIMES): Remove.
14915 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14916 (__ASSUME_UTIMES): Likewise.
14917
aa97dee1
JM
14918 * math/gen-auto-libm-tests.c: Update comment on output format.
14919 (output_for_one_input_case): Generate before-rounding and
14920 after-rounding information as conditions on output flags not
14921 floating-point format.
14922 * math/auto-libm-test-out: Regenerated.
14923 * math/gen-libm-test.pl (cond_value): New function.
14924 (or_cond_value): Use cond_value.
14925 (generate_testfile): Handle conditional exceptions.
14926
e6b6a857
JM
149272014-03-05 Joseph Myers <joseph@codesourcery.com>
14928
2f0a0f44
JM
14929 * math/libm-test.inc (max_valid_error): New variable.
14930 (init_max_error): Take new argument specifying whether function
14931 results are exactly determined. Set max_valid_error and bound
14932 other variables for errors based on this argument.
14933 (set_max_error): Do not record results above max_valid_error.
14934 (check_float_internal): Only accept errors of up to 0.5ulps if
14935 also at most max_valid_error.
14936 (START): Take new argument EXACT and pass it to init_max_error.
14937 (acos_test): Update call to START.
14938 (acos_test_tonearest): Likewise.
14939 (acos_test_towardzero): Likewise.
14940 (acos_test_downward): Likewise.
14941 (acos_test_upward): Likewise.
14942 (acosh_test): Likewise.
14943 (asin_test): Likewise.
14944 (asin_test_tonearest): Likewise.
14945 (asin_test_towardzero): Likewise.
14946 (asin_test_downward): Likewise.
14947 (asin_test_upward): Likewise.
14948 (asinh_test): Likewise.
14949 (atan_test): Likewise.
14950 (atanh_test): Likewise.
14951 (atan2_test): Likewise.
14952 (cabs_test): Likewise.
14953 (cacos_test): Likewise.
14954 (cacosh_test): Likewise.
14955 (carg_test): Likewise.
14956 (casin_test): Likewise.
14957 (casinh_test): Likewise.
14958 (catan_test): Likewise.
14959 (catanh_test): Likewise.
14960 (cbrt_test): Likewise.
14961 (ccos_test): Likewise.
14962 (ccosh_test): Likewise.
14963 (ceil_test): Likewise.
14964 (cexp_test): Likewise.
14965 (cimag_test): Likewise.
14966 (clog_test): Likewise.
14967 (clog10_test): Likewise.
14968 (conj_test): Likewise.
14969 (copysign_test): Likewise.
14970 (cos_test): Likewise.
14971 (cos_test_tonearest): Likewise.
14972 (cos_test_towardzero): Likewise.
14973 (cos_test_downward): Likewise.
14974 (cos_test_upward): Likewise.
14975 (cosh_test): Likewise.
14976 (cosh_test_tonearest): Likewise.
14977 (cosh_test_towardzero): Likewise.
14978 (cosh_test_downward): Likewise.
14979 (cosh_test_upward): Likewise.
14980 (cpow_test): Likewise.
14981 (cproj_test): Likewise.
14982 (creal_test): Likewise.
14983 (csin_test): Likewise.
14984 (csinh_test): Likewise.
14985 (csqrt_test): Likewise.
14986 (ctan_test): Likewise.
14987 (ctan_test_tonearest): Likewise.
14988 (ctan_test_towardzero): Likewise.
14989 (ctan_test_downward): Likewise.
14990 (ctan_test_upward): Likewise.
14991 (ctanh_test): Likewise.
14992 (ctanh_test_tonearest): Likewise.
14993 (ctanh_test_towardzero): Likewise.
14994 (ctanh_test_downward): Likewise.
14995 (ctanh_test_upward): Likewise.
14996 (erf_test): Likewise.
14997 (erfc_test): Likewise.
14998 (exp_test): Likewise.
14999 (exp_test_tonearest): Likewise.
15000 (exp_test_towardzero): Likewise.
15001 (exp_test_downward): Likewise.
15002 (exp_test_upward): Likewise.
15003 (exp10_test): Likewise.
15004 (exp10_test_tonearest): Likewise.
15005 (exp10_test_towardzero): Likewise.
15006 (exp10_test_downward): Likewise.
15007 (exp10_test_upward): Likewise.
15008 (pow10_test): Likewise.
15009 (exp2_test): Likewise.
15010 (expm1_test): Likewise.
15011 (expm1_test_tonearest): Likewise.
15012 (expm1_test_towardzero): Likewise.
15013 (expm1_test_downward): Likewise.
15014 (expm1_test_upward): Likewise.
15015 (fabs_test): Likewise.
15016 (fdim_test): Likewise.
15017 (floor_test): Likewise.
15018 (fma_test): Likewise.
15019 (fma_test_towardzero): Likewise.
15020 (fma_test_downward): Likewise.
15021 (fma_test_upward): Likewise.
15022 (fmax_test): Likewise.
15023 (fmin_test): Likewise.
15024 (fmod_test): Likewise.
15025 (fpclassify_test): Likewise.
15026 (frexp_test): Likewise.
15027 (hypot_test): Likewise.
15028 (ilogb_test): Likewise.
15029 (isfinite_test): Likewise.
15030 (finite_test): Likewise.
15031 (isgreater_test): Likewise.
15032 (isgreaterequal_test): Likewise.
15033 (isinf_test): Likewise.
15034 (isless_test): Likewise.
15035 (islessequal_test): Likewise.
15036 (islessgreater_test): Likewise.
15037 (isnan_test): Likewise.
15038 (isnormal_test): Likewise.
15039 (issignaling_test): Likewise.
15040 (isunordered_test): Likewise.
15041 (j0_test): Likewise.
15042 (j1_test): Likewise.
15043 (jn_test): Likewise.
15044 (ldexp_test): Likewise.
15045 (lgamma_test): Likewise.
15046 (gamma_test): Likewise.
15047 (lrint_test): Likewise.
15048 (lrint_test_tonearest): Likewise.
15049 (lrint_test_towardzero): Likewise.
15050 (lrint_test_downward): Likewise.
15051 (lrint_test_upward): Likewise.
15052 (llrint_test): Likewise.
15053 (llrint_test_tonearest): Likewise.
15054 (llrint_test_towardzero): Likewise.
15055 (llrint_test_downward): Likewise.
15056 (llrint_test_upward): Likewise.
15057 (log_test): Likewise.
15058 (log10_test): Likewise.
15059 (log1p_test): Likewise.
15060 (log2_test): Likewise.
15061 (logb_test): Likewise.
15062 (logb_test_downward): Likewise.
15063 (lround_test): Likewise.
15064 (llround_test): Likewise.
15065 (modf_test): Likewise.
15066 (nearbyint_test): Likewise.
15067 (nextafter_test): Likewise.
15068 (nexttoward_test): Likewise.
15069 (pow_test): Likewise.
15070 (pow_test_tonearest): Likewise.
15071 (pow_test_towardzero): Likewise.
15072 (pow_test_downward): Likewise.
15073 (pow_test_upward): Likewise.
15074 (remainder_test): Likewise.
15075 (drem_test): Likewise.
15076 (remainder_test_tonearest): Likewise.
15077 (drem_test_tonearest): Likewise.
15078 (remainder_test_towardzero): Likewise.
15079 (drem_test_towardzero): Likewise.
15080 (remainder_test_downward): Likewise.
15081 (drem_test_downward): Likewise.
15082 (remainder_test_upward): Likewise.
15083 (drem_test_upward): Likewise.
15084 (remquo_test): Likewise.
15085 (rint_test): Likewise.
15086 (rint_test_tonearest): Likewise.
15087 (rint_test_towardzero): Likewise.
15088 (rint_test_downward): Likewise.
15089 (rint_test_upward): Likewise.
15090 (round_test): Likewise.
15091 (scalb_test): Likewise.
15092 (scalbn_test): Likewise.
15093 (scalbln_test): Likewise.
15094 (signbit_test): Likewise.
15095 (sin_test): Likewise.
15096 (sin_test_tonearest): Likewise.
15097 (sin_test_towardzero): Likewise.
15098 (sin_test_downward): Likewise.
15099 (sin_test_upward): Likewise.
15100 (sincos_test): Likewise.
15101 (sinh_test): Likewise.
15102 (sinh_test_tonearest): Likewise.
15103 (sinh_test_towardzero): Likewise.
15104 (sinh_test_downward): Likewise.
15105 (sinh_test_upward): Likewise.
15106 (sqrt_test): Likewise.
15107 (sqrt_test_tonearest): Likewise.
15108 (sqrt_test_towardzero): Likewise.
15109 (sqrt_test_downward): Likewise.
15110 (sqrt_test_upward): Likewise.
15111 (tan_test): Likewise.
15112 (tan_test_tonearest): Likewise.
15113 (tan_test_towardzero): Likewise.
15114 (tan_test_downward): Likewise.
15115 (tan_test_upward): Likewise.
15116 (tanh_test): Likewise.
15117 (tgamma_test): Likewise.
15118 (trunc_test): Likewise.
15119 (y0_test): Likewise.
15120 (y1_test): Likewise.
15121 (yn_test): Likewise.
15122 (significand_test): Likewise.
15123
e6b6a857
JM
15124 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15125 individual tests in comment.
15126 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15127 (prev_max_error): New variable.
15128 (prev_real_max_error): Likewise.
15129 (prev_imag_max_error): Likewise.
15130 (compare_ulp_data): Don't refer to test names in comment.
15131 (find_test_ulps): Remove function.
15132 (find_function_ulps): Likewise.
15133 (find_complex_function_ulps): Likewise.
15134 (init_max_error): Take function name as argument. Look up ulps
15135 for that function.
15136 (print_ulps): Remove function.
15137 (print_max_error): Use prev_max_error instead of calling
15138 find_function_ulps.
15139 (print_complex_max_error): Use prev_real_max_error and
15140 prev_imag_max_error instead of calling find_complex_function_ulps.
15141 (check_float_internal): Take max_ulp parameter instead of calling
15142 find_test_ulps. Don't call print_ulps.
15143 (check_float): Update call to check_float_internal.
15144 (check_complex): Update calls to check_float_internal.
15145 (START): Pass argument to init_max_error.
15146 * math/gen-libm-test.pl (%results): Don't include "kind"
15147 information.
15148 (parse_ulps): Don't handle ulps of individual tests.
15149 (print_ulps_file): Likewise.
15150 (output_ulps): Likewise.
15151 * math/README.libm-test: Update.
15152 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15153 individual tests.
15154 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15155 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15156 * sysdeps/arm/libm-test-ulps: Likewise.
15157 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15158 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15159 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15160 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15161 * sysdeps/microblaze/libm-test-ulps: Likewise.
15162 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15163 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15164 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15165 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15166 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15167 * sysdeps/sh/libm-test-ulps: Likewise.
15168 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15169 * sysdeps/tile/libm-test-ulps: Likewise.
15170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15171
45adef3c
JM
151722014-03-04 Joseph Myers <joseph@codesourcery.com>
15173
15174 * math/libm-test.inc (print_complex_max_error): Check separately
15175 whether real and imaginary errors are within allowed range and
15176 pass 0 to print_complex_function_ulps instead of value within
15177 allowed range.
15178
000232b9
SP
151792014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15180
d4b17258
SP
15181 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15182 formatting.
15183 (get_handles_fopen): Likewise.
15184 (do_write_test): Likewise.
15185
091eff71
SP
15186 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15187
fa3cd248
SP
15188 * libio/fileops.c (do_ftell): Use cached offset when
15189 available.
15190 * libio/iofwide.c (do_ftell_wide): Likewise.
15191 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15192 _IO_file_attach.
15193 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15194
000232b9
SP
15195 [BZ #16532]
15196 * libio/libioP.h (get_file_offset): New function.
15197 * libio/fileops.c (get_file_offset): Likewise.
15198 (do_ftell): Likewise.
15199 (_IO_new_file_seekoff): Split out ftell logic.
15200 * libio/wfileops.c (do_ftell_wide): Likewise.
15201 (_IO_wfile_seekoff): Split out ftell logic.
15202 * libio/tst-ftell-active-handler.c: New test case.
15203 * libio/Makefile (tests): Add it.
15204
116f4d1a
RM
152052014-03-03 Roland McGrath <roland@hack.frob.com>
15206
15207 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15208 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15209
532a6035
SP
152102014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15211
15212 [BZ #16639]
15213 * nscd/connections.c (nscd_init): Call do_exit.
15214 (start_threads): Call do_exit and notify_parent.
15215 (begin_drop_privileges): Call do_exit.
15216 (finish_drop_privileges): Likewise.
15217 * nscd/selinux.c (preserve_capabilities): Likewise.
15218 (install_real_capabilities): Likewise.
15219 (nscd_selinux_enabled): Likewise.
15220 (avc_create_thread): Likewise.
15221 (avc_alloc_lock): Likewise.
15222 (nscd_avc_init): Likewise.
15223 * nscd/nscd.c (parent_fd): New static variable.
15224 (main): Create a pipe between parent and child processes.
15225 Skip closing parent_fd.
15226 (monitor_child): New function.
15227 (do_exit): Likewise.
15228 (notify_parent): Likewise.
15229 * nscd/nscd.h (notify_parent): Likewise.
15230 (do_exit): Likewise.
15231
d6285c9f
CD
152322014-03-03 Carlos O'Donell <carlos@redhat.com>
15233
15234 * malloc/malloc.c (__libc_calloc): Revert last change.
15235
2b85d2a0
AZ
152362014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15237
15238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15239
c7debbdf
RS
152402014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15241
15242 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15243 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15244 implementation.
15245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15246 (__libc_ifunc_impl_list): Likewise.
15247 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15248 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15249 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15250 * string/strrchr.c: Define STRRCHR.
15251
235eed86
OB
152522014-02-28 Ondřej Bílka <neleai@seznam.cz>
15253
15254 * benchtest/bench-strtok.c (simple_strtok): Delete.
15255 (strtok_string): Use as benchmark.
15256 * string/strtok (STRTOK): New macro.
15257
8e25d1e7
CD
152582014-02-28 Carlos O'Donell <carlos@redhat.com>
15259
ef563f92
CD
15260 * manual/threads.texi: Add header and standard comments to all
15261 functions.
15262
8e25d1e7
CD
15263 * elf/dl-lookup.c (check_match): New function.
15264 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15265 (do_lookup_x): Remove nested function check_match. Use non-nested
15266 function check_match.
15267
ff71cc37
RM
152682014-02-28 Roland McGrath <roland@hack.frob.com>
15269
f08e9a26
RM
15270 * csu/Makefile (generated, before-compile): Use += rather than =.
15271 * catgets/Makefile (generated, generated-dirs): Likewise.
15272 * debug/Makefile (generated): Likewise.
15273 * dlfcn/Makefile (generated): Likewise.
15274 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15275 * iconvdata/Makefile (before-compile, generated): Likewise.
15276 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15277 * libio/Makefile (generated): Likewise.
15278 * malloc/Makefile (generated): Likewise.
15279 * manual/Makefile (generated, generated-dirs): Likewise.
15280 * misc/Makefile (generated): Likewise.
15281 * posix/Makefile (generated): Likewise.
15282 * resolv/Makefile (generated): Likewise.
15283 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15284 * timezone/Makefile (generated, generated-dirs): Likewise.
15285
ff71cc37
RM
15286 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15287
fe13a20c
AZ
152882014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15289
57f41c40
AS
15290 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15291 power8 implementation.
15292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15293 file: POWER8 llround ifunc implementation.
15294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15295 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
15296 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15297 POWER8 llround implementation.
15298
57f41c40
AS
15299 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15300 power8 implementation.
15301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15302 file: POWER8 llrint ifunc implementation.
15303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15304 Add POWER8 implementation.
1ad8950a
AZ
15305 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15306 POWER8 llrint implementation.
15307
57f41c40
AS
15308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15309 power8 implementation.
15310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15311 file: POWER8 finite ifunc implementation.
15312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15313 Add POWER8 implementation.
cac626d6
AZ
15314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15315 Likewise.
15316 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15317 POWER8 finite implementation.
15318 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15319
57f41c40
AS
15320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15321 power8 implementation.
15322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15323 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
15324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15325 POWER8 implementation.
15326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15327 Likewise.
57f41c40
AS
15328 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15329 isinf implementation.
4393fc11
AZ
15330 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15331
57f41c40
AS
15332 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15333 (INIT_ARCH): Add hwcap2 initialization.
15334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15335 power8 implementation.
15336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15337 file: POWER8 isnan ifunc implementation.
487972ae
AZ
15338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15339 POWER8 implementation.
15340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15341 Likewise.
57f41c40
AS
15342 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15343 isnan implementation.
487972ae
AZ
15344 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15345
7d92b787
JY
153462014-02-27 Joey Ye <joey.ye@arm.com>
15347
15348 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15349 (_FP_NANFRAC_Q): Set to zero.
15350
1cadc858
SP
153512014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15352
15353 [BZ #16623]
15354 * math/auto-libm-test-in: New test inputs.
15355 * math/auto-libm-test-out: Regenerate.
15356 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15357 and DA.
15358 (__cos): Likewise.
15359 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15360
f8c17e79
JM
153612014-02-27 Joseph Myers <joseph@codesourcery.com>
15362
15363 * scripts/evaluate-test.sh: Take new argument indicating whether
15364 failure is expected.
15365 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15366 indicating whether failure is expected.
15367 * conform/Makefile (test-xfail-run-conformtest): New variable.
15368 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15369 level.
15370 * posix/Makefile (test-xfail-annexc): New variable.
15371 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15372
a5f891ac
JM
153732014-02-26 Joseph Myers <joseph@codesourcery.com>
15374
15375 * argp/Makefile: Include Makeconfig immediately after defining
15376 subdir.
15377 * assert/Makefile: Likewise.
15378 * benchtests/Makefile: Likewise.
15379 * catgets/Makefile: Likewise.
15380 * conform/Makefile: Likewise.
15381 * crypt/Makefile: Likewise.
15382 * csu/Makefile: Likewise.
15383 (all): Remove target.
15384 * ctype/Makefile: Include Makeconfig immediately after defining
15385 subdir.
15386 * debug/Makefile: Likewise.
15387 * dirent/Makefile: Likewise.
15388 * dlfcn/Makefile: Likewise.
15389 * gmon/Makefile: Likewise.
15390 * gnulib/Makefile: Likewise.
15391 * grp/Makefile: Likewise.
15392 * gshadow/Makefile: Likewise.
15393 * hesiod/Makefile: Likewise.
15394 * hurd/Makefile: Likewise.
15395 (all): Remove target.
15396 * iconvdata/Makefile: Include Makeconfig immediately after
15397 defining subdir.
15398 * inet/Makefile: Likewise.
15399 * intl/Makefile: Likewise.
15400 * io/Makefile: Likewise.
15401 * libio/Makefile: Likewise.
15402 (all): Remove target.
15403 * locale/Makefile: Include Makeconfig immediately after defining
15404 subdir.
15405 * login/Makefile: Likewise.
15406 * mach/Makefile: Likewise.
15407 (all): Remove target.
15408 * malloc/Makefile: Include Makeconfig immediately after defining
15409 subdir.
15410 (all): Remove target.
15411 * manual/Makefile: Include Makeconfig immediately after defining
15412 subdir.
15413 * math/Makefile: Likewise.
15414 * misc/Makefile: Likewise.
15415 * nis/Makefile: Likewise.
15416 * nss/Makefile: Likewise.
15417 * po/Makefile: Likewise.
15418 (all): Remove target.
15419 * posix/Makefile: Include Makeconfig immediately after defining
15420 subdir.
15421 * pwd/Makefile: Likewise.
15422 * resolv/Makefile: Likewise.
15423 * resource/Makefile: Likewise.
15424 * rt/Makefile: Likewise.
15425 * setjmp/Makefile: Likewise.
15426 * shadow/Makefile: Likewise.
15427 * signal/Makefile: Likewise.
15428 * socket/Makefile: Likewise.
15429 * soft-fp/Makefile: Likewise.
15430 * stdio-common/Makefile: Likewise.
15431 * stdlib/Makefile: Likewise.
15432 * streams/Makefile: Likewise.
15433 * string/Makefile: Likewise.
15434 * sunrpc/Makefile: Likewise.
15435 (all): Remove target.
15436 * sysvipc/Makefile: Include Makeconfig immediately after defining
15437 subdir.
15438 * termios/Makefile: Likewise.
15439 * time/Makefile: Likewise.
15440 * timezone/Makefile: Likewise.
15441 (all): Remove target.
15442 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15443 subdir.
15444 * wctype/Makefile: Likewise.
15445
5b456e9d
SE
154462014-02-26 Steve Ellcey <sellcey@mips.com>
15447
15448 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15449 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15450 (libc_feholdexcept_setround_mips): Ditto.
15451 (libc_feholdsetround): New.
15452 (libc_feholdsetroundf): New.
15453 (libc_feholdsetroundl): New.
15454 (libc_feupdateenv_test_mips): New.
15455 (libc_feupdateenv_test): New.
15456 (libc_feupdateenv_testf): New.
15457 (libc_feupdateenv_testl): New.
15458 (libc_feresetround): New.
15459 (libc_feresetroundf): New.
15460 (libc_feresetroundl): New.
15461 (libc_fetestexcept_mips): New.
15462 (libc_fetestexcept): New.
15463 (libc_fetestexceptf): New.
15464 (libc_fetestexceptl): New.
15465 (HAVE_RM_CTX): New.
15466 (libc_feholdexcept_setround_mips_ctx): New.
15467 (libc_feholdexcept_setround_ctx): New.
15468 (libc_feholdexcept_setroundf_ctx): New.
15469 (libc_feholdexcept_setroundl_ctx): New.
15470 (libc_fesetenv_mips_ctx): New.
15471 (libc_fesetenv_ctx): New.
15472 (libc_fesetenv_ctxf): New.
15473 (libc_fesetenv_ctxl): New.
15474 (libc_feupdateenv_mips_ctx): New.
15475 (libc_feupdateenv_ctx): New.
15476 (libc_feupdateenvf_ctx): New.
15477 (libc_feupdateenvl_ctx): New.
15478 (libc_feholdsetround_mips_ctx): New.
15479 (libc_feholdsetround_ctx): New.
15480 (libc_feholdsetroundf_ctx): New.
15481 (libc_feholdsetroundl_ctx): New.
15482 (libc_feresetround_mips_ctx): New.
15483 (libc_feresetround_ctx): New.
15484 (libc_feresetroundf_ctx): New.
15485 (libc_feresetroundl_ctx): New.
15486
085d0e35
CD
154872014-02-26 Carlos O'Donell <carlos@redhat.com>
15488
f067bf1f
CD
15489 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15490
085d0e35
CD
15491 * manual/ipc.texi: New file.
15492 * manual/Makefile (chapters): Add ipc.
15493 * manual/job.texi: Add "Inter-Process Communication" to next.
15494 * manual/process.texi: Add "Inter-Process Communication" to prev.
15495
86e58c08
AZ
154962014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15497
15498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15499
4248f0da
OB
155002014-02-26 Ondřej Bílka <neleai@seznam.cz>
15501
15502 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15503
cf822e3c
OB
15504 * manual/arith.texi: Fix spaces after sentences.
15505 * manual/charset.texi: Likewise.
15506 * manual/errno.texi: Likewise.
15507 * manual/install.texi: Likewise.
15508 * manual/llio.texi: Likewise.
15509 * manual/locale.texi: Likewise.
15510 * manual/maint.texi: Likewise.
15511 * manual/math.texi: Likewise.
15512 * manual/memory.texi: Likewise.
15513 * manual/message.texi: Likewise.
15514 * manual/probes.texi: Likewise.
15515 * manual/resource.texi: Likewise.
15516 * manual/signal.texi: Likewise.
15517 * manual/socket.texi: Likewise.
15518 * manual/stdio.texi: Likewise.
15519 * manual/string.texi: Likewise.
15520 * manual/time.texi: Likewise.
15521 * manual/users.texi: Likewise.
15522
ade40b10
CD
155232014-02-25 Carlos O'Donell <carlos@redhat.com>
15524
15525 [BZ #16632]
15526 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15527 _DEFAULT_SOURCE is defined.
15528
d0503676
CD
155292014-02-25 Ulrich Drepper <drepper@gmail.com>
15530 Carlos O'Donell <carlos@redhat.com>
15531
15532 [BZ #16613]
15533 * elf/dl-tls.c (_dl_count_modids): New function.
15534 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15535 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15536 audit library and increment generation counter.
15537 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15538 * elf/tst-audit9.c: New file.
15539 * elf/tst-auditmod9a.c: New file.
15540 * elf/tst-auditmod9b.c: New file.
15541 * elf/Makefile: Add rules to build and run tst-audit9.
15542
4cbf380c
FW
155432014-02-25 Florian Weimer <fweimer@redhat.com>
15544
15545 [BZ #15347]
15546 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15547
80a56cc3
WN
155482014-02-25 Will Newton <will.newton@linaro.org>
15549
15550 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15551 (__longjmp): Restore sp and lr before restoring callee
15552 saved registers. Add longjmp and longjmp_target
15553 SystemTap probe point.
15554 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15555 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15556 Define to zero to match jmpbuf layout.
15557 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15558 (__sigsetjmp): Save sp and lr before saving callee
15559 saved registers. Add setjmp SystemTap probe point.
15560
3ea0f74e
SL
155612014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15562
15563 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15564
b04acb26
AS
155652014-02-24 Andreas Schwab <schwab@suse.de>
15566
15567 [BZ #15804]
15568 * elf/pldd.c (wait_for_ptrace_stop): New function.
15569 (main): Call it after attaching.
15570
098ad55c
RM
155712014-02-22 Roland McGrath <roland@hack.frob.com>
15572
d4ec6ae1
RM
15573 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15574 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15575 Versions files is now verboten.
15576 * hurd/Versions (libc: GLIBC_2.0):
15577 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15578 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15579 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15580 * mach/Versions: Likewise.
15581
098ad55c
RM
15582 * csu/Versions: Remove unused %include.
15583 * resolv/Versions: Likewise.
15584
acd7f096
JM
155852014-02-21 Joseph Myers <joseph@codesourcery.com>
15586
f0881698
JM
15587 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15588 ($(objpfx)check-local-headers.out): Likewise.
15589 ($(objpfx)begin-end-check.out): Likewise.
15590 * Makerules (check-abi-%.out): Likewise.
15591 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15592 ($(objpfx)test2.cat): Likewise.
15593 ($(objpfx)de/libc.cat): Likewise.
15594 ($(objpfx)test-gencat.out): Likewise.
15595 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15596 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15597 ($(objpfx)noload-mem): Likewise.
15598 ($(objpfx)tst-pathopt.out): Likewise.
15599 ($(objpfx)tst-rtld-load-self.out): Likewise.
15600 ($(objpfx)tst-array1-cmp.out): Likewise.
15601 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15602 ($(objpfx)tst-array2-cmp.out): Likewise.
15603 ($(objpfx)tst-array3-cmp.out): Likewise.
15604 ($(objpfx)tst-array4-cmp.out): Likewise.
15605 ($(objpfx)tst-array5-cmp.out): Likewise.
15606 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15607 ($(objpfx)check-textrel.out): Likewise.
15608 ($(objpfx)check-execstack.out): Likewise.
15609 ($(objpfx)check-localplt.out): Likewise.
15610 ($(objpfx)order2-cmp.out): Likewise.
15611 ($(objpfx)tst-leaks1-mem): Likewise.
15612 ($(objpfx)tst-leaks1-static-mem): Likewise.
15613 ($(objpfx)tst-initorder-cmp.out): Likewise.
15614 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15615 ($(objpfx)tst-unused-dep.out): Likewise.
15616 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15617 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15618 * iconv/Makefile (test-iconvconfig): Likewise.
15619 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15620 ($(objpfx)iconv-test.out): Likewise.
15621 ($(objpfx)tst-tables.out): Likewise.
15622 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15623 ($(objpfx)tst-gettext.out): Likewise.
15624 ($(objpfx)tst-translit.out): Likewise.
15625 ($(objpfx)tst-gettext2.out): Likewise.
15626 ($(objpfx)tst-gettext4.out): Likewise.
15627 ($(objpfx)tst-gettext6.out): Likewise.
15628 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15629 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15630 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15631 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15632 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15633 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15634 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15635 ($(objpfx)wordexp-tst.out): Likewise.
15636 ($(objpfx)annexc.out): Likewise.
15637 ($(objpfx)tst-fnmatch-mem): Likewise.
15638 ($(objpfx)bug-regex2-mem): Likewise.
15639 ($(objpfx)bug-regex14-mem): Likewise.
15640 ($(objpfx)bug-regex21-mem): Likewise.
15641 ($(objpfx)bug-regex31-mem): Likewise.
15642 ($(objpfx)tst-vfork3-mem): Likewise.
15643 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15644 ($(objpfx)tst-pcre-mem): Likewise.
15645 ($(objpfx)tst-boost-mem): Likewise.
15646 ($(objpfx)tst-getconf.out): Likewise.
15647 ($(objpfx)bug-ga2-mem): Likewise.
15648 ($(objpfx)bug-glob2-mem): Likewise.
15649 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15650 ($(objpfx)mtrace-tst-leaks2): Likewise.
15651 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15652 ($(objpfx)tst-printf.out): Likewise.
15653 ($(objpfx)tst-setvbuf1.out): Likewise.
15654 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15655 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15656 ($(objpfx)tst-fmtmsg.out): Likewise.
15657 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15658 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15659
acd7f096
JM
15660 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15661 * bits/sigaction.h [__USE_MISC]: Likewise.
15662 * bits/waitstatus.h: Update #endif comments.
15663 * ctype/ctype.h: Likewise.
15664 * dirent/dirent.h: Likewise.
15665 [__USE_MISC]: Remove redundant conditionals.
15666 * grp/grp.h: Update #endif comments.
15667 [__USE_GNU]: Remove redundant conditionals.
15668 [__USE_MISC]: Likewise.
15669 * inet/netinet/in.h [__USE_GNU]: Likewise.
15670 * io/sys/stat.h [__USE_MISC]: Likewise.
15671 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15672 * libio/bits/stdio.h: Update #endif comments.
15673 [__USE_MISC]: Remove redundant conditionals.
15674 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15675 * libio/stdio.h: Update #endif comments.
15676 [__USE_MISC]: Remove redundant conditionals.
15677 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15678 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15679 * math/math.h: Update #else and #endif comments.
15680 [__USE_MISC]: Remove redundant conditionals.
15681 * misc/sys/uio.h: Update #endif comments.
15682 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15683 * posix/glob.h [__USE_MISC]: Likewise.
15684 * posix/sys/types.h: Update #endif comments.
15685 [__USE_MISC]: Remove redundant conditionals.
15686 * posix/sys/wait.h: Update #endif comments.
15687 [__USE_MISC]: Remove redundant conditionals.
15688 * posix/unistd.h: Update #endif comments.
15689 [__USE_MISC]: Remove redundant conditionals.
15690 * pwd/pwd.h [__USE_GNU]: Likewise.
15691 [__USE_MISC]: Likewise.
15692 * resolv/netdb.h [__USE_GNU]: Likewise.
15693 * signal/signal.h: Update #endif comments.
15694 [__USE_MISC]: Remove redundant conditionals.
15695 * stdlib/stdlib.h: Update #else and #endif comments.
15696 [__USE_MISC]: Remove redundant conditionals.
15697 [__USE_GNU]: Likewise.
15698 * string/bits/string2.h [__USE_MISC]: Likewise.
15699 * string/string.h: Update #endif comments.
15700 [__USE_MISC]: Remove redundant conditionals.
15701 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15702 Likewise.
15703 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15704 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15705 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15706 Likewise.
15707 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15708 Likewise.
15709 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15710 comments.
15711 [__USE_MISC]: Remove redundant conditionals.
15712 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15713 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15714 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15715 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15716 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15717 Likewise.
15718 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15719 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15720 Likewise.
15721 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15722 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15723 Likewise.
15724 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15725 Likewise.
15726 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15727 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15728 Likewise.
15729 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15730 Likewise.
15731 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15732 * sysdeps/x86/bits/string.h: Update #endif comments.
15733 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15734 conditionals.
15735 * time/sys/time.h: Update #endif comments.
15736 * time/time.h: Likewise.
15737 [__USE_MISC]: Remove redundant conditionals.
15738
a5d82e4e
YG
157392014-02-21 Yury Gribov <y.gribov@samsung.com>
15740
15741 [BZ #16600]
15742 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15743
9a80491d
AS
157442014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15745
15746 * Versions.def (librt): Add GLIBC_2.17.
15747
105fa381
AC
157482014-02-21 Adam Conrad <adconrad@0c3.net>
15749
15750 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15751 synonym for _SYS_AUXV_H to allow direct inclusion.
15752 * sysdeps/sparc/bits/hwcap.h: Likewise.
15753 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15754 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15755 * sysdeps/sparc/sysdep.h: Likewise.
15756
b8cd1c4e
SP
157572014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15758
15759 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15760
bd939d23
RS
157612014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15762
15763 * benchtests/bench-strrchr.c: Print length instead of position.
15764
5d7b57ca
JM
157652014-02-20 Joseph Myers <joseph@codesourcery.com>
15766
bc688c10
JM
15767 [BZ #16611]
15768 * sysdeps/unix/sysv/linux/kernel-features.h
15769 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15770 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15771 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15772 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15773 Likewise.
15774 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15775 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15776 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15777 (__ASSUME_SENDMMSG): Define instead of using previous
15778 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15779 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15780 (__ASSUME_SENDMMSG_SYSCALL): Define.
15781 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15782 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15783 Likewise.
15784 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15785 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15786 Likewise.
15787 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15788 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15789 Likewise.
15790 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15791 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15792 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15793 [__ASSUME_SENDMMSG]: Change conditionals to
15794 [__ASSUME_SENDMMSG_SOCKETCALL].
15795 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15796 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15797 Define.
15798 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15799 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15800 Likewise.
15801 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15802 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15803 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15804 [!__ASSUME_SENDMMSG]: Change conditional to
15805 [!__ASSUME_SENDMMSG_SOCKETCALL].
15806 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15807 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15808 Define.
15809
0e31b18c
JM
15810 [BZ #16610]
15811 * sysdeps/unix/sysv/linux/kernel-features.h
15812 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15813 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15814 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15815 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15816 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15817 [__i386__ || __sparc__]
15818 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15819 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15820 (__ASSUME_RECVMMSG): Define instead of using previous
15821 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15822 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15823 (__ASSUME_RECVMMSG_SYSCALL): Define.
15824 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15825 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15826 Likewise.
15827 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15828 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15829 Likewise.
15830 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15831 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15832 Likewise.
15833 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15834 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15835 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15836 [__ASSUME_RECVMMSG]: Change condition to
15837 [__ASSUME_RECVMMSG_SOCKETCALL].
15838 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15839 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15840 Define.
15841 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15842 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15843 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15844 Likewise.
15845 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15846 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15847 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15848 [!__ASSUME_RECVMMSG]: Change condition to
15849 [!__ASSUME_RECVMMSG_SOCKETCALL].
15850 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15851 (__ASSUME_RECVMMSG_SYSCALL): Define.
15852
dd481ccf
JM
15853 [BZ #16609]
15854 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15855 __powerpc__ || __s390__ || __sh__ || __sparc__]
15856 (__ASSUME_SOCKETCALL): Define.
15857 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15858 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15859 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15860 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15861 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15862 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15863 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15864 (__ASSUME_ACCEPT4): Define instead of using previous
15865 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15866 __powerpc__ || __sparc__ || __s390__)] condition.
15867 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15868 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15869 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15870 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15871 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15872 [!__ASSUME_ACCEPT4]: Change condition to
15873 [!__ASSUME_ACCEPT4_SOCKETCALL].
15874 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15875 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15876 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15877 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15878 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15879 __ASSUME_ACCEPT4_SYSCALL.
15880 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15881 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15882 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15883 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15884 __ASSUME_ACCEPT4_SYSCALL.
15885 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15886 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15887 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15888 [__ASSUME_ACCEPT4]: Change condition to
15889 [__ASSUME_ACCEPT4_SOCKETCALL].
15890 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15891 (__ASSUME_SOCKETCALL): Define.
15892 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15893 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15894 (__ASSUME_SOCKETCALL): Define.
15895 (__ASSUME_ACCEPT4): Remove.
15896 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15897 Define.
15898 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15899 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15900 Likewise.
15901 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15902 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15903
5d7b57ca
JM
15904 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15905 macro.
15906 (HWCAP_ARM_LPAE): Likewise.
15907 (HWCAP_ARM_EVTSTRM): Likewise.
15908 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15909 Add vpfd32, lpae and evtstrm.
15910 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15911 Increase to 22.
15912
63689d61
JM
159132014-02-19 Joseph Myers <joseph@codesourcery.com>
15914
15915 * math/auto-libm-test-in: Add tests of clog10.
15916 * math/auto-libm-test-out: Regenerated.
15917 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15918 * sysdeps/i386/fpu/libm-test-ulps: Update.
15919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15920
ab09bf61
AS
159212014-02-18 Andreas Schwab <schwab@suse.de>
15922
15923 [BZ #16574]
15924 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15925 Store non-zero if the second buffer was newly allocated.
15926 (send_dg): Likewise.
15927 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15928 to send_vc and send_dg.
15929 (res_nsend): Pass NULL for ansp2_malloced.
15930 * resolv/res_query.c (__libc_res_nquery): Add parameter
15931 answerp2_malloced and pass it down to __libc_res_nsend.
15932 (res_nquery): Pass additional NULL to __libc_res_nquery.
15933 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15934 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15935 second answer buffer if answerp2_malloced was set.
15936 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15937 (__libc_res_nquerydomain): Add parameter
15938 answerp2_malloced and pass it down to __libc_res_nquery.
15939 (res_nquerydomain): Pass additional NULL to
15940 __libc_res_nquerydomain.
15941 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15942 additional NULL to __libc_res_nsend and __libc_res_nquery.
15943 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15944 additional NULL to __libc_res_nsearch.
15945 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15946 parameter of __libc_res_nsearch to check for separately allocated
15947 second buffer.
15948 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15949 __libc_res_nquery.
15950 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15951 additional NULL to __libc_res_nquery.
15952 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15953 __libc_res_nsearch.
15954 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15955 * include/resolv.h: Update prototypes of __libc_res_nquery,
15956 __libc_res_nsearch, __libc_res_nsend.
15957
a4fb7861
JM
159582014-02-18 Joseph Myers <joseph@codesourcery.com>
15959
c6af2d89
JM
15960 * math/auto-libm-test-in: Add tests of fma.
15961 * math/auto-libm-test-out: Regenerated.
15962 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15963 (fma_towardzero_test_data): Likewise.
15964 (fma_downward_test_data): Likewise.
15965 (fma_upward_test_data): Likewise.
15966 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15967 mpc_mode.
15968 (rounding_modes): Add values for new field.
15969 (func_calc_method): Add value mpfr_fff_f.
15970 (func_calc_desc): Add mpfr_fff_f union field.
15971 (test_function): Add field exact_args.
15972 (FUNC): Add macro argument EXACT_ARGS.
15973 (FUNC_mpfr_f_f): Update call to FUNC.
15974 (FUNC_mpfr_f_f): Likewise.
15975 (FUNC_mpfr_ff_f): Likewise.
15976 (FUNC_mpfr_if_f): Likewise.
15977 (FUNC_mpc_c_f): Likewise.
15978 (FUNC_mpc_c_c): Likewise.
15979 (test_functions): Add fma. Update calls to FUNC.
15980 (handle_input_arg): Add argument exact_args.
15981 (add_test): Update call to handle_input_arg.
15982 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15983 (output_for_one_input_case): Update call to calc_generic_results.
15984 Recalculate exact zero results in each rounding mode.
15985
a4fb7861
JM
15986 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15987 non-negative before setting low bit.
15988 * math/auto-libm-test-in: Mark one asin test possibly having
15989 spurious underflow.
15990 * math/auto-libm-test-out: Regenerated.
15991 * sysdeps/i386/fpu/libm-test-ulps: Update.
15992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15993
ef114eaf
DH
159942014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15995
2b7f4f2c
SP
15996 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15997 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15998 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
15999 * README: Add missing listing for microblaze*-*-linux-gnu.
16000
8125aedc
AM
160012014-02-16 Ondřej Bílka <neleai@seznam.cz>
16002
16003 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16004 duplicate code
16005
c70a4b1d
MF
160062014-02-16 Mike Frysinger <vapier@gentoo.org>
16007
16008 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16009 * sysdeps/unix/sysv/linux/ia64: Move directory from
16010 ports/sysdeps/unix/sysv/linux/ia64.
16011 * README: Update listing for ia64-*-linux-gnu.
16012
591aeaf7
TD
160132014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16014 Joseph Myers <joseph@codesourcery.com>
16015
16016 * Makeconfig (test-name): New variable.
16017 (evaluate-test): Likewise.
16018 * Makerules (do-test-clean): Remove .test-result files.
16019 (common-mostlyclean): Likewise.
16020 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16021 * scripts/evaluate-test.sh: New file.
16022
6e89caf1
JM
160232014-02-14 Joseph Myers <joseph@codesourcery.com>
16024
7f98f180
JM
16025 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16026 separate $(objpfx)tst-fopenloc-cmp.out and
16027 $(objpfx)tst-fopenloc-mem.out targets.
16028 (tests): Update dependencies.
16029 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16030 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16031 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16032 (tst-rxspencer-no-utf8-ARGS): New variable.
16033 (tst-rxspencer-no-utf8-ENV): Likewise.
16034 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16035 instead of $(objpfx)tst-rxspencer-mem.
16036 ($(objpfx)tst-rxspencer-mem): Change target to
16037 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16038 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16039 * posix/tst-rxspencer-no-utf8.c: New file.
16040
6e89caf1
JM
16041 * elf/Makefile ($(objpfx)order.out): Remove rule.
16042 [$(run-built-tests) = yes] (tests): Depend on
16043 $(objpfx)order-cmp.out.
16044 ($(objpfx)order-cmp.out): New rule.
16045 [$(run-built-tests) = yes] (tests): Depend on
16046 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16047 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16048 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16049 $(objpfx)tst-array5-static-cmp.out.
16050 ($(objpfx)tst-array1.out): Remove rule.
16051 ($(objpfx)tst-array1-cmp.out): New rule.
16052 ($(objpfx)tst-array1-static.out): Remove rule.
16053 ($(objpfx)tst-array1-static-cmp.out): New rule.
16054 ($(objpfx)tst-array2.out): Remove rule.
16055 ($(objpfx)tst-array2-cmp.out): New rule.
16056 ($(objpfx)tst-array3.out): Remove rule.
16057 ($(objpfx)tst-array3-cmp.out): New rule.
16058 ($(objpfx)tst-array4.out): Remove rule.
16059 ($(objpfx)tst-array4-cmp.out): New rule.
16060 ($(objpfx)tst-array5.out): Remove rule.
16061 ($(objpfx)tst-array5-cmp.out): New rule.
16062 ($(objpfx)tst-array5-static.out): Remove rule.
16063 ($(objpfx)tst-array5-static-cmp.out): New rule.
16064 [$(run-built-tests) = yes] (tests): Depend on
16065 $(objpfx)order2-cmp.out.
16066 ($(objpfx)order2.out): Remove rule.
16067 ($(objpfx)order2-cmp.out): New rule.
16068 ($(objpfx)tst-initorder.out): Remove rule.
16069 [$(run-built-tests) = yes] (tests): Depend on
16070 $(objpfx)tst-initorder-cmp.out.
16071 ($(objpfx)tst-initorder-cmp.out): New rule.
16072 ($(objpfx)tst-initorder2.out): Remove rule.
16073 [$(run-built-tests) = yes] (tests): Depend on
16074 $(objpfx)tst-initorder2-cmp.out.
16075 ($(objpfx)tst-initorder2-cmp.out): New rule.
16076 [$(run-built-tests) = yes] (tests): Depend on
16077 $(objpfx)tst-unused-dep-cmp.out.
16078 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16079 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16080 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16081 on $(objpfx)tst-setvbuf1-cmp.out.
16082 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16083 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16084 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16085 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16086 ($(objpfx)tst-svc.out): Remove rule.
16087 ($(objpfx)tst-svc-cmp.out): New rule.
16088
ed9a38e2
JM
160892014-02-13 Joseph Myers <joseph@codesourcery.com>
16090
16091 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16092 * ctype/ctype.h [__USE_MISC]: Likewise.
16093 * dirent/dirent.h [__USE_MISC]: Likewise.
16094 * grp/grp.h [__USE_MISC]: Likewise.
16095 * io/fcntl.h [__USE_MISC]: Likewise.
16096 * io/sys/stat.h [__USE_MISC]: Likewise.
16097 * libio/stdio.h [__USE_MISC]: Likewise.
16098 * posix/unistd.h [__USE_MISC]: Likewise.
16099 * pwd/pwd.h [__USE_MISC]: Likewise.
16100 * stdlib.h [__USE_MISC]: Likewise.
16101 * string/bits/string2.h [__USE_MISC]: Likewise.
16102 * string/string.h [__USE_MISC]: Likewise.
16103 * time/time.h [__USE_MISC]: Likewise.
16104
d6680619
AS
161052014-02-13 Andreas Schwab <schwab@suse.de>
16106
16107 [BZ #16574]
16108 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16109 second answer buffer if it was separately allocated.
16110
ace614b8
JM
161112014-02-12 Joseph Myers <joseph@codesourcery.com>
16112
743151ae
JM
16113 * sysdeps/mips/math-tests.h: Include <features.h>.
16114 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16115 (ROUNDING_TESTS_long_double): Do not define.
16116 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16117 (EXCEPTION_TESTS_long_double): Likewise.
16118 * sysdeps/mips/mips64/libm-test-ulps: Update.
16119
498afc54
JM
16120 * include/features.h (__USE_BSD): Remove macro definitions.
16121 (__USE_SVID): Likewise.
16122 (_BSD_SOURCE): Likewise.
16123 (_SVID_SOURCE): Likewise.
16124 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16125 from definition of _DEFAULT_SOURCE.
16126 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16127 [_DEFAULT_SOURCE].
16128 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16129 * bits/mman.h [__USE_BSD]: Likewise.
16130 * bits/termios.h [__USE_BSD]: Likewise.
16131 * bits/waitstatus.h [__USE_BSD]: Likewise.
16132 * ctype/ctype.h [__USE_SVID]: Likewise.
16133 * dirent/dirent.h [__USE_BSD]: Likewise.
16134 * grp/grp.h [__USE_SVID]: Likewise.
16135 [__USE_BSD]: Likewise.
16136 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16137 * io/fcntl.h [__USE_BSD]: Likewise.
16138 * io/ftw.h [__USE_BSD]: Likewise.
16139 * io/sys/stat.h [__USE_BSD]: Likewise.
16140 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16141 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16142 * libio/stdio.h [__USE_SVID]: Likewise.
16143 [__USE_BSD]: Likewise.
16144 * math/math.h [__USE_SVID]: Likewise.
16145 [__USE_BSD]: Likewise.
16146 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16147 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16148 * misc/search.h [__USE_SVID]: Likewise.
16149 * misc/sys/mman.h [__USE_BSD]: Likewise.
16150 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16151 * misc/sys/uio.h [__USE_BSD]: Likewise.
16152 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16153 * posix/glob.h [__USE_BSD]: Likewise.
16154 * posix/regex.h [__USE_BSD]: Likewise.
16155 * posix/sys/types.h [__USE_BSD]: Likewise.
16156 [__USE_SVID]: Likewise.
16157 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16158 * posix/sys/wait.h [__USE_BSD]: Likewise.
16159 [__USE_SVID]: Likewise.
16160 * posix/unistd.h [__USE_BSD]: Likewise.
16161 [__USE_SVID]: Likewise.
16162 * pwd/pwd.h [__USE_SVID]: Likewise.
16163 * resolv/netdb.h [__USE_BSD]: Likewise.
16164 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16165 * signal/signal.h [__USE_BSD]: Likewise.
16166 [__USE_SVID]: Likewise.
16167 * socket/sys/socket.h [__USE_BSD]: Likewise.
16168 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16169 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16170 [__USE_SVID]: Likewise.
16171 * string/bits/string2.h [__USE_BSD]: Likewise.
16172 [__USE_SVID]: Likewise.
16173 * string/bits/string3.h [__USE_BSD]: Likewise.
16174 * string/endian.h [__USE_BSD]: Likewise.
16175 * string/string.h [__USE_SVID]: Likewise.
16176 [__USE_BSD]: Likewise.
16177 * string/strings.h [__USE_BSD]: Likewise.
16178 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16179 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16180 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16181 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16182 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16183 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16184 Likewise.
16185 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16186 Likewise.
16187 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16188 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16189 Likewise.
16190 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16191 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16192 Likewise.
16193 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16194 Likewise.
16195 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16196 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16197 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16198 Likewise.
16199 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16200 Likewise.
16201 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16202 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16203 * termios/termios.h [__USE_BSD]: Likewise.
16204 * time/sys/time.h [__USE_BSD]: Likewise.
16205 * time/time.h [__USE_BSD]: Likewise.
16206 [__USE_SVID]: Likewise.
16207
dd7b064c
JM
16208 * Makefile (subdir_targets): Remove subdir_lint.out.
16209
a2c4c199
JM
16210 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16211 (do-tst-printf): Likewise.
16212 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16213 $(objpfx)tst-printf.out.
16214
8756f740
JM
16215 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16216
1b6dd3f1
JM
16217 * Makerules (check-abi-%): Change target to
16218 $(objpfx)check-abi-%.out.
16219 (check-abi target): Update dependencies.
16220 (check-abi-pattern variable): Redirect output of diff to $@.
16221 (check-abi variable): Likewise.
16222 * elf/Makefile (check-abi): Update dependencies.
16223
ace614b8
JM
16224 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16225 unused.
16226 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16227 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16228 subnormal range.
16229 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16230 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16231 value has largest subnormal exponent.
16232 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16233 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16234 * sysdeps/aarch64/soft-fp/sfp-machine.h
16235 (_FP_TININESS_AFTER_ROUNDING): New macro.
16236 * sysdeps/alpha/soft-fp/sfp-machine.h
16237 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16238 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16239 Likewise.
16240 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16241 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16242 * sysdeps/mips/soft-fp/sfp-machine.h
16243 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16244 * sysdeps/powerpc/soft-fp/sfp-machine.h
16245 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16246 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16247 Likewise.
16248 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16249 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16250 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16251 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16252 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16253 Likewise.
16254
fbfdf9cb
DAS
162552014-02-12 Dylan Alex Simon <dylan@dylex.net>
16256
16257 [BZ #16545]
16258 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16259 model 1.
16260
68b7efaa
RH
162612014-02-12 Richard Henderson <rth@redhat.com>
16262
c70a4b1d 16263 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
16264 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16265 * sysdeps/unix/sysv/linux/alpha: Move directory from
16266 ports/sysdeps/unix/sysv/linux/alpha.
16267 * README: Update listing for alpha-*-linux-gnu.
16268
cb4a2928
JM
162692014-02-11 Joseph Myers <joseph@codesourcery.com>
16270
c941736c
JM
16271 * include/features.h: Update comment documenting feature test
16272 macros.
16273 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16274 _DEFAULT_SOURCE.
16275 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16276 (_SVID_SOURCE): Likewise.
16277 (_DEFAULT_SOURCE): Update description of default features.
16278 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16279 with _GNU_SOURCE.
16280 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16281 (S_ISVTX): Likewise.
16282 * manual/math.texi (Mathematical Constants): Likewise.
16283 * manual/signal.texi (Interrupted Primitives): Likewise.
16284 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16285 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16286 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16287 Don't refer to _SVID_SOURCE in warning text.
16288
e8d8d7ec
JM
16289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16290
cb4a2928
JM
16291 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16292 already defined.
16293 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16294 * sysdeps/mips/dl-lookup.c: Remove.
16295 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16296
7e6424e3
AK
162972014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16298
16299 [BZ #16447]
16300 * math/auto-libm-test-in: Add testcase for expl.
16301 * math/auto-libm-test-out: Regenerate.
16302 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16303 calculation of unsafe.
16304 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16305
75eff3fe
MS
163062014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16307
16308 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16309 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16310 ports/sysdeps/unix/sysv/linux/aarch64.
16311 * README: Update listing for aarch64*-*-linux-gnu.
16312
d35f1e80
WN
163132014-02-11 Will Newton <will.newton@linaro.org>
16314
16315 * manual/probes.texi (Mathematical Function Probes): Use
16316 "triggered" instead of "hit".
16317
7b3436d4
WN
16318 * manual/probes.texi (Internal Probes): Add documentation
16319 of setjmp, longjmp and longjmp_target probes.
16320
b4f12ca3
WN
16321 * include/stap-probe.h: Add comment about probe argument
16322 format.
16323
c13a72b7
WN
16324 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16325 definition. (tr_where, tr_freehook, tr_mallochook,
16326 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16327
195b8165
DM
163282014-02-11 David S. Miller <davem@davemloft.net>
16329
16330 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16331 processing int_tests.
16332
2ad7600b
JM
163332014-02-10 Joseph Myers <joseph@codesourcery.com>
16334
16335 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16336 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16337 * sysdeps/unix/sysv/linux/mips: Move directory from
16338 ports/sysdeps/unix/sysv/linux/mips.
16339 * README: Update listing for mips-*-linux-gnu and
16340 mips64-*-linux-gnu.
16341
73588a72
AS
163422014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16343
16344 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16345 * sysdeps/unix/sysv/linux/m68k: Move directory from
16346 ports/sysdeps/unix/sysv/linux/m68k.
16347 * README: Update listing for m68k-*-linux-gnu.
16348
4372980f
CM
163492014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16350
16351 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16352 * sysdeps/unix/sysv/linux/generic: Move directory from
16353 ports/sysdeps/unix/sysv/linux/generic.
16354 * sysdeps/unix/sysv/linux/tile: Move directory from
16355 ports/sysdeps/unix/sysv/linux/tile.
16356 * README: Update listing for tile*-*-linux-gnu.
16357
a1ffb40e
OB
163582014-02-10 Ondřej Bílka <neleai@seznam.cz>
16359
57f41c40
AS
16360 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16361 __builtin_expect.
a1ffb40e
OB
16362 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16363 * catgets/open_catalog.c (__open_catalog): Likewise.
16364 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16365 * debug/confstr_chk.c: Likewise.
16366 * debug/fread_chk.c (__fread_chk): Likewise.
16367 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16368 * debug/getgroups_chk.c: Likewise.
16369 * debug/mbsnrtowcs_chk.c: Likewise.
16370 * debug/mbsrtowcs_chk.c: Likewise.
16371 * debug/mbstowcs_chk.c: Likewise.
16372 * debug/memcpy_chk.c: Likewise.
16373 * debug/memmove_chk.c: Likewise.
16374 * debug/mempcpy_chk.c: Likewise.
16375 * debug/memset_chk.c: Likewise.
16376 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16377 * debug/strcat_chk.c (__strcat_chk): Likewise.
16378 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16379 * debug/strncat_chk.c (__strncat_chk): Likewise.
16380 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16381 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16382 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16383 * debug/wcpncpy_chk.c: Likewise.
16384 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16385 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16386 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16387 * debug/wcsncpy_chk.c: Likewise.
16388 * debug/wcsnrtombs_chk.c: Likewise.
16389 * debug/wcsrtombs_chk.c: Likewise.
16390 * debug/wcstombs_chk.c: Likewise.
16391 * debug/wmemcpy_chk.c: Likewise.
16392 * debug/wmemmove_chk.c: Likewise.
16393 * debug/wmempcpy_chk.c: Likewise.
16394 * debug/wmemset_chk.c: Likewise.
16395 * dirent/scandirat.c (SCANDIRAT): Likewise.
16396 * dlfcn/dladdr1.c (dladdr1): Likewise.
16397 * dlfcn/dladdr.c (dladdr): Likewise.
16398 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16399 * dlfcn/dlerror.c (__dlerror): Likewise.
16400 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16401 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16402 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16403 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16404 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16405 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16406 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16407 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16408 Likewise.
16409 * elf/dl-conflict.c: Likewise.
16410 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16411 * elf/dl-dst.h: Likewise.
16412 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16413 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16414 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16415 * elf/dl-init.c (call_init, _dl_init): Likewise.
16416 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
16417 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16418 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16419 Likewise.
a1ffb40e
OB
16420 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16421 Likewise.
16422 * elf/dl-minimal.c (__libc_memalign): Likewise.
16423 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16424 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16425 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16426 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
16427 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16428 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
16429 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16430 * elf/dl-writev.h (_dl_writev): Likewise.
16431 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
16432 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16433 (dl_main): Likewise.
a1ffb40e
OB
16434 * elf/setup-vdso.h (setup_vdso): Likewise.
16435 * grp/compat-initgroups.c (compat_call): Likewise.
16436 * grp/fgetgrent.c (fgetgrent): Likewise.
16437 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16438 * grp/putgrent.c (putgrent): Likewise.
16439 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16440 Likewise.
16441 * hurd/hurdinit.c: Likewise.
16442 * iconvdata/8bit-gap.c (struct): Likewise.
16443 * iconvdata/ansi_x3.110.c : Likewise.
16444 * iconvdata/big5.c : Likewise.
16445 * iconvdata/big5hkscs.c : Likewise.
16446 * iconvdata/cp1255.c: Likewise.
16447 * iconvdata/cp1258.c : Likewise.
16448 * iconvdata/cp932.c : Likewise.
16449 * iconvdata/euc-cn.c: Likewise.
16450 * iconvdata/euc-jisx0213.c : Likewise.
16451 * iconvdata/euc-jp.c: Likewise.
16452 * iconvdata/euc-jp-ms.c : Likewise.
16453 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16454 * iconvdata/gb18030.c : Likewise.
16455 * iconvdata/gbbig5.c (const): Likewise.
16456 * iconvdata/gbgbk.c: Likewise.
16457 * iconvdata/gbk.c : Likewise.
16458 * iconvdata/ibm1364.c : Likewise.
16459 * iconvdata/ibm930.c : Likewise.
16460 * iconvdata/ibm932.c: Likewise.
16461 * iconvdata/ibm933.c : Likewise.
16462 * iconvdata/ibm935.c : Likewise.
16463 * iconvdata/ibm937.c : Likewise.
16464 * iconvdata/ibm939.c : Likewise.
16465 * iconvdata/ibm943.c: Likewise.
16466 * iconvdata/iso_11548-1.c: Likewise.
16467 * iconvdata/iso-2022-cn.c : Likewise.
16468 * iconvdata/iso-2022-cn-ext.c : Likewise.
16469 * iconvdata/iso-2022-jp-3.c: Likewise.
16470 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16471 * iconvdata/iso-2022-kr.c : Likewise.
16472 * iconvdata/iso646.c (gconv_end): Likewise.
16473 * iconvdata/iso_6937-2.c : Likewise.
16474 * iconvdata/iso_6937.c : Likewise.
16475 * iconvdata/iso8859-1.c: Likewise.
16476 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16477 * iconvdata/shift_jisx0213.c : Likewise.
16478 * iconvdata/sjis.c : Likewise.
16479 * iconvdata/t.61.c : Likewise.
16480 * iconvdata/tcvn5712-1.c : Likewise.
16481 * iconvdata/tscii.c: Likewise.
16482 * iconvdata/uhc.c : Likewise.
16483 * iconvdata/unicode.c (gconv_end): Likewise.
16484 * iconvdata/utf-16.c (gconv_end): Likewise.
16485 * iconvdata/utf-32.c (gconv_end): Likewise.
16486 * iconvdata/utf-7.c (base64): Likewise.
16487 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16488 * iconv/gconv_close.c (__gconv_close): Likewise.
16489 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
16490 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16491 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16492 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16493 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16494 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
16495 * iconv/iconv.c (iconv): Likewise.
16496 * iconv/iconv_close.c: Likewise.
16497 * iconv/loop.c (SINGLE): Likewise.
16498 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16499 * include/atomic.h: Likewise.
16500 * inet/inet6_option.c (option_alloc): Likewise.
16501 * intl/bindtextdom.c (set_binding_values): Likewise.
16502 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16503 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16504 * intl/localealias.c (read_alias_file): Likewise.
16505 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
16506 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16507 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
16508 * libio/fmemopen.c (fmemopen): Likewise.
16509 * libio/iofgets.c (_IO_fgets): Likewise.
16510 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16511 * libio/iofgetws.c (fgetws): Likewise.
16512 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16513 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
16514 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16515 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
16516 * locale/findlocale.c (_nl_find_locale): Likewise.
16517 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16518 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16519 Likewise.
16520 * locale/setlocale.c (setlocale): Likewise.
16521 * login/programs/pt_chown.c (main): Likewise.
16522 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16523 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
16524 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16525 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
16526 * math/e_exp2l.c: Likewise.
16527 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16528 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16529 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16530 * math/s_catan.c (__catan): Likewise.
16531 * math/s_catanf.c (__catanf): Likewise.
16532 * math/s_catanh.c (__catanh): Likewise.
16533 * math/s_catanhf.c (__catanhf): Likewise.
16534 * math/s_catanhl.c (__catanhl): Likewise.
16535 * math/s_catanl.c (__catanl): Likewise.
16536 * math/s_ccosh.c (__ccosh): Likewise.
16537 * math/s_ccoshf.c (__ccoshf): Likewise.
16538 * math/s_ccoshl.c (__ccoshl): Likewise.
16539 * math/s_cexp.c (__cexp): Likewise.
16540 * math/s_cexpf.c (__cexpf): Likewise.
16541 * math/s_cexpl.c (__cexpl): Likewise.
16542 * math/s_clog10.c (__clog10): Likewise.
16543 * math/s_clog10f.c (__clog10f): Likewise.
16544 * math/s_clog10l.c (__clog10l): Likewise.
16545 * math/s_clog.c (__clog): Likewise.
16546 * math/s_clogf.c (__clogf): Likewise.
16547 * math/s_clogl.c (__clogl): Likewise.
16548 * math/s_csin.c (__csin): Likewise.
16549 * math/s_csinf.c (__csinf): Likewise.
16550 * math/s_csinh.c (__csinh): Likewise.
16551 * math/s_csinhf.c (__csinhf): Likewise.
16552 * math/s_csinhl.c (__csinhl): Likewise.
16553 * math/s_csinl.c (__csinl): Likewise.
16554 * math/s_csqrt.c (__csqrt): Likewise.
16555 * math/s_csqrtf.c (__csqrtf): Likewise.
16556 * math/s_csqrtl.c (__csqrtl): Likewise.
16557 * math/s_ctan.c (__ctan): Likewise.
16558 * math/s_ctanf.c (__ctanf): Likewise.
16559 * math/s_ctanh.c (__ctanh): Likewise.
16560 * math/s_ctanhf.c (__ctanhf): Likewise.
16561 * math/s_ctanhl.c (__ctanhl): Likewise.
16562 * math/s_ctanl.c (__ctanl): Likewise.
16563 * math/w_pow.c: Likewise.
16564 * math/w_powf.c: Likewise.
16565 * math/w_powl.c: Likewise.
16566 * math/w_scalb.c (sysv_scalb): Likewise.
16567 * math/w_scalbf.c (sysv_scalbf): Likewise.
16568 * math/w_scalbl.c (sysv_scalbl): Likewise.
16569 * misc/error.c (error_tail): Likewise.
16570 * misc/pselect.c (__pselect): Likewise.
16571 * nis/nis_callback.c (__nis_create_callback): Likewise.
16572 * nis/nis_call.c (__nisfind_server): Likewise.
16573 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16574 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16575 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16576 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16577 * nis/nis_lookup.c (nis_lookup): Likewise.
16578 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
16579 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16580 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 16581 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
16582 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16583 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16584 * nis/nss_compat/compat-initgroups.c (add_group)
16585 (internal_getgrent_r): Likewise.
16586 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16587 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16588 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16589 (internal_getspnam_r): Likewise.
16590 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16591 (_nss_nis_getaliasbyname_r): Likewise.
16592 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16593 (_nss_nis_getntohost_r): Likewise.
16594 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16595 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16596 (_nss_nis_getgrgid_r): Likewise.
16597 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16598 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16599 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16600 (_nss_nis_gethostbyname4_r): Likewise.
16601 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16602 (initgroups_netid): Likewise.
a1ffb40e 16603 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
16604 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16605 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16606 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16607 (_nss_nis_getprotobynumber_r): Likewise.
16608 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16609 (_nss_nis_getsecretkey): Likewise.
16610 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16611 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16612 (_nss_nis_getpwuid_r): Likewise.
16613 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16614 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16615 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16616 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16617 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16618 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
16619 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16620 Likewise.
57f41c40
AS
16621 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16622 (_nss_nisplus_getntohost_r): Likewise.
16623 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16624 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16625 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16626 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 16627 Likewise.
57f41c40
AS
16628 * nis/nss_nisplus/nisplus-initgroups.c
16629 (_nss_nisplus_initgroups_dyn): Likewise.
16630 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16631 (_nss_nisplus_getnetbyaddr_r): Likewise.
16632 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16633 (_nss_nisplus_getprotobynumber_r): Likewise.
16634 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16635 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
16636 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16637 Likewise.
57f41c40
AS
16638 * nis/nss_nisplus/nisplus-service.c
16639 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16640 (_nss_nisplus_getservbyport_r): Likewise.
16641 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16642 (_nss_nisplus_getspnam_r): Likewise.
16643 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16644 Likewise.
a1ffb40e
OB
16645 * nscd/aicache.c (addhstaiX): Likewise.
16646 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
16647 * nscd/connections.c (register_traced_file, send_ro_fd)
16648 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16649 (main_loop_epoll): Likewise.
a1ffb40e
OB
16650 * nscd/grpcache.c (addgrbyX): Likewise.
16651 * nscd/hstcache.c (addhstbyX): Likewise.
16652 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16653 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
16654 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16655 (addinnetgrX): Likewise.
16656 * nscd/nscd-client.h (__nscd_acquire_maplock)
16657 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
16658 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16659 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16660 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16661 Likewise.
16662 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16663 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
16664 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16665 (__nscd_get_map_ref): Likewise.
a1ffb40e 16666 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
16667 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16668 Likewise.
a1ffb40e
OB
16669 * nscd/pwdcache.c (addpwbyX): Likewise.
16670 * nscd/selinux.c (preserve_capabilities): Likewise.
16671 * nscd/servicescache.c (addservbyX): Likewise.
16672 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16673 * posix/fnmatch.c (fnmatch): Likewise.
16674 * posix/getopt.c (_getopt_internal_r): Likewise.
16675 * posix/glob.c (glob, glob_in_dir): Likewise.
16676 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
16677 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16678 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
16679 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16680 * resolv/res_init.c: Likewise.
16681 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16682 * resolv/res_query.c (__libc_res_nquery): Likewise.
16683 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16684 Likewise.
16685 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16686 * stdio-common/perror.c (perror): Likewise.
16687 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16688 * stdio-common/tmpnam.c (tmpnam): Likewise.
16689 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16690 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
16691 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16692 Likewise.
a1ffb40e
OB
16693 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16694 * stdlib/putenv.c (putenv): Likewise.
16695 * stdlib/setenv.c (__add_to_environ): Likewise.
16696 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16697 * stdlib/strtol_l.c (INTERNAL): Likewise.
16698 * string/memmem.c (memmem): Likewise.
16699 * string/strerror.c (strerror): Likewise.
16700 * string/strnlen.c (__strnlen): Likewise.
16701 * string/test-memmem.c (simple_memmem): Likewise.
16702 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16703 * sunrpc/pm_getport.c (__get_socket): Likewise.
16704 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16705 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
16706 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16707 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
16708 Likewise.
16709 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16710 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16711 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16712 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16713 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
16714 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16715 Likewise.
16716 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16717 Likewise.
a1ffb40e
OB
16718 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16719 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16720 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16721 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16722 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16724 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16725 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16726 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16727 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16728 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16729 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16730 Likewise.
16731 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16732 Likewise.
16733 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16734 Likewise.
16735 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16736 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16737 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16738 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16739 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16740 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16741 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16742 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16743 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16744 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16745 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16746 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16747 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16748 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16749 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
16750 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16751 Likewise.
a1ffb40e
OB
16752 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16753 Likewise.
16754 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16755 Likewise.
16756 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16757 Likewise.
16758 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16759 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16760 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16761 Likewise.
16762 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16763 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16764 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16765 * sysdeps/posix/sleep.c: Likewise.
16766 * sysdeps/posix/tempname.c: Likewise.
16767 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16768 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16769 Likewise.
57f41c40
AS
16770 * sysdeps/powerpc/powerpc32/dl-machine.h
16771 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
16772 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16773 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16774 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16775 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16776 Likewise.
16777 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16778 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16779 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16780 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16781 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16782 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16783 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16784 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16785 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16786 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16787 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16788 (elf_machine_lazy_rel): Likewise.
a1ffb40e 16789 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16790 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16791 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16792 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16793 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16794 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16795 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16796 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16797 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16798 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16799 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16800 Likewise.
16801 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16802 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16803 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16804 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16805 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16806 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16807 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16808 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16809 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16810 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16811 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16812 Likewise.
16813 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16814 (__posix_fallocate64_l64): Likewise.
16815 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16816 (posix_fallocate): Likewise.
57f41c40
AS
16817 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16818 Likewise.
a1ffb40e 16819 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
16820 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16821 (getifaddrs_internal): Likewise.
a1ffb40e
OB
16822 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16823 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16824 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16825 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16826 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16827 (__posix_fallocate64_l64): Likewise.
16828 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16829 Likewise.
16830 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
16831 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16832 (__get_clockfreq): Likewise.
a1ffb40e
OB
16833 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16834 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16835 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16836 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16837 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16838 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16839 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16840 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16841 Likewise.
16842 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16843 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16844 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16845 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16846 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16847 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16848 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16849 Likewise.
16850 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16851 (posix_fallocate): Likewise.
16852 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16853 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16854 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
16855 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16856 (elf_machine_rela, elf_machine_rela_relative)
16857 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
16858 * time/asctime.c (asctime_internal): Likewise.
16859 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16860 * time/tzset.c (__tzset_parse_tz): Likewise.
16861 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16862 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16863 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16864 * wcsmbs/wcsmbsload.h: Likewise.
16865
f3d338c9
OB
16866 [BZ #15894]
16867 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16868
57f41c40
AS
16869 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16870 (arena_get2): Remove THREAD_STATS conditionals.
16871 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16872 (__malloc_stats, int): Likewise.
bdfe308a 16873
d674667c
MF
168742014-02-08 Mike Frysinger <vapier@gentoo.org>
16875
16876 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16877 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16878
6349768c
MF
16879 * manual/setjmp.texi: Fix typos/grammar errors.
16880
0b7c7473
MF
16881 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16882 Only return early when n is <= 0. Delete unused return statement.
16883
ac8cc9e3
MF
16884 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16885 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16886 * debug/tst-longjmp_chk3.c: New file.
16887
c5bb8e23
MF
16888 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16889 (test_main): Replace code with set_fortify_handler call.
16890 * debug/test-strcpy_chk.c: Likewise.
16891 * debug/tst-chk1.c: Likewise.
16892 * debug/tst-longjmp_chk.c: Likewise.
16893 * test-skeleton.c: Include fcntl.h & paths.h
16894 (set_fortify_handler): Define.
16895
10444e42
MF
16896 * debug/tst-longjmp_chk.c: Add header comment and include
16897 ../test-skeleton.c.
16898 (do_test): Mark static.
16899 (TEST_FUNCTION): Define.
16900
1e805e8d
MF
16901 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16902 (IP_PMTUDISC_INTERFACE): Likewise.
16903 (IP_MULTICAST_IF): Likewise.
16904 (IP_MULTICAST_TTL): Likewise.
16905 (IP_MULTICAST_LOOP): Likewise.
16906 (IP_ADD_MEMBERSHIP): Likewise.
16907 (IP_DROP_MEMBERSHIP): Likewise.
16908 (IP_UNBLOCK_SOURCE): Likewise.
16909 (IP_BLOCK_SOURCE): Likewise.
16910 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16911 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16912 (IP_MSFILTER): Likewise.
16913 (MCAST_JOIN_GROUP): Likewise.
16914 (MCAST_BLOCK_SOURCE): Likewise.
16915 (MCAST_UNBLOCK_SOURCE): Likewise.
16916 (MCAST_LEAVE_GROUP): Likewise.
16917 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16918 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16919 (MCAST_MSFILTER): Likewise.
16920 (IP_MULTICAST_ALL): Likewise.
16921 (IP_UNICAST_IF): Likewise.
16922
73f79bb7
MF
16923 * timezone/Makefile: Delete $(have-ksh) check.
16924 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16925 * timezone/tzselect.ksh: Add +x mode bits.
16926
8da79b60
MF
16927 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16928 (ANON_INODE_FS_MAGIC): Likewise.
16929 (BDEVFS_MAGIC): Likewise.
16930 (BINFMTFS_MAGIC): Likewise.
16931 (BTRFS_TEST_MAGIC): Likewise.
16932 (CRAMFS_MAGIC_WEND): Likewise.
16933 (DEBUGFS_MAGIC): Likewise.
16934 (ECRYPTFS_SUPER_MAGIC): Likewise.
16935 (EXT3_SUPER_MAGIC): Likewise.
16936 (EXT4_SUPER_MAGIC): Likewise.
16937 (FUTEXFS_SUPER_MAGIC): Likewise.
16938 (HOSTFS_SUPER_MAGIC): Likewise.
16939 (HUGETLBFS_MAGIC): Likewise.
16940 (MINIX3_SUPER_MAGIC): Likewise.
16941 (MTD_INODE_FS_MAGIC): Likewise.
16942 (NILFS_SUPER_MAGIC): Likewise.
16943 (OPENPROM_SUPER_MAGIC): Likewise.
16944 (PIPEFS_MAGIC): Likewise.
16945 (PSTOREFS_MAGIC): Likewise.
16946 (QNX6_SUPER_MAGIC): Likewise.
16947 (RAMFS_MAGIC): Likewise.
16948 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16949 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16950 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16951 (SECURITYFS_MAGIC): Likewise.
16952 (SELINUX_MAGIC): Likewise.
16953 (SMACK_MAGIC): Likewise.
16954 (SOCKFS_MAGIC): Likewise.
16955 (SQUASHFS_MAGIC): Likewise.
16956 (STACK_END_MAGIC): Likewise.
16957 (TMPFS_MAGIC): Likewise.
16958 (USBDEVICE_SUPER_MAGIC): Likewise.
16959 (V9FS_MAGIC): Likewise.
16960 (XENFS_SUPER_MAGIC): Likewise.
16961 (CRAMFS_MAGIC): Fix typo in comment.
16962 (EXT2_SUPER_MAGIC): Update comment.
16963 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16964
464263cc
JM
169652014-02-08 Joseph Myers <joseph@codesourcery.com>
16966
c6bfe5c4
JM
16967 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16968 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16969 * sysdeps/unix/sysv/linux/arm: Move directory from
16970 ports/sysdeps/unix/sysv/linux/arm.
16971 * README: Update listing for arm-*-linux-gnueabi.
16972
464263cc
JM
16973 * README: Remove mention of am33.
16974
32749f6c
RM
169752014-02-07 Roland McGrath <roland@hack.frob.com>
16976
16977 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16978 than the comma operator, to avoid "rhs of comma has no effect"
16979 compiler warnings.
16980 (__sigfillset, __sigandset, __sigorset): Likewise.
16981 * include/signal.h (__sigemptyset): Likewise.
16982 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16983
d5b396c1
AM
169842014-02-07 Allan McRae <allan@archlinux.org>
16985
16986 * version.h (RELEASE): Set to "development".
16987 (VERSION): Set to "2.19.90"
16988 * NEWS: Add 2.20 section.
16989
3bfff2ed
CD
169902014-02-06 Carlos O'Donell <carlos@redhat.com>
16991
16992 [BZ #16529]
16993 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16994
ee7cc385
SP
169952014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16996
16997 * manual/contrib.texi: Update entry for Carlos O'Donell,
16998 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16999
f877c4f2
CD
170002014-02-05 Carlos O'Donell <carlos@rehdat.com>
17001
27e839f6
CD
17002 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17003
f877c4f2
CD
17004 * sysdeps/unix/sysv/linux/kernel-features.h
17005 [__LINUX_KERNEL_VERSION >= 0x020621]
17006 (__ASSUME_PROC_PID_TASK_COMM): Define.
17007
68159946
SP
170082014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17009
ba17cdbd
SP
17010 [BZ #16398]
17011 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17012 conversion when destination buffer does not have enough space.
17013 * libio/tst-ftell-partial-wide.c: New test case.
17014 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17015
68159946
SP
17016 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17017 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17018 Leonard and Allan McRae.
17019
2b528732
DM
170202014-02-04 David S. Miller <davem@davemloft.net>
17021
17022 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17023 32-bit.
17024
0ff82463
AZ
170252014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17026
57f41c40
AS
17027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17028 New file
c01603f7
AZ
17029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17030 New file
57f41c40
AS
17031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17032 New file.
17033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17034 New file.
c01603f7
AZ
17035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17036 New file.
57f41c40
AS
17037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17038 New file.
17039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17040 New file.
c01603f7
AZ
17041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17042 New file.
17043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17044 New file.
17045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17046 New file.
17047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17048 New file.
17049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17050 New file.
17051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17052 New file.
17053
170542014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17055
0ff82463
AZ
17056 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17057 * shlib-versions: Likewise.
17058
1695c773
AZ
170592014-02-04 Roland McGrath <roland@hack.frob.com>
17060 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17061
17062 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17063 (abilist-pattern): New variable, set to %-le.abilist.
17064
17065 * Makerules (abilist-pattern): New variable.
17066 (vpath): Use $(abilist-pattern) in place of %.abilist.
17067 (check-abi-% pattern rule): Likewise.
17068 (check-abi, update-abi): Likewise.
17069
6c0ce4b4
EW
170702014-02-04 Eric Wong <normalperson@yhbt.net>
17071
17072 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17073
481e3524
CD
170742014-02-03 Carlos O'Donell <carlos@redhat.com>
17075
17076 * manual/startup.texi: Add next, previous, and top entries for
17077 the `Program Arguments' and `Environment Variables' nodes.
17078
375592d3
AO
170792014-02-03 Alexandre Oliva <aoliva@redhat.com>
17080
17081 * manual/macros.texi: Add comments before MTASC-safety macros.
17082
f54838ba
AO
17083 * manual/users.texi: Document MTASC-safety properties.
17084
57f41c40
AS
17085 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17086 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
17087 @deftypefun, and add @safety note.
17088 * manual/signal.texi: Move comments that analyze the above
17089 functions to their home place.
17090
fd3daba4
AM
170912014-02-03 Allan McRae <allan@archlinux.org>
17092
17093 * po/sl.po: Update Slovenian translation from translation project.
17094
597636d7
AO
170952014-02-02 Alexandre Oliva <aoliva@redhat.com>
17096
17097 * manual/time.texi (timegm): Add missing blank after @c.
17098 Reported by Joseph Myers <joseph@codesourcery.com>.
17099
ee196e3c
AO
171002014-02-01 Alexandre Oliva <aoliva@redhat.com>
17101
17102 * manual/check-safety.sh: New.
17103 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17104
f8d529d5
AO
17105 * manual/terminal.texi: Document MTASC-safety properties.
17106
de55fdf4
AO
17107 * manual/filesys.texi: Document MTASC-safety properties.
17108
c3299c08
AO
17109 * manual/errno.texi: Document MTASC-safety properties.
17110
06e90b14
AO
17111 * manual/intro.texi: Document safety identifiers and
17112 conditionals.
17113
1acd4371
AO
17114 * manual/string.texi (wcstok): Fix prototype.
17115 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17116
23e5b8cb
AO
17117 * manual/time.texi: Document MTASC-safety properties.
17118
11087373
AO
17119 * manual/string.texi: Document MTASC-safety properties.
17120
5da2c93d
AO
17121 * manual/threads.texi: Document MTASC-safety properties.
17122
171e9210
AO
17123 * manual/stdio.texi: Document MTASC-safety properties.
17124
d9e02532
AO
17125 * manual/syslog.texi: Document MTASC-safety properties.
17126
6af8bab7
AO
17127 * manual/sysinfo.texi: Document MTASC-safety properties.
17128
663b02d7
AO
17129 * manual/startup.texi: Document MTASC-safety properties.
17130
973f180b
AO
17131 * manual/socket.texi: Document MTASC-safety properties.
17132
8f3c25c8
AO
17133 * manual/signal.texi: Document MTASC-safety properties.
17134
542210fb
AO
171352014-01-31 Alexandre Oliva <aoliva@redhat.com>
17136
17137 * manual/setjmp.texi: Document MTASC-safety properties.
17138
433c45a2
AO
17139 * manual/search.texi: Document MTASC-safety properties.
17140
c8ce789c
AO
17141 * manual/resource.texi: Document MTASC-safety properties.
17142
19f5d29c
AO
17143 * manual/process.texi: Document MTASC-safety properties.
17144
e2dfb7f4
AO
17145 * manual/platform.texi: Document MTASC-safety properties.
17146
8c1413f5
AO
17147 * manual/pipe.texi: Document MTASC-safety properties.
17148
03483ada
AO
17149 * manual/pattern.texi: Document MTASC-safety properties.
17150
29e7e2df
AO
17151 * manual/message.texi: Document MTASC-safety properties.
17152
9f529d7c
AO
17153 [BZ #12751]
17154 * manual/memory.texi: Document MTASC-safety properties.
17155
27aaa791
AO
17156 * manual/math.texi: Document MTASC-safety properties.
17157
f2d58726
AO
17158 * manual/locale.texi: Document MTASC-safety properties.
17159
2cc3615c
AO
17160 * manual/llio.texi: Document MTASC-safety properties.
17161
d9f0ec97
AO
17162 * manual/libdl.texi: New.
17163
e7c4409a
AO
17164 * manual/lang.texi: Document MTASC-safety properties.
17165
27bdc63c
AO
17166 * manual/job.texi: Document MTASC-safety properties.
17167
a7b90ea9
AO
17168 * manual/getopt.texi: Document MTASC-safety properties.
17169
c49130e3
AO
17170 * manual/ctype.texi: Document MTASC-safety properties.
17171
0d23a5c1
MR
171722014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17173
17174 [BZ #16046]
17175 * csu/libc-tls.c (static_map): Remove variable.
17176 (__libc_setup_tls): Use main executable's link map for TLS data.
17177 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17178 casing for LM_ID_BASE and GL(dl_nns).
17179 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17180 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17181 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17182 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17183 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17184 member.
17185 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17186 l_phnum members.
17187
0037bb60
AO
171882014-01-30 Alexandre Oliva <aoliva@redhat.com>
17189
17190 * manual/debug.texi: Document MTASC-safety properties.
17191
409e00bd
L
171922014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17193
17194 [BZ #16510]
17195 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17196 of __x86_64__ when disabling x87 inline functions.
17197
86e60666
AO
171982014-01-29 Alexandre Oliva <aoliva@redhat.com>
17199
17200 * manual/charset.texi: Document MTASC-safety properties.
17201
76167637
AO
17202 * manual/crypt.texi: Document MTASC-safety properties.
17203
e567f2a0
AO
17204 * manual/conf.texi: Document MTASC-safety properties.
17205
b719dafd
AO
17206 * manual/arith.texi: Document MTASC-safety properties.
17207
4a16c662
AO
17208 * manual/argp.texi: Document MTASC-safety properties.
17209
0a57b83e
AO
17210 * manual/macros.texi: Introduce macros to document multi
17211 thread, asynchronous signal and asynchronous cancellation
17212 safety properties.
17213 * manual/intro.texi: Introduce the properties themselves.
17214
feab2397
KK
172152014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17216
17217 * sysdeps/sh/sh4/Makefile: New file.
17218
1c0d11bc
AS
172192014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17220
17221 * math/gen-libm-test.pl ($srcdir): New variable.
17222 ($auto_input): Use it.
17223
af37a8a3
SP
172242014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17225
d7b00f98
SP
17226 [BZ #16506]
17227 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17228 access beyond array bounds when parsing netgroups file.
17229
af37a8a3
SP
17230 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17231 the old buffer before realloc.
17232
0c00f062
AM
172332014-01-27 Allan McRae <allan@archlinux.org>
17234
17235 * po/fr.po: Update French translation from translation project.
17236
7d69a1b0
KK
172372014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17238
17239 * sysdeps/sh/libm-test-ulps: Regenerate.
17240
6e697ff7
DM
172412014-01-24 David S. Miller <davem@davemloft.net>
17242
17243 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17244
9cadb35c
KK
172452014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17246
17247 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17248 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17249
5d41dadf
SP
172502013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17251
17252 [BZ #16474]
17253 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17254 string pointers after reallocation.
17255
0bad441c
KK
172562014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17257
17258 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17259 __SH4A__ instead of __SH_FPU_ANY__.
17260
7007c661
KK
172612014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17262
17263 * sysdeps/sh/fpu_control.h: New file.
17264 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17265 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17266 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17267 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17268 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17269 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17270 * sysdeps/sh/sys/ucontext.h: Remove.
17271 * sysdeps/sh/sys: Remove directory.
17272
0f0c35e4
AK
172732014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17274
17275 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17276 s390/sys/ucontext.h.
17277 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17278 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17279
4959e284
L
172802014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17281
17282 [BZ #15605]
17283 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17284
d98720e0
AZ
172852014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17286
17287 [BZ#16431]
17288 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17289 Adjust the vDSO correctly for internal calls.
17290 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17291
91cbd0bc
AM
172922014-01-20 Allan McRae <allan@archlinux.org>
17293
17294 * po/ca.po: Update Catalan translation from translation project.
17295
7a02cfad
MF
172962014-01-16 Mike Frysinger <vapier@gentoo.org>
17297
17298 * sysdeps/s390/sotruss-lib.c: New file.
17299
736c304a
AZ
173002014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17301
17302 [BZ#16430]
6e077ee5 17303 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
17304 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17305 local calls issues by not having a PLT stub required for IFUNC calls.
17306 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17307
94d0cea0
JM
173082014-01-16 Joseph Myers <joseph@codesourcery.com>
17309
17310 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17311 * math/test-fpucw-static.c: Likewise.
17312
980cb518
SP
173132013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17314
17315 [BZ #16453]
17316 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17317
2393fc01
AZ
173182014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17319
17320 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17321 implementation for powerpc.
17322
d359bcc2
OB
173232014-01-15 Ondřej Bílka <neleai@seznam.cz>
17324
17325 [BZ #14782]
17326 * sysdeps/posix/system.c (__libc_system): Do not enable
17327 asynchronous cancellation.
17328
7beb48cb
AK
173292014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17330
17331 [BZ #16427]
17332 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17333 handling only for numbers special also in the IEEE case.
17334
c20d5bf5
AK
173352014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17336
17337 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17338
e83bd4ee
AM
173392014-01-11 Allan McRae <allan@archlinux.org>
17340
76d0ea69
AM
17341 * po/bg.po: Update Bulgarian translation from translation project.
17342
e83bd4ee
AM
17343 * po/de.po: Update German translation from translation project.
17344
bc2ba20a
RM
173452014-01-10 Roland McGrath <roland@hack.frob.com>
17346
17347 * sysdeps/generic/gcc-compat.h: New file.
17348
649ecea2
SP
173492014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17350
17351 * benchtests/asin-inputs: Correct slow inputs.
17352 * benchtests/acos-inputs: Likewise.
17353
1b19c006
AM
173542014-01-10 Allan McRae <allan@archlinux.org>
17355
a46dab08
AM
17356 * po:sv.po: Update Swedish translation from translation project.
17357
421df74a
AM
17358 * po/vi.po: Update Vietnamese translation from translation project.
17359
d61c51a7
AM
17360 * po/eo.po: Update Esperanto translation from translation project.
17361
0339a319
AM
17362 * po/cs.po: Update Czech translation from translation project.
17363
94ad3e99
AM
17364 * po/nl.po: Update Dutch translation from translation project.
17365
e349ca71
AM
17366 * po/pl.po: Update Polish translation from translation project.
17367
ddf930c1
AM
17368 * po/ru.po: Update Russian translation from translation project.
17369
1b19c006
AM
17370 * po/uk.po: Update Ukrainian translation from translation project.
17371
9f236c49
BM
173722014-01-08 Brooks Moses <bmoses@google.com>
17373
17374 * elf/dl-load.c: Fix comment typo.
17375
cd6701cf
CD
173762014-01-08 Carlos O'Donell <carlos@redhat.com>
17377
17378 * po/header.pot: Rename to...
17379 * po/pot.header: ... this.
17380 * po/Makefile: Use pot.header.
17381
66671c84
YK
173822014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17383 Maxim Kuvyrkov <maxim@kugelworks.com>
17384
17385 [BZ #16394]
cd6701cf
CD
17386 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17387 SRC and DEST against LEN.
66671c84 17388
38f34581
AZ
173892014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17390
17391 [BZ #16414]
17392 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17393 implementation.
17394 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17395
173962014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
17397
17398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17399
4c327f2a
JM
174002014-01-08 Joseph Myers <joseph@codesourcery.com>
17401
17402 [BZ #16408]
17403 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17404 for large positive arguments.
17405
b821f414
JM
174062014-01-07 Joseph Myers <joseph@codesourcery.com>
17407
1f0f2067
JM
17408 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17409
a5a326f6
JM
17410 * math/auto-libm-test-in: Mark various tests with
17411 xfail-rounding:ldbl-128ibm.
17412 * math/auto-libm-test-out: Regenerated.
17413
b821f414
JM
17414 [BZ #16407]
17415 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17416 Increase overflow threshold.
17417
94c8a4bc
OB
174182014-01-07 Ondřej Bílka <neleai@seznam.cz>
17419
17420 [BZ #14286]
17421 * stdio-common/vfprintf.c: Check for integer overflow.
17422
87ded0c3
AK
174232014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17424
17425 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17426 the first argument and return value of __tls_get_addr_internal.
17427
c5eebdd0
AK
174282014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17429
17430 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17431 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17432
05d138ef
AK
174332014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17434
17435 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17436 * sysdeps/s390/rtld-global-offsets.sym: New file.
17437 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17438 GLIBC_2.19 symbol.
17439 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17440 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17441 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17442 ... this.
17443 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17444 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17445 ... this.
17446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17447 Regenerate.
17448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17449 Regenerate.
17450 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17451 halfs of GPRs for high_gprs contexts.
17452 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17453 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17454 field.
17455 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17456 uc_flags field.
17457 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17458 64 bit versions:
17459 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17460 for high GPRs (uc_high_gprs) and for future extensions
17461 (__reserved).
17462 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17463 for future extensions (__reserved).
17464 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17465 64 bit versions:
17466 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17467 SC_HIGHGPRS offset definition.
17468 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17469 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17470
93a45ff1
AK
17471 * Versions.def: Add GLIBC_2.19 for libpthread.
17472 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17473 siglongjmp for libpthread with GLIBC_2.19 symver.
17474 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17475 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17476 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17477 * sysdeps/s390/__longjmp.c: New file.
17478 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17479 * sysdeps/s390/longjmp.c: New file.
17480 * sysdeps/s390/setjmp.S: New file.
17481 * sysdeps/s390/sigjmp.S: New file.
17482 * sysdeps/s390/v1-longjmp.c: New file.
17483 * sysdeps/s390/v1-setjmp.h: New file.
17484 * sysdeps/s390/v1-sigjmp.c: New file.
17485 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17486 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17487 GLIBC_2.19 version.
17488 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17489 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17490 versioned symbols for ____longjmp_chk.
17491 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17492 Likewise.
17493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17494 Regenerate.
17495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17496 Regenerate.
17497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17498 Regenerate.
17499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17500 Regenerate.
17501 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17502 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17503 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17504 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17505 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17506 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17507 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17508 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17509 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17510 * sysdeps/s390/rtld-__longjmp.c: New file.
17511 * sysdeps/s390/rtld-setjmp.S: New file.
17512
eb3fc44b
JM
175132014-01-06 Joseph Myers <joseph@codesourcery.com>
17514
17515 [BZ #16400]
17516 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17517 Return -__logl (x) for small positive arguments without evaluating
17518 a polynomial.
17519
9341dde4
MF
175202014-01-06 Mike Frysinger <vapier@gentoo.org>
17521
17522 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17523 Rename to ...
17524 (__ptrace_peeksiginfo_args): ... this.
17525 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17526 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17527 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17528
4cff0293
AM
175292014-01-06 Allan McRae <allan@archlinux.org>
17530
17531 * inet/netinet/in.h: Fix typo in comment.
17532
75595dcf
AJ
175332014-01-05 Andreas Jaeger <aj@suse.de>
17534
17535 * sysdeps/i386/fpu/libm-test-ulps: Update.
17536
79c1e109
AM
175372014-01-05 Allan McRae <allan@archlinux.org>
17538
dd804818
AM
17539 * po/libc.pot: Regenerated.
17540
79c1e109
AM
17541 * malloc/memusagestat.c: Fix gettext call formatting.
17542
0c813d1f
SK
175432014-01-04 Sami Kerola <kerolasa@iki.fi>
17544
17545 * nscd/nscd.c: Improve usage() output.
17546
20f4a8d9
MF
175472014-01-04 Mike Frysinger <vapier@gentoo.org>
17548
17549 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17550 * sysdeps/unix/sysv/linux/configure: Regenerated.
17551 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17552 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17553
22562bb2
JM
175542014-01-03 Joseph Myers <joseph@codesourcery.com>
17555
17556 [BZ #16390]
17557 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17558 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17559
d7ad2d9b
AZ
175602014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17561
17562 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17563 extra tokens at end of #undef directive.
17564 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17565 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17566 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17567
7dd009d8
JM
175682014-01-03 Joseph Myers <joseph@codesourcery.com>
17569
24db925a
JM
17570 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17571
7dd009d8
JM
17572 * math/auto-libm-test-in: Mark various tests with
17573 xfail-rounding:ldbl-128ibm.
17574 * math/auto-libm-test-out: Regenerated.
17575
396e3ecf
JM
175762014-01-02 Joseph Myers <joseph@codesourcery.com>
17577
819e5d50
JM
17578 [BZ #16386]
17579 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17580 numbers with subnormal high part when calculating exponent.
17581
90b6a1e5
JM
17582 [BZ #16385]
17583 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17584 fabs.
17585
396e3ecf
JM
17586 [BZ #16384]
17587 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17588 M_LN2l.
17589 (__ieee754_acoshl): Use __log1pl not __log1p.
17590
6c8dbf00
OB
175912013-01-02 Ondřej Bílka <neleai@seznam.cz>
17592
57f41c40
AS
17593 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17594 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17595 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17596 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17597 (reused_arena, arena_get2): Convert to GNU style.
17598 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17599 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17600 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 17601 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
17602 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17603 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17604 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17605 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17606 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17607 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 17608 * malloc/malloc.h: Likewise.
57f41c40
AS
17609 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17610 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 17611 * malloc/mcheck.h: Likewise.
57f41c40
AS
17612 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17613 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
17614 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17615 * malloc/morecore.c (__default_morecore): Likewise.
17616 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
17617 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17618 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17619 (print_and_abort): Likewise.
6c8dbf00
OB
17620 * malloc/obstack.h: Likewise.
17621 * malloc/set-freeres.c (__libc_freeres): Likewise.
17622 * malloc/tst-mallocstate.c (main): Likewise.
17623 * malloc/tst-mtrace.c (main): Likewise.
17624 * malloc/tst-realloc.c (do_test): Likewise.
17625
d4124212
SP
176262013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17627
9a3c6a6f
SP
17628 [BZ #16366]
17629 * nscd/netgroupcache.c (do_notfound): New function.
17630 (addgetnetgrentX): Use it.
17631
d4124212
SP
17632 [BZ # 16365]
17633 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17634 NSS_STATUS_NOTFOUND.
17635
97b9a009
JM
176362014-01-01 Joseph Myers <joseph@codesourcery.com>
17637
17638 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17640
d4697bc9
AM
176412014-01-01 Allan McRae <allan@archlinux.org>
17642
ddb3687f
AM
17643 * scripts/update-copyrights: Update configure input file suffix.
17644
88726d48
AM
17645 * NEWS: Update copyright year.
17646 * catgets/gencat.c: Likewise.
17647 * csu/version.c: Likewise.
17648 * debug/catchsegv.sh: Likewise.
17649 * debug/pcprofiledump.c: Likewise.
17650 * debug/xtrace.sh: Likewise.
17651 * elf/ldconfig.c: Likewise.
17652 * elf/ldd.bash.in: Likewise.
17653 * elf/pldd.c: Likewise.
17654 * elf/sotruss.ksh: Likewise.
17655 * elf/sprof.c: Likewise.
17656 * iconv/iconv_prog.c: Likewise.
17657 * iconv/iconvconfig.c: Likewise.
17658 * locale/programs/locale.c: Likewise.
17659 * locale/programs/localedef.c: Likewise.
17660 * login/programs/pt_chown.c: Likewise.
17661 * malloc/memusage.sh: Likewise.
17662 * malloc/memusagestat.c: Likewise.
17663 * malloc/mtrace.pl: Likewise.
17664 * manual/libc.texinfo: Likewise.
17665 * nscd/nscd.c: Likewise.
17666 * nss/getent.c: Likewise.
17667 * nss/makedb.c: Likewise.
17668 * posix/getconf.c: Likewise.
17669 * scripts/test-installation.pl: Likewise.
17670
d4697bc9
AM
17671 * All files with FSF copyright notices: Update copyright dates
17672 using scripts/update-copyrights.
17673 * intl/plural.c: Regenerated.
17674 * locale/programs/charmap-kw.h: Likewise.
17675 * locale/programs/locfile-kw.h: Likewise.
17676
c8590f9d
MF
176772013-12-31 Mike Frysinger <vapier@gentoo.org>
17678
17679 * sysdeps/unix/sysv/linux/configure: Regenerated.
17680 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17681 the linux/fanotify.h header.
17682 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17683 HAVE_LINUX_FANOTIFY_H is defined.
17684
b19221b9
SP
176852013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17686
dd1d85e5
SP
17687 * benchtests/cos-inputs: New inputs.
17688 * benchtests/sin-inputs: Likewise.
17689
1acbb90f
SP
17690 * benchtests/atan-inputs: New inputs. Fix name of multiple
17691 precision fallback inputs.
17692
4c012ed3
SP
17693 * benchtests/atanh-inputs: New inputs.
17694 * benchtests/tanh-inputs: Likewise.
17695
eff98324
SP
17696 * benchtests/acosh-inputs: New inputs.
17697 * benchtests/asinh-inputs: Likewise.
17698
ce641152
SP
17699 * benchtests/cosh-inputs: New inputs.
17700 * benchtests/sinh-inputs: Likewise.
17701
b19221b9
SP
17702 * benchtests/acos-inputs: Add more inputs.
17703 * benchtests/asin-inputs: Likewise.
17704
030a4976 177052013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 17706
030a4976 17707 [BZ #16375]
9dcc8f11
VS
17708 * manual/arith.texi: Fix spelling.
17709 * manual/charset.texi: Likewise.
17710 * manual/errno.texi: Likewise.
17711 * manual/filesys.texi: Likewise.
17712 * manual/lang.texi: Likewise.
17713 * manual/llio.texi: Likewise.
17714 * manual/locale.texi: Likewise.
17715 * manual/message.texi: Likewise.
17716 * manual/resource.texi: Likewise.
17717 * manual/search.texi: Likewise.
17718 * manual/setjmp.texi: Likewise.
17719 * manual/stdio.texi: Likewise.
17720 * manual/string.texi: Likewise.
17721 * manual/sysinfo.texi: Likewise.
17722 * manual/time.texi: Likewise.
17723
11520a57
CD
177242013-12-27 Carlos O'Donell <carlos@redhat.com>
17725
17726 * po/sl.po: New file.
17727
471103ae
MF
177282013-12-27 Mike Frysinger <vapier@gentoo.org>
17729
17730 * .gitignore: Add core/.gdbinit/.gdb_history.
17731
6c9642ed
AM
177322013-12-27 Allan McRae <allan@archlinux.org>
17733
17734 [BZ #16369]
17735 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17736 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17737
3f637079
BM
177382013-12-24 Brooks Moses <bmoses@google.com>
17739
17740 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17741 all compilers that claim C++98 compliance, not just GCC.
17742 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17743 Likewise.
17744
abc26e99
MK
177452013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17746
17747 * NEWS: Restore accidentally deleted bug-fix entries.
17748
362b47fe
MK
177492013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17750 Ondřej Bílka <neleai@seznam.cz>
17751
17752 [BZ #15073]
17753 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 17754 have_lock.
362b47fe 17755
b9bcbbcb
OB
177562013-12-23 Ondřej Bílka <neleai@seznam.cz>
17757
17758 [BZ #12986]
17759 * manual/stdio.texi (String Input Conversions): Clarify that character
17760 classes are not supported.
17761
fb55fcd2
AZ
177622013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17763
17764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17765
ef7344f0
JM
177662013-12-22 Joseph Myers <joseph@codesourcery.com>
17767
4f40e4b3
JM
17768 [BZ #16337]
17769 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17770 Calculate results for small negative arguments directly rather
17771 than using reflection formula with special underflow handling.
17772
ef7344f0
JM
17773 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17774 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17775 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17776 (fchflags): Likewise.
17777 (revoke): Likewise.
17778 (setlogin): Likewise.
17779 (sigaltstack): Likewise.
17780 (wait4): Likewise.
17781 (sigblock): Remove.
17782 (sigsetmask): Likewise.
17783 (wait3): Likewise.
17784 (waitpid): Likewise.
17785 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17786 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17787 file.
17788 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17789 * sysdeps/unix/bsd/Makefile: ... here.
17790 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17791 * sysdeps/unix/bsd/Versions: ... here.
17792 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17793 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17794 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17795 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17796 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17797 * sysdeps/unix/bsd/sigblock.c: ... here.
17798 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17799 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17800 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17801 * sysdeps/unix/bsd/sigvec.c: ... here.
17802 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17803 * sysdeps/unix/bsd/tcdrain.c: ... here.
17804 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17805 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17806 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17807 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17808 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17809 * sysdeps/unix/bsd/wait.c: ... here.
17810 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17811 * sysdeps/unix/bsd/wait3.c: ... here.
17812 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17813 * sysdeps/unix/bsd/waitpid.c: ... here.
17814
5b0626b9
JM
178152013-12-21 Joseph Myers <joseph@codesourcery.com>
17816
17817 [BZ #16356]
17818 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17819 round-to-nearest for [!USE_AS_EXPM1L].
17820 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17821 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17822 more tests of exp and exp10. Expect some exp10 tests to miss
17823 exceptions or fail in directed rounding modes.
17824 * math/auto-libm-test-out: Regenerated.
17825 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17826 (exp10_test_tonearest): New function.
17827 (exp10_towardzero_test_data): New array.
17828 (exp10_test_towardzero): New function.
17829 (exp10_downward_test_data): New array.
17830 (exp10_test_downward): New function.
17831 (exp10_upward_test_data): New array.
17832 (exp10_test_upward): New function.
17833 (main): Call the new functions.
17834 * sysdeps/i386/fpu/libm-test-ulps: Update.
17835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17836
7fda5682
JM
178372013-12-20 Joseph Myers <joseph@codesourcery.com>
17838
31e3a405
JM
17839 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17840 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17841 * math/auto-libm-test-out: Regenerated.
17842 * math/libm-test.inc (acosh_test_data): Add more tests.
17843 (atanh_test_data): Likewise.
17844 (ceil_test_data): Likewise.
17845 (copysign_test_data): Likewise.
17846 * sysdeps/i386/fpu/libm-test-ulps: Update.
17847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17848
85bff96a
JM
17849 * timezone/checktab.awk: Update from tzcode 2013i.
17850 * timezone/private.h: Likewise.
17851 * timezone/scheck.c: Likewise.
17852 * timezone/tzfile.h: Likewise.
17853 * timezone/tzselect.ksh: Likewise.
17854 * timezone/zdump.c: Likewise.
17855 * timezone/zic.c: Likewise.
17856
b7867a3b
JM
17857 * math/auto-libm-test-in: Add tests of cpow.
17858 * math/auto-libm-test-out: Regenerated.
17859 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 17860 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
17861 mpc_cc_c.
17862 (func_calc_desc): Add mpc_cc_c union field.
17863 (test_functions): Add cpow.
17864 (special_fill_2pi): New function.
17865 (special_real_inputs): Add 2pi.
17866 (calc_generic_results): Handle mpc_cc_c.
17867 * sysdeps/i386/fpu/libm-test-ulps: Update.
17868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17869
7fda5682
JM
17870 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17871 csqrt, ctan and ctanh.
17872 * math/auto-libm-test-out: Regenerated.
17873 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17874 (TEST_COND_x86): Likewise.
17875 (ccos_test_data): Use AUTO_TESTS_c_c.
17876 (ccosh_test_data): Likewise.
17877 (cexp_test_data): Likewise.
17878 (clog_test_data): Likewise.
17879 (csqrt_test_data): Likewise.
17880 (ctan_test_data): Likewise.
17881 (ctan_tonearest_test_data): Likewise.
17882 (ctan_towardzero_test_data): Likewise.
17883 (ctan_downward_test_data): Likewise.
17884 (ctan_upward_test_data): Likewise.
17885 (ctanh_test_data): Likewise.
17886 (ctanh_tonearest_test_data): Likewise.
17887 (ctanh_towardzero_test_data): Likewise.
17888 (ctanh_downward_test_data): Likewise.
17889 (ctanh_upward_test_data): Likewise.
17890 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17891 mpc_c_c.
17892 (func_calc_desc): Add mpc_c_c union field.
17893 (FUNC_mpc_c_c): New macro.
17894 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17895 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17896 ctanh.
17897 (special_fill_min_subnorm_p120): New function.
17898 (special_real_inputs): Add min_subnorm_p120.
17899 (calc_generic_results): Handle mpc_c_c.
17900 * sysdeps/i386/fpu/libm-test-ulps: Update.
17901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17902
5ff8d60e
SP
179032013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17904
57f41c40
AS
17905 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17906 (do_sin_slow): New functions.
17907 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17908 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 17909
84ba214c
SP
17910 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17911 Use M to change sign of result instead of X. Assume X is
17912 positive.
17913 (csloww1): Likewise.
17914 (__sin): Adjust.
17915 (__cos): Adjust.
17916
975195e4
SP
17917 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17918 arguments A and DA.
17919 (__sin): Adjust.
17920 (__cos): Likewise.
17921
5ff8d60e
SP
17922 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17923 (__cos): Likewise.
17924 (sloww1): Don't adjust sign of DX.
17925 (csloww1): Likewise.
17926 (sloww2): Use X directly and don't adjust sign of DX.
17927 (csloww2): Likewise.
17928
eb983568
JM
179292013-12-19 Joseph Myers <joseph@codesourcery.com>
17930
64a17f1a
JM
17931 * math/auto-libm-test-in: Add tests of cabs and carg.
17932 * math/auto-libm-test-out: Regenerated.
17933 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17934 (carg_test_data): Likewise.
17935 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17936 mpc_c_f.
17937 (func_calc_desc): Add mpc_c_f union field.
17938 (test_functions): Add cabs and carg.
17939 (calc_generic_results): Handle mpc_c_f.
17940
eb983568
JM
17941 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17942 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17943 as a macro and a compat symbol.
17944 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17945 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17946 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17947 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17948 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17949 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17950 not use .hidden.
17951 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17952 Likewise.
17953 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17954 Likewise.
17955 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17956 Likewise.
17957 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17958 Likewise.
17959 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17960 Likewise.
17961 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17962 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17963 from GLIBC_2.3.2.
17964
6eeb678a
AZ
179652013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17966
17967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17968
6f6fc482
JM
179692013-12-19 Joseph Myers <joseph@codesourcery.com>
17970
21fea2e2
JM
17971 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17972 trailing whitespace removed.
17973 * scripts/config.guess: Update to version 2013-11-29.
17974 * scripts/config.sub: Update to version 2013-10-01.
17975
6f6fc482
JM
17976 * math/auto-libm-test-in: Add tests of sincos.
17977 * math/auto-libm-test-out: Regenerated.
17978 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17979 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17980 mpfr_f_11.
17981 (func_calc_desc): Add mpfr_f_11 union field.
17982 (test_functions): Add sincos.
17983 (calc_generic_results): Handle mpfr_f_11.
17984 * sysdeps/i386/fpu/libm-test-ulps: Update.
17985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17986
83f5c32d
AS
179872013-12-19 Andreas Schwab <schwab@suse.de>
17988
17989 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17990 CALL_MCOUNT.
17991 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17992 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17993 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17994
c688b419
JM
179952013-12-19 Joseph Myers <joseph@codesourcery.com>
17996
335ee092
JM
17997 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17998 * sysdeps/i386/fpu/libm-test-ulps: Update.
17999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18000
f88acd39
JM
18001 [BZ #16293]
18002 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18003 round-to-nearest mode when using frndint.
18004 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18005 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18006 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18007 Likewise.
18008 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18009 sinh test to fail.
18010 * math/auto-libm-test-out: Regenerated.
18011 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18012 (TEST_COND_x86): Likewise.
18013 (expm1_tonearest_test_data): New array.
18014 (expm1_test_tonearest): New function.
18015 (expm1_towardzero_test_data): New array.
18016 (expm1_test_towardzero): New function.
18017 (expm1_downward_test_data): New array.
18018 (expm1_test_downward): New function.
18019 (expm1_upward_test_data): New array.
18020 (expm1_test_upward): New function.
18021 (main): Run the new test functions.
18022 * sysdeps/i386/fpu/libm-test-ulps: Update.
18023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18024
c688b419
JM
18025 * include/features.h: Update comment documenting feature test
18026 macros. Mention _DEFAULT_SOURCE in comment.
18027 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18028 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18029 _BSD_SOURCE and _SVID_SOURCE.
18030 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18031 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18032 !_SVID_SOURCE]: Likewise.
18033 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18034 (__USE_POSIX_IMPLICITLY): Define.
18035 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18036 (_POSIX_SOURCE): Undefine and redefine.
18037 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18038 (_POSIX_C_SOURCE): Likewise.
18039 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18040 (Feature Test Macros): Update documentation of default features.
18041
9f6e964c
RS
180422013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18043
18044 * benchtests/Makefile: Add bench-strtok.
18045 * benchtests/bench-strtok.c: New file: strtok benchtest.
18046
ee0a148a
AM
180472013-12-19 Allan McRae <allan@archlinux.org>
18048
18049 * manual/install.texi: Suppress menu for plain text output.
18050 * INSTALL: Regenerated.
18051
b9ab448f
BM
180522013-12-18 Brooks Moses <bmoses@google.com>
18053
18054 [BZ #15846]
18055 * misc/getauxval.c: Include errno.h.
18056 (__getauxval): Set errno to ENOENT if the requested type is not
18057 found.
18058 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18059 don't declare with __attribute_const__.
18060 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18061 * manual/startup.texi: Document that getauxval sets errno.
18062
23776487
JM
180632013-12-18 Joseph Myers <joseph@codesourcery.com>
18064
f889953b
JM
18065 * math/auto-libm-test-in: Add tests of jn and yn.
18066 * math/auto-libm-test-out: Regenerated.
18067 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18068 (yn_test_data): Likewise.
18069 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18070 mpfr_if_f.
18071 (func_calc_desc): Add mpfr_if_f union field.
18072 (FUNC_mpfr_if_f): New macro.
18073 (test_functions): Add jn and yn.
18074 (calc_generic_results): Assert type of second input for
18075 mpfr_ff_f. Handle mpfr_if_f.
18076 (output_for_one_input_case): Disable all checking for arguments
18077 fitting floating-point types in case of an integer argument.
18078 * sysdeps/i386/fpu/libm-test-ulps: Update.
18079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18080
23776487
JM
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18082 Don't expect fegetround reference in libm.so.
18083
cb756c6d
MS
180842013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18085
18086 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18087 $(config-cflags-nofma).
18088
2dec468f
JM
180892013-12-18 Joseph Myers <joseph@codesourcery.com>
18090
5953eb3a
JM
18091 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18092 * math/auto-libm-test-out: Regenerated.
18093
2dec468f
JM
18094 [BZ #16338]
18095 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18096 to determine exponent and adjust argument to have exponent of -1.
18097 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18098 log2.
18099 * math/auto-libm-test-out: Regenerated.
18100 * sysdeps/i386/fpu/libm-test-ulps: Update.
18101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18102
4d84e6ad
OB
181032013-12-18 Ondřej Bílka <neleai@seznam.cz>
18104
18105 * manual/probes.texi: Remove cases when per-thread arenas are
18106 disabled.
18107
1818483b
AS
181082013-12-18 Andreas Schwab <schwab@suse.de>
18109
18110 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18111 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18112 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18113 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18114 * sysdeps/i386/i686/multiarch/Makefile: Update.
18115 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18116
25de95bf
JM
181172013-12-17 Joseph Myers <joseph@codesourcery.com>
18118
18119 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18120 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18121
674762d9
PE
181222013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18123
ed27ed83 18124 [BZ #15968]
0748546f
PE
18125 Support TZ transition times < 00:00:00.
18126 This is needed for version-3 tz-format files; it supports time
18127 stamps past 2037 for America/Godthab (the only entry in the tz
18128 database for which this change is relevant).
18129 * manual/time.texi (TZ Variable): Document transition times
18130 from -167:59:59 through -00:00:01.
18131 * time/tzset.c (tz_rule): Time of day is now signed.
18132 (__tzset_parse_tz): Parse negative time of day.
18133
4480e934
PE
18134 Document TZ transition times >= 25:00:00.
18135 * manual/time.texi (TZ Variable): Document transition times from
18136 25:00:00 through 167:59:59. These are already supported, and this
18137 support will help with version-3 tz-format files.
18138
69947401
PE
18139 * manual/time.texi (TZ Variable): Modernize North America example
18140 to reflect current (i.e., 2007-and-later) daylight saving rules.
18141
674762d9
PE
18142 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18143
7011c262
JM
181442013-12-17 Joseph Myers <joseph@codesourcery.com>
18145
2fc6557e
JM
18146 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18147 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18148 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18149 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18150 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18151 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18152 * sysdeps/unix/bsd/clock.c: Likewise.
18153 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18154 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18155 * sysdeps/unix/bsd/init-posix.c: Likewise.
18156 * sysdeps/unix/bsd/poll.c: Likewise.
18157 * sysdeps/unix/bsd/ptsname.c: Likewise.
18158 * sysdeps/unix/bsd/seekdir.c: Likewise.
18159 * sysdeps/unix/bsd/setegid.c: Likewise.
18160 * sysdeps/unix/bsd/seteuid.c: Likewise.
18161 * sysdeps/unix/bsd/setgid.c: Likewise.
18162 * sysdeps/unix/bsd/setrgid.c: Likewise.
18163 * sysdeps/unix/bsd/setruid.c: Likewise.
18164 * sysdeps/unix/bsd/setsid.c: Likewise.
18165 * sysdeps/unix/bsd/setuid.c: Likewise.
18166 * sysdeps/unix/bsd/sigaction.c: Likewise.
18167 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18168 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18169 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18170 * sysdeps/unix/bsd/telldir.c: Likewise.
18171 * sysdeps/unix/bsd/times.c: Likewise.
18172 * sysdeps/unix/bsd/usleep.c: Likewise.
18173
029c7b25
JM
18174 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18175 ($(objpfx)libbsd-compat.a): Remove rule.
18176
7011c262
JM
18177 * include/features.h (__FAVOR_BSD): Do not define.
18178 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18179 features conflicting with POSIX.
18180 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18181 (_BSD_SOURCE): Remove description of not being a subset of other
18182 feature test macros.
18183 * manual/job.texi (getpgrp): Do not document BSD version.
18184 (getpgid): Do not document by reference to BSD getpgrp.
18185 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18186 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18187 * signal/signal.h [__FAVOR_BSD]: Likewise.
18188 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18189 instead of making contents conditional on [__FAVOR_BSD].
18190 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18191
affb6f78
AZ
181922013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18193
18194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18195
c88769dd
JM
181962013-12-17 Joseph Myers <joseph@codesourcery.com>
18197
6432a540
JM
18198 [BZ #16314]
18199 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18200 values below 2**-450, not 2**-500.
18201 * math/auto-libm-test-in: Don't allow spurious underflow from
18202 hypot.
18203 * math/auto-libm-test-out: Regenerated.
18204
c88769dd
JM
18205 [BZ #16316]
18206 [BZ #16330]
18207 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18208 values of ha and hb and sort them after adjusting subnormal
18209 arguments.
18210 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18211 Likewise.
18212 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18213 values of ea and eb and sort them after adjusting subnormal
18214 arguments.
18215 * math/auto-libm-test-in: Do not expect some hypot tests of
18216 subnormals to fail. Add more hypot tests.
18217 * math/auto-libm-test-out: Regenerated.
18218
29618f6b
KK
182192013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18220
18221 [BZ #13304]
18222 * sysdeps/sh/s_fma.c: New file.
18223 * sysdeps/sh/s_fmaf.c: New file.
18224 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18225 version.
18226 * sysdeps/sh/Implies: Add sh/soft-fp.
18227
eacfdfbf
RM
182282013-12-16 Roland McGrath <roland@hack.frob.com>
18229
18230 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18231 level of indirection to members `objname', `errstring', `malloced'.
18232 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18233 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18234 it as the __longjmp argument (just pass 1 instead).
18235 (_dl_catch_error): Initialize C with argument pointers and address of
18236 volatile local ERRCODE rather than copying values out of C at return.
18237
ff362e5b
JM
182382013-12-16 Joseph Myers <joseph@codesourcery.com>
18239
18240 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18241 * math/auto-libm-test-out: Regenerated.
18242 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18243 (hypot_test_data): Likewise.
18244 (pow_test_data): Likewise.
18245 (pow_tonearest_test_data): Likewise.
18246 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18247 mpfr_ff_f.
18248 (func_calc_desc): Add mpfr_ff_f union field.
18249 (FUNC_mpfr_ff_f): New macro.
18250 (test_functions): Add atan2, hypot and pow.
18251 (special_fill_min): New function.
18252 (special_fill_minus_min): Likewise.
18253 (special_fill_min_subnorm): Likewise.
18254 (special_fill_minus_min_subnorm): Likewise.
18255 (special_real_inputs): Add min, -min, min_subnorm and
18256 -min_subnorm.
18257 (calc_generic_results): Handle mpfr_ff_f.
18258 * sysdeps/i386/fpu/libm-test-ulps: Update.
18259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18260
5764c27f
WN
182612013-12-16 Will Newton <will.newton@linaro.org>
18262
18263 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18264 (Aligned Memory Blocks): Add documentation for aligned_alloc
18265 and suggest it as an alternative to posix_memalign.
18266 (Hooks for Malloc): Document __memalign_hook is also called
18267 for aligned_alloc. (Summary of Malloc): Add summary for
18268 aligned alloc. Document __memalign_hook is also called
18269 for aligned_alloc.
18270
0a096e44
WN
182712013-12-16 Will Newton <will.newton@linaro.org>
18272
18273 * manual/memory.texi (Malloc Examples): Clarify default
18274 alignment documentation. Suggest posix_memalign rather
18275 than memalign or valloc.
18276 (Aligned Memory Blocks): Remove suggestion to use memalign
18277 or valloc. Remove obsolete comment about BSD.
18278 Document memalign errno values and mark the function obsolete.
18279 Document posix_memalign returned error codes. Mark valloc
18280 as obsolete. (Hooks for Malloc): __memalign_hook is also
18281 called for posix_memalign and valloc.
18282 (Summary of Malloc): Add posix_memalign to function summary.
18283 __memalign_hook is also called for posix_memalign and valloc.
18284
8d561986
SP
182852013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18286
18287 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18288 TAYLOR_SIN.
18289 (__sin): Adjust.
18290 (__cos): Likewise.
18291 (sloww): Use mynumber union. Expand ternary operator into
18292 if-else statements.
18293 (cslow): use mynumber union.
18294
73616a74
AM
182952013-12-16 Allan McRae <allan@archlinux.org>
18296
9e8ac24b
AM
18297 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18298 * configure: Regenerated.
18299
6f8e37eb
AM
18300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18301
8894bad3
AM
18302 [BZ #14120]
18303 * configure.ac: Added --enable-maintainer-mode. Check for
18304 autoconf when enabled.
18305 * configure: Regenerated.
18306
73616a74
AM
18307 * nscd/nscd.service: New file.
18308 * nscd/nscd.tmpfiles: New file.
18309
584b18eb
OB
183102013-12-14 Ondřej Bílka <neleai@seznam.cz>
18311
18312 [BZ #12100]
18313 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18314 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18315 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18316 (strstr): Add __strstr_sse2_unaligned ifunc.
18317 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18318 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18319 (strcasestr): Remove __strcasestr_sse42 ifunc.
18320 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18321 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18323
8a5c7897
KK
183242013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18325
18326 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18327 * sysdeps/sh/bits/fenv.h: ... here.
18328 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18329
fd712ef3
AZ
183302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18331
18332 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18333
42fcb46c
AZ
18334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18335 hypotf multiarch implementations.
18336 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18337 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18338 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18339 multiarch hypot for PPC64.
18340 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18341 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18342 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18343 multiarch hypotf for PPC64.
18344
83efded4
AZ
18345 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18346 modff multiarch implementations.
18347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18350 multiarch modf for PPC64.
18351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18354 multiarch modff for PPC64.
18355
43e246d2
AZ
18356 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18357 and logl multiarch implementations.
18358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18361 multiarch logb for PPC64.
18362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18365 multiarch logb for PPC64.
18366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18369 multiarch logb for PPC64.
18370
8fdad123
AZ
18371 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18372 isinff multiarch implementation.
18373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18374 file.
18375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18377 multiarch isinf for PPC64.
18378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18379 file.
18380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18381 multiarch isinff for PPC64.
18382
1481d706
AZ
18383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18384 finitef multiarch implementation.
18385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18386 file.
18387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18389 multiarch finite for PPC64.
18390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18391 file.
18392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18393 multiarch finitef for PPC64.
18394
5ccd5fc8
AZ
18395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18396 lrint multiarch implementation.
18397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18398 file.
18399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18401 multiarch llrint for PPC64.
18402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18403 multiarch lrint for PPC64.
18404
2568f3fa
AZ
18405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18406 copysignf multiarch implementation.
18407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18408 file.
18409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18410 file.
18411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18412 multiarch copysign for PPC64.
18413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18414 multiarch copysignf for PPC64.
18415
1cb341fd
AZ
18416 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18417 multiarch implementation.
18418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18419 file.
18420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18421 file.
18422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18423 file.
18424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18425 file.
18426 multiarch llround for PPC64.
18427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18428 multiarch trunc for PPC64.
18429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18430 multiarch truncf for PPC64.
18431
59a3e194
AZ
18432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18433 multiarch implementation.
18434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18435 file.
18436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18437 file.
18438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18439 file.
18440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18441 file.
18442 multiarch llround for PPC64.
18443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18444 multiarch round for PPC64.
18445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18446 multiarch roundf for PPC64.
18447
357fd3b4
AZ
18448 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18449 multiarch implementation.
18450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18451 file.
18452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18453 file.
18454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18455 file.
18456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18457 file.
18458 multiarch llround for PPC64.
18459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18460 multiarch floor for PPC64.
18461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18462 multiarch floorf for PPC64.
18463
96770f12
AZ
18464 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18465 multiarch implementation.
18466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18467 file.
18468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18469 file.
18470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18471 file.
18472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18473 file.
18474 multiarch llround for PPC64.
18475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18476 multiarch ceil for PPC64.
18477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18478 multiarch ceilf for PPC64.
18479
c3627f6e
AZ
18480 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18481 multiarch implementation.
18482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18483 file.
18484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18485 file.
18486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18487 file.
18488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18489 multiarch llround for PPC64.
18490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18491 multiarch lround for PPC64.
18492
b2284ad7
AZ
18493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18494 multiarch implementation.
18495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18498 file.
18499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18502 multiarch isnan for PPC64.
18503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18504 multiarch isnanf for PPC64.
18505
69bbc63d
AZ
18506 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18507 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18508 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18509 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18510 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18512
c24517c9
AZ
18513 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18514 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18515 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18516 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18517
a52374e8
AZ
18518 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18519 multiarch implementations.
18520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18521 (__libc_ifunc_impl_list): Likewise.
18522 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18523 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18524 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18525 multiarch stpcpy for PPC64.
18526
7f5ec113
AZ
18527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18528 multiarch implementations.
18529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18530 (__libc_ifunc_impl_list): Likewise.
18531 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18532 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18533 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18534 multiarch strcpy for PPC64.
18535
e28bcd42
AZ
18536 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18537 redefine function name.
18538 (_wordcopy_fwd_dest_aligned): Likewise.
18539 (_wordcopy_bwd_aligned): Likewise.
18540 (_wordcopy_bwd_dest_aligned): Likewise.
18541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18542 multiarch implementations.
18543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18544 (__libc_ifunc_impl_list): Likewise.
18545 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18546 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18547 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18548 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18549 multiarch wcscpy for PPC64.
18550
92cacfce
AZ
18551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18552 multiarch implementations.
18553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18554 (__libc_ifunc_impl_list): Likewise.
18555 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18556 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18557 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18558 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18559 multiarch wcscpy for PPC64.
18560
7b714620
AZ
18561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18562 multiarch implementations.
18563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18564 (__libc_ifunc_impl_list): Likewise.
18565 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18566 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18567 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18568 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18569 multiarch wcsrchr for PPC64.
18570
16fd2ae3
AZ
18571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18572 multiarch implementations.
18573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18574 (__libc_ifunc_impl_list): Likewise.
18575 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18576 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18577 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18578 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18579 multiarch wcschr for PPC64.
18580
9ee2969b
AZ
18581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18582 multiarch implementations.
18583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18584 (__libc_ifunc_impl_list): Likewise.
18585 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18586 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18587 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18588 multiarch strchrnul for PPC64.
18589
372dc060
AZ
18590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18591 implementations.
18592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18593 (__libc_ifunc_impl_list): Likewise.
18594 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18595 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18596 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18597 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18598 strchr for PPC64.
18599
24c2c3b9
AZ
18600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18601 implementations.
18602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18603 (__libc_ifunc_impl_list): Likewise.
18604 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18605 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18606 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18607 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18608 strncmp for PPC64.
18609
1c92d9a0
AZ
18610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18611 multiarch implementations.
18612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18613 (__libc_ifunc_impl_list): Likewise.
18614 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18615 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18616 strncasecmp for PPC64.
18617 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18618 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18619 multiarch strncasecmp_l for PPC64.
18620
17de3ee3
AZ
18621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18622 multiarch implementations.
18623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18624 (__libc_ifunc_impl_list): Likewise.
18625 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18626 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18627 multiarch strcasecmp for PPC64.
18628 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18629 file.
18630 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18631 multiarch strcasecmp_l for PPC64.
18632
62982bf9
AZ
18633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18634 implementations.
18635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18636 (__libc_ifunc_impl_list): Likewise.
18637 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18638 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18639 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18640 strnlen for PPC64.
18641
a65f4904
AZ
18642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18643 implementations.
18644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18645 (__libc_ifunc_impl_list): Likewise.
18646 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18647 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18648 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18649 strlen for PPC64.
18650
1fd005ad
AZ
18651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18652 implementations.
18653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18654 (__libc_ifunc_impl_list): Likewise.
18655 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18656 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18657 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18658 rawmemrchr for PPC64.
18659
cd05ba91
AZ
18660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18661 implementation.
18662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18663 (__libc_ifunc_impl_list): Likewise.
18664 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18665 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18666 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18667 memrchr for PPC64.
18668
870f8676
AZ
18669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18670 implementation.
18671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18672 (__libc_ifunc_impl_list): Likewise.
18673 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18674 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18675 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18676 memchr for PPC64.
18677
f00be62b
AZ
18678 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18679 implementation.
18680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18681 (__libc_ifunc_impl_list): Likewise.
18682 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18683 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18684 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18685 mempcpy for PPC64.
18686
8a29a3d0
AZ
18687 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18688 avoid cretion of __bzero symbol.
18689 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18690 Likewise.
18691 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18692 Likewise.
18693 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18694 Likewise.
18695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18696 multiarch implementations.
18697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18698 (__libc_ifunc_impl_list): Likewise.
18699 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18700 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18701 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18702 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18703 bzero for PPC32.
18704 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18705 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18706 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18707 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18708 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18709 memset for PPC64.
18710 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18711
07253fcf
AZ
18712 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18714 implementations.
18715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18716 (__libc_ifunc_impl_list): Likewise.
18717 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18718 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18719 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18720 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18721 memcmp for PPC64.
18722
b5beafbc
AZ
18723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18724 multiarch for POWER/PPC64.
18725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18726 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18727 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18728 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18729 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18730 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18731 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18732 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18733 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18734 memcpy for PPC64.
18735
5e6a4d4b
AZ
18736 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18737 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18738 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18739 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18740 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18741 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18742 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18743 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18744 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18745 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18746 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18747 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18748 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18749 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18750 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18758
ddfab6dc
KK
187592013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18760
18761 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18762
19b5525e
SP
187632013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18764
18765 * benchtests/Makefile (bench): Add exp2 and log2.
18766 (LDLIBS-bench-exp2): Add -lm.
18767 (LDLIBS-bench-log2): Likewise.
18768 * benchtests/exp2-inputs: New inputs file.
18769 * benchtests/log2-inputs: New inputs file.
18770 * benchtests/log-inputs: Add new inputs.
18771 * benchtests/tan-inputs: Likewise.
18772
196f7f5d
SP
187732013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18774
7a74607f
SP
18775 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18776 definition...
57f41c40
AS
18777 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18778 (csloww2): ... from here.
7a74607f 18779
196f7f5d
SP
18780 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18781 instead of structures.
18782 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18783 (POLYNOMIAL): Likewise.
18784 (TAYLOR_SLOW): Likewise.
18785 (__sin): Likewise.
18786 (__cos): Likewise.
18787 (slow1): Likewise.
18788 (slow2): Likewise.
18789 (sloww): Likewise.
18790 (sloww1); Likewise.
18791 (sloww2): Likewise.
18792 (bsloww1): Likewise.
18793 (bsloww2): Likewise.
18794 (cslow2): Likewise.
18795 (csloww): Likewise.
18796 (csloww1): Likewise.
18797 (csloww2): Likewise.
18798
0dfa665c
OB
187992013-12-10 Ondřej Bílka <neleai@seznam.cz>
18800
18801 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
18802 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18803 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
18804 * malloc/hooks.c (realloc_check): Likewise.
18805
5782a80f
OB
18806 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18807 * malloc/arena.c: Remove PER_THREAD conditional.
18808 [!PER_THREAD]: Remove code.
18809 (ptmalloc_unlock_all2): Likewise.
18810 (ptmalloc_init): Likewise.
18811 (_int_new_arena): Likewise.
18812 (arena_get2): Likewise.
18813 * malloc/hooks.c (__malloc_get_state): Likewise.
18814 (__malloc_set_state): Likewise.
18815 * malloc/malloc.c: Likewise.
18816 (struct malloc_state): Likewise.
18817 (struct malloc_par): Likewise.
18818 (__libc_realloc): Likewise.
18819 (__libc_mallopt): Likewise.
18820
aeb95445
AZ
188212013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18822
18823 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18824
e8349efd
OB
188252013-12-09 Ondřej Bílka <neleai@seznam.cz>
18826
18827 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18828 macro to a function. Check for zero perturb_byte.
18829 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18830
f3eeb3fc 18831 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
18832 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18833 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
18834 force_reg by atomic_forced_read.
18835 * malloc/arena.c (ptmalloc_init): Likewise.
18836 * malloc/hooks.c (top_check): Likewise.
18837
be2f9009
AZ
188382013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18839
18840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18841
e7b914bd
MT
188422013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18843
18844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18845
9f0be4f8
JM
188462013-12-08 Joseph Myers <joseph@codesourcery.com>
18847
18848 * math/auto-libm-test-in: Add tests of lgamma.
18849 * math/auto-libm-test-out: Regenerated.
18850 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18851 (M_LOG_2_SQRT_PIl): Likewise.
18852 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18853 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18854 mpfr_f_f1.
18855 (func_calc_desc): Add mpfr_f_f1 union field.
18856 (ARGS1): New macro.
18857 (ARGS2): Likewise.
18858 (ARGS3): Likewise.
18859 (ARGS4): Likewise.
18860 (RET1): Likewise.
18861 (RET2): Likewise.
18862 (CALC): Likewise.
18863 (FUNC): Likewise.
18864 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18865 (test_functions): Add lgamma.
18866 (calc_generic_results): Handle mpfr_f_f1.
18867 * sysdeps/i386/fpu/libm-test-ulps: Update.
18868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18869
24eeafdb
AZ
188702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18871
18872 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18873 __mpn_add_n for PowerPC64/POWER7.
18874 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18875 __mpn_sub_n for PowerPC64/POWER7.
18876
4a2c0fd4
AZ
18877 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18878 __mpn_addmul_1 for PowerPC64.
18879 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18880 __mpn_submul_1 for PowerPC64.
18881 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18882 for PowerPC64.
18883 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18884 for PowerPC64.
18885
4b5b548c
FS
188862013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18887
18888 [BZ #15089]
18889 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18890
0a3ac0aa
AZ
188912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18892
18893 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18894
ccdc8438
AZ
18895 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18896 add multiarch folders.
18897 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18898 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18899 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18900 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18901 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18902 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18903 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18904 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18905 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18906 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18907 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18914
2e973d99
AZ
18915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18916 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18918 New file.
18919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18920 New file.
18921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18922 multiarch __ieee754_hypot for PowerPC32.
18923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18924 New file.
18925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18926 New file.
18927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18928 multiarch __ieee754_hypotf for PowerPC32.
18929
2d9470b2
AZ
18930 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18931 long_double_symbol only if __logbl is defined.
18932 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18933 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18934 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18935 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18936 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18937 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18938 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18939 path for implementation.
18940 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18941 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18943 logb, and logbl multiarch implementations for PowerPC32.
18944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18945 file.
18946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18947 file.
18948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18949 multiarch logb for PowerPC32.
18950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18951 file.
18952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18953 file.
18954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18955 multiarch logbf for PowerPC32.
18956 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18958 file.
18959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18960 multiarch logbl implementation for PowerPC32.
18961
5212ffce
AZ
18962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18963 and modff multiarch implementations.
18964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18965 New file.
18966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18967 New file.
18968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18969 multiarch modf for PowerPC32.
18970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18971 New file.
18972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18973 New file.
18974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18975 multiarch modff for PowerPC32.
18976
79dccf31
AZ
18977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18978 and lrintf multiarch implementations.
18979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18980 New file.
18981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18982 New file.
18983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18984 multiarch lrint for PowerPC32.
18985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18986 file: multiarch lrintf for PowerPC32.
18987
deb66480
AZ
18988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18989 and lroundf multiarch implementations.
18990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18991 New file.
18992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18993 New file.
18994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18995 New file.
18996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18997 multiarch lround for PowerPC32.
18998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18999 file: multiarch lroundf for PowerPC32.
19000
264b036b
AZ
19001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19002 copysign and copysignf multiarch implementations.
19003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19004 New file.
19005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19006 New file.
19007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19008 file: multiarch copysign for PowerPC32.
19009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19010 file: multiarch copysignf for PowerPC32.
19011
d47db6c9
AZ
19012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19013 and truncf multiarch implementations.
19014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19015 New file.
19016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19017 file.
19018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19019 multiarch trunc for PowerPC32.
19020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19021 New file.
19022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19023 New file.
19024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19025 multiarch truncf for PowerPC32.
19026
ddb60b5a
AZ
19027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19028 and roundf multiarch implementations.
19029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19030 New file.
19031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19032 file.
19033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19034 multiarch round for PowerPC32.
19035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19036 New file.
19037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19038 New file.
19039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19040 multiarch roundf for PowerPC32.
19041
bedcf49b
AZ
19042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19043 and floorf multiarch implementations.
19044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19045 New file.
19046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19047 file.
19048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19049 multiarch floor for PowerPC32.
19050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19051 New file.
19052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19053 New file.
19054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19055 multiarch floorf for PowerPC32.
19056
35ae5b40
AZ
19057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19058 and ceilf multiarch implementations.
19059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19060 New file.
19061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19062 file.
19063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19064 multiarch ceil for PowerPC32.
19065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19066 New file.
19067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19068 file.
19069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19070 multiarch ceilf for PowerPC32.
19071
ae1a4cd9
AZ
19072 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19073 is defined.
19074 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19075 FINITEF is defined.
19076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19077 and finitef multiarch implementations.
19078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19079 New file.
19080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19081 file.
19082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19083 multiarch finite for PowerPC32.
19084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19085 New file.
19086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19087 file: multiarch finitef for PowerPC32.
19088
64fffd65
AZ
19089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19090 and isinff multiarch implementations.
19091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19092 file.
19093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19094 file.
19095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19096 multiarch isinf for PowerPC32.
19097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19098 New file.
19099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19100 multiarch isinff for PowerPC32.
19101
8e4e7ba2
AZ
19102 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19103 alias when __isnan is defined.
19104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19105 and isnanf multiarch implementations.
19106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19107 file.
19108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19109 file.
19110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19111 file.
19112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19113 file.
19114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19115 multiarch isnan for PowerPC32.
19116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19117 New file.
19118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19119 New file.
19120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19121 multiarch isnanf for PowerPC32.
19122
ddba588e
AZ
19123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19124 and sqrtf multiarch implementations.
19125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19126 file.
19127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19128 file.
19129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19130 multiarch sqrt for PowerPC32.
19131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19132 file.
19133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19134 file.
19135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19136 multiarch sqrtf for PowerPC32.
19137
0f96a2f0
AZ
19138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19139 and llroundf multiarch implementations.
19140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19141 New file.
19142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19143 New file.
19144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19145 New file.
19146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19147 file: multiarch llround for PowerPC32.
19148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19149 file: multiarch llroundf for PowerPC32.
19150
c9b5d79e
AZ
19151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19152 multiarch PowerPC32 fpu implementations.
19153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19154 New file.
19155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19156 New file.
19157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19158 multiarch llrint for PowerPC32.
19159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19160 New file.
19161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19162 New file.
19163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19164 file.
19165
9cbb3aab
AZ
19166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19167
ea5a72f8
AZ
19168 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19169 file.
19170 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19171 file.
19172 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19173 file.
19174 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19175 multiarch wordcopy for PPC32.
19176 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19177 wordcopy objects.
19178 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19179 (__libc_ifunc_impl_list): Likewise.
19180 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19181 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19182 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19183 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19184 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19185 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19186
93be09e7
AZ
19187 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19188 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19189 file.
19190 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19191 file.
19192 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19193 file.
19194 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19195 multiarch wcscpy for PPC32.
19196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19197 multiarch objects.
19198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19199 (__libc_ifunc_impl_list): Likewise.
19200 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19201 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19202 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19203 sysdeps/powerpc/power6/wcscpy.c.
19204
bb04e529
AZ
19205 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19206 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19207 file.
19208 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19209 file.
19210 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19211 file.
19212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19213 multiarch wcsrchr for PPC32.
19214 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19215 multiarch objects.
19216 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19217 (__libc_ifunc_impl_list): Likewise.
19218 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19219 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19220 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19221 sysdeps/powerpc/power6/wcsrchr.c.
19222
05b5cd1c
AZ
19223 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19224 file.
19225 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19226 file.
19227 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19228 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19229 multiarch wcschr for PPc32.
19230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19231 multiarch objects.
19232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19233 (__libc_ifunc_impl_list): Likewise.
19234 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19235 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19236 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19237 sysdeps/powerpc/power6/wcschr.c.
19238
ba964147
AZ
19239 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19240 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19241 file.
19242 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19243 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19244 file: multiarch strchr for PPC32.
19245 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19246 multiarch objects.
19247 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19248 (__libc_ifunc_impl_list): Likewise.
19249
31c81aaa
AZ
19250 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19251 name.
19252 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19253 file.
19254 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19255 file.
19256 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19257 multiarch strchrnul for PPC32.
19258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19259 multiarch objects.
19260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19261 (__libc_ifunc_impl_list): Likewise.
19262
0d0607d9
AZ
19263 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19264 file.
19265 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19266 multiarch strncasecmp for PPC32.
19267 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19268 file.
19269 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19270 multiarch strncasecmp_l for PPC32.
19271 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19272 strncasecmp multiarch objects.
19273 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19274 (__libc_ifunc_impl_list): Likewise.
19275
4dfd5c86
AZ
19276 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19277 file.
19278 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19279 multiarch strncasecmp for PPC32.
19280 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19281 New file.
19282 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19283 multiarch strcasecmp_l for PPC32.
19284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19285 multiarch objects.
19286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19287 (__libc_ifunc_impl_list): Likewise.
19288
a19e01a3
AZ
19289 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19290 file.
19291 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19292 file.
19293 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19294 multiarch strncmp for PPC32.
19295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19296 multiarch objects.
19297 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19298 (__libc_ifunc_impl_list): Likewise.
19299
ae9cf7a2
AZ
19300 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19301 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19302 file.
19303 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19304 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19306 multiarch objects.
19307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19308 (__libc_ifunc_impl_list): Likewise.
19309
3148bb7d
AZ
19310 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19311 file.
19312 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19313 file.
19314 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19316 multiarch objects.
19317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19318 (__libc_ifunc_impl_list): Likewise.
19319
7af8b946
AZ
19320 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19321 file.
19322 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19323 file.
19324 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19325 multiarch rawmemchr for PPC32.
19326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19327 multiarch objects.
19328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19329 (__libc_ifunc_impl_list): Likewise.
19330
03a6aa6a
AZ
19331 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19332 file.
19333 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19334 file.
19335 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19336 file: memrchr multiarch for PPC32.
19337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19338 multiarch objects.
19339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19340 (__libc_ifunc_impl_list): Likewise.
19341
1c62e6d9
AZ
19342 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19343 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19344 file.
19345 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19346 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19347 multiarch memchr for PPC32.
19348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19349 multiarch objects.
19350 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19351 (__libc_ifunc_impl_list): Likewise.
19352
87da8bdb
AZ
19353 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19354 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19355 file.
19356 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19357 file.
19358 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19359 file: multiarch mempcpy for PPC32.
19360 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19361 multiarch objects.
19362 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19363 (__libc_ifunc_impl_list): Likewise.
19364
20ed4714
AZ
19365 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19366 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19367 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19368 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19369 multiarch bzero for PPC32.
19370 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19371 file.
19372 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19373 file.
19374 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19375 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19376 file: multiarch memset for PPC32.
19377 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19378 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19379 memset multiarch objects.
19380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19381 (__libc_ifunc_impl_list): Likewise.
19382
ab3e3a46
AZ
19383 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19384 file.
19385 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19386 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19387 memcmp for PPC32.
19388 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19390 multiarch objects.
19391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19392 (__libc_ifunc_impl_list): Likewise.
19393
930de6f0
AZ
19394 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19395 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19396 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19397 file.
19398 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19399 file.
19400 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19401 file.
19402 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19403 multiarch memcpy for PPC32.
19404 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19405 multiarch objects.
19406 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19407 (__libc_ifunc_impl_list): Likewise.
19408
4c628e00
AZ
19409 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19410 support multiarch for POWER/PPC32.
19411 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19412 Likewise.
19413 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19415 Implies file to make multiarch folder appers before the fpu and
19416 default folder for power4 configuration.
19417
f4479220
SP
194182013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19419
19420 * scripts/bench.pl: Append volatile keyword to type.
19421
8517800f
KK
194222013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19423
19424 * sysdeps/sh/sotruss-lib.c: New file.
19425 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19426
180138f1
AZ
194272013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19428
19429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19430
bbf37bdc
JM
194312013-12-05 Joseph Myers <joseph@codesourcery.com>
19432
e47cc4e0
JM
19433 [BZ #6810]
19434 * math/w_tgamma.c: Include <errno.h>.
19435 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19436 * math/w_tgammaf.c: Include <errno.h>.
19437 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19438 * math/w_tgammal.c: Include <errno.h>.
19439 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19440 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19441 underflow. Add more tgamma tests.
19442 * math/auto-libm-test-out: Regenerated.
19443 * sysdeps/i386/fpu/libm-test-ulps: Update.
19444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19445
bbf37bdc
JM
19446 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19447 sin, sinh, tan, tanh, tgamma, y0 and y1.
19448 * math/auto-libm-test-out: Regenerated.
19449 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19450 (TEST_COND_x86): Likewise.
19451 (M_E2l): Remove macro.
19452 (M_E3l): Likewise.
19453 (M_2_SQRT_PIl): Likewise.
19454 (M_SQRT_PIl): Likewise.
19455 (M_1_DIV_El): Likewise.
19456 (log_test_data): Use AUTO_TESTS_f_f.
19457 (log10_test_data): Likewise.
19458 (log1p_test_data): Likewise.
19459 (log2_test_data): Likewise.
19460 (sin_test_data): Likewise.
19461 (sin_tonearest_test_data): Likewise.
19462 (sin_towardzero_test_data): Likewise.
19463 (sin_downward_test_data): Likewise.
19464 (sin_upward_test_data): Likewise.
19465 (sinh_test_data): Likewise.
19466 (sinh_tonearest_test_data): Likewise.
19467 (sinh_towardzero_test_data): Likewise.
19468 (sinh_downward_test_data): Likewise.
19469 (sinh_upward_test_data): Likewise.
19470 (tan_test_data): Likewise.
19471 (tan_tonearest_test_data): Likewise.
19472 (tan_towardzero_test_data): Likewise.
19473 (tan_downward_test_data): Likewise.
19474 (tan_upward_test_data): Likewise.
19475 (tanh_test_data): Likewise.
19476 (tgamma_test_data): Likewise.
19477 (y0_test_data): Likewise.
19478 (y1_test_data): Likewise.
19479 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19480 (special_real_inputs): Add pi/4.
19481 * sysdeps/i386/fpu/libm-test-ulps: Update.
19482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19483
eb5ad6b9
AZ
194842013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19485
19486 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19487 "longjmp_target" static probes.
19488 (__longjmp): Rename to __longjmp_symbol.
19489 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19490 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19491 on which longjmp to generate.
19492 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19493 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19494 probe.
19495 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19496 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19497 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19498 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19499 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19500 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19502 __longjmp_symbol based on which __longjmp to generate.
19503 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19504 probe.
19505 (setjmp): Rename to setjmp_symbol.
19506 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19507 (_setjmp): Rename to _setjmp_symbol.
19508 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19509 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19510 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19511 which setjmp to generate.
19512 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19513 "longjmp_target" static probes.
19514
d136c6dc
SP
195152013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19516
9298ecba
SP
19517 * benchtests/README: Add note about output arguments.
19518 * benchtests/bench-sincos.c: Remove file.
19519 * benchtests/sincos-inputs: New file.
19520 * scripts/bench.pl: Identify output arguments and define
19521 static variables for them.
19522
232983e9
SP
19523 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19524
d136c6dc
SP
19525 [BZ #15941]
19526 * Makefile (INSTALL): Add install-plain.texi as the primary
19527 dependency.
19528 * manual/install-plain.texi: New file.
19529 * manual/install.texi: Include node directive only for
19530 non-plaintext output.
19531
699ff837
JM
195322013-12-04 Joseph Myers <joseph@codesourcery.com>
19533
ab07cea8
JM
19534 * stdlib/longlong.h: Update from GCC.
19535
699ff837
JM
19536 [BZ #6807]
19537 [BZ #15901]
19538 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19539 * math/w_j0f.c (y0f): Likewise.
19540 * math/w_j0l.c (__y0l): Likewise.
19541 * math/w_j1.c (y1): Likewise.
19542 * math/w_j1f.c (y1f): Likewise.
19543 * math/w_j1l.c (__y1l): Likewise
19544 * math/w_jn.c (yn): Likewise.
19545 * math/w_jnf.c (ynf): Likewise.
19546 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19547 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19548 value for Bessel function domain errors outside _SVID_ mode.
19549 Adjust sign of return value for yn (negative integer, 0).
19550 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19551 by zero in return for negative x and set sign appropriately for
19552 negative n.
19553 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19554 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19555 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19556 expectations in error cases.
19557 (y1_test_data): Likewise.
19558 (yn_test_data): Likewise.
19559 * sysdeps/i386/fpu/libm-test-ulps: Update.
19560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19561
5b118558
UW
195622013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19563
19564 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19565 "64" to "64-v1". Add "64-v2".
19566 (abi-64-options): Rename to ...
19567 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19568 (abi-64-condition): Rename to ...
19569 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19570 (abi-64-ld-soname): Rename to ...
19571 (abi-64-v1-ld-soname): ... this.
19572 (abi-64-v2-options): Define.
19573 (abi-64-v2-condition): Likewise.
19574 (abi-64-v2-ld-soname): Likewise.
19575 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19576 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19580
61cd8fe4
UW
195812013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19582 Alan Modra <amodra@gmail.com>
19583
19584 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19585 New versions for use with the ELFv2 ABI.
19586 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19587 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19588 declaration.
19589 (struct La_ppc64v2_retval): Likewise.
19590 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19591 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19592 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19593 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19594 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19595 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19596 Do not save or restore CR.
19597 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19598 (_dl_profile_resolve): Do no save or restore CR. Support extended
19599 return values for ELFv2 ABI. Fix location of FPR return registers.
19600 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19601 updated values for _CALL_ELF == 2.
19602 (La_regs, La_retval, int_retval): Likewise.
19603
8b8a692c
UW
196042013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19605
19606 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19607 (FRAME_MIN_SIZE_PARM): Likewise.
19608 (FRAME_BACKCHAIN): Likewise.
19609 (FRAME_CR_SAVE): Likewise.
19610 (FRAME_LR_SAVE): Likewise.
19611 (FRAME_TOC_SAVE): Likewise.
19612 (FRAME_PARM_SAVE): Likewise.
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.
19616 (call_mcount_parm_offset): New macro.
19617 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19618 (PROF): Use symbolic stack frame offsets.
19619 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19620 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19621 Redefine in terms of FRAME_MIN_SIZE.
19622 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19623 (_dl_profile_resolve): Likewise. Update comment.
19624 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19625 symbols stack frame offsets.
19626 (__sigsetjmp): Likewise.
19627 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19628 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19629 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19630 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19631
19632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19633 (FRAME_BACKCHAIN): Remove.
19634 (FRAME_CR_SAVE): Likewise.
19635 (FRAME_LR_SAVE): Likewise.
19636 (FRAME_COMPILER_DW): Likewise.
19637 (FRAME_LINKER_DW): Likewise.
19638 (FRAME_TOC_SAVE): Likewise.
19639 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
19640 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19641 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19642 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
19643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19644 (CHECK_SP): Use symbolic stack frame offsets.
19645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19646 zone" instead of caller's parameter save area for temp storage.
19647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19648 Likewise. Also, use symbolic stack frame offsets.
19649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19650 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19651 our own stack frame instead of the caller's.
19652 (__socket): Use symbolic stack frame offsets.
19653
122b66de
UW
196542013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19655 Alan Modra <amodra@gmail.com>
19656
19657 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19658 Define.
57f41c40
AS
19659 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19660 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
19661 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19662 New function.
19663 (elf_machine_fixup_plt): Call it.
19664 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19665 reloc arguments.
19666 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
19667 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19668 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
19669 r2 before calling target.
19670
696caf1d
UW
196712013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19672 Alan Modra <amodra@gmail.com>
19673
19674 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19675 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19676 versions of macros to support ELFv2 ABI.
19677 (LOCALENTRY): New macro.
19678 (ENTRY, EALIGN): Use it.
19679 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19680 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19681 fall through into ENTRY entry point.
19682 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19683 Only define if _CALL_ELF != 2.
19684
19685 (elf_machine_matches_host): Verify ABI version matches.
19686 (RTLD_START): Use LOCALENTRY.
19687 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19688 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19689 (PLT_ENTRY_WORDS): New macro.
19690 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19691 (elf_machine_runtime_setup): Support ELFv2 ABI.
19692 (elf_machine_fixup_plt): Likewise.
19693 (elf_machine_plt_conflict): Likewise.
19694 (resolve_ifunc): Likewise.
19695 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19696 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19697 Likewise.
19698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19699 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19701 (makecontext): Support ELFv2 ABI.
19702 * elf/elf.h (EF_PPC64_ABI): Define.
19703
d31beafa
UW
197042013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19705
57f41c40
AS
19706 * sysdeps/powerpc/powerpc64/sysdep.h
19707 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19708 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19709 (ENTRY) [ASSEMBLER]: ... but instead here ...
19710 (EALIGN) [ASSEMBLER]: ... and here.
19711 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19712 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19713 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
19714 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19715 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
19716 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19717 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
19718 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19720 Use PPC64_LOAD_FUNCPTR.
19721
b525166b
UW
19722 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19723
7ec07d9a
AM
197242013-12-04 Alan Modra <amodra@gmail.com>
19725
19726 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19727 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19728 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19729 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19730
19731 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19732 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19733 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19734 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19735 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19736 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19737
5162e7dd
UW
197382013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19739
19740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19741 (__makecontext): Fix incorrect CFI when backtracing out of
19742 context created via makecontext.
19743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19744 (__setcontext): Fix incorrect CFI during switch to new context.
19745 (__novec_setcontext): Likewise.
19746
19e3372b
OB
197472013-12-04 Ondřej Bílka <neleai@seznam.cz>
19748
19749 [BZ #4772]
19750 * time/strptime_l.c (__strptime_internal): Allow modifiers
19751 in strptime.
19752 * time/tst-strptime.c (day_tests): Add testcase.
19753
ecaf142d
SP
197542013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19755
19756 * scripts/bench.pl: Skip over blank lines.
19757
fbf964ae
PE
197582013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19759
19760 [BZ #926]
19761 * manual/time.texi (Calendar Time): Clarify what timezone functions
19762 use.
19763
fa60a674
AZ
197642013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19765
19766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19767
d674f0ef
OB
197682013-12-04 Ondřej Bílka <neleai@seznam.cz>
19769
19770 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19771 implementation.
19772 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19773 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19774 * debug/memset_chk.c (__memset_chk): Likewise.
19775 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19776 * debug/strncpy_chk.c: Likewise.
19777
17dea188
JM
197782013-12-03 Joseph Myers <joseph@codesourcery.com>
19779
749008ff
JM
19780 [BZ #15268]
19781 [BZ #15425]
19782 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19783 (__ieee754_exp): For possibly underflowing results, check size of
19784 result and force underflow exception if required.
19785 * math/auto-libm-test-in: Add more tests of exp.
19786 * math/auto-libm-test-out: Regenerated.
19787 * sysdeps/i386/fpu/libm-test-ulps: Update.
19788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19789
17dea188
JM
19790 [BZ #16283]
19791 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19792 * math/w_exp2f.c (__exp2f): Likewise.
19793 * math/w_exp2l.c (__exp2l): Likewise.
19794 * math/auto-libm-test-in: Do not allow missing errno on exp2
19795 underflow.
19796 * math/auto-libm-test-out: Regenerated.
19797
b20de2c3
OB
197982013-12-03 Ondřej Bílka <neleai@seznam.cz>
19799
19800 [BZ #16274]
19801 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19802 handle filename validation.
19803 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19804 (do_open): Delete.
19805
d8e2dbe3
JM
198062013-12-03 Joseph Myers <joseph@codesourcery.com>
19807
34e16df5
JM
19808 [BZ #6786]
19809 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19810 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19811 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19812 <float.h>.
19813 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19814 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19815 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19816 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19817 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19818 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19819 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19820 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19821 Add more erfc tests.
19822 * math/auto-libm-test-out: Regenerated.
19823 * sysdeps/i386/fpu/libm-test-ulps: Update.
19824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19825
d8e2dbe3
JM
19826 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19827 exp2, expm1, j0 and j1.
19828 * math/auto-libm-test-out: Regenerated.
19829 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19830 (erfc_test_data): Likewise.
19831 (exp_test_data): Likewise.
19832 (exp_tonearest_test_data): Likewise.
19833 (exp_towardzero_test_data): Likewise.
19834 (exp_downward_test_data): Likewise.
19835 (exp_upward_test_data): Likewise.
19836 (exp10_test_data): Likewise.
19837 (exp2_test_data): Likewise.
19838 (expm1_test_data): Likewise.
19839 (j0_test_data): Likewise.
19840 (j1_test_data): Likewise.
19841 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19842 (input_flag_type): Add flag_xfail_rounding.
19843 (input_flags): Add xfail-rounding.
19844 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19845 (output_for_one_input_case): Handle flag_xfail_rounding.
19846 * sysdeps/i386/fpu/libm-test-ulps: Update.
19847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19848
18d14251
AJ
198492013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19850
3d2e6075 19851 [BZ #16289]
18d14251
AJ
19852 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19853 division by 0.
19854
520d437b
SP
198552013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19856
19857 [BZ #16195]
19858 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19859 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19860 (STAP_PROBE0): New macro.
19861 (STAP_PROBE1): Likewise.
19862 (STAP_PROBE2): Likewise.
19863 (STAP_PROBE3): Likewise.
19864 (STAP_PROBE4): Likewise.
19865
416e0145
OB
198662013-12-02 Ondřej Bílka <neleai@seznam.cz>
19867
19868 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19869
9d17796a
SE
198702013-12-02 Steve Ellcey <sellcey@mips.com>
19871
19872 * benchtests/Makefile (bench): Add sqrt.
19873 (LDLIBS-bench-sqrt): New.
19874 * benchtests/sqrt-input: New.
19875
f524d6a8
PS
198762013-12-02 Pavel Simerda <psimerda@redhat.com>
19877
639a0ef8
PS
19878 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19879 (GAIH_EAI): Likewise.
19880 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19881 (gaih_inet): Likewise.
19882 (getaddrinfo): Don't use GAIH_EAI.
19883
f524d6a8
PS
19884 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19885 (struct gaih): Remove definition.
19886
df3aedaf
SP
198872013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19888
19889 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19890 Use HERRNOP directly.
19891
1ab19dec
AZ
198922013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19893
b42ad38d 19894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 19895
176b0c79
JM
198962013-11-30 Joseph Myers <joseph@codesourcery.com>
19897
19898 * math/gen-auto-libm-tests.c (test_functions): Add more
19899 single-argument functions.
19900 (special_fill_pi_2): New function.
19901 (special_fill_minus_pi_2): Likewise.
19902 (special_fill_pi_6): Likewise.
19903 (special_fill_minus_pi_6): Likewise.
19904 (special_fill_pi_3): Likewise.
19905 (special_fill_2pi_3): Likewise.
19906 (special_fill_e): Likewise.
19907 (special_fill_1_e): Likewise.
19908 (special_fill_e_minus_1): Likewise.
19909 (special_real_inputs): Add more special inputs.
19910 (output_for_one_input_case): Do not require ERANGE on underflow to
19911 zero if round-to-nearest result does not underflow to zero, unless
19912 exact results required.
19913 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19914 atan, atanh, cbrt, cos and cosh.
19915 * math/auto-libm-test-out: Regenerated.
19916 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19917 (acos_tonearest_test_data): Likewise.
19918 (acos_towardzero_test_data): Likewise.
19919 (acos_downward_test_data): Likewise.
19920 (acos_upward_test_data): Likewise.
19921 (acosh_test_data): Likewise.
19922 (asin_test_data): Likewise.
19923 (asin_tonearest_test_data): Likewise.
19924 (asin_towardzero_test_data): Likewise.
19925 (asin_upward_test_data): Likewise.
19926 (asinh_test_data): Likewise.
19927 (atan_test_data): Likewise.
19928 (atanh_test_data): Likewise.
19929 (cbrt_test_data): Likewise.
19930 (cos_test_data): Likewise.
19931 (cos_tonearest_test_data): Likewise.
19932 (cos_towardzero_test_data): Likewise.
19933 (cos_downward_test_data): Likewise.
19934 (cos_upward_test_data): Likewise.
19935 (cosh_test_data): Likewise.
19936 (cosh_tonearest_test_data): Likewise.
19937 (cosh_towardzero_test_data): Likewise.
19938 (cosh_downward_test_data): Likewise.
19939 (cosh_upward_test_data): Likewise.
19940 * sysdeps/i386/fpu/libm-test-ulps: Update.
19941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19942
ffb536d0
JM
199432013-11-29 Joseph Myers <joseph@codesourcery.com>
19944
2a77a467
JM
19945 [BZ #6787]
19946 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19947 * math/w_exp10f.c (__exp10f): Likewise.
19948 * math/w_exp10l.c (__exp10l): Likewise.
19949 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19950 errno settings in existing tests.
19951
ea3bc4e8
JM
19952 [BZ #14032]
19953 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19954 precision control set to double precision.
19955 * sysdeps/i386/fpu/w_sqrt.c: New file.
19956 * math/auto-libm-test-in: Add more tests.
19957 * math/auto-libm-test-out: Update.
19958
0712c9d8
JM
19959 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19960 (sqrt_test_tonearest): New function.
19961 (sqrt_towardzero_test_data): New variable.
19962 (sqrt_test_towardzero): New function.
19963 (sqrt_downward_test_data): New variable.
19964 (sqrt_test_downward): New function.
19965 (sqrt_upward_test_data): New variable.
19966 (sqrt_test_upward): New function.
19967 (main): Call the new functions.
19968
ffb536d0
JM
19969 * math/gen-auto-libm-tests.c: New file.
19970 * math/auto-libm-test-in: Likewise.
19971 * math/auto-libm-test-out: New generated file.
19972 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19973 variables.
19974 (%beautify): Add generated representations of zero.
19975 (top level): Set $auto_input and call parse_auto_input.
19976 (beautify): Remove trailing "f" from hex float constants.
19977 (parse_args): Handle XFAIL_TEST.
19978 (convert_condition): New function.
19979 (or_value): Likewise.
19980 (or_cond_value): Likewise.
19981 (generate_testfile): Handle AUTO_TESTS_* lines.
19982 (parse_auto_input): New function.
19983 * math/libm-test.inc (XFAIL_TEST): New macro.
19984 (ERRNO_UNCHANGED): Update value.
19985 (ERRNO_EDOM): Likewise.
19986 (ERRNO_ERANGE): Likewise.
19987 (IGNORE_RESULT): Likewise.
19988 (TEST_COND_flt_32): New macro.
19989 (TEST_COND_dbl_64): Likewise.
19990 (TEST_COND_ldbl_96_intel): Likewise.
19991 (TEST_COND_ldbl_96_m68k): Likewise.
19992 (TEST_COND_ldbl_128): Likewise.
19993 (TEST_COND_ldbl_128ibm): Likewise.
19994 (TEST_COND_long32): Likewise.
19995 (TEST_COND_long64): Likewise.
19996 (TEST_COND_before_rounding): Likewise.
19997 (TEST_COND_after_rounding): Likewise.
19998 (enable_test): Handle XFAIL_TEST flag.
19999 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20000 with finite results.
20001 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20002 auto-libm-test-out.
20003
acd98a8e
AK
200042013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20005 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20006
20007 [BZ #16214]
20008 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20009 __tls_get_addr_internal instead of __tls_get_offset in order to
20010 avoid GOT pointer dependency. Make rtld export
20011 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20012 __tls_get_addr since we are a __tls_get_offset platform.
20013 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20014 GOT pointer being set up before.
20015 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20016
3c1c46a6
JM
200172013-11-28 Joseph Myers <joseph@codesourcery.com>
20018
7475aef5
JM
20019 * manual/math.texi (Errors in Math Functions): Document accuracy
20020 goals.
20021
8bca7cd8
JM
20022 [BZ #15004]
20023 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20024 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20025 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20026 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20027 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20028 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20029 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20030 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20031 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20032 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20033 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20034 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20035 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20036 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20037 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20038 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20039
91a1f3fe
JM
20040 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20041 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20042 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20043 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20044 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20045 Likewise.
20046 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20047 Likewise.
20048 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20049 Likewise.
20050 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20051 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20052 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20053 atomic-feupdateenv and flt-rounds.
20054 * sysdeps/powerpc/nofpu/Versions (libc): Add
20055 __atomic_feholdexcept, __atomic_feclearexcept,
20056 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20057 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20058 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20059 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20060 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20061 here.
20062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20063 Update.
20064
c5df7609
JM
20065 * manual/arith.texi (FP Exceptions): Document that exceptions may
20066 not be raised when matherr is used.
20067 (Math Error Reporting): Document overflow in directed rounding
20068 modes. Document that errno may not be set when finite values are
20069 returned on overflow. Document intent to set errno on underflow
20070 only for underflow to zero.
20071
3c1c46a6
JM
20072 [BZ #16271]
20073 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20074 round-to-nearest then adjust result for other rounding modes.
20075 * include/fenv.h (fegetround): Use libm_hidden_proto.
20076 * math/fegetround.c (fegetround): Use libm_hidden_def.
20077 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20078 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20079 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20080 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20081 Likewise.
20082 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20083 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20084 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20085 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20086
5a4c6d53
SP
200872013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20088
20089 [BZ #16077]
20090 * nss/Versions (libnss_files): Add
20091 _nss_files_gethostbyname3_r.
20092 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20093 New function.
20094 (HOST_DB_LOOKUP): Remove macro.
20095 (_nss_files_gethostbyname_r): Implement function without the
20096 HOST_DB_LOOKUP macro.
20097 (_nss_files_gethostbyname2_r): Likewise.
20098
897b98ba
OB
200992013-11-28 Ondřej Bílka <neleai@seznam.cz>
20100
20101 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20102
6f476861
UB
201032013-11-26 Uros Bizjak <ubizjak@gmail.com>
20104
20105 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20106 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20107 warning.
20108
bd12ab55
AZ
201092013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20110
20111 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20112 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20113 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20114 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20115 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20116 __fe_nomask_env_priv and attribute_hidden.
20117 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20118 (libc_feupdateenv_test_ppc): Likewise.
20119 (libc_feresetround_ppc): Likewise.
20120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20121 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20122 compat_symbol macro.
20123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20124 (__fe_nomask_env): Likewise.
20125 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20126
52bb6543
OB
201272013-11-26 Ondřej Bílka <neleai@seznam.cz>
20128
20129 * string/Makefile: Remove ifunc tests.
20130 * string/test-string.h: Define TEST_IFUNC.
20131 * string/test-bcopy-ifunc.c: Remove.
20132 * string/test-bzero-ifunc.c: Likewise.
20133 * string/test-memccpy-ifunc.c: Likewise.
20134 * string/test-memchr-ifunc.c: Likewise.
20135 * string/test-memcmp-ifunc.c: Likewise.
20136 * string/test-memcpy-ifunc.c: Likewise.
20137 * string/test-memmem-ifunc.c: Likewise.
20138 * string/test-memmove-ifunc.c: Likewise.
20139 * string/test-mempcpy-ifunc.c: Likewise.
20140 * string/test-memrchr-ifunc.c: Likewise.
20141 * string/test-memset-ifunc.c: Likewise.
20142 * string/test-rawmemchr-ifunc.c: Likewise.
20143 * string/test-stpcpy-ifunc.c: Likewise.
20144 * string/test-stpncpy-ifunc.c: Likewise.
20145 * string/test-strcasecmp-ifunc.c: Likewise.
20146 * string/test-strcasestr-ifunc.c: Likewise.
20147 * string/test-strcat-ifunc.c: Likewise.
20148 * string/test-strchr-ifunc.c: Likewise.
20149 * string/test-strchrnul-ifunc.c: Likewise.
20150 * string/test-strcmp-ifunc.c: Likewise.
20151 * string/test-strcpy-ifunc.c: Likewise.
20152 * string/test-strcspn-ifunc.c: Likewise.
20153 * string/test-strlen-ifunc.c: Likewise.
20154 * string/test-strncasecmp-ifunc.c: Likewise.
20155 * string/test-strncat-ifunc.c: Likewise.
20156 * string/test-strncmp-ifunc.c: Likewise.
20157 * string/test-strncpy-ifunc.c: Likewise.
20158 * string/test-strnlen-ifunc.c: Likewise.
20159 * string/test-strpbrk-ifunc.c: Likewise.
20160 * string/test-strrchr-ifunc.c: Likewise.
20161 * string/test-strspn-ifunc.c: Likewise.
20162 * string/test-strstr-ifunc.c: Likewise.
20163
ab260039 201642013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
20165
20166 * benchtests/Makefile: Remove ifunc tests.
20167 * benchtests/bench-string.h: Define TEST_IFUNC.
20168 * benchtests/bench-bcopy-ifunc.c: Remove.
20169 * benchtests/bench-bzero-ifunc.c: Likewise.
20170 * benchtests/bench-memccpy-ifunc.c: Likewise.
20171 * benchtests/bench-memchr-ifunc.c: Likewise.
20172 * benchtests/bench-memcmp-ifunc.c: Likewise.
20173 * benchtests/bench-memcpy-ifunc.c: Likewise.
20174 * benchtests/bench-memmem-ifunc.c: Likewise.
20175 * benchtests/bench-memmove-ifunc.c: Likewise.
20176 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20177 * benchtests/bench-memrchr-ifunc.c: Likewise.
20178 * benchtests/bench-memset-ifunc.c: Likewise.
20179 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20180 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20181 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20182 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20183 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20184 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20185 * benchtests/bench-strcat-ifunc.c: Likewise.
20186 * benchtests/bench-strchr-ifunc.c: Likewise.
20187 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20188 * benchtests/bench-strcmp-ifunc.c: Likewise.
20189 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20190 * benchtests/bench-strcpy-ifunc.c: Likewise.
20191 * benchtests/bench-strcspn-ifunc.c: Likewise.
20192 * benchtests/bench-strlen-ifunc.c: Likewise.
20193 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20194 * benchtests/bench-strncat-ifunc.c: Likewise.
20195 * benchtests/bench-strncmp-ifunc.c: Likewise.
20196 * benchtests/bench-strncpy-ifunc.c: Likewise.
20197 * benchtests/bench-strnlen-ifunc.c: Likewise.
20198 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20199 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 20200 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
20201 * benchtests/bench-strspn-ifunc.c: Likewise.
20202 * benchtests/bench-strstr-ifunc.c: Likewise.
20203
202042013-11-26 Ondřej Bílka <neleai@seznam.cz>
20205
ab260039
OB
20206 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20207
d1d9eaf4 202082013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 20209
d1d9eaf4
OB
20210 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20211 * rt/aio.h: Likewise.
20212 * sysdeps/gnu/bits/utmp.h: Likewise.
20213 * sysdeps/gnu/bits/utmpx.h: Likewise.
20214 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20215 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20216 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20217 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20218 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20219 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20220 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20221 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20222 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20223 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20224 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20225 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20226 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20228 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20229 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20230 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20231 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20232 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20233 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20234 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20235 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20236 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20237 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20238 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20240 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20241 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20242 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20243 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20244 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20245 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20246 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20247 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20248 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20249 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20250 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20251 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20252 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20253 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20254 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20255 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20256
a7624ed9
CD
202572013-11-25 Carlos O'Donell <carlos@redhat.com>
20258
20259 [BZ #16245]
20260 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20261 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20262
63cfe52b
JM
202632013-11-25 Joseph Myers <joseph@codesourcery.com>
20264
20265 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20266 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20267 Likewise.
20268
41e8926a
AZ
202692013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20270
20271 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20272 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20273 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20274 (__fesetround): Remove define.
20275 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20276 rounding and exceptions handling.
20277 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20278 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20279 (__fe_nomask_env): Likewise.
20280 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20281 __fegetround instead of fegetround.
20282 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20283 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20284
6851bd4d
RM
202852013-11-21 Roland McGrath <roland@hack.frob.com>
20286
070906ff
RM
20287 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20288 it's there.
20289
6851bd4d
RM
20290 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20291
84ae135d
MI
202922013-11-21 Meador Inge <meadori@codesourcery.com>
20293
20294 [BZ #11157]
20295 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20296 (encrypt_r): Likewise.
20297 * malloc/obstack.h (obstack_free): Likewise.
20298 * posix/unistd.h (encrypt): Likewise.
20299
daf75146
GM
203002013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20301
20302 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20303 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20304 DL_CALL_DT_FINI() that call the functions directly.
20305 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20306 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20307 * elf/dl-fini.c: Likewise.
20308
10ad46bc
OB
203092013-11-20 Ondřej Bílka <neleai@seznam.cz>
20310
20311 * malloc/hooks.c (memalign_check): Add alignment rounding.
20312 * malloc/malloc.c (_mid_memalign): New function.
20313 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20314 Implement by calling _mid_memalign.
20315 * manual/probes.texi (Memory Allocation Probes): Remove
20316 memory_valloc_retry and memory_pvalloc_retry.
20317
f3fd2628
SP
203182013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20319
4712799f
SP
20320 * locale/programs/locarchive.c (open_archive): Add const
20321 qualifier to ARCHIVEFNAME and copy default fname to
20322 DEFAULT_FNAME.
20323
0417b20f
SP
20324 [BZ #15601]
20325 * libio/tst-widetext.input: Rename Oriya to Odia.
20326 * locale/iso-639.def: Likewise.
20327
f3fd2628
SP
20328 * manual/probes.texi (Mathematical Function Probes): Add
20329 documentation for sin, cos, asin and acos probes.
20330 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20331 (__sin32): Add slowasin probe.
20332 (__cos32): Add slowacos probe.
20333 (__mpsin): Add slowsin probe.
20334 (__mpcos): Add slowcos probe.
20335
73c1ce4f
JM
203362013-11-19 Joseph Myers <joseph@codesourcery.com>
20337
20338 [BZ #15483]
20339 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20340 thread-local __sim_exceptions_thread and global
20341 __sim_exceptions_global.
20342 (__sim_disabled_exceptions): Change to thread-local
20343 __sim_disabled_exceptions_thread and global
20344 __sim_disabled_exceptions_global.
20345 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20346 and global __sim_round_mode_global.
20347 (__simulate_exceptions): Use thread-local floating-point state and
20348 set global state from it as needed.
20349 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20350 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20351 __sim_round_mode_thread.
20352 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20353 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20354 and global __sim_exceptions_global.
20355 (__sim_disabled_exceptions): Change to thread-local
20356 __sim_disabled_exceptions_thread and global
20357 __sim_disabled_exceptions_global.
20358 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20359 and global __sim_round_mode_global.
20360 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20361 (SIM_SET_GLOBAL): Likewise.
20362 * sysdeps/powerpc/soft-fp/sfp-machine.h
20363 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20364 __sim_round_mode_thread.
20365 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20366 __sim_disabled_exceptions_thread.
20367 (__sim_exceptions): Change to __sim_exceptions_thread.
20368 (__sim_disabled_exceptions): Change to
20369 __sim_disabled_exceptions_thread.
20370 (__sim_round_mode): Change to __sim_round_mode_thread.
20371 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20372 thread-local floating-point state and set global state from it as
20373 needed.
20374 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20375 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20376 (__sim_disabled_exceptions): Remove extern declaration.
20377 (feenableexcept): Use thread-local floating-point state and set
20378 global state from it as needed.
20379 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20380 extern declaration.
20381 (__sim_disabled_exceptions): Likewise.
20382 (__sim_round_mode): Likewise.
20383 (__fegetenv): Use thread-local floating-point state.
20384 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20385 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20386 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20387 floating-point state and set global state from it as needed.
20388 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20389 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20390 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20391 Likewise.
20392 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20393 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20394 Likewise.
20395 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20396 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20397 Use __sim_round_mode_thread.
20398 * math/test-fenv-tls.c: New file.
20399 * math/Makefile (tests): Add test-fenv-tls.
20400 ($(objpfx)test-fenv-tls): Depend on
20401 $(common-objpfx)nptl/libpthread.so.
20402
b5449b12
AS
204032013-11-19 Andreas Schwab <schwab@suse.de>
20404
20405 * locale/programs/locale.c (show_info): Decode wordarray elements.
20406 * locale/categories.def (LC_MONETARY): Add element for
20407 _NL_MONETARY_CRNCYSTR.
20408 * locale/C-monetary.c (conversion_rate): New variable.
20409 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20410 element.
20411
e186536b
CM
204122013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20413
20414 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20415 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20416
5c349950
PP
204172013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20418
20419 * elf/Makefile (tst-auxv): New test.
20420 * elf/tst-auxv.c: New
20421 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20422
699df45b
JM
204232013-11-18 Joseph Myers <joseph@codesourcery.com>
20424
20425 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20426 (hidden_proto): Caller changed.
20427 (hidden_tls_proto): New macro.
20428 (libc_hidden_tls_proto): Likewise.
20429 (rtld_hidden_tls_proto): Likewise.
20430 (libm_hidden_tls_proto): Likewise.
20431 (libresolv_hidden_tls_proto): Likewise.
20432 (librt_hidden_tls_proto): Likewise.
20433 (libdl_hidden_tls_proto): Likewise.
20434 (libnss_files_hidden_tls_proto): Likewise.
20435 (libnsl_hidden_tls_proto): Likewise.
20436 (libnss_nisplus_hidden_tls_proto): Likewise.
20437 (libutil_hidden_tls_proto): Likewise.
20438
b7589107
OB
204392013-11-18 Ondřej Bílka <neleai@seznam.cz>
20440
20441 [BZ #10253]
20442 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20443 (decompose_rpath): Defer expansion to fillin_rpath.
20444 (_dl_init_paths): Pass linkmap to fillin_rpath.
20445
250c23bd
RS
204462013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20447
20448 * benchtests/Makefile: Add strsep.
20449 * benchtests/bench-strsep.c: New file: strsep benchtest.
20450 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20451
a7931fcf
AS
204522013-11-18 Andreas Schwab <schwab@suse.de>
20453
20454 * locale/programs/locale.c (show_info) [case byte]: Check for
20455 '\377' instead of '\177'.
20456 * locale/C-monetary.c (not_available): Always use "\377".
20457 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20458 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20459 detect unavailable sign_posn locale elements.
20460 * locale/localeconv.c (__localeconv): For grouping and
20461 mon_grouping handle "\177" and "\377" like no grouping.
20462 (INT_ELEM): New macro. Use it to set all numeric members.
20463 * locale/programs/ld-monetary.c (monetary_read)
20464 <tok_mon_grouping>: Normalize single -1 to the empty string.
20465 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20466 Likewise.
20467
728dab0e
OB
204682013-11-07 Ondřej Bílka <neleai@seznam.cz>
20469
20470 [BZ #16055]
20471 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20472 when we match (nil).
20473 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20474
66294491
JM
204752013-11-16 Joseph Myers <joseph@codesourcery.com>
20476
ce665817
JM
20477 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20478 (NO_TEST_INLINE): Update value.
20479 (ERRNO_UNCHANGED): Likewise.
20480 (ERRNO_EDOM): Likewise.
20481 (ERRNO_ERANGE): Likewise.
20482 (IGNORE_RESULT): Likewise.
20483 (check_float_internal): Check signs of NaN results if
20484 TEST_NAN_SIGN used.
20485 (check_complex): Pass TEST_NAN_SIGN flag through to second
20486 check_float_internal call.
20487 (copysign_test_data): Add tests with quiet NaNs as second
20488 argument. Use TEST_NAN_SIGN.
20489 (fabs_test_data): Add test of negative quiet NaN argument. Use
20490 TEST_NAN_SIGN.
20491 (signbit_test_data): Add tests of quiet NaN argument.
20492 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20493
ee1466a9
JM
20494 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20495 $ignore_result.
20496 (parse_args): Handle function results specified as IGNORE.
20497 * math/libm-test.inc (IGNORE_RESULT): New macro.
20498 (check_float_internal): Do not check numerical result if flag
20499 IGNORE_RESULT set.
20500 (check_complex): Pass through IGNORE_RESULT to second
20501 check_float_internal call.
20502 (check_int): Do not check numerical result if flag IGNORE_RESULT
20503 set.
20504 (check_long): Likewise.
20505 (check_bool): Likewise.
20506 (check_longlong): Likewise.
20507 (lrint_test_data): Add tests of infinite and NaN arguments.
20508 (lrint_tonearest_test_data): Likewise.
20509 (lrint_towardzero_test_data): Likewise.
20510 (lrint_downward_test_data): Likewise.
20511 (lrint_upward_test_data): Likewise.
20512 (llrint_test_data): Likewise.
20513 (llrint_tonearest_test_data): Likewise.
20514 (llrint_towardzero_test_data): Likewise.
20515 (llrint_downward_test_data): Likewise.
20516 (llrint_upward_test_data): Likewise.
20517 (lround_test_data): Likewise.
20518 (llround_test_data): Likewise.
20519
14407b7e
JM
20520 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20521 (ERRNO_UNCHANGED): Update value.
20522 (ERRNO_EDOM): Likewise.
20523 (ERRNO_ERANGE): Likewise.
20524 (NO_TEST_INLINE_FLOAT): New macro.
20525 (NO_TEST_INLINE_DOUBLE): Likewise.
20526 (enable_test): New function.
20527 (RUN_TEST_f_f): Check enable_test before running test.
20528 (RUN_TEST_2_f): Likewise.
20529 (RUN_TEST_fff_f): Likewise.
20530 (RUN_TEST_c_f): Likewise.
20531 (RUN_TEST_f_f1): Likewise.
20532 (RUN_TEST_fF_f1): Likewise.
20533 (RUN_TEST_fI_f1): Likewise.
20534 (RUN_TEST_ffI_f1): Likewise.
20535 (RUN_TEST_c_c): Likewise.
20536 (RUN_TEST_cc_c): Likewise.
20537 (RUN_TEST_f_i): Likewise.
20538 (RUN_TEST_f_i_tg): Likewise.
20539 (RUN_TEST_ff_i_tg): Likewise.
20540 (RUN_TEST_f_b): Likewise.
20541 (RUN_TEST_f_b_tg): Likewise.
20542 (RUN_TEST_f_l): Likewise.
20543 (RUN_TEST_f_L): Likewise.
20544 (RUN_TEST_fFF_11): Likewise.
20545 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20546 conditionals.
20547 (cosh_test_data): Likewise.
20548 (exp_test_data): Likewise.
20549 (expm1_test_data): Likewise.
20550 (hypot_test_data): Likewise.
20551 (pow_test_data): Likewise.
20552 (sinh_test_data): Likewise.
20553 (tanh_test_data): Likewise.
20554 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20555 flags argument.
20556
ca07f197
JM
20557 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20558 tests with quiet NaN input and output.
20559 (acosh_test_data): Likewise.
20560 (asin_test_data): Likewise.
20561 (asinh_test_data): Likewise.
20562 (atan_test_data): Likewise.
20563 (atanh_test_data): Likewise.
20564 (atan2_test_data): Likewise.
20565 (cbrt_test_data): Likewise.
20566 (cos_test_data): Likewise.
20567 (cosh_test_data): Likewise.
20568 (erf_test_data): Likewise.
20569 (erfc_test_data): Likewise.
20570 (exp_test_data): Likewise.
20571 (exp10_test_data): Likewise.
20572 (exp2_test_data): Likewise.
20573 (expm1_test_data): Likewise.
20574 (hypot_test_data): Likewise.
20575 (j0_test_data): Likewise.
20576 (j1_test_data): Likewise.
20577 (jn_test_data): Likewise.
20578 (lgamma_test_data): Likewise.
20579 (log_test_data): Likewise.
20580 (log10_test_data): Likewise.
20581 (log1p_test_data): Likewise.
20582 (log2_test_data): Likewise.
20583 (pow_test_data): Likewise.
20584 (scalb_test_data): Likewise.
20585 (sin_test_data): Likewise.
20586 (sincos_test_data): Likewise.
20587 (sinh_test_data): Likewise.
20588 (tan_test_data): Likewise.
20589 (tanh_test_data): Likewise.
20590 (tgamma_test_data): Likewise.
20591 (y0_test_data): Likewise.
20592 (y1_test_data): Likewise.
20593 (yn_test_data): Likewise.
20594
66294491
JM
20595 [BZ #16167]
20596 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20597 argument being NaN and avoid computations with second argument in
20598 that case.
20599 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20600 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20601 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20602
1820b143
CL
206032013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20604
20605 * locale/iso-639.def: Add Chitwani Tharu (the).
20606
714bd261
AS
206072013-11-14 Andreas Schwab <schwab@suse.de>
20608
20609 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20610 word instead of empty string.
20611
7ab44563
AZ
206122013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20613
20614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20615 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20617 (__fe_nomask_env): Likewise.
20618
e8470ea2
SE
206192013-11-13 Steve Ellcey <sellcey@mips.com>
20620
20621 * benchtests/bench-timing.h: Include time.h.
20622
17c1d9f0
L
206232013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20624
20625 [BZ #15997]
20626 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20627 to 3.4.0 for x32.
20628 * sysdeps/unix/sysv/linux/configure: Regenerated.
20629
9310c284
JM
206302013-11-13 Joseph Myers <joseph@codesourcery.com>
20631
20632 [BZ #16151]
20633 * stdlib/strtod_l.c (round_and_return): Do not consider
20634 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20635 exponent one less than half the least subnormal exponent.
20636 * stdlib/test-strtod-round-data: Add more tests.
20637 * stdlib/tst-strtod-round.c (tests): Regenerated.
20638
7a2ad8cf
AZ
206392013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20640
20641 [BZ #14143]
20642 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20643 (__fe_mask_env): Likewise.
20644 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20645 libm_hidden_proto and add function prototype.
20646 (__fe_mask_env): Add function prototype.
20647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20648 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20650 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20652 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20653
50727aa7
MS
206542013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20655
b2f386c1 20656 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
20657 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20658
a615be46
MS
206592013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20660
20661 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20662 of htab_find_slot().
20663
7ddace62
DM
206642013-11-11 David S. Miller <davem@davemloft.net>
20665
20666 [BZ #16150]
20667 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20668 symbol in the non-vis3 case in static builds.
20669 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20670 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20671 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20672 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20673
9182aa67
JK
206742013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20675
20676 [BZ #387]
20677 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20678 it is empty.
20679
450a2e2d
AZ
206802013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20681
b2f386c1
SP
20682 * benchtests/Makefile: Add bench-strtod.
20683 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 20684
8ec3f656
AS
206852013-11-11 Andreas Schwab <schwab@suse.de>
20686
20687 [BZ #16153]
20688 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20689 terminating NUL in key length.
20690
76a9b998
AZ
206912013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20692
20693 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20694 Add artificial ODP entry for vDSO symbol for PPC64.
20695 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20696 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20697
e4368156
OB
206982013-11-07 Ondřej Bílka <neleai@seznam.cz>
20699
20700 [BZ #15374]
20701 * nss/getent.c (services_keys): Recognize services starting with digit.
20702
8d6bb57c
DM
207032013-11-06 David S. Miller <davem@davemloft.net>
20704
20705 [BZ #15985]
20706 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20707 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20708
e256c421
WN
207092013-11-06 Will Newton <will.newton@linaro.org>
20710
20711 * manual/memory.texi (Malloc Examples): Remove register
20712 keyword from examples.
20713
f6e12daa 207142013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 20715
f6e12daa 20716 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 20717
9d880655
AS
207182013-11-04 Joseph Myers <joseph@codesourcery.com>
20719
fd2f9486 20720 [BZ #6981]
9d880655
AS
20721 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20722 depending on [__GCC_IEC_559 > 0].
20723 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20724 depending on [__GCC_IEC_559_COMPLEX > 0].
20725
ae129d3c
CL
207262013-11-03 Chris Leonard <cjl@sugarlabs.org>
20727
20728 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20729 to iso-639.def.
20730
4a15c2a4 207312013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
20732
20733 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20734
8b35e35d
OB
207352013-11-01 Ondřej Bílka <neleai@seznam.cz>
20736
20737 [BZ #16112]
20738 * malloc/malloc (malloc_info): Do not handle first bin as
20739 special case.
20740
1d70fd6c
CL
207412013-11-01 Chris Leonard <cjl@sugarlabs.org>
20742
20743 * locale/iso-639.def: Add Central Nahuatl (nhn).
20744
8c5c2600
BH
207452013-11-01 Bruno Haible <bruno@clisp.org>
20746
20747 [BZ #7003]
20748 * manual/math.texi (BSD Random): Specify range upper bound as
20749 in POSIX.
20750
da5579c2
CL
207512013-10-31 Chris Leonard <cjl@sugarlabs.org>
20752
20753 * locale/iso-639.def: Add Meadow Mari (mhr).
20754
5d30d853
OB
207552013-10-31 Ondřej Bílka <neleai@seznam.cz>
20756
20757 [BZ #14752], [BZ #15763]
20758 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20759 Validate name.
20760 * rt/tst_shm.c: Add test for escaping directory.
20761
a4966c61
AS
207622013-10-31 Andreas Schwab <schwab@suse.de>
20763
8a43e768 20764 [BZ #15917]
a4966c61
AS
20765 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20766 followed by 'x' as part of digit sequence.
20767 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20768
28d708c4
MAP
207692013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20770
20771 [BZ #16037]
20772 * configure.ac: allow GNU Make 4.0 and greater.
20773 * configure: Regenerated.
20774
a56ee40b
WN
207752013-10-30 Will Newton <will.newton@linaro.org>
20776
20777 [BZ #16038]
20778 * malloc/hooks.c (memalign_check): Limit alignment to the
20779 maximum representable power of two.
20780 * malloc/malloc.c (__libc_memalign): Likewise.
20781 * malloc/tst-memalign.c (do_test): Add test for very
20782 large alignment values.
20783 * malloc/tst-posix_memalign.c (do_test): Likewise.
20784
c6e4925d
OB
207852013-10-30 Ondřej Bílka <neleai@seznam.cz>
20786
20787 [BZ #11087]
20788 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20789 (munmap_chunk): Likewise.
20790 (mremap_chunk): Likewise.
20791
207922013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 20793
8a43e768 20794 [BZ #15799]
bbea82f7
OB
20795 * stdlib/div.c (div): Remove obsolete code.
20796 * stdlib/ldiv.c (ldiv): Likewise.
20797 * stdlib/lldiv.c (lldiv): Likewise.
20798
977f4b31
SP
207992013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20800
20801 [BZ #16071]
20802 * nss/nss_files/files-XXX.c (get_contents_ret): New
20803 enumerator.
20804 (get_contents): New function.
20805 (internal_getent): Use it. Expand size of LINEBUFLEN.
20806
cb8a6dbd
MF
208072013-10-30 Mike Frysinger <vapier@gentoo.org>
20808
20809 * configure.in: Moved to ...
20810 * configure.ac: ... here. Change reference to configure.in
20811 to configure.ac.
20812 * sysdeps/arm/preconfigure.ac: ... here.
20813 configure.in to configure.ac.
20814 * sysdeps/gnu/configure.in: Moved to ...
20815 * sysdeps/gnu/configure.ac: ... here.
20816 * sysdeps/i386/configure.in: Moved to ...
20817 * sysdeps/i386/configure.ac: ... here.
20818 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20819 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20820 * sysdeps/mach/configure.in: Moved to ...
20821 * sysdeps/mach/configure.ac: ... here.
20822 * sysdeps/mach/hurd/configure.in: Moved to ...
20823 * sysdeps/mach/hurd/configure.ac: ... here.
20824 * sysdeps/powerpc/configure.in: Moved to ...
20825 * sysdeps/powerpc/configure.ac: ... here.
20826 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20827 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20828 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20829 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20830 * sysdeps/s390/s390-32/configure.in: Moved to ...
20831 * sysdeps/s390/s390-32/configure.ac: ... here.
20832 * sysdeps/s390/s390-64/configure.in: Moved to ...
20833 * sysdeps/s390/s390-64/configure.ac: ... here.
20834 * sysdeps/sh/configure.in: Moved to ...
20835 * sysdeps/sh/configure.ac: ... here.
20836 * sysdeps/sparc/configure.in: Moved to ...
20837 * sysdeps/sparc/configure.ac: ... here.
20838 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20839 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20840 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20841 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20842 * sysdeps/x86_64/configure.in: Moved to ...
20843 * sysdeps/x86_64/configure.ac: ... here.
20844 * sysdeps/x86_64/preconfigure.in: Moved to ...
20845 * sysdeps/x86_64/preconfigure.ac: ... here.
20846 * aclocal.m4: Change reference to configure.in to configure.ac.
20847 * config.h.in: Likewise.
20848 * manual/install.texi: Likewise.
20849 * manual/maint.texi: Likewise.
20850 * Makefile: Likewise.
20851 * malloc/Makefile: Likewise.
20852 * nscd/Makefile: Likewise.
20853 * Makeconfig: Change reference to configure.in and
20854 preconfigure.in to configure.ac and preconfigure.ac
20855 respectively.
20856 * INSTALL: Regenerated.
20857 * configure: Likewise.
20858 * sysdeps/gnu/configure: Likewise.
20859 * sysdeps/i386/configure: Likewise.
20860 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20861 * sysdeps/mach/configure: Likewise.
20862 * sysdeps/mach/hurd/configure: Likewise.
20863 * sysdeps/powerpc/configure: Likewise.
20864 * sysdeps/powerpc/powerpc32/configure: Likewise.
20865 * sysdeps/powerpc/powerpc64/configure: Likewise.
20866 * sysdeps/s390/s390-32/configure: Likewise.
20867 * sysdeps/s390/s390-64/configure: Likewise.
20868 * sysdeps/sh/configure: Likewise.
20869 * sysdeps/sparc/configure: Likewise.
20870 * sysdeps/unix/sysv/linux/configure: Likewise.
20871 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20872 * sysdeps/x86_64/configure: Likewise.
20873 * sysdeps/x86_64/preconfigure: Likewise.
20874
36a4953a
AS
208752013-10-29 Andreas Schwab <schwab@suse.de>
20876
20877 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20878
c79a1204
SP
208792013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20880
dfa1b402
SP
20881 * benchtests/pow-inputs: Add new inputs.
20882
54f73d9c
SP
20883 * benchtests/exp-inputs: Add new inputs.
20884
c79a1204
SP
20885 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20886 conditional check for return value.
20887 (__cos32): Likewise.
20888
67beb545 208892013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
20890
20891 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20892 to provide a boost for large inputs with word alignment.
20893 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20894 implementation based on optimized PPC64 strcpy.
20895 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20896 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20897 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20898 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20899
151659f6
OB
209002013-10-25 Ondřej Bílka <neleai@seznam.cz>
20901
482a077e 20902 [BZ #2801]
151659f6
OB
20903 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20904
10b0f26b
OB
209052013-10-25 Ondřej Bílka <neleai@seznam.cz>
20906
20907 [BZ #14876]
20908 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20909 * time/tst-strptime.c (day_tests): Add testcase.
20910
ca42d35e
OB
209112013-10-25 Ondřej Bílka <neleai@seznam.cz>
20912
482a077e 20913 [BZ #14029]
ca42d35e
OB
20914 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20915
52e6d801
FB
209162013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20917
20918 [BZ #16074]
20919 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20920 MAP_FAILED on error.
20921
7cbcdb36
SP
209222013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20923
20924 [BZ #16072]
20925 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20926 heap for large requests.
20927
894f3f10
AM
209282013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20929
20930 [BZ #9954]
20931 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20932 result if the result has no associated interface.
20933 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20934 interface for all 127.X.Y.Z addresses.
20935
b85545a6
CL
209362013-10-24 Chris Leonard <cjl@sugarlabs.org>
20937
20938 * locale/iso-639.def: Add Ligurian (lij)
20939
d1f23d46
OB
209402013-10-21 Ondřej Bílka <neleai@seznam.cz>
20941
20942 [BZ #15825]
20943 * sunrpc/rpc_main.c: Document rpcgen -5.
20944
4db5b08f
MS
209452013-10-19 Michael Stahl <mstahl@redhat.com>
20946
20947 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20948
a471e96a
OB
209492013-10-19 Ondřej Bílka <neleai@seznam.cz>
20950
d1f23d46 20951 [BZ #10278]
a471e96a
OB
20952 * posix/glob.c: Match only directories when trailing slash is present.
20953 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20954 (main): Add testcase.
20955
45c30c61
OB
209562013-10-19 Ondřej Bílka <neleai@seznam.cz>
20957
20958 [BZ #15670]
20959 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20960
484c12fb
CD
209612013-10-18 Carlos O'Donell <carlos@redhat.com>
20962
3d7dc513
CD
20963 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20964 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20965 AUTH_DES and cindex for FIPS 140-2.
20966 (DES Encryption): Add cindex FIPS 46-3.
20967
484c12fb
CD
20968 * locale/locarchive.h (struct locarhandle): Add fname.
20969 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20970 if an optional argument was specified to --list-archive,
20971 otherwise NULL.
20972 * locale/programs/locarchive.c (show_archive_content): Take new
20973 argument fname and pass it via ah.fname to open_archive.
20974 * locale/programs/localedef.h: Update decl.
20975 (open_archive): If AH->fname is non-null, open that file
20976 rather than the default file name, and don't ignore ENOENT.
20977 (create_archive): Set AH.fname to NULL.
20978 (delete_locales_from_archive): Likewise.
20979 (add_locales_to_archive): Likewise.
20980 * locale/programs/locfile.c (write_all_categories): Likewise.
20981
3c8325fb
JM
209822013-10-18 Joseph Myers <joseph@codesourcery.com>
20983 Aldy Hernandez <aldyh@redhat.com>
20984
20985 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20986 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20987 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20988 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20989 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20990 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20991 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20992 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20993 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20994 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20995 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20996 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20997 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20998 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20999 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21000 Likewise.
21001 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21002 Likewise.
21003 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21004 Likewise.
21005 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21006 Likewise.
21007 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21008 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21009 Likewise.
21010 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21011 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21012 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21013 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21014 Likewise.
21015 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21016 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21017 * sysdeps/powerpc/preconfigure: Likewise.
21018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21019 Likewise.
21020 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21021 Replace contents of file by #include of <fenv_libc.h>.
21022 * sysdeps/powerpc/soft-fp/sfp-machine.h
21023 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21024 and <sys/prctl.h>.
21025 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21026 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21027 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21028 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21029 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21030 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21031 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21032 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21033 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21034 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21035 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21036 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21038 Allow copysignl PLT reference to be missing.
21039
5abe0682
RS
210402013-10-18 Richard Sandiford <richard@codesourcery.com>
21041 Joseph Myers <joseph@codesourcery.com
21042
21043 [BZ #15948]
21044 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21045 single character.
21046 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21047
c7738d08
SP
210482013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21049
21050 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21051 * elf/tst-tls1.c: Likewise.
21052 * elf/tst-tls10.h: Likewise.
21053 * elf/tst-tls14.c: Likewise.
21054 * elf/tst-tls2.c: Likewise.
21055 * elf/tst-tls3.c: Likewise.
21056 * elf/tst-tls4.c: Likewise.
21057 * elf/tst-tls5.c: Likewise.
21058 * elf/tst-tls6.c: Likewise.
21059 * elf/tst-tls7.c: Likewise.
21060 * elf/tst-tls8.c: Likewise.
21061 * elf/tst-tls9.c: Likewise.
21062 * elf/tst-tlsmod1.c: Likewise.
21063 * elf/tst-tlsmod13.c: Likewise.
21064 * elf/tst-tlsmod13a.c: Likewise.
21065 * elf/tst-tlsmod14a.c: Likewise.
21066 * elf/tst-tlsmod16a.c: Likewise.
21067 * elf/tst-tlsmod16b.c: Likewise.
21068 * elf/tst-tlsmod2.c: Likewise.
21069 * elf/tst-tlsmod3.c: Likewise.
21070 * elf/tst-tlsmod4.c: Likewise.
21071 * elf/tst-tlsmod5.c: Likewise.
21072 * elf/tst-tlsmod6.c: Likewise.
21073
0bfcf2c7
OB
210742013-10-18 Ondřej Bílka <neleai@seznam.cz>
21075
21076 [BZ #12486]
21077 * malloc/malloc.c: remove checks for statistics.
21078
264aad1e
OB
210792013-10-17 Ondřej Bílka <neleai@seznam.cz>
21080
21081 [BZ #15277]
21082 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21083 * inet/tst-network.c: Add testcase.
21084
b957ced8
AS
210852013-10-17 Andreas Schwab <schwab@suse.de>
21086
21087 [BZ #15218]
21088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21089 to determine canonical name.
21090
c5d5d574
OB
210912013-10-17 Ondřej Bílka <neleai@seznam.cz>
21092
21093 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21094 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21095 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21096 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21097 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21098 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21099 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21100 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21101 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21102 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21103 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21104 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21105 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21106 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21107 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21108 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21109 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21110 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21111 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21112 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21113 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21114 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21116 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21117 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21118 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21119 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21120 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21121 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21122 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21123 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21124 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21125 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21126 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21127 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21128 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21129 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21130 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21131 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21132 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21133 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21134 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21135 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21136 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21137 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21138 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21139 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21140 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21141 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21142 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21143 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21144 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21145 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21146 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21147 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21148 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21149 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21150 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21151
e5c2c2d0
JM
211522013-10-17 Joseph Myers <joseph@codesourcery.com>
21153
21154 [BZ #16041]
21155 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21156 make result into a quiet NaN.
21157
51ca9e29
JM
211582013-10-16 Joseph Myers <joseph@codesourcery.com>
21159
21160 * soft-fp/adddf3.c: Fix horizontal whitespace.
21161 * soft-fp/addsf3.c: Likewise.
21162 * soft-fp/addtf3.c: Likewise.
21163 * soft-fp/divdf3.c: Likewise.
21164 * soft-fp/divsf3.c: Likewise.
21165 * soft-fp/divtf3.c: Likewise.
21166 * soft-fp/double.h: Likewise.
21167 * soft-fp/eqdf2.c: Likewise.
21168 * soft-fp/eqsf2.c: Likewise.
21169 * soft-fp/eqtf2.c: Likewise.
21170 * soft-fp/extenddftf2.c: Likewise.
21171 * soft-fp/extended.h: Likewise.
21172 * soft-fp/extendsfdf2.c: Likewise.
21173 * soft-fp/extendsftf2.c: Likewise.
21174 * soft-fp/extendxftf2.c: Likewise.
21175 * soft-fp/fixdfdi.c: Likewise.
21176 * soft-fp/fixdfsi.c: Likewise.
21177 * soft-fp/fixdfti.c: Likewise.
21178 * soft-fp/fixsfdi.c: Likewise.
21179 * soft-fp/fixsfsi.c: Likewise.
21180 * soft-fp/fixsfti.c: Likewise.
21181 * soft-fp/fixtfdi.c: Likewise.
21182 * soft-fp/fixtfsi.c: Likewise.
21183 * soft-fp/fixtfti.c: Likewise.
21184 * soft-fp/fixunsdfdi.c: Likewise.
21185 * soft-fp/fixunsdfsi.c: Likewise.
21186 * soft-fp/fixunsdfti.c: Likewise.
21187 * soft-fp/fixunssfdi.c: Likewise.
21188 * soft-fp/fixunssfsi.c: Likewise.
21189 * soft-fp/fixunssfti.c: Likewise.
21190 * soft-fp/fixunstfdi.c: Likewise.
21191 * soft-fp/fixunstfsi.c: Likewise.
21192 * soft-fp/fixunstfti.c: Likewise.
21193 * soft-fp/floatdidf.c: Likewise.
21194 * soft-fp/floatdisf.c: Likewise.
21195 * soft-fp/floatditf.c: Likewise.
21196 * soft-fp/floatsidf.c: Likewise.
21197 * soft-fp/floatsisf.c: Likewise.
21198 * soft-fp/floatsitf.c: Likewise.
21199 * soft-fp/floattidf.c: Likewise.
21200 * soft-fp/floattisf.c: Likewise.
21201 * soft-fp/floattitf.c: Likewise.
21202 * soft-fp/floatundidf.c: Likewise.
21203 * soft-fp/floatundisf.c: Likewise.
21204 * soft-fp/floatunditf.c: Likewise.
21205 * soft-fp/floatunsidf.c: Likewise.
21206 * soft-fp/floatunsisf.c: Likewise.
21207 * soft-fp/floatunsitf.c: Likewise.
21208 * soft-fp/floatuntidf.c: Likewise.
21209 * soft-fp/floatuntisf.c: Likewise.
21210 * soft-fp/floatuntitf.c: Likewise.
21211 * soft-fp/fmadf4.c: Likewise.
21212 * soft-fp/fmasf4.c: Likewise.
21213 * soft-fp/fmatf4.c: Likewise.
21214 * soft-fp/gedf2.c: Likewise.
21215 * soft-fp/gesf2.c: Likewise.
21216 * soft-fp/getf2.c: Likewise.
21217 * soft-fp/ledf2.c: Likewise.
21218 * soft-fp/lesf2.c: Likewise.
21219 * soft-fp/letf2.c: Likewise.
21220 * soft-fp/muldf3.c: Likewise.
21221 * soft-fp/mulsf3.c: Likewise.
21222 * soft-fp/multf3.c: Likewise.
21223 * soft-fp/negdf2.c: Likewise.
21224 * soft-fp/negsf2.c: Likewise.
21225 * soft-fp/negtf2.c: Likewise.
21226 * soft-fp/op-1.h: Likewise.
21227 * soft-fp/op-2.h: Likewise.
21228 * soft-fp/op-4.h: Likewise.
21229 * soft-fp/op-8.h: Likewise.
21230 * soft-fp/op-common.h: Likewise.
21231 * soft-fp/quad.h: Likewise.
21232 * soft-fp/single.h: Likewise.
21233 * soft-fp/soft-fp.h: Likewise.
21234 * soft-fp/sqrtdf2.c: Likewise.
21235 * soft-fp/sqrtsf2.c: Likewise.
21236 * soft-fp/sqrttf2.c: Likewise.
21237 * soft-fp/subdf3.c: Likewise.
21238 * soft-fp/subsf3.c: Likewise.
21239 * soft-fp/subtf3.c: Likewise.
21240 * soft-fp/truncdfsf2.c: Likewise.
21241 * soft-fp/trunctfdf2.c: Likewise.
21242 * soft-fp/trunctfsf2.c: Likewise.
21243 * soft-fp/trunctfxf2.c: Likewise.
21244 * soft-fp/unorddf2.c: Likewise.
21245 * soft-fp/unordsf2.c: Likewise.
21246 * soft-fp/unordtf2.c: Likewise.
21247
9ebb0332
JM
212482013-10-15 Joseph Myers <joseph@codesourcery.com>
21249
21250 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21251 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21252
4b1a6d8b
OB
212532013-10-15 Ondřej Bílka <neleai@seznam.cz>
21254
21255 * elf/dl-libc.c: Clear initfini list after freeing.
21256
1e145589
JM
212572013-10-14 Joseph Myers <joseph@codesourcery.com>
21258
21259 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21260 * soft-fp/addsf3.c: Likewise.
21261 * soft-fp/addtf3.c: Likewise.
21262 * soft-fp/divdf3.c: Likewise.
21263 * soft-fp/divsf3.c: Likewise.
21264 * soft-fp/divtf3.c: Likewise.
21265 * soft-fp/double.h: Likewise.
21266 * soft-fp/eqdf2.c: Likewise.
21267 * soft-fp/eqsf2.c: Likewise.
21268 * soft-fp/eqtf2.c: Likewise.
21269 * soft-fp/extenddftf2.c: Likewise.
21270 * soft-fp/extended.h: Likewise.
21271 * soft-fp/extendsfdf2.c: Likewise.
21272 * soft-fp/extendsftf2.c: Likewise.
21273 * soft-fp/extendxftf2.c: Likewise.
21274 * soft-fp/fixdfdi.c: Likewise.
21275 * soft-fp/fixdfsi.c: Likewise.
21276 * soft-fp/fixdfti.c: Likewise.
21277 * soft-fp/fixsfdi.c: Likewise.
21278 * soft-fp/fixsfsi.c: Likewise.
21279 * soft-fp/fixsfti.c: Likewise.
21280 * soft-fp/fixtfdi.c: Likewise.
21281 * soft-fp/fixtfsi.c: Likewise.
21282 * soft-fp/fixtfti.c: Likewise.
21283 * soft-fp/fixunsdfdi.c: Likewise.
21284 * soft-fp/fixunsdfsi.c: Likewise.
21285 * soft-fp/fixunsdfti.c: Likewise.
21286 * soft-fp/fixunssfdi.c: Likewise.
21287 * soft-fp/fixunssfsi.c: Likewise.
21288 * soft-fp/fixunssfti.c: Likewise.
21289 * soft-fp/fixunstfdi.c: Likewise.
21290 * soft-fp/fixunstfsi.c: Likewise.
21291 * soft-fp/fixunstfti.c: Likewise.
21292 * soft-fp/floatdidf.c: Likewise.
21293 * soft-fp/floatdisf.c: Likewise.
21294 * soft-fp/floatditf.c: Likewise.
21295 * soft-fp/floatsidf.c: Likewise.
21296 * soft-fp/floatsisf.c: Likewise.
21297 * soft-fp/floatsitf.c: Likewise.
21298 * soft-fp/floattidf.c: Likewise.
21299 * soft-fp/floattisf.c: Likewise.
21300 * soft-fp/floattitf.c: Likewise.
21301 * soft-fp/floatundidf.c: Likewise.
21302 * soft-fp/floatundisf.c: Likewise.
21303 * soft-fp/floatunsidf.c: Likewise.
21304 * soft-fp/floatunsisf.c: Likewise.
21305 * soft-fp/floatuntidf.c: Likewise.
21306 * soft-fp/floatuntisf.c: Likewise.
21307 * soft-fp/floatuntitf.c: Likewise.
21308 * soft-fp/fmadf4.c: Likewise.
21309 * soft-fp/fmasf4.c: Likewise.
21310 * soft-fp/fmatf4.c: Likewise.
21311 * soft-fp/gedf2.c: Likewise.
21312 * soft-fp/gesf2.c: Likewise.
21313 * soft-fp/getf2.c: Likewise.
21314 * soft-fp/ledf2.c: Likewise.
21315 * soft-fp/lesf2.c: Likewise.
21316 * soft-fp/letf2.c: Likewise.
21317 * soft-fp/muldf3.c: Likewise.
21318 * soft-fp/mulsf3.c: Likewise.
21319 * soft-fp/multf3.c: Likewise.
21320 * soft-fp/negdf2.c: Likewise.
21321 * soft-fp/negsf2.c: Likewise.
21322 * soft-fp/negtf2.c: Likewise.
21323 * soft-fp/op-1.h: Likewise.
21324 * soft-fp/op-2.h: Likewise.
21325 * soft-fp/op-4.h: Likewise.
21326 * soft-fp/op-8.h: Likewise.
21327 * soft-fp/op-common.h: Likewise.
21328 * soft-fp/quad.h: Likewise.
21329 * soft-fp/single.h: Likewise.
21330 * soft-fp/soft-fp.h: Likewise.
21331 * soft-fp/sqrtdf2.c: Likewise.
21332 * soft-fp/sqrtsf2.c: Likewise.
21333 * soft-fp/sqrttf2.c: Likewise.
21334 * soft-fp/subdf3.c: Likewise.
21335 * soft-fp/subsf3.c: Likewise.
21336 * soft-fp/subtf3.c: Likewise.
21337 * soft-fp/truncdfsf2.c: Likewise.
21338 * soft-fp/trunctfdf2.c: Likewise.
21339 * soft-fp/trunctfsf2.c: Likewise.
21340 * soft-fp/trunctfxf2.c: Likewise.
21341 * soft-fp/unorddf2.c: Likewise.
21342 * soft-fp/unordsf2.c: Likewise.
21343 * soft-fp/unordtf2.c: Likewise.
21344
17c48a60
OB
213452013-10-14 Ondřej Bílka <neleai@seznam.cz>
21346
21347 [BZ #15672]
21348 * misc/error.c (error_tail): Fix possible buffer overflow.
21349
cabba934
OB
213502013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21351
21352 [BZ #13028]
21353 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21354 address.
21355
94bf958a
PM
213562013-10-14 P. J. McDermott <pj@pehjota.net>
21357
21358 [BZ #832]
21359 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21360 testing pipefail option.
21361
71b4dea7
JM
213622013-10-12 Joseph Myers <joseph@codesourcery.com>
21363
21364 * soft-fp/double.h: Indent preprocessor directives inside #if.
21365 * soft-fp/extended.h: Likewise.
21366 * soft-fp/op-2.h: Likewise.
21367 * soft-fp/op-4.h: Likewise.
21368 * soft-fp/op-common.h: Likewise.
21369 * soft-fp/quad.h: Likewise.
21370 * soft-fp/single.h: Likewise.
21371 * soft-fp/soft-fp.h: Likewise.
21372
55602758
YC
213732013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21374
21375 * iconv/iconv_prog.c: Fix typos.
21376 * stdio-common/psiginfo-data.h: Likewise.
21377
9cd83302
RT
213782013-10-12 Reuben Thomas <rrt@sc3d.org>
21379
21380 [BZ #15764]
21381 * locale/setlocale.c: Fix typo.
21382
99fd9f47
JM
213832013-10-12 Joseph Myers <joseph@codesourcery.com>
21384
b7ea74f0
JM
21385 [BZ #16036]
21386 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21387 signaling NaN arguments.
21388 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21389 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21390
8a509447
JM
21391 [BZ #14910]
21392 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21393 unordered operands.
21394 * soft-fp/gesf2.c (__gesf2): Likewise.
21395 * soft-fp/getf2.c (__getf2): Likewise.
21396 * soft-fp/ledf2.c (__ledf2): Likewise.
21397 * soft-fp/lesf2.c (__lesf2): Likewise.
21398 * soft-fp/letf2.c (__letf2): Likewise.
21399
98998e9f
JM
21400 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21401 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21402 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21403 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21404 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21405 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21406 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21407 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21408 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21409 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21410 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21411 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21412 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21413 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21414 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21415 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21416 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21417 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21418 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21419 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21420 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21421 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21422 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21423 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21424 * soft-fp/floattidf.c (__floattidf): Likewise.
21425 * soft-fp/floattisf.c (__floattisf): Likewise.
21426 * soft-fp/floattitf.c (__floattitf): Likewise.
21427 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21428 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21429 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21430 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21431 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21432 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21433 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21434 * soft-fp/gesf2.c (__gesf2): Likewise.
21435 * soft-fp/getf2.c (__getf2): Likewise.
21436 * soft-fp/ledf2.c (__ledf2): Likewise.
21437 * soft-fp/lesf2.c (__lesf2): Likewise.
21438 * soft-fp/letf2.c (__letf2): Likewise.
21439
8edc4a11
JM
21440 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21441 Undefine and redefine.
21442 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21443 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21444 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21445 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21446 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21447 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21448 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21449 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21450 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21451 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21452 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21453 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21454 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21455 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21456 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21457
8399acaf
JM
21458 [BZ #16032]
21459 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21460 without decrementing exponent if mantissa >= that for the
21461 denominator, not >.
21462 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21463 denominator, not >. Decrement exponent in < case instead of
21464 incrementing in >= case.
21465 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21466 without decrementing exponent if mantissa >= that for the
21467 denominator, not >.
21468
99fd9f47
JM
21469 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21470 computing saturated result for unsigned overflow.
21471
10e1cf6b
SP
214722013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21473 Jeff Law <law@redhat.com>
21474
21475 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21476 (atan2Mp): Add systemtap probe marker.
21477 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21478 (__ieee754_log): Add systemtap probe marker.
21479 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21480 (atanMp): Add systemtap probe marker.
21481 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21482 (tanMp): Add systemtap probe marker.
21483 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21484 (__slowexp): Add systemtap probe marker.
21485 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21486 (__slowpow): Add systemtap probe marker.
21487 * manual/probes.texi: Document probes.
21488
3d110c7c
EB
214892013-10-11 Eric Biggers <ebiggers3@gmail.com>
21490
21491 [BZ #15362]
21492 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21493 written.
21494 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21495 written.
21496 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21497 written to buffer but not flushed.
21498 * libio/iofwrite_u.c: Likewise.
21499 * libio/iopadn.c: Return bytes returned even if EOF was
21500 encountered.
21501 * libio/iowpadn.c: Likewise.
21502 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21503 if _IO_padn does not write the whole buffer.
21504 [!COMPILE_WPRINTF] (PAD): Likewise.
21505
75b4202a
DM
215062013-10-10 David S. Miller <davem@davemloft.net>
21507
21508 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21509 directory block.
21510
6c6352e6
JM
215112013-10-10 Joseph Myers <joseph@codesourcery.com>
21512
33b853c3
JM
21513 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21514 instead of FSF address.
21515 * soft-fp/fixdfti.c: Likewise.
21516 * soft-fp/fixsfti.c: Likewise.
21517 * soft-fp/fixtfti.c: Likewise.
21518 * soft-fp/fixunsdfti.c: Likewise.
21519 * soft-fp/fixunssfti.c: Likewise.
21520 * soft-fp/fixunstfti.c: Likewise.
21521 * soft-fp/floattidf.c: Likewise.
21522 * soft-fp/floattisf.c: Likewise.
21523 * soft-fp/floattitf.c: Likewise.
21524 * soft-fp/floatuntidf.c: Likewise.
21525 * soft-fp/floatuntisf.c: Likewise.
21526 * soft-fp/floatuntitf.c: Likewise.
21527 * soft-fp/trunctfxf2.c: Likewise.
21528
6c6352e6
JM
21529 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21530 * soft-fp/fixdfti.c: Likewise.
21531 * soft-fp/fixsfti.c: Likewise.
21532 * soft-fp/fixtfti.c: Likewise.
21533 * soft-fp/fixunsdfti.c: Likewise.
21534 * soft-fp/fixunssfti.c: Likewise.
21535 * soft-fp/fixunstfti.c: Likewise.
21536 * soft-fp/floattidf.c: Likewise.
21537 * soft-fp/floattisf.c: Likewise.
21538 * soft-fp/floattitf.c: Likewise.
21539 * soft-fp/floatuntidf.c: Likewise.
21540 * soft-fp/floatuntisf.c: Likewise.
21541 * soft-fp/floatuntitf.c: Likewise.
21542 * soft-fp/trunctfxf2.c: Likewise.
21543
3bf78b71
DM
215442013-10-10 David S. Miller <davem@davemloft.net>
21545
21546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21547
6f10289e
JM
215482013-10-10 Joseph Myers <joseph@codsourcery.com>
21549
bd878fc0
JM
21550 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21551 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21552 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21553 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21554 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21555 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21556 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21557
6f10289e
JM
21558 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21559 for NaNs before doing comparisons on argument.
21560 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21561 Likewise.
21562
321e2684
WN
215632013-10-10 Will Newton <will.newton@linaro.org>
21564
21565 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21566 passed to _int_memalign does not overflow.
21567
40fefba1
TR
215682013-10-10 Torvald Riegel <triegel@redhat.com>
21569
21570 * scripts/bench.pl: Add include-sources directive.
21571 * benchtests/README: Update documentation.
21572
2ae21ed2
JM
215732013-10-10 Joseph Myers <joseph@codesourcery.com>
21574
dcc2dd3f
JM
21575 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21576 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21577 instead of FP_INIT_ROUNDMODE.
21578 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21579 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21580
2ae21ed2
JM
21581 [BZ #16034]
21582 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21583 copy class of input value.
21584 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21585 not handle exceptions.
21586 * soft-fp/negsf2.c (__negsf2): Likewise.
21587 * soft-fp/negtf2.c (__negtf2): Likewise.
21588 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21589
cb8f9562
JM
215902013-10-09 Joseph Myers <joseph@codesourcery.com>
21591
21592 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21593 semicolon. From Linux kernel.
21594
5b60c59d
AB
215952013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21596
21597 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21598
b86835ca
YC
215992013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21600
21601 [BZ #156]
21602 * manual/socket.texi: Added statement about buffer
21603 for gethostbyname2_r.
21604
e7044ea7
OB
216052013-10-08 Ondřej Bílka <neleai@seznam.cz>
21606
21607 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21608 Use .p2align directive instead, throughout.
21609 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21610 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21611 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21612 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21613 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21614 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21615 * sysdeps/x86_64/strchr.S: Likewise.
21616 * sysdeps/x86_64/strrchr.S: Likewise.
21617
09544cbc
SP
216182013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21619
88576635
SP
21620 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21621
e7b2d1dd
SP
21622 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21623
09544cbc
SP
21624 * sysdeps/generic/math_private.h (__mpsin1): Remove
21625 declaration.
21626 (__mpcos1): Likewise.
21627 (__mpsin): New argument __range_reduce.
21628 (__mpcos): Likewise.
21629 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21630 (slow): Use __mpsin and __mpcos.
21631 (slow1): Likewise.
21632 (slow2): Likewise.
21633 (sloww): Likewise.
21634 (sloww1): Likewise.
21635 (sloww2): Likewise.
21636 (bsloww): Likewise.
21637 (bsloww1): Likewise.
21638 (bsloww2): Likewise.
21639 (cslow2): Likewise.
21640 (csloww): Likewise.
21641 (csloww1): Likewise.
21642 (csloww2): Likewise.
21643 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21644 range_reduce. Merge in __mpsin1.
21645 (__mpcos): Likewise.
21646 (__mpsin1): Remove.
21647 (__mpcos1): Likewise.
21648
7602d070
JM
216492013-10-07 Joseph Myers <joseph@codesourcery.com>
21650
21651 * locale/loadlocale.c (_nl_intern_locale_data): Use
21652 LOCFILE_ALIGNED_P.
21653 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21654 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21655 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21656 obstack data is appropriately aligned.
21657 (obstack_int32_grow_fast): Likewise.
21658 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21659 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21660 (add_locale_uint32_array): Likewise.
21661
a357259b
SP
216622013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21663
21664 * benchtests/Makefile: Remove ARGLIST and RET variables.
21665 ($(objpfx)bench-%.c): Pass only function name to the script.
21666 * benchtests/README: Update documentation.
21667 * benchtests/acos-inputs: Add new directives.
21668 * benchtests/acosh-inputs: Likewise.
21669 * benchtests/asin-inputs: Likewise.
21670 * benchtests/asinh-inputs: Likewise.
21671 * benchtests/atan-inputs: Likewise.
21672 * benchtests/atanh-inputs: Likewise.
21673 * benchtests/cos-inputs: Likewise.
21674 * benchtests/cosh-inputs: Likewise.
21675 * benchtests/exp-inputs: Likewise.
21676 * benchtests/log-inputs: Likewise.
21677 * benchtests/pow-inputs: Likewise.
21678 * benchtests/rint-inputs: Likewise.
21679 * benchtests/sin-inputs: Likewise.
21680 * benchtests/sinh-inputs: Likewise.
21681 * benchtests/tan-inputs: Likewise.
21682 * benchtests/tanh-inputs: Likewise.
21683 * scripts/bench.pl: Add support for new directives.
21684
9ec1b13d
AM
216852013-10-07 Alan Modra <amodra@gmail.com>
21686
21687 * README: Fix careless merge.
21688
8b7d57cd
AM
216892013-10-05 Alan Modra <amodra@gmail.com>
21690
21691 * NEWS: Mention powerpc64le support and bugs fixed.
21692 * README: Both big-endian and little-endian powerpc64 supported.
21693
7b7bab13
ST
216942013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21695
57f41c40
AS
21696 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21697 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
21698 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21699 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21700
d39baad1
RA
217012013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21702
21703 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21704 match prototype.
21705
cd78f7e7
JM
217062013-10-04 Joseph Myers <joseph@codesourcery.com>
21707
29d73d86
JM
21708 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21709 Move -mhard-float appending from
21710 ports/sysdeps/powerpc/powerpc32/Makefile.
21711 [$(with-fp) = yes] (ASFLAGS): Likewise.
21712 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21713 * sysdeps/powerpc/nofpu: Move directory from
21714 ports/sysdeps/powerpc/nofpu.
21715 * sysdeps/powerpc/soft-fp: Move directory from
21716 ports/sysdeps/powerpc/soft-fp.
21717 * sysdeps/powerpc/powerpc32/405: Move directory from
21718 ports/sysdeps/powerpc/powerpc32/405.
21719 * sysdeps/powerpc/powerpc32/440: Move directory from
21720 ports/sysdeps/powerpc/powerpc32/440.
21721 * sysdeps/powerpc/powerpc32/464: Move directory from
21722 ports/sysdeps/powerpc/powerpc32/464.
21723 * sysdeps/powerpc/powerpc32/476: Move directory from
21724 ports/sysdeps/powerpc/powerpc32/476.
21725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21726 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21728 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21730 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21732 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21734 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21735 * README: Update for powerpc-*-linux-gnu software floating point
21736 support in libc.
21737
e246b347
JM
21738 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21739 case to powerpc/powerpc32*.
21740 * sysdeps/unix/sysv/linux/configure: Regenerated.
21741
89c2003e
JM
21742 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21743 (_FPU_MASK_OM): Define as 0x04.
21744 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21745 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21746 0x00c10080.
21747 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21748 0x0000003c.
21749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21750
cd78f7e7
JM
21751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21752 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21753 getcontext_e500.
21754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21755 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21756 setcontext_e500.
21757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21758 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21759 and setcontext_e500.
21760
c755294d
CL
217612013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21762
21763 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21764
e16d221c
SP
217652013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21766
21767 * manual/threads.texi (Default Thread Attributes): Fix typo.
21768
215c7d43
WN
217692013-10-04 Will Newton <will.newton@linaro.org>
21770
21771 * malloc/Makefile: Add tst-memalign.
21772 * malloc/tst-memalign.c: New file.
21773
27d0461b
WN
21774 * malloc/tst-posix_memalign.c: Add comments.
21775 (do_test): Add comments and call free on all potentially
21776 allocated pointers. Add space after cast.
21777
1bc92709
WN
21778 * malloc/tst-pvalloc.c: Add comments.
21779 (do_test): Add comments and call free on all potentially
21780 allocated pointers. Remove duplicate check for NULL pointer.
21781 Add space after cast.
21782
66a9be9d
WN
21783 * malloc/tst-valloc.c: Add comments.
21784 (do_test): Add comments and call free on all potentially
21785 allocated pointers. Remove duplicate check for NULL pointer.
21786 Add space after cast.
21787
4cb81307
AM
217882013-10-04 Alan Modra <amodra@gmail.com>
21789
21790 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21791 Use stdint types in rather than __attribute__((mode())).
21792 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21793
f8e3e9f3
AM
217942013-10-04 Alan Modra <amodra@gmail.com>
21795
21796 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21797 Correct handling of unaligned relocs for little-endian.
21798 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21799
8f9ebb08
AM
218002013-10-04 Alan Modra <amodra@gmail.com>
21801
21802 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21803 * configure: Regenerate.
21804 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21805 * shlib-versions: Likewise.
21806
0edf96c2
AM
218072013-10-04 Alan Modra <amodra@gmail.com>
21808
21809 * string/tester.c (test_memrchr): Increment reported test cycle.
21810
e0f7a380
AM
218112013-10-04 Alan Modra <amodra@gmail.com>
21812
21813 * string/test-memcpy.c (do_one_test): When reporting errors, print
21814 string address and don't overrun end of string.
21815
466b0393
AM
218162013-10-04 Alan Modra <amodra@gmail.com>
21817
21818 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21819 insrdi. Make better use of reg selection to speed exit slightly.
21820 Schedule entry path a little better. Remove useless "are we done"
21821 checks on entry to main loop. Handle wrapping around zero address.
21822 Correct main loop count. Handle single left-over word from main
21823 loop inline rather than by using loop_small. Remove extra word
21824 case in loop_small caused by wrong loop count. Add little-endian
21825 support.
21826 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21827 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21828 cache hint.
21829 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21830 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21831 support. Avoid rlwimi.
21832 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21833
3be87c77
AM
218342013-10-04 Alan Modra <amodra@gmail.com>
21835
21836 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 21837 insrdi. Formatting.
3be87c77
AM
21838 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21839 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21840 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21841 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21842 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21843 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21844
759cfef3
AM
218452013-10-04 Alan Modra <amodra@gmail.com>
21846
21847 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21848 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21849 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21850 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21851 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21852 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21853 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21854 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21855 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21856 use of regs. Use power7 mtocrf. Tidy function tails.
21857
fe6e95d7
AM
218582013-10-04 Alan Modra <amodra@gmail.com>
21859
21860 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21861 Formatting. Consistently use rXXX register defines or rN defines.
21862 Use early exit labels that avoid restoring unused non-volatile regs.
21863 Make cr field use more consistent with rWORDn compares. Rename
21864 regs used as shift registers for unaligned loop, using rN defines
21865 for short lifetime/multiple use regs.
21866 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21867 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21868 addi 1,1,64 to pop stack frame. Simplify return value code.
21869 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21870
664318c3
AM
218712013-10-04 Alan Modra <amodra@gmail.com>
21872
21873 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21874 support. Correct typos, formatting. Optimize tail. Use insrdi
21875 rather than rlwimi.
21876 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21877 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21878 little-endian support. Correct typos.
21879 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21880 rather than rlwimi.
21881 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21882 in loop and entry code to keep "and." results.
21883 (strchr): Add little-endian support. Comment. Move cntlzd
21884 earlier in tail.
21885 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21886
43b84013
AM
218872013-10-04 Alan Modra <amodra@gmail.com>
21888
21889 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21890 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21891 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21892 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21893
8a7413f9
AM
218942013-10-04 Alan Modra <amodra@gmail.com>
21895
21896 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21897 (rTMP): Define as r11.
21898 (strcmp): Add little-endian support. Optimise tail.
21899 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21900 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21901 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21902 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21903 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21904 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21905 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21906
33ee81de
AM
219072013-10-04 Alan Modra <amodra@gmail.com>
21908
21909 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21910 little-endian support. Remove unnecessary "are we done" tests.
21911 Handle "s" wrapping around zero and extremely large "size".
21912 Correct main loop count. Handle single left-over word from main
21913 loop inline rather than by using small_loop. Correct comments.
21914 Delete "zero" tail, use "end_max" instead.
21915 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21916
db9b4570
AM
219172013-10-04 Alan Modra <amodra@gmail.com>
21918
21919 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21920 support. Don't branch over align.
21921 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21922 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21923 support. Rearrange tmp reg use to suit. Comment.
21924 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21925
f7c399cf
AM
219262013-10-04 Alan Modra <amodra@gmail.com>
21927
21928 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21929
0b2c2ace
AM
219302013-10-04 Alan Modra <amodra@gmail.com>
21931
21932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21933 conditional form of branch and link when obtaining pc.
21934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21935
02f04a6c
AM
219362013-10-04 Alan Modra <amodra@gmail.com>
21937
21938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21939 HIWORD/LOWORD.
21940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21942
9b874b2f
AM
219432013-10-04 Alan Modra <amodra@gmail.com>
21944
21945 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21946 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21947 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21948 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21949 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21950 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21951 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21952 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21953 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21954 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21955
be1e5d31
AB
219562013-10-04 Anton Blanchard <anton@au1.ibm.com>
21957 Alistair Popple <alistair@ozlabs.au.ibm.com>
21958 Alan Modra <amodra@gmail.com>
21959
21960 [BZ #15723]
21961 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21962 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21963 _dl_hwcap access for little-endian.
21964 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21965 destroy vmx regs when saving unaligned.
21966 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21967 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21968 destroy vmx regs when saving unaligned.
21969
fef13a78
AM
219702013-10-04 Alan Modra <amodra@gmail.com>
21971
21972 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21973 Don't use a union to pack hi/low value.
21974
76a66d51
AB
219752013-10-04 Anton Blanchard <anton@au1.ibm.com>
21976
21977 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21978 for little-endian.
21979 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21980 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21981 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21982 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21983 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21984
6a31fe7f
AM
219852013-10-04 Alan Modra <amodra@gmail.com>
21986
21987 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21988 constants to usual value for .cst8 section, and remove redundant
21989 high address load.
21990 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21991 constant for 0x1p52. Load little-endian words of double from
21992 correct stack offsets.
21993
7b88401f
AM
219942013-10-04 Alan Modra <amodra@gmail.com>
21995
21996 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21997 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21998 words of double from correct stack offsets.
21999 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22000 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22001 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22002 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22003 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22004 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22005 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22006 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22007 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22008 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22009 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22010 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22011 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22012 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22013 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22014 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22015 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22016
9c008155
AM
220172013-10-04 Alan Modra <amodra@gmail.com>
22018
22019 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22020 64-bit int/double union.
22021 (_FPU_SETCW): Likewise.
22022 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22023 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22024
da13146d
AM
220252013-10-04 Alan Modra <amodra@gmail.com>
22026
22027 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22028 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22029
603e8410
AM
220302013-10-04 Alan Modra <amodra@gmail.com>
22031
22032 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22033 use vector int constants.
22034 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22035
4a28b3ca
AB
220362013-10-04 Anton Blanchard <anton@au1.ibm.com>
22037
22038 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22039 array with long long.
22040 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22041 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22042 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22043 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22044 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22045 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22046 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22047 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22048 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22049 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22050 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22051 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22052 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22053
2ca85d2b
AB
220542013-10-04 Anton Blanchard <anton@au1.ibm.com>
22055
22056 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22057 (__signbit): Likewise. Correct for little-endian.
22058 (__signbitl): Call __signbit.
22059 (lrint): Correct for little-endian.
22060 (lrintf): Call lrint.
22061
62a728ae
AM
220622013-10-04 Alan Modra <amodra@gmail.com>
22063
22064 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22065 union 32-bit int array member with 64-bit int array.
22066 (t515, tm256): Double rather than long double.
22067 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22068
32c301df
AM
220692013-10-04 Alan Modra <amodra@gmail.com>
22070
22071 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22072 Delete.
22073 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22074 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22075 version of math_ldbl.h.
22076
650ef4bd
AM
220772013-10-04 Alan Modra <amodra@gmail.com>
22078
22079 [BZ #15734], [BZ #15735]
22080 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22081 all uses of ieee875 long double macros and unions. Simplify test
22082 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22083 ldbl_extract_mantissa value for ix,iy exponents. Properly
22084 normalize after ldbl_extract_mantissa, and don't add hidden bit
22085 already handled. Don't treat low word of ieee854 mantissa like
22086 low word of IBM long double and mask off bit when testing for
22087 zero.
22088 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22089 all uses of ieee875 long double macros and unions. Simplify tests
22090 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22091 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22092 two1022, instead use their values. Recognise that tests for large
22093 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22094 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22095 Rewrite all uses of ieee875 long double macros and unions. Simplify
22096 test for 0.0L and nan. Correct negation.
22097 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22098 ieee875 long double macros and unions. Correct output for large
22099 magnitude x. Correct absolute value calculation.
22100 (__erfcl): Likewise.
22101 * math/libm-test.inc: Add tests for errors discovered in IBM long
22102 double versions of fmodl, remainderl, erfl and erfcl.
22103
765714ca
AM
221042013-10-04 Alan Modra <amodra@gmail.com>
22105
22106 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22107 all uses of ieee854 long double macros and unions. Simplify tests
22108 for long doubles that are fully specified by the high double.
22109 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22110 Likewise.
22111 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22112 Remove dead code too.
22113 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22114 (__ieee754_ynl): Likewise.
22115 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22116 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22117 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22118 Remove dead code too.
22119 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22120 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22121 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22122 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22123 Simplify.
22124 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22125 Simplify.
22126 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22127 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22128 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22129 Comment on variable precision.
22130 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22131 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22132 Likewise.
22133 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22134 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22135 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22136 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22137 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22138
4ebd120c
AM
221392013-10-04 Alan Modra <amodra@gmail.com>
22140
22141 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22142 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22143 all uses of ieee854 long double macros and unions.
22144 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22145 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22146 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22147 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22148 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22149 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22150 Likewise.
22151 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22152 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22153 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22154 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22155 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22156 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22157 Simplify sign and nan test too.
22158 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22159 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22160 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22161 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22162 Likewise.
22163 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22164 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22165 Likewise.
22166 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22167 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22168 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22169 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22170 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22172
1b6adf88
AM
221732013-10-04 Alan Modra <amodra@gmail.com>
22174
22175 * stdio-common/printf_size.c (__printf_size): Don't use
22176 union ieee854_long_double in fpnum union.
22177 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22178 signbit macro to retrieve sign from long double.
22179 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22180 retrieve sign from long double.
22181 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22182 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22183 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22184 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22185 * math/test-misc.c (main): Don't use union ieee854_long_double.
22186
4cf69995
AM
221872013-10-04 Alan Modra <amodra@gmail.com>
22188
22189 [BZ #15680]
22190 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22191 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22192 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22193 calculation. Remove unnecessary test for denormal exponent.
22194 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22195 Correct handling of denormals. Avoid undefined shift behaviour.
22196 Correct normalisation of low mantissa when low double is denormal.
22197 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22198 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22199 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22200 Correct normalisation of low mantissa. Test for overflow of high
22201 mantissa and normalise.
22202 (ldbl_nearbyint): Use more readable constant for two52.
22203 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22204 (__mpn_construct_long_double): Fix test for overflow of high
22205 mantissa and correct normalisation. Avoid undefined shift.
22206
9605ca6c
AM
222072013-10-04 Alan Modra <amodra@gmail.com>
22208
22209 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22210 (union ibm_extended_long_double): Define as an array of ieee754_double.
22211 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22212 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22213 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22214 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22215 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22216 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22217 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22218 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22219 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22220 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22221 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22222
975569d0
JM
222232013-10-03 Joseph Myers <joseph@codesourcery.com>
22224
d3d23756
JM
22225 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22226 page size instead of calling getpagesize.
22227
975569d0
JM
22228 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22229 (LOCFILE_ALIGN_MASK): Likewise.
22230 (LOCFILE_ALIGN_UP): Likewise.
22231 (LOCFILE_ALIGNED_P): Likewise.
22232 * locale/programs/ld-collate.c (collate_output): Use the new
22233 macros instead of __alignof__ (int32_t).
22234 * locale/weight.h (findidx): Likewise.
22235
b1fe1f2b
OB
222362013-10-03 Ondřej Bílka <neleai@seznam.cz>
22237
22238 [BZ #431]
22239 * manual/string.texi: Fix strncat and wcsncat.
22240
5f855e35
BM
222412013-10-03 Brooks Moses <bmoses@google.com>
22242
22243 [BZ #15915]
22244 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22245 * Makerules: ...here, and adjust associated comments.
22246
3cef6009
WN
222472013-10-02 Will Newton <will.newton@linaro.org>
22248
22249 * malloc/Makefile: Add tst-pvalloc.
22250 * malloc/tst-pvalloc.c: New file.
22251
7815420b
WN
222522013-10-02 Will Newton <will.newton@linaro.org>
22253
22254 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22255 improve test coverage.
22256
4868b204
WN
222572013-10-02 Will Newton <will.newton@linaro.org>
22258
22259 * malloc/Makefile: Add tst-posix_memalign.
22260 * malloc/tst-posix_memalign.c: New file.
22261
29c793b3
EB
222622013-10-01 Eric Blake <eblake@redhat.com>
22263
22264 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22265 Use __THROWNL rather than __THROW on static functions.
22266
fd967522
PM
222672013-09-30 Petr Machata <pmachata@redhat.com>
22268
22269 * elf/elf.h (R_AARCH64_ABS16): New macro.
22270 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22271 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22272 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22273 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22274 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22275 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22276 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22277 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22278 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22279 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22280 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22281 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22282 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22283 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22284 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22285 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22286 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22287 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22288 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22289 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22290 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22291 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22292 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22293 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22294 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22295 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22296 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22297 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22298 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22299 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22300 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22301 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22302 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22303 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22304 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22305 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22306 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22307 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22308 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22309 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22310 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22311 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22312 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22313 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22314 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22315 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22316 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22317 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22318 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22319 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22320 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22321 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22322 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22323 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22324 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22325 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22326 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22327 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22328 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22329 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22330 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22331 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22332 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22333 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22334 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22335 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22336 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22337 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22338 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22339 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22340 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22341 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22342 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22343 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22344 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22345 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22346 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22347 (R_AARCH64_TLSDESC_LDR): Likewise.
22348 (R_AARCH64_TLSDESC_ADD): Likewise.
22349 (R_AARCH64_TLSDESC_CALL): Likewise.
22350
b2179107
AS
223512013-09-30 Andreas Schwab <schwab@suse.de>
22352
22353 [BZ #15048]
22354 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22355 the nss database lookup.
22356 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22358
47f28d0a
MF
223592013-09-28 Mike Frysinger <vapier@gentoo.org>
22360
22361 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22362
223632013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
22364
22365 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22366 ${Bash-specific parameter/pattern/string} parameter expansion.
22367 * sysdeps/unix/make-syscalls.sh: Likewise.
22368
f4518a17
KK
223692013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22370
22371 * sysdeps/sh/stackguard-macros.h: New file.
22372
dc1a95c7
OB
223732013-09-26 Ondřej Bílka <neleai@seznam.cz>
22374
22375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22376 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22377 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22378 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22379 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22380 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22381
5ebbff8f
AZ
223822013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22383
22384 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22385 Fix thread ID register.
22386
4fd2cf9f
JM
223872013-09-25 Joseph Myers <joseph@codesourcery.com>
22388
22389 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22390 [POSIX || UNIX98]: Require rather than permitting all symbols from
22391 <time.h>.
22392 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22393 element of struct sched_param.
22394 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22395 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22396 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22397 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22398 constant.
22399
12c22bc4
OL
224002013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22401
22402 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22403 argument calculation.
22404
a03d8ea7
JM
224052013-09-24 Joseph Myers <joseph@codesourcery.com>
22406
22407 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22408 Expect macro.
22409 [POSIX] (pthread_attr_t): Do not require type.
22410 [POSIX] (pthread_cond_t): Likewise.
22411 [POSIX] (pthread_condattr_t): Likewise.
22412 [POSIX] (pthread_key_t): Likewise.
22413 [POSIX] (pthread_mutex_t): Likewise.
22414 [POSIX] (pthread_mutexattr_t): Likewise.
22415 [POSIX] (pthread_once_t): Likewise.
22416 [POSIX] (pthread_t): Likewise.
22417 [POSIX-based standards] (pthread_atfork): Expect function.
22418
6055173a
JM
224192013-09-24 Joseph Myers <joseph@codesourcery.com>
22420 Richard Sandiford <richard@codesourcery.com>
22421
22422 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22423 (swap_endianness_p): New extern variable.
22424 (set_big_endian): New inline function.
22425 (maybe_swap_uint32): Likewise.
22426 (maybe_swap_uint32_array): Likewise.
22427 (maybe_swap_uint32_obstack): Likewise.
22428 * locale/programs/locfile.c: Include <stdbool.h>.
22429 (swap_endianness_p): New variable.
22430 (add_locale_uint32): Call maybe_swap_uint32.
22431 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22432 (write_locale_data): Call maybe_swap_uint32_array.
22433 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22434 maybe_swap_uint32.
22435 (obstack_int32_grow_fast): Likewise.
22436 (output_weightwc): Call maybe_swap_uint32_obstack.
22437 (collate_output): Likewise.
22438 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22439 (OPT_LITTLE_ENDIAN): Likewise.
22440 (options): Add --little-endian and --big-endian options.
22441 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22442 * locale/programs/locarchive.c: Include "locfile.h".
22443 (GET): New macro.
22444 (SET): Likewise.
22445 (INC): Likewise.
22446 (create_archive): Use the new macros to access fields of
22447 structures directly mapped from or written to locale archives.
22448 (oldlocrecentcmp): Likewise.
22449 (enlarge_archive): Likewise.
22450 (insert_name): Likewise.
22451 (add_alias): Likewise.
22452 (add_locale): Likewise.
22453 (delete_locales_from_archive): Likewise.
22454 (show_archive_content): Likewise.
22455 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22456 locale data.
22457
39bf0bb4
RM
224582013-09-24 Roland McGrath <roland@hack.frob.com>
22459
22460 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22461 http://www.gnu.org/doc/freemanuals.texi.
22462 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22463
f02eed10
WN
224642013-09-24 Will Newton <will.newton@linaro.org>
22465
22466 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22467 macro.
22468
a3a6c312
JM
224692013-09-23 Joseph Myers <joseph@codesourcery.com>
22470
22471 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22472 unsigned char.
22473
107375ac
MR
224742013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22475
22476 * manual/threads.texi (POSIX Threads): Fix a typo.
22477
141f3a77
SP
224782013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22479
303e567a
SP
22480 [BZ #14547]
22481 * string/tst-strcoll-overflow.c: New test case.
22482 * string/Makefile (xtests): Add tst-strcoll-overflow.
22483 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22484 cache if string sizes may cause integer overflow.
22485
141f3a77
SP
22486 [BZ #14547]
22487 * string/strcoll_l.c (coll_seq): New members rule, idx,
22488 save_idx and back_us.
22489 (get_next_seq_nocache): New function.
22490 (do_compare_nocache): New function.
22491 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22492 when malloc fails.
22493
c61b4d41
CD
224942013-09-23 Carlos O'Donell <carlos@redhat.com>
22495
0b1f8e35
CD
22496 [BZ #15754]
22497 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22498 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22499 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22500
c61b4d41
CD
22501 [BZ #15754]
22502 * elf/Makefile (tests): Add tst-ptrguard1.
22503 (tests-static): Add tst-ptrguard1-static.
22504 (tst-ptrguard1-ARGS): Define.
22505 (tst-ptrguard1-static-ARGS): Define.
22506 * elf/tst-ptrguard1.c: New file.
22507 * elf/tst-ptrguard1-static.c: New file.
22508 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22509 * sysdeps/i386/stackguard-macros.h: Likewise.
22510 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22511 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22512 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22513 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22514 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22515 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22516
225172013-09-23 Hector Marco <hecmargi@upv.es>
22518 Ismael Ripoll <iripoll@disca.upv.es>
22519 Carlos O'Donell <carlos@redhat.com>
22520
22521 [BZ #15754]
22522 * sysdeps/generic/stackguard-macros.h: Define
22523 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22524 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22525 Define __pointer_chk_guard_local.
22526 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22527 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22528
f5f4e7b4
VV
225292013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22530
22531 [BZ #15859]
22532 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22533
5bb43a43
AS
225342013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22535
22536 * include/string.h (__ffs): Declare as hidden.
22537 * string/ffs.c (__ffs): Define as hidden.
22538 * sysdeps/i386/ffs.c (__ffs): Likewise.
22539 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22540 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22541 * sysdeps/s390/ffs.c (__ffs): Likewise.
22542 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22543
3ea5be54
AO
225442013-09-20 Alexandre Oliva <aoliva@redhat.com>
22545
ffb89e53
AO
22546 * NEWS: Mention malloc probes.
22547
322dea08
AO
22548 * malloc/arena.c (new_heap): New memory_heap_new probe.
22549 (grow_heap): New memory_heap_more probe.
22550 (shrink_heap): New memory_heap_less probe.
22551 (heap_trim): New memory_heap_free probe.
22552 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22553 (systrim): New memory_sbrk_less probe.
22554 * manual/probes.texi: Document them.
22555
655673f3
AO
22556 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22557 * manual/probes.texi: Document it.
22558
35fed6f1
AO
22559 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22560 (__libc_realloc): Add memory_realloc_retry probe.
22561 (__libc_memalign): Add memory_memalign_retry probe.
22562 (__libc_valloc): Add memory_valloc_retry probe.
22563 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22564 (__libc_calloc): Add memory_calloc_retry probe.
22565 * manual/probes.texi: Document them.
22566
6999d38c
AO
22567 * malloc/arena.c (get_free_list): Add probe
22568 memory_arena_reuse_free_list.
22569 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22570 and memory_arena_reuse.
22571 (arena_get2) [!PER_THREAD]: Likewise.
22572 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22573 memory_arena_reuse_realloc.
22574 * manual/probes.texi: Document them.
22575
0653427f
AO
22576 * malloc/malloc.c (__libc_free): Add
22577 memory_mallopt_free_dyn_thresholds probe.
22578 (__libc_mallopt): Add multiple memory_mallopt probes.
22579 * manual/probes.texi: Document them.
22580
3ea5be54
AO
22581 * malloc/malloc.c: Include stap-probe.h.
22582 (__libc_mallopt): Add memory_mallopt probe.
22583 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22584 * manual/probes.texi: New.
22585 * manual/Makefile (chapters): Add probes.
22586 * manual/threads.texi: Set next node.
22587
e35696c3 225882013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 22589
e35696c3
CL
22590 [BZ #15963, #13985]
22591 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22592 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22593 Add `Chinese' to `nan' entry name.
22594
4aafb73c
SP
225952013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22596
22597 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22598 (POLYNOMIAL): Likewise.
22599 (TAYLOR_SINCOS): Likewise.
22600 (TAYLOR_SLOW): Likewise.
22601 (__sin): Use TAYLOR_SINCOS.
22602 (__cos): Likewise.
22603 (slow): Use TAYLOR_SLOW.
22604 (sloww): Likewise.
22605 (bsloww): Likewise.
22606 (csloww): Likewise.
22607
d84f25c7
LD
226082013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22609
22610 * stdlib/strtod_l.c: Fix buffer overrun.
22611
5eea0404
SP
226122013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22613
7849ff93
SP
22614 * benchtests/Makefile (bench): Add sincos.
22615 * benchtests/bench-sincos.c: New file.
22616
cfa3c886
SP
22617 * math/libm-test.inc (cos_test_data): New test inputs.
22618 (sin_test_data): Likewise.
22619
b348e1e3
SP
22620 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22621 macro.
22622 (__sin): Use it.
22623 (__cos): Likewise.
22624 (slow1): Likewise.
22625 (slow2): Likewise.
22626 (sloww1): Likewise.
22627 (sloww2): Likewise.
22628 (bsloww1): Likewise.
22629 (bsloww2): Likewise.
22630 (cslow2): Likewise.
22631 (csloww1): Likewise.
22632 (csloww2): Likewise.
22633
6cce25f8
SP
22634 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22635 function.
22636 (__sin): Use it.
22637 (__cos): Likewise.
22638
5eea0404
SP
22639 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22640 gotos.
22641 (__cos): Likewise.
22642
9c21573c
MR
226432013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22644
22645 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22646 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22647 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22648 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22649 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22650 * elf/cache.c (print_entry): Handle the new cache flags.
22651
24d22e65
JM
226522013-09-18 Joseph Myers <joseph@codesourcery.com>
22653 Aldy Hernandez <aldyh@redhat.com>
22654
22655 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22656 Change condition to [_SOFT_FLOAT].
22657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22658 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22659 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22661 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22663 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22664 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22665 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22666 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22667 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22668 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22669 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22670 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22672 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22673 declaration.
22674
d13ef066
JM
226752013-09-18 Joseph Myers <joseph@codesourcery.com>
22676
2e071de0
JM
22677 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22678 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22679 (__longjmp): Use LOAD_GP to load saved GPRs.
22680 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22681 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22682 (__sigsetjmp): Use SAVE_GP to save GPRs.
22683
d13ef066
JM
22684 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22685 Do not append -msoft-float.
22686 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22687
97a0650b
SP
226882013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22689
22690 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22691
11ca09e9
JM
226922013-09-17 Joseph Myers <joseph@codesourcery.com>
22693
22694 [BZ #15966]
22695 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22696 (_FPU_GETCW): Use initial "__" on variable and field names but not
22697 on macro parameter name.
22698 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22699 parentheses around reference to macro parameter.
22700
08ffcf34
RS
227012013-09-13 Richard Sandiford <richard@codesourcery.com>
22702
22703 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22704 prototype.
22705 (ctype_startup): Use uint32_t in cast and sizeof for
22706 ctype->charnames.
22707
ae7080d3
JL
227082013-09-11 Jia Liu <proljc@gmail.com>
22709
22710 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22711 __daddr_t_defined.
22712 [__FreeBSD__]: Likewise.
22713
5905e7b3
OB
227142013-09-11 Ondřej Bílka <neleai@seznam.cz>
22715
22716 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22717 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22718 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22719 (strchr): Remove __strchr_sse42 ifunc selection.
22720 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22721 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22722
b987c776
WN
227232013-09-11 Will Newton <will.newton@linaro.org>
22724
22725 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22726 parameter to RES. Remove hardcoded 1000 value.
22727 * benchtests/bench-skeleton.c (main): Pass RES parameter
22728 to TIMING_INIT and multiply result by 1000.
22729
ddf985af
AZ
227302013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22731
22732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22733
ffdd3181
AS
227342013-09-11 Andreas Schwab <schwab@suse.de>
22735
22736 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22737 if not defined.
22738 (O_TMPFILE) [__USE_GNU]: Define.
22739 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22740 Define.
22741
b73ed247
WN
227422013-09-11 Will Newton <will.newton@linaro.org>
22743
22744 [BZ #15857]
22745 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22746 does not overflow.
22747
55e17aad
WN
227482013-09-11 Will Newton <will.newton@linaro.org>
22749
22750 [BZ #15856]
22751 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22752 does not overflow.
22753
1159a193
WN
227542013-09-11 Will Newton <will.newton@linaro.org>
22755
22756 [BZ #15855]
22757 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22758 does not overflow.
22759
5905e7b3 227602013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
22761
22762 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22763 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22764 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22765 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22766 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22767
cdfc721b
AM
227682013-09-10 Allan McRae <allan@archlinux.org>
22769
aa04af00
AM
22770 [BZ #15748]
22771 * manual/arith.texi (Parsing of Floats): Clarify
22772 cross-reference.
22773
cdfc721b
AM
22774 [BZ #15849]
22775 * manual/install.texi (Running make install): Mention
22776 --enable-pt-chown.
22777 * INSTALL: Regenerated.
22778
95e7cf29
MR
227792013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22780
22781 * csu/init-first.c (_init): Remove the !SHARED condition around
22782 FPU control word initialization.
22783 * elf/dl-support.c (_dl_fpu_control): New variable.
22784 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22785 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22786 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22787 * math/test-fpucw-static.c: New file.
22788 * math/test-fpucw-ieee.c: New file.
22789 * math/test-fpucw-ieee-static.c: New file.
22790 * math/Makefile (tests): Add `test-fpucw-ieee' and
22791 `$(tests-static)'.
22792 (tests-static): New variable.
22793 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22794 dependency to...
22795 [($(build-shared),yes)]
22796 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22797 ... this.
22798 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22799 New dependency.
22800
83e43bf0
AM
228012013-09-09 Allan McRae <allan@archlinux.org>
22802
a9f5ce09
AM
22803 [BZ #15939]
22804 * manual/string.texi (Collation Functions): Fix typo in
22805 strcoll example.
22806 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22807
34829bc2
AM
22808 [BZ #15893]
22809 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22810
3932737d
AM
22811 [BZ #15892]
22812 * libio/memstream.c (open_memstream): Fix memory leak.
22813 * libio/wmemstream.c (open_wmemstream): Likewise.
22814
83e43bf0
AM
22815 [BZ #15895]
22816 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22817
0c66b8e9
WN
228182013-09-09 Will Newton <will.newton@linaro.org>
22819
22820 * malloc/Makefile: Add tst-realloc to tests.
22821 * malloc/tst-realloc.c: New file.
22822
f6b00fd1
AM
228232013-09-09 Allan McRae <allan@archlinux.org>
22824
22825 [BZ #15844]
22826 * COPYING: Update from GNU website to fix FSF address.
22827 * COPYING.LIB: Likewise.
22828
eec55e16
DM
228292013-09-06 David S. Miller <davem@davemloft.net>
22830
22831 * po/zh_TW.po: Update Chinese (traditional) translation from
22832 translation project.
22833
1ecbb381
RS
228342013-09-06 Richard Sandiford <richard@codesourcery.com>
22835 Joseph Myers <joseph@codesourcery.com>
22836
22837 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22838 "localeinfo.h".
22839 (obstack_chunk_alloc): New macro.
22840 (obstack_chunk_free): Likewise.
22841 (record_offset): New function.
22842 (init_locale_data): Likewise.
22843 (align_locale_data): Likewise.
22844 (add_locale_empty): Likewise.
22845 (add_locale_raw_data): Likewise.
22846 (add_locale_raw_obstack): Likewise.
22847 (add_locale_string): Likewise.
22848 (add_locale_wstring): Likewise.
22849 (add_locale_uint32): Likewise.
22850 (add_locale_uint32_array): Likewise.
22851 (add_locale_char): Likewise.
22852 (start_locale_structure): Likewise.
22853 (end_locale_structure): Likewise.
22854 (start_locale_prelude): Likewise.
22855 (end_locale_prelude): Likewise.
22856 (write_locale_data): Take locale_file structure rather than an
22857 iovec.
22858 * locale/programs/locfile.h: Include "obstack.h".
22859 (struct locale_file): Change to store locale file contents instead
22860 of header.
22861 (init_locale_data): New prototype.
22862 (align_locale_data): Likewise.
22863 (add_locale_empty): Likewise.
22864 (add_locale_raw_data): Likewise.
22865 (add_locale_raw_obstack): Likewise.
22866 (add_locale_string): Likewise.
22867 (add_locale_wstring): Likewise.
22868 (add_locale_uint32): Likewise.
22869 (add_locale_uint32_array): Likewise.
22870 (add_locale_char): Likewise.
22871 (start_locale_structure): Likewise.
22872 (end_locale_structure): Likewise.
22873 (start_locale_prelude): Likewise.
22874 (end_locale_prelude): Likewise.
22875 (write_locale_data): Update prototype.
22876 * locale/programs/3level.h (struct TABLE): Remove result field.
22877 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22878 Use new locale_file interface.
22879 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22880 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22881 * locale/programs/ld-address.c (address_output): Use new
22882 locale_file interface.
22883 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22884 NO_ADD_LOCALE.
22885 (collate_finish): Don't call collseq_table_finalize.
22886 (collate_output): Use new locale_file interface.
22887 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22888 in file.
22889 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22890 (TABLE): Move defines earlier in file.
22891 (ELEMENT): Likewise.
22892 (DEFAULT): Likewise.
22893 (wctrans_table_add): Move macro and inline function earlier in
22894 file.
22895 (struct wctype_table): Move type earlier in file.
22896 (add_locale_wctype_table): New static prototype.
22897 (struct locale_ctype_t): Use logical types instead of struct iovec
22898 pointers for members.
22899 (ctype_output): Use new locale_file interface.
22900 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22901 new locale_file interface.
22902 (allocate_arrays): Update for use of new locale_file interface.
22903 * locale/programs/ld-identification.c (identification_output): Use
22904 new locale_file interface.
22905 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22906 * locale/programs/ld-messages.c (messages_output): Likewise.
22907 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22908 * locale/programs/ld-name.c (name_output): Likewise.
22909 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22910 * locale/programs/ld-paper.c (paper_output): Likewise.
22911 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22912 * locale/programs/ld-time.c (time_output): Likewise.
22913
e029e2e5
AZ
229142013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22915
22916 * benchtests/Makefile: Add memrchr benchmark.
22917 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22918 benchmark as memrchr.
22919 * benchtests/bench-memrchr-ifunc.c: New file.
22920 * benchtests/bench-memrchr.c: New file.
22921
bbf6e8e4
WN
229222013-09-06 Will Newton <will.newton@linaro.org>
22923
22924 * benchtests/Makefile (string-bench): Add memcpy.
22925
6c82a2f8
CD
229262013-09-05 Carlos O'Donell <carlos@redhat.com>
22927 Cong Wang <amwang@redhat.com>
22928
e732c5f0 22929 [BZ #15850]
6c82a2f8
CD
22930 * sysdeps/unix/sysv/linux/bits/in.h
22931 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22932 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22933 before __USE_KERNEL_IPV6_DEFS uses.
22934 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22935 IPPROTO_BEETPH.
22936 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22937 sockaddr_in6, or ipv6_mreq.
22938
5430fc65
AZ
229392013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22940
22941 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22942 memory access for final bytes in some large inputs.
22943 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22944
4660856c
AZ
229452013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22946
22947 * string/test-memrchr.c: New file.
22948 * string/test-memrchr-ifunc.c: New file.
22949 * string/Makefile: Add new memrchr testcase.
22950
bb8ea713
MF
229512013-09-05 Mike Frysinger <vapier@gentoo.org>
22952
22953 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22954 fanotify_init returns EPERM.
22955
b92a20b5
JM
229562013-09-04 Joseph Myers <joseph@codesourcery.com>
22957
22958 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22959 errors.
22960 (top level): Treat second token from macro or constant entries for
22961 allowed headers as allowed.
22962 * include/complex.h: Condition internal declarations on
22963 [!_ISOMAC].
22964 * include/fenv.h: Condition include of <stdbool.h> and internal
22965 declarations on [!_ISOMAC].
7447ccd9
CL
22966
229672013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22968
3e181dda 22969 [BZ #15923]
7447ccd9
CL
22970 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22971
3f2e46a4
JM
229722013-09-04 Joseph Myers <joseph@codesourcery.com>
22973
22974 * configure.in (--enable-versioning): Remove configure option.
22975 (libc_cv_asm_symver_directive): Remove configure test.
22976 (libc_cv_ld_version_script_option): Likewise.
22977 (VERSIONING): Remove variable and AC_SUBST.
22978 (DO_VERSIONING): Remove AC_DEFINE.
22979 * configure: Regenerated.
22980 * config.h.in (DO_VERSIONING): Remove macro.
22981 * Makerules [$(versioning) = yes]: Change conditionals to
22982 [$(build-shared) = yes].
22983 * config.make.in (versioning): Remove variable.
22984 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22985 [$(build-shared) = yes].
22986 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22987 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22988 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22989 [$(build-shared) = yes].
22990 * extra-lib.mk [$(versioning) = yes]: Likewise.
22991 * hurd/Makefile [$(versioning) = yes]: Likewise.
22992 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22993 [SHARED].
22994 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22995 [SHARED].
22996 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22997 [SHARED && !NO_HIDDEN].
22998 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22999 [SHARED].
23000 [SHARED && DO_VERSIONING]: Likewise..
23001 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23002 [$(build-shared) = yes].
23003 * manual/install.texi (--disable-versioning): Remove
23004 documentation.
23005 * INSTALL: Regenerated.
23006 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23007 to [SHARED].
23008 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23009 [$(build-shared) = yes].
23010 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23011 * sysdeps/i386/i686/multiarch/strstr-c.c
23012 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23013 [SHARED && !NO_HIDDEN].
23014 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23015 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23016 * sysdeps/powerpc/powerpc32/dl-machine.c
23017 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23018 * sysdeps/powerpc/powerpc32/sysdep.h
23019 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23020 to [SHARED && PIC && !NO_HIDDEN].
23021 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23022 conditional to [SHARED].
23023
44558701
WN
230242013-09-04 Will Newton <will.newton@linaro.org>
23025
23026 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23027 * benchtests/bench-string.h: Include bench-timing.h instead
23028 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23029 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23030 call to HP_TIMING_DIFF_INIT.
23031 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23032 instead of hp-timing.h macros.
23033 * benchtests/bench-memchr.c: Likewise.
23034 * benchtests/bench-memcmp.c: Likewise.
23035 * benchtests/bench-memcpy.c: Likewise.
23036 * benchtests/bench-memmem.c: Likewise.
23037 * benchtests/bench-memmove.c: Likewise.
23038 * benchtests/bench-memset.c: Likewise.
23039 * benchtests/bench-rawmemchr.c: Likewise.
23040 * benchtests/bench-strcasecmp.c: Likewise.
23041 * benchtests/bench-strcasestr.c: Likewise.
23042 * benchtests/bench-strcat.c: Likewise.
23043 * benchtests/bench-strchr.c: Likewise.
23044 * benchtests/bench-strcmp.c: Likewise.
23045 * benchtests/bench-strcpy.c: Likewise.
23046 * benchtests/bench-strcpy_chk.c: Likewise.
23047 * benchtests/bench-strlen.c: Likewise.
23048 * benchtests/bench-strncasecmp.c: Likewise.
23049 * benchtests/bench-strncat.c: Likewise.
23050 * benchtests/bench-strncmp.c: Likewise.
23051 * benchtests/bench-strncpy.c: Likewise.
23052 * benchtests/bench-strnlen.c: Likewise.
23053 * benchtests/bench-strpbrk.c: Likewise.
23054 * benchtests/bench-strrchr.c: Likewise.
23055 * benchtests/bench-strspn.c: Likewise.
23056 * benchtests/bench-strstr.c: Likewise.
23057
cae16d66
WN
230582013-09-04 Will Newton <will.newton@linaro.org>
23059
23060 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23061
ffa3cd7f
JM
230622013-09-03 Joseph Myers <joseph@codesourcery.com>
23063
23064 [BZ #15427]
23065 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23066 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23067 * math/libm-test.inc (lgamma_test_data): Add more tests.
23068 * sysdeps/i386/fpu/libm-test-ulps: Update.
23069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23070
8f02859f
OB
230712013-09-03 Ondřej Bílka <neleai@seznam.cz>
23072
23073 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23074 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23075 Add ifunc.
23076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23077 Add strcmp-sse2-unaligned
23078 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23079
18d43716
MF
230802013-09-02 Mike Frysinger <vapier@gentoo.org>
23081
23082 * Versions.def (libc): Add GLIBC_2.19.
23083
ac444012
MF
230842013-09-02 Mike Frysinger <vapier@gentoo.org>
23085
23086 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23087 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23088
b7835e32
JM
230892013-09-02 Joseph Myers <joseph@codesourcery.com>
23090
23091 [BZ #14155]
23092 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23093 intermediate calculations in recurrence.
23094 (__ieee754_ynf): Likewise.
23095 * math/libm-test.inc (jn_test_data): Do not allow spurious
23096 underflow exception. Add more tests.
23097 (yn_test_data): Add more tests.
23098 * sysdeps/i386/fpu/libm-test-ulps: Update.
23099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23100
8220f4f0
OB
231012013-09-02 Ondřej Bílka <neleai@seznam.cz>
23102
23103 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23104
f24a6d08
OB
231052013-08-30 Ondřej Bílka <neleai@seznam.cz>
23106
23107 * csu/init-first.c: Fix then/than typos.
23108 * locale/programs/ld-collate.c: Likewise.
23109 * locale/programs/linereader.h: Likewise.
23110 * manual/charset.texi: Likewise.
23111 * manual/filesys.texi: Likewise.
23112 * manual/stdio.texi: Likewise.
23113 * manual/string.texi: Likewise.
23114 * stdlib/fmtmsg.c: Likewise.
23115 * sysdeps/i386/stpncpy.S: Likewise.
23116 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23117 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23118 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23119 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23120
382466e0
OB
231212013-08-30 Ondřej Bílka <neleai@seznam.cz>
23122
23123 * elf/dl-open.c: Fix typos.
23124 * iconvdata/gbbig5.c: Likewise.
23125 * iconvdata/iso-2022-jp.c: Likewise.
23126 * iconv/gconv_int.h: Likewise.
23127 * iconv/loop.c: Likewise.
23128 * nis/rpcsvc/nis.h: Likewise.
23129 * resolv/ns_name.c: Likewise.
23130 * stdio-common/vfscanf.c: Likewise.
23131 * streams/stropts.h: Likewise.
23132 * sunrpc/rpc_thread.c: Likewise.
23133 * sysdeps/i386/strpbrk.S: Likewise.
23134 * sysdeps/ieee754/k_standard.c: Likewise.
23135 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23136 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23137 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23138 * sysdeps/mach/hurd/profil.c: Likewise.
23139 * sysdeps/s390/dl-procinfo.h: Likewise.
23140 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23141 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23142 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23143 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23144 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23145
0186c6e9
OB
231462013-08-30 Ondřej Bílka <neleai@seznam.cz>
23147
23148 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23149 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23150
d4e16af1
OB
231512013-08-29 Ondřej Bílka <neleai@seznam.cz>
23152
23153 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23154 aix specific files.
23155 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23156 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23157 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23158 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23159 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23160 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23161 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23162 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23163
88335980
TS
231642013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23165 Roland McGrath <roland@hack.frob.com>
23166
23167 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23168 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23169
ed479b02
ST
231702013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23171
23172 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23173 __executable_start symbol instead of _start.
23174
f1cc4c86
TS
231752013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23176
d821f07c
TS
23177 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23178 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23179 Move macros to...
23180 * sysdeps/gnu/ldsodefs.h: ... this new file.
23181
c54290cf
TS
23182 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23183 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23184 instead of ELFOSABI_LINUX.
23185
0007fc9b 23186 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
23187 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23188 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23189 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23190 Likewise.
23191 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23192 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23193 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23194 Likewise.
23195 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23196 (ibm_extended_long_double): Add ieee_nan member.
23197 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23198 (do_test): New function.
23199
f1cc4c86
TS
23200 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23201 TEST_TRUNC.
23202 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23203 functions, renamed from truncdfsf_test, trunctfsf_test,
23204 trunctfdf_test.
23205 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23206 functions.
23207 (do_test): Run all these.
23208
6f65e668
OB
232092013-08-29 Ondřej Bílka <neleai@seznam.cz>
23210
23211 * argp/argp-help.c: Fix typos.
23212 * argp/argp-parse.c: Likewise.
23213 * debug/backtracesyms.c: Likewise.
23214 * elf/elf.h: Likewise.
23215 * malloc/malloc.c: Likewise.
23216 * nis/nis_print.c: Likewise.
23217 * resolv/res_comp.c: Likewise.
23218 * stdlib/stdlib.h: Likewise.
23219 * sunrpc/clnt_tcp.c: Likewise.
23220 * sunrpc/clnt_udp.c: Likewise.
23221 * sunrpc/clnt_unix.c: Likewise.
23222 * sysdeps/unix/bsd/ptsname.c: Likewise.
23223 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23224 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
23225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23226 Likewise.
23227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23228 Likewise.
23229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23230 Likewise.
6f65e668
OB
23231 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23232
3a309239
SP
232332013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23234
23235 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23237
3b813b29
MF
232382013-08-27 Mike Frysinger <vapier@gentoo.org>
23239
23240 [BZ #15897]
23241 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23242 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23243 ($(objpfx)bug-dl-leaf): New rule.
23244 ($(objpfx)bug-dl-leaf.so): Likewise.
23245 ($(objpfx)bug-dl-leaf.out): Likewise.
23246 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23247 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23248 * dlfcn/bug-dl-leaf.c: New test.
23249 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23250 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23251 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23252 (dlclose): Likewise.
23253 (dlmopen): Likewise.
23254
8cc3269f
RM
232552013-08-27 Roland McGrath <roland@hack.frob.com>
23256
7f9d0034
RM
23257 * include/netdb.h [!_ISOMAC]:
23258 Don't include <tls.h>.
23259 (h_errno, __libc_h_errno): Move declaration and macros out of
23260 [_LIBC_REENTRANT].
23261
fb431262
RM
23262 * include/resolv.h [_RESOLV_H_]:
23263 Don't include <tls.h>.
23264 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23265 * resolv/res_libc.c: Don't include <tls.h>.
23266 (_res): Use __attribute__ ((nocommon)) in place of
23267 __attribute__ ((section (".bss"))).
23268
bd81123a
RM
23269 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23270 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23271
c4e42566
RM
23272 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23273
f890a59b
RM
23274 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23275 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23276
23277 * resolv/res_mkquery.c: Include <sys/time.h>.
23278
5d1f0a09
RM
23279 * inet/ifreq.c: Moved to ...
23280 * sysdeps/unix/ifreq.c: ... here.
23281 * inet/ifreq.c: New file, true stub version.
23282
6fcf28b3
RM
23283 * socket/sa_len.c: New file.
23284 * socket/Makefile (aux): Add it.
23285 * sysdeps/unix/sysv/linux/Makefile
23286 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23287 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23288 and #include <socket/sa_len.c>.
23289 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23290 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23291
e041fb8b
RM
23292 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23293 * bits/socket.h: ... here.
23294
8cc3269f
RM
23295 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23296 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23297 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23298
5d228a43
AS
232992013-08-27 Andreas Schwab <schwab@suse.de>
23300
45b8accc
AS
23301 [BZ #15736]
23302 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23303 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23304 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23305 * string/test-strcasecmp.c (test_main): Run tests in several
23306 locales.
23307 * string/test-strncasecmp.c (test_main): Likewise.
23308
5d228a43
AS
23309 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23310 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23311 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23312 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23313 (__strncasecmp_ssse3) [PIC]: Likewise.
23314
59d112a4
RM
233152013-08-26 Roland McGrath <roland@hack.frob.com>
23316
53234cc3
RM
23317 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23318
59d112a4
RM
23319 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23320 instead of explicitly declaring xdecrypt.
23321 * nis/nss_nis/nis-publickey.c: Likewise.
23322
595aba70
SP
233232013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23324
23325 [BZ #15890]
23326 * nscd/aicache.c: Include res_hconf.h.
23327 (addhstaiX): Initialize res_hconf.
23328
ffabd393
AS
233292013-08-26 Andreas Schwab <schwab@suse.de>
23330
23331 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23332 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23333
e0a69f5c
SP
233342013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23335
23336 * nscd/aicache.c (addhstaiX): Fix indentation.
23337
8c12f01d
MF
233382013-08-25 Mike Frysinger <vapier@gentoo.org>
23339
23340 * configure.ac: Quote $build_pt_chown test.
23341 * configure: Regenerated.
23342
8fe89494
JM
233432013-08-23 Joseph Myers <joseph@codesourcery.com>
23344
23345 [BZ #15532]
23346 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23347 * math/s_cexpf.c (__cexpf): Likewise.
23348 * math/s_cexpl.c (__cexpl): Likewise.
23349 * math/libm-test.inc (cexp_test_data): Correct expected return
23350 value for NaN + i0. Add another test.
23351
75b181d6
DM
233522013-08-22 David S. Miller <davem@davemloft.net>
23353
23354 * po/ca.po: Update Catalan translation from translation project.
936241e4 23355 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 23356
acd06bb1
JM
233572013-08-21 Joseph Myers <joseph@codesourcery.com>
23358
23359 [BZ #15797]
23360 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23361 is infinite, not alongside NaN test.
23362 * math/s_fdimf.c (__fdimf): Likewise.
23363 * math/s_fdiml.c (__fdiml): Likewise.
23364 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23365 errno is unchanged.
23366
c0c3f78a
OB
233672013-08-21 Ondřej Bílka <neleai@seznam.cz>
23368
23369 * argp/argp-help.c: Fix typos.
23370 * crypt/speeds.c: Likewise.
23371 * csu/check_fds.c: Likewise.
23372 * elf/dl-load.c: Likewise.
23373 * elf/dl-open.c: Likewise.
23374 * elf/reldep3.c: Likewise.
23375 * elf/reldep.c: Likewise.
23376 * elf/sprof.c: Likewise.
23377 * iconv/iconv_charmap.c: Likewise.
23378 * iconv/skeleton.c: Likewise.
23379 * iconv/strtab.c: Likewise.
23380 * io/lockf64.c: Likewise.
23381 * libio/libioP.h: Likewise.
23382 * resolv/gai_notify.c: Likewise.
23383 * resolv/ns_name.c: Likewise.
23384 * resolv/ns_samedomain.c: Likewise.
23385 * resolv/res_send.c: Likewise.
23386 * stdlib/random.c: Likewise.
23387 * sunrpc/rpc/xdr.h: Likewise.
23388 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23389 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23390 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23391 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23392 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23393 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23394 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23395 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23396 * sysdeps/mach/hurd/check_fds.c: Likewise.
23397 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23398 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23399 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23400 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23401 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23402 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23403 * sysdeps/pthread/aio_notify.c: Likewise.
23404 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23405 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23406 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23407 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23408 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23409
46ed1038
LD
234102013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23411
23412 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23413 version if bit_Slow_SSE4_2 is set.
23414 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23415 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23416
d400dcac
AZ
234172013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23418
23419 [BZ #15867]
23420 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23421 trampoline stack frame information.
23422 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23423 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23424 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23425 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23426 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23427 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23428 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23429 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23430 sa_flags value.
23431 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23432 interrupting a syscall and set with option SA_SIGINFO.
23433
42c8fdd8
JM
234342013-08-20 Joseph Myers <joseph@codesourcery.com>
23435
c980f2f4
JM
23436 [BZ #15531]
23437 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23438 argument is infinite.
23439 * math/s_cprojf.c (__cprojf): Likewise.
23440 * math/s_cprojl.c (__cprojl): Likewise.
23441 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23442 * math/libm-test.inc (cproj_test_data): Add more tests.
23443
0716c4fc
JM
23444 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23445
42c8fdd8
JM
23446 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23447 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23448 size. Use __ffs to determine corresponding shift.
23449
b31469d0
JM
234502013-08-20 Joseph Myers <joseph@codesourcery.com>
23451 Roland McGrath <roland@hack.frob.com>
23452
23453 * Makefile (INSTALL): Remove trailing blank lines from output of
23454 makeinfo.
23455
4e39af6e
AK
234562013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23457
23458 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23459 Align 32 bit compat elf_greg to 8 bytes.
23460
f315524e
AA
234612013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23462
23463 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23464
1326ba1a
SP
234652013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23466
23467 * string/strcoll_l.c (coll_seq): New structure.
23468 (get_next_seq_cached): New function.
23469 (get_next_seq): New function.
23470 (do_compare): New function.
23471 (STRCOLL): Use GNU style definition. Simplify implementation
23472 by using get_next_seq, get_next_seq_cached and do_compare.
23473
91ce4085
FW
234742013-08-16 Florian Weimer <fweimer@redhat.com>
23475
23476 [BZ #14699]
23477 CVE-2013-4237
23478 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23479 member.
23480 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23481 member.
23482 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23483 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23484 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23485 conditional.
23486 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23487 GETDENTS_64BIT_ALIGNED.
23488 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23489 * manual/filesys.texi (Reading/Closing Directory): Document
23490 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23491 strongly.
23492 * manual/conf.texi (Limits for Files): Add portability note to
23493 NAME_MAX, PATH_MAX.
23494 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23495
ca0a6bc4
AS
234962013-08-13 Andreas Schwab <schwab@suse.de>
23497
23498 [BZ #15749]
23499 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23500 of fabs.
23501 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23502 LDBL_MAX_EXP >= 16384]: Add tests for it.
23503
6c1fd795
DM
235042013-08-12 David S. Miller <davem@davemloft.net>
23505
23506 * version.h (RELEASE): Set to "development".
23507 (VERSION): Set to "2.18.90".
23508 * NEWS: Add 2.19 section.
23509
31ad488d
DM
235102013-08-03 David S. Miller <davem@davemloft.net>
23511
23512 * po/ko.po: Update Korean translation from translation project.
23513
db24e684
DM
235142013-08-01 David S. Miller <davem@davemloft.net>
23515
23516 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23517 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23518 Bilka.
23519
f723285b
DM
235202013-07-30 David S. Miller <davem@davemloft.net>
23521
23522 * po/fr.po: Update French translation from translation project.
23523
3cbc52db
DM
235242013-07-28 David S. Miller <davem@davemloft.net>
23525
30bbc0cc
DM
23526 * po/cs.po: Update Czech translation from translation project.
23527
3cbc52db
DM
23528 * po/sv.po: Update Swedish translation from translation project.
23529
d492e6d0
DM
235302013-07-27 David S. Miller <davem@davemloft.net>
23531
f1a7f492
DM
23532 * po/eo.po: Update Esperanto translation from translation project.
23533
90e62a4a
DM
23534 * po/vi.po: Update Vietnamese translation from translation project.
23535
d492e6d0
DM
23536 * po/de.po: Update German translation from translation project.
23537
d4baa62d
DM
235382013-07-26 David S. Miller <davem@davemloft.net>
23539
641aa7b4
DM
23540 * po/bg.po: Update Bulgarian translation from translation project.
23541
d4baa62d
DM
23542 * po/nl.po: Update Dutch translation from translation project.
23543 * po/pl.po: Update Polish translation from translation project.
23544 * po/ru.po: Update Russian translation from translation project.
23545
61a9dcb9
DM
235462013-07-24 David S. Miller <davem@davemloft.net>
23547
23548 * po/libc.pot: Update.
23549
7b1f8b58
AZ
235502013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23551
23552 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23553 variable page size.
23554 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23555 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23556 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23557
a8fc7a03
AK
235582013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23559
23560 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23561
e4608715
CD
235622013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23563 Andreas Schwab <schwab@suse.de>
23564 Roland McGrath <roland@hack.frob.com>
23565 Joseph Myers <joseph@codesourcery.com>
23566 Carlos O'Donell <carlos@redhat.com>
23567
23568 [BZ #15755]
23569 * config.h.in: Define HAVE_PT_CHOWN.
23570 * config.make.in (build-pt-chown): New variable.
23571 * configure.in (--enable-pt_chown): New configure option.
23572 * configure: Regenerate.
23573 * login/Makefile: Include Makeconfig. Build pt_chown only if
23574 build-pt-chown is enabled.
23575 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23576 pt_chown to fix pty ownership.
23577 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23578 CLOSE_ALL_FDS.
23579 * manual/install.texi (Configuring and compiling): Mention
23580 --enable-pt_chown. Add @findex for grantpt.
23581 * INSTALL: Regenerate.
23582
da2d62df
DM
235832013-07-20 David S. Miller <davem@davemloft.net>
23584
23585 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23586 difference between 32-bit and 64-bit.
23587
d7e06450
CD
235882013-07-15 Carlos O'Donell <carlos@redhat.com>
23589
23590 [BZ #15711]
23591 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23592 Avoid system header dependency with -ffreestanding.
23593 ($(objpfx)bits/syscall%d): Likewise.
23594
f959cfd7
DM
235952013-07-13 David S. Miller <davem@davemloft.net>
23596
23597 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23598 underflows from atanl/atan2l due to bug 15319.
23599 (casinh_test_data): Likewise.
23600
c61f8513
DM
236012013-07-07 David S. Miller <davem@davemloft.net>
23602
23603 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23604
72c90ed0
JA
236052013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23606
23607 * sysdeps/i386/fpu/libm-test-ulps: Update.
23608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23609
52dfbe13
SP
236102013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23611
23612 * configure.in (--enable-lock-elision): Fix message text.
23613 * INSTALL: Regenerate.
23614 * configure: Regenerate.
23615
3f169543
AZ
236162013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23617
23618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23619
521c6785
AJ
236202013-07-03 Andreas Jaeger <aj@suse.de>
23621
23622 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23623 define.
23624 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23625 (ptrace_peeksiginfo_args): Add.
23626 (__ptrace_peeksiginfo_flags): Add.
23627 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23628 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23629 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23630
d2cc15cb
AM
236312013-07-03 Allan McRae <allan@archlinux.org>
23632
23633 * sysdeps/i386/fpu/libm-test-ulps: Update.
23634
3aaeeca7
DM
236352013-07-02 David S. Miller <davem@davemloft.net>
23636
23637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23638
5314ed1a
MT
236392013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23640
23641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23642
67338156
JM
236432013-07-02 Joseph Myers <joseph@codesourcery.com>
23644
23645 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23647
1717da59
AK
236482013-07-02 Andi Kleen <ak@linux.intel.com>
23649
23650 * config.h.in (ENABLE_LOCK_ELISION): Add.
23651 * configure.in (--enable-lock-elision): Add option.
23652 * manual/install.texi: Document --enable lock elision.
23653 * configure: Regenerate
23654 * INSTALL: Regenerate.
23655
1c81621c
L
236562013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23657
23658 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23659 SSE4.2 strcasecmp for libc.a.
23660 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23661
77f01ab5
JM
236622013-07-02 Joseph Myers <joseph@codesourcery.com>
23663
23664 [BZ #13304]
23665 * soft-fp/op-common.h (_FP_FMA): New macro.
23666 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23667 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23668 (_FP_MUL_MEAT_1_imm): ... here.
23669 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23670 (_FP_MUL_MEAT_1_wide): ... here.
23671 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23672 (_FP_MUL_MEAT_1_hard): ... here.
23673 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23674 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23675 (_FP_MUL_MEAT_2_wide): ... here.
23676 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23677 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23678 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23679 (_FP_MUL_MEAT_2_gmp): ... here.
23680 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23681 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23682 (_FP_MUL_MEAT_4_wide): ... here.
23683 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23684 (_FP_MUL_MEAT_4_gmp): ... here.
23685 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23686 (_FP_WFRACBITS_DW_S): Likewise.
23687 (_FP_WFRACXBITS_DW_S): Likewise.
23688 (_FP_HIGHBIT_DW_S): Likewise.
23689 (FP_FMA_S): Likewise.
23690 (_FP_FRAC_HIGH_DW_S): Likewise.
23691 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23692 (_FP_WFRACBITS_DW_D): Likewise.
23693 (_FP_WFRACXBITS_DW_D): Likewise.
23694 (_FP_HIGHBIT_DW_D): Likewise.
23695 (FP_FMA_D): Likewise.
23696 (_FP_FRAC_HIGH_DW_D): Likewise.
23697 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23698 (_FP_WFRACBITS_DW_E): Likewise.
23699 (_FP_WFRACXBITS_DW_E): Likewise.
23700 (_FP_HIGHBIT_DW_E): Likewise.
23701 (FP_FMA_E): Likewise.
23702 (_FP_FRAC_HIGH_DW_E): Likewise.
23703 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23704 (_FP_WFRACBITS_DW_Q): Likewise.
23705 (_FP_WFRACXBITS_DW_Q): Likewise.
23706 (_FP_HIGHBIT_DW_Q): Likewise.
23707 (FP_FMA_Q): Likewise.
23708 (_FP_FRAC_HIGH_DW_Q): Likewise.
23709 * soft-fp/fmasf4.c: New file.
23710 * soft-fp/fmadf4.c: Likewise.
23711 * soft-fp/fmatf4.c: Likewise.
23712
6308fd9a
LD
237132013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23714
23715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23716 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23717 Silvermont.
23718 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23719 macro.
23720 (index_Slow_SSE4_2): Likewise.
23721 (index_Prefer_PMINUB_for_stringop): Likewise.
23722 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23723 bit_Slow_SSE4_2 is set.
23724 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23725 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23726
89cd9569
RA
237272013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23728
23729 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23730 rtld_global._dl_hwcap2.
23731 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23732 POWER8.
23733 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23734 POWER8 feature descriptions defined in _dl_hwcap2.
23735 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23736 string handling for POWER8 feature bits.
23737 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23738 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23739 _dl_powerpc_cap_flags.
23740 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23741 * sysdeps/powerpc/rtld-global-offsets.sym
23742 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23743 _dl_hwcap2 in the rtld_global_ro structure.
23744
1ae8bfe0
RA
237452013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23746
23747 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23748 hardware capabilities in support of AT_HWCAP2.
23749 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23750 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23751 GLRO(dl_hwcap2).
23752 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23753 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23754 explicitly the unknown a_type display mechanism is used.
23755 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23756 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23757 struct member.
23758 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23759 to macro prototype for AT_HWCAP2 support.
23760 * sysdeps/i386/dl-procinfo.h: Likewise.
23761 * sysdeps/s390/dl-procinfo.h: Likewise.
23762 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23763 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23764 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23765 return -1 for unknown a_type display fallback.
23766 * sysdeps/sparc/dl-procinfo.h: Likewise.
23767 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23768 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23769
8fbec010
JM
237702013-06-28 Joseph Myers <joseph@codesourcery.com>
23771
23772 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23773 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23774
0432680e
PY
237752013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23776
23777 [BZ #12492]
23778 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23779 mprotect making __stack_prot writable.
23780
ce61a2ad
NF
237812013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23782 Joseph Myers <joseph@codesourcery.com>
23783
23784 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23785 as being properly aligned.
23786
f91f1c0f
MR
237872013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23788
3d0f5d0c
MR
23789 * dlfcn/modstatic5.c: New file.
23790 * dlfcn/tststatic5.c: New file.
23791 * dlfcn/Makefile (tests): Add tststatic5.
23792 (tests-static): Likewise.
23793 (modules-names): Add modstatic5.
23794 (tststatic5-ENV): New variable.
23795 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23796
f91f1c0f
MR
23797 [BZ #15022]
23798 * elf/dl-support.c (_dl_main_map): New variable.
23799 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23800 (_dl_nns, _dl_load_adds): Set to 1.
23801 (_dl_initial_searchlist): Refer to _dl_main_map.
23802 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23803 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23804 call to _dl_get_origin.
23805 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23806 around call_map.
23807 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23808 * dlfcn/modstatic3.c: New file.
23809 * dlfcn/tststatic3.c: New file.
23810 * dlfcn/tststatic4.c: New file.
23811 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23812 (tests-static): Likewise.
23813 (modules-names): Add modstatic3.
23814 (tststatic3-ENV, tststatic4-ENV): New variables.
23815 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23816 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23817
cbe7d24b
JM
238182013-06-26 Joseph Myers <joseph@codesourcery.com>
23819
23820 * configure.in (CC): Require GCC version 4.4 or later.
23821 * configure: Regenerated.
23822 * manual/install.texi (Tools for Compilation): Update GCC version
23823 requirement.
23824 * INSTALL: Regenerated.
23825
11b8a0e1
LD
238262013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23827
23828 [BZ #15674]
bb5bb87c
L
23829 * string/test-memcmp.c (check2): New.
23830 (main): Call check2.
23831
11b8a0e1
LD
23832 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23833
b0037103
MR
238342013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23835
23836 [BZ #15022]
23837 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23838 over to...
23839 (dl_open_worker) [!SHARED]: ... here.
23840
c18c701d
RA
238412013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23842
23843 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23844
1d17fa5f
RH
238452013-06-25 Richard Henderson <rth@redhat.com>
23846
23847 * locale/programs/locarchive.c: Include <libc-internal.h>
23848
8fcb833a
JM
238492013-06-25 Joseph Myers <joseph@codesourcery.com>
23850
23851 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23852 trailing whitespace removed.
23853
17db6e8d
MF
238542013-06-24 Mike Frysinger <vapier@gentoo.org>
23855
23856 [BZ #10283]
17db6e8d
MF
23857 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23858 * locale/programs/locarchive.c: Include libc-mmap.h.
23859 (prepare_address_space): Take two new outputs (the mmap base and len).
23860 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23861 values.
23862 (create_archive): Declare new mmap base and len values for
23863 prepare_address_space, and store the result in ah.
23864 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23865 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23866 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23867 Declare new mmap base and len values for
23868 prepare_address_space, and store the result in new_ah.
23869 (open_archive): Declare new mmap base and len values for
23870 prepare_address_space, and store the result in ah.
23871 (close_archive): If ah->mmap_base is not NULL, use that and
23872 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23873 * sysdeps/generic/libc-mmap.h: New file.
23874
d605071e
MF
238752013-06-24 Mike Frysinger <vapier@gentoo.org>
23876
23877 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23878 (ALIGN_UP): Likewise.
23879 (PTR_ALIGN_DOWN): Likewise.
23880 (PTR_ALIGN_UP): Likewise.
23881
2f063a6e
RA
238822013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23883
23884 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23885 entry mapped to PPC_PLATFORM_POWER8.
23886 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23887 POWER8.
23888 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23889 (_dl_string_platform): Add case for exporting platform position for
23890 POWER8.
23891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23892 search path to sysdeps/powerpc/powerpc32/power8 directory.
23893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23894 search path to sysdeps/powerpc/powerpc64/power8 directory.
23895 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23896 power7 directories.
23897 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23898 power7 directories.
23899
a31ee4b3
SP
239002013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23901
a74ca98f
SP
23902 * INSTALL: Regenerate.
23903
a31ee4b3
SP
23904 * nscd/connections.c (nscd_init): Fix comment.
23905
695c378f
JM
239062013-06-22 Joseph Myers <joseph@codesourcery.com>
23907
d8412221
JM
23908 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23909
695c378f
JM
23910 [BZ #15667]
23911 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23912 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23913
d1d54715
MR
239142013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23915
23916 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23917 DL_DST_REQ_STATIC.
23918 (DL_DST_REQ_STATIC): Remove macro.
23919
8fdda7af
JM
239202013-06-21 Joseph Myers <joseph@codesourcery.com>
23921
23922 [BZ #7006]
23923 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23924 with a shift of 0 bits.
23925
f3bc5e5a
MR
239262013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23927
23928 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23929 $(tststatic-ENV).
23930
be09e8c9
KK
239312013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23932
23933 [BZ #15655]
23934 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23935
85c2e611
AZ
239362013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23937
23938 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23939 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23940 accepts -fno-tree-loop-distribute-patterns.
23941 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23942 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23943 recursive call.
23944 * string/memset.c (memset): Likewise.
23945 * string/test-memmove.c (simple_memmove): Disable loop transformation
23946 to library calls.
23947 * string/test-memset.c (simple_memset): Likewise.
23948 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23949 * benchtests/bench-memset.c (simple_memset): Likewise.
23950 * configure: Regenerated.
23951
c91e0825
JM
239522013-06-20 Joseph Myers <joseph@codesourcery.com>
23953
b8c792af
JM
23954 * math/test-misc.c (main): Ignore fesetround failure when failures
23955 of subsequent rounding tests would be ignored.
23956
c91e0825
JM
23957 [BZ #15654]
23958 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23959 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23960 * math/fegetenv.c (__fegetenv): Return 0.
23961 * math/fegetexcept.c (fegetexcept): Return 0.
23962 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23963 FE_TONEAREST.
23964 * math/feholdexcpt.c (feholdexcept): Return 0.
23965 * math/fesetenv.c (__fesetenv): Return 0.
23966 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23967 argument FE_TONEAREST.
23968 * math/feupdateenv.c (__feupdateenv): Return 0.
23969 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23970
bfcacbde
RM
239712013-06-18 Roland McGrath <roland@hack.frob.com>
23972
23973 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23974 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23975 ($(objpfx)rtld-%.os rules): Use them.
23976
e55a9b25
AZ
239772013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23978
23979 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23980 fields.
23981
346d65b3
RM
239822013-06-17 Roland McGrath <roland@hack.frob.com>
23983
12086fb4
RM
23984 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23985 length of target pattern, then descending length of dependency pattern.
23986 * configure.in (AWK): Require gawk 3.1.2 or newer.
23987 * manual/install.texi (Tools for Compilation): Say that we do.
23988 * configure: Regenerated.
23989
346d65b3
RM
23990 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23991 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23992 * scripts/sysd-rules.awk: ... this new script.
23993 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23994 than a glob-style pattern.
23995
1a846317
JM
239962013-06-17 Joseph Myers <joseph@codesourcery.com>
23997
23998 * math/test-misc.c (main): Do not treat incorrectly rounded
23999 conversions as failure unless ROUNDING_TESTS passes.
24000
8fc75e6f
JM
240012013-06-15 Joseph Myers <joseph@codesourcery.com>
24002
3711a167
JM
24003 [BZ #15631]
24004 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24005 restore exception state around main square root computation, then
24006 check for inexactness explicitly.
24007
8fc75e6f
JM
24008 * math/libm-test.inc (fma_test_data): Add another test.
24009
61dd6208
SP
240102013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24011
adf23d2c
SP
24012 * manual/threads.texi (Non-POSIX Extensions): New document
24013 node. Document pthread_getattr_default_np and
24014 pthread_setattr_default_np.
24015
61dd6208
SP
24016 * Versions.def (libpthread): Add GLIBC_2.18.
24017 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24019 Likewise.
24020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24021 Likewise.
24022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24023 Likewise.
24024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24025 Likewise.
24026 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24027 Likewise.
24028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24029 Likewise.
24030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24031 Likewise.
24032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24033 Likewise.
24034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24035 Likewise.
24036
d086fc7b
LD
240372013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24038
24039 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24040 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24041
747ef469
SP
240422013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24043 H.J. Lu <hjl.tools@gmail.com>
24044
24045 [BZ #15627]
24046 * sysdeps/x86_64/rtld-memset.c: Remove file.
24047 * sysdeps/x86_64/rtld-memset.S: New file.
24048
1b2feed2
JM
240492013-06-14 Joseph Myers <joseph@codesourcery.com>
24050
24051 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24052 (test_in_one_mode): Take arguments for whether the rounding mode
24053 is supported for each floating-point type.
24054 (do_test): Pass new arguments to test_in_one_mode using
24055 ROUNDING_TESTS.
24056
a58ad3f8
RM
240572013-06-13 Roland McGrath <roland@hack.frob.com>
24058
24059 * posix/tst-waitid.c (do_test): Distinguish different instances of
24060 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24061 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24062 before entering the kernel for waitpid.
24063
c204ab28
SP
240642013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24065
24066 * NEWS: Fix note on clock function precision. Text by Roland
24067 McGrath.
24068
f4a29fba
RM
240692013-06-13 Roland McGrath <roland@hack.frob.com>
24070
24071 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24072 it into place only when and if the sanity check passes.
24073
1f24b9ad
JM
240742013-06-13 Joseph Myers <joseph@codesourcery.com>
24075
24076 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24077 output for whether conversion result is exact. Take argument
24078 indicating whether type is IBM long double.
24079 (round_for_all): Change need_exact field to ibm_ld.
24080 * stdlib/tst-strtod-round.c (struct exactness): New type.
24081 (struct test): Change bool ld_ok field to struct exactness exact.
24082 (TEST): Update all definitions for change to field.
24083 (tests): Regenerate array contents.
24084 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24085 field value. Check for IBM long double here.
24086 (do_test): Update calls to test_in_one_mode.
24087
58206c68
SP
240882013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24089
24090 [BZ #12515]
24091 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24092 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24093
2d6f4c5b 240942013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
24095
24096 [BZ #15605]
24097 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24098 generated by the compiler on loop optimizations.
24099 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24100 general definitions.
24101
94f2c076
JM
241022013-06-12 Joseph Myers <joseph@codesourcery.com>
24103
24104 * math/bug-nextafter.c: Include <math-tests.h>.
24105 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24106 the relevant type.
24107 * math/bug-nexttoward.c: Include <math-tests.h>.
24108 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24109 the relevant type.
24110 * math/test-misc.c: Include <math-tests.h>.
24111 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24112 the relevant type.
24113
e0e50a0a
AJ
241142013-06-12 Andreas Jaeger <aj@suse.de>
24115
24116 * po/ia.po: Update Interlingua translation from translation
24117 project.
24118
25061094
SP
241192013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24120
24121 * include/fenv.h: Include stdbool.h.
24122 (struct rm_ctx): New structure.
24123 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24124 Define macro.
24125 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24126 (SET_RESTORE_ROUNDF): Likewise.
24127 (SET_RESTORE_ROUNDL): Likewise.
24128 (SET_RESTORE_ROUND_NOEX): Likewise.
24129 (SET_RESTORE_ROUND_NOEXF): Likewise.
24130 (SET_RESTORE_ROUND_NOEXL): Likewise.
24131 (SET_RESTORE_ROUND_53BIT): Likewise.
24132 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24133 (libc_feresetround_noexf_ctx): Likewise.
24134 (libc_feresetround_noexl_ctx): Likewise.
24135 (libc_feholdsetround_53bit_ctx): Likewise.
24136 (libc_feresetround_53bit_ctx): Likewise.
24137 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24138 (libc_feholdexcept_setround_sse_ctx): New function.
24139 (libc_fesetenv_sse_ctx): Likewise.
24140 (libc_feupdateenv_sse_ctx): Likewise.
24141 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24142 (libc_feholdexcept_setround_387_ctx): Likewise.
24143 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24144 (libc_feholdsetround_387_prec_ctx): Likewise.
24145 (libc_feholdsetround_387_ctx): Likewise.
24146 (libc_feholdsetround_387_53bit_ctx): Likewise.
24147 (libc_feholdsetround_sse_ctx): Likewise.
24148 (libc_feresetround_sse_ctx): Likewise.
24149 (libc_feresetround_387_ctx): Likewise.
24150 (libc_feupdateenv_387_ctx): Likewise.
24151 (libc_feholdexcept_setroundf_ctx): Define macro.
24152 (libc_fesetenvf_ctx): Likewise.
24153 (libc_feupdateenvf_ctx): Likewise.
24154 (libc_feholdsetroundf_ctx): Likewise.
24155 (libc_feresetroundf_ctx): Likewise.
24156 (libc_feholdexcept_setround_ctx): Likewise.
24157 (libc_fesetenv_ctx): Likewise.
24158 (libc_feupdateenv_ctx): Likewise.
24159 (libc_feholdsetround_ctx): Likewise.
24160 (libc_feresetround_ctx): Likewise.
24161 (libc_feholdexcept_setroundl_ctx): Likewise.
24162 (libc_feupdateenvl_ctx): Likewise.
24163 (libc_feholdsetroundl_ctx): Likewise.
24164 (libc_feresetroundl_ctx): Likewise.
24165 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24166 (libc_feresetround_53bit_ctx): Likewise.
24167
59b30555
SP
241682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24169
24170 * locale/iso-639.def: Convert to UTF-8.
24171
f1d73d30
JM
241722013-06-11 Joseph Myers <joseph@codesourcery.com>
24173
24174 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24175 (EXCEPTION_TESTS_double): Likewise.
24176 (EXCEPTION_TESTS_long_double): Likewise.
24177 (EXCEPTION_TESTS): Likewise.
24178 * math/libm-test.inc (test_exceptions): Only test exceptions if
24179 EXCEPTION_TESTS (FLOAT).
24180
94aca5e7
SP
241812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24182
24183 * benchtests/Makefile (string-bench): Add strcpy_chk and
24184 stpcpy_chk.
24185 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24186 * benchtests/bench-stpcpy_chk.c: New file.
24187 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24188 * benchtests/bench-strcpy_chk.c: New file.
24189 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24190 code.
24191 (do_test): Likewise.
24192
fac0c5f2
RA
241932013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24194
24195 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24196 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24197 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24198 with tabs where appropriate.
24199 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24200 dl-procinfo.h.
24201 [PPC_PLATFORM_PPC440]: Likewise.
24202 [PPC_PLATFORM_PPC464]: Likewise.
24203 [PPC_PLATFORM_PPC476]: Likewise.
24204 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24205 ppc464, and ppc476 platform strings merging from ports/
24206 dl-procinfo.h.
24207
f22bc486
AS
242082013-06-11 Andreas Schwab <schwab@suse.de>
24209
24210 [BZ #14991]
24211 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24212 (from_ucs4_idx): Regenerate.
24213 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24214 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24215 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24216 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24217 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24218 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24219 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24220 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24221 from FROM_LOOP and TO_LOOP specific macros.
24222 (BODY): Handle combining characters.
24223 * iconvdata/BIG5HKSCS.irreversible: Update.
24224 * iconvdata/BIG5HKSCS.precomposed: New file.
24225 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24226 characters.
24227 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24228
c1f75dc3
SP
242292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24230
4eacded2
SP
24231 * include/sys/time.h: Fix indentation and add copyright header.
24232
fec799f8
SP
24233 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24234 (do_test): Likewise.
24235 * string/test-memchr.c (do_one_test): Likewise.
24236 (do_test): Likewise.
24237 * string/test-memcmp.c (do_one_test): Likewise.
24238 (do_test): Likewise.
24239 * string/test-memcpy.c (do_one_test): Likewise.
24240 (do_test): Likewise.
24241 * string/test-memmem.c (do_one_test): Likewise.
24242 (do_test): Likewise.
24243 (do_random_tests): Likewise.
24244 * string/test-memmove.c (do_one_test): Likewise.
24245 (do_test): Likewise.
24246 * string/test-memset.c (do_one_test): Likewise.
24247 (do_test): Likewise.
24248 * string/test-rawmemchr.c (do_one_test): Likewise.
24249 (do_test): Likewise.
24250 * string/test-strcasecmp.c (do_one_test): Likewise.
24251 (do_test): Likewise.
24252 * string/test-strcasestr.c (do_one_test): Likewise.
24253 (do_test): Likewise.
24254 * string/test-strcat.c (do_one_test): Likewise.
24255 (do_test): Likewise.
24256 * string/test-strchr.c (do_one_test): Likewise.
24257 (do_test): Likewise.
24258 * string/test-strcmp.c (do_one_test): Likewise.
24259 (do_test): Likewise.
24260 * string/test-strcpy.c (do_one_test): Likewise.
24261 (do_test): Likewise.
24262 * string/test-string.h: Likewise.
24263 (test_init): Likewise.
24264 * string/test-strlen.c (do_one_test): Likewise.
24265 (do_test): Likewise.
24266 * string/test-strncasecmp.c (do_one_test): Likewise.
24267 (do_test): Likewise.
24268 * string/test-strncat.c (do_one_test): Likewise.
24269 (do_test): Likewise.
24270 * string/test-strncmp.c (do_one_test): Likewise.
24271 (do_test_limit): Likewise.
24272 (do_test): Likewise.
24273 * string/test-strncpy.c (do_one_test): Likewise.
24274 (do_test): Likewise.
24275 * string/test-strnlen.c (do_one_test): Likewise.
24276 (do_test): Likewise.
24277 * string/test-strpbrk.c (do_one_test): Likewise.
24278 (do_test): Likewise.
24279 * string/test-strrchr.c (do_one_test): Likewise.
24280 (do_test): Likewise.
24281 * string/test-strspn.c (do_one_test): Likewise.
24282 (do_test): Likewise.
24283 * string/test-strstr.c (do_one_test): Likewise.
24284 (do_test): Likewise.
24285
97020474
SP
24286 * benchtests/Makefile (string-bench): Add string benchmarks.
24287 * benchtests/bench-bcopy-ifunc.c: New file.
24288 * benchtests/bench-bcopy.c: New file.
24289 * benchtests/bench-bzero-ifunc.c: New file.
24290 * benchtests/bench-bzero.c: New file.
24291 * benchtests/bench-memccpy-ifunc.c: New file.
24292 * benchtests/bench-memccpy.c: New file.
24293 * benchtests/bench-memchr-ifunc.c: New file.
24294 * benchtests/bench-memchr.c: New file.
24295 * benchtests/bench-memcmp-ifunc.c: New file.
24296 * benchtests/bench-memcmp.c: New file.
24297 * benchtests/bench-memmem-ifunc.c: New file.
24298 * benchtests/bench-memmem.c: New file.
24299 * benchtests/bench-memmove-ifunc.c: New file.
24300 * benchtests/bench-memmove.c: New file.
24301 * benchtests/bench-mempcpy-ifunc.c: New file.
24302 * benchtests/bench-mempcpy.c: New file.
24303 * benchtests/bench-memset-ifunc.c: New file.
24304 * benchtests/bench-memset.c: New file.
24305 * benchtests/bench-rawmemchr-ifunc.c: New file.
24306 * benchtests/bench-rawmemchr.c: New file.
24307 * benchtests/bench-stpcpy-ifunc.c: New file.
24308 * benchtests/bench-stpcpy.c: New file.
24309 * benchtests/bench-stpncpy-ifunc.c: New file.
24310 * benchtests/bench-stpncpy.c: New file.
24311 * benchtests/bench-strcasecmp-ifunc.c: New file.
24312 * benchtests/bench-strcasecmp.c: New file.
24313 * benchtests/bench-strcasestr-ifunc.c: New file.
24314 * benchtests/bench-strcasestr.c: New file.
24315 * benchtests/bench-strcat-ifunc.c: New file.
24316 * benchtests/bench-strcat.c: New file.
24317 * benchtests/bench-strchr-ifunc.c: New file.
24318 * benchtests/bench-strchr.c: New file.
24319 * benchtests/bench-strchrnul-ifunc.c: New file.
24320 * benchtests/bench-strchrnul.c: New file.
24321 * benchtests/bench-strcmp-ifunc.c: New file.
24322 * benchtests/bench-strcmp.c: New file.
24323 * benchtests/bench-strcpy-ifunc.c: New file.
24324 * benchtests/bench-strcpy.c: New file.
24325 * benchtests/bench-strcspn-ifunc.c: New file.
24326 * benchtests/bench-strcspn.c: New file.
24327 * benchtests/bench-strlen-ifunc.c: New file.
24328 * benchtests/bench-strlen.c: New file.
24329 * benchtests/bench-strncasecmp-ifunc.c: New file.
24330 * benchtests/bench-strncasecmp.c: New file.
24331 * benchtests/bench-strncat-ifunc.c: New file.
24332 * benchtests/bench-strncat.c: New file.
24333 * benchtests/bench-strncmp-ifunc.c: New file.
24334 * benchtests/bench-strncmp.c: New file.
24335 * benchtests/bench-strncpy-ifunc.c: New file.
24336 * benchtests/bench-strncpy.c: New file.
24337 * benchtests/bench-strnlen-ifunc.c: New file.
24338 * benchtests/bench-strnlen.c: New file.
24339 * benchtests/bench-strpbrk-ifunc.c: New file.
24340 * benchtests/bench-strpbrk.c: New file.
24341 * benchtests/bench-strrchr-ifunc.c: New file.
24342 * benchtests/bench-strrchr.c: New file.
24343 * benchtests/bench-strspn-ifunc.c: New file.
24344 * benchtests/bench-strspn.c: New file.
24345 * benchtests/bench-strstr-ifunc.c: New file.
24346 * benchtests/bench-strstr.c: New file.
24347
c1f75dc3
SP
24348 * benchtests/Makefile: Disable parallel execution of targets.
24349 (string-bench): Add memcpy.
24350 (benchset): New variable to store a list of benchmark sets.
24351 (bench-func): Renamed from bench.
24352 (bench-set): New target.
24353 (bench): Depend on bench-func and bench-set.
24354 * benchtests/README: Add section on benchmark sets.
24355 * benchtests/bench-memcpy-ifunc.c: New file.
24356 * benchtests/bench-memcpy.c: New file.
24357 * benchtests/bench-string.h: New file.
24358
50fd745b
AS
243592013-06-11 Andreas Schwab <schwab@suse.de>
24360
24361 [BZ #15577]
24362 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24363 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24364 values in the triple.
24365 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24366 terminator in the group key.
24367
3ee7e9fe
AJ
243682013-06-11 Andreas Jaeger <aj@suse.de>
24369
24370 * po/zh_TW.po: Update Chinese (traditional) translation from
24371 translation project.
24372
89fb6835
SP
243732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24374
24375 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24376 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24377 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24378 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24379 (clock_getcpuclockid): Likewise.
24380 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24381 Add weak_alias and libc_hidden_def.
24382 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24383 * rt/clock_gettime.c (clock_gettime): Rename to
24384 __clock_gettime. Add weak_alias and libc_hidden_def.
24385 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24386 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24387 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24388 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24389 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24390 Likewise.
24391 * rt/clock_settime.c (clock_settime): Rename to
24392 __clock_settime. Add weak_alias and libc_hidden_def.
24393 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24394
0efa6f8b
JM
243952013-06-10 Joseph Myers <joseph@codesourcery.com>
24396
b8c61b4b
JM
24397 * mach/err_boot.sub: Remove trailing whitespace.
24398 * mach/err_ipc.sub: Likewise.
24399 * mach/err_mach.sub: Likewise.
24400
0efa6f8b
JM
24401 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24402 (ROUNDING_TESTS_double): Likewise.
24403 (ROUNDING_TESTS_long_double): Likewise.
24404 (ROUNDING_TESTS): Likewise.
24405 * math/libm-test.inc: Include <math-tests.h>.
24406 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24407 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24408 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24409 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24410
50b818bf
SP
244112013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24412
24413 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24414 of assigning.
24415
60d2f8f3
JM
244162013-06-08 Joseph Myers <joseph@codesourcery.com>
24417
4902d2c3
JM
24418 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24419 otherwise empty TRANS lines.
24420 * sysdeps/gnu/errlist.c: Regenerated.
24421
60d2f8f3
JM
24422 * catgets/gencat.c (error_print): Use (void) in function
24423 definition.
24424 * crypt/crypt_util.c (__init_des): Likewise.
24425 * crypt/speeds.c (Stop): Likewise.
24426 (main): Likewise.
24427 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24428 * inet/ruserpass.c (token): Likewise.
24429 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24430 * intl/localealias.c (extend_alias_table): Likewise.
24431 * intl/plural-exp.c (init_germanic_plural): Likewise.
24432 * libio/fcloseall.c (__fcloseall): Likewise.
24433 * libio/genops.c (_IO_flush_all): Likewise.
24434 (_IO_flush_all_linebuffered): Likewise.
24435 (_IO_cleanup): Likewise.
24436 (_IO_iter_begin): Likewise.
24437 (_IO_iter_end): Likewise.
24438 (_IO_list_lock): Likewise.
24439 (_IO_list_unlock): Likewise.
24440 (_IO_list_resetlock): Likewise.
24441 * libio/getchar.c (getchar): Likewise.
24442 * libio/getchar_u.c (getchar_unlocked): Likewise.
24443 * libio/getwchar.c (getwchar): Likewise.
24444 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24445 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24446 * login/getpt.c (__getpt): Likewise.
24447 * login/tst-utmp.c (main): Likewise.
24448 * malloc/hooks.c (__malloc_check_init): Likewise.
24449 * malloc/malloc.c (__malloc_stats): Likewise.
24450 * malloc/mtrace.c (tr_break): Likewise.
24451 (mtrace): Likewise.
24452 (muntrace): Likewise.
24453 * misc/fstab.c (endfsent): Likewise.
24454 * misc/getclktck.c (__getclktck): Likewise.
24455 * misc/getdtsz.c (__getdtablesize): Likewise.
24456 * misc/gethostid.c (gethostid): Likewise.
24457 * misc/getpagesize.c (__getpagesize): Likewise.
24458 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24459 (__get_nprocs): Likewise.
24460 (__get_phys_pages): Likewise.
24461 (__get_avphys_pages): Likewise.
24462 * misc/getttyent.c (getttyent): Likewise.
24463 (setttyent): Likewise.
24464 (endttyent): Likewise.
24465 * misc/getusershell.c (getusershell): Likewise.
24466 (endusershell): Likewise.
24467 (setusershell): Likewise.
24468 (initshells): Likewise.
24469 * misc/hsearch.c (__hdestroy): Likewise.
24470 * misc/sync.c (sync): Likewise.
24471 * misc/syslog.c (closelog_internal): Likewise.
24472 (closelog): Likewise.
24473 * misc/ttyslot.c (ttyslot): Likewise.
24474 * misc/vhangup.c (vhangup): Likewise.
24475 * posix/fork.c (__fork): Likewise.
24476 * posix/getegid.c (__getegid): Likewise.
24477 * posix/geteuid.c (__geteuid): Likewise.
24478 * posix/getgid.c (__getgid): Likewise.
24479 * posix/getpid.c (__getpid): Likewise.
24480 * posix/getppid.c (__getppid): Likewise.
24481 * posix/getuid.c (__getuid): Likewise.
24482 * posix/pause.c (pause): Likewise.
24483 * posix/setpgrp.c (setpgrp): Likewise.
24484 * posix/setsid.c (__setsid): Likewise.
24485 * posix/test-vfork.c (noop): Likewise.
24486 * resolv/gethnamaddr.c (_endhtent): Likewise.
24487 (_gethtent): Likewise.
24488 (ht_endhostent): Likewise.
24489 (gethostent): Likewise.
24490 (dns_service): Likewise.
24491 * stdlib/drand48.c (drand48): Likewise.
24492 * stdlib/lrand48.c (lrand48): Likewise.
24493 * stdlib/mrand48.c (mrand48): Likewise.
24494 * stdlib/rand.c (rand): Likewise.
24495 * stdlib/random.c (__random): Likewise.
24496 * stdlib/setenv.c (clearenv): Likewise.
24497 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24498 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24499 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24500 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24501 (__get_nprocs): Likewise.
24502 (__get_phys_pages): Likewise.
24503 (__get_avphys_pages): Likewise.
24504 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24505 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24506 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24507 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24508 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24509 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24510 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24511 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24512 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24513 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24514 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24515 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24516 * sysdeps/posix/clock.c (clock): Likewise.
24517 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24518 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24519 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24520 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24521 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24522 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24523 (__get_nprocs_conf): Likewise.
24524 (__get_phys_pages): Likewise.
24525 (__get_avphys_pages): Likewise.
24526 * time/clock.c (clock): Likewise.
24527 * time/tzset.c (__tzname_max): Likewise.
24528
2e09a79a
JM
245292013-06-07 Joseph Myers <joseph@codesourcery.com>
24530
24531 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24532 (__bswap_32): Do not use "register".
24533 * crypt/crypt.c (_ufc_doit_r): Likewise.
24534 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24535 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24536 * gmon/gmon.c (__monstartup): Likewise.
24537 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24538 * hurd/hurdmalloc.c (more_memory): Likewise.
24539 (malloc): Likewise.
24540 (free): Likewise.
24541 (realloc): Likewise.
24542 (malloc_fork_prepare): Likewise.
24543 (malloc_fork_parent): Likewise.
24544 (malloc_fork_child): Likewise.
24545 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24546 (_svcauth_des): Likewise.
24547 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24548 * inet/inet_net.c (inet_network): Likewise.
24549 * inet/inet_netof.c (inet_netof): Likewise.
24550 * inet/rcmd.c (__validuser2_sa): Likewise.
24551 * io/fts.c (fts_open): Likewise.
24552 (fts_load): Likewise.
24553 (fts_close): Likewise.
24554 (fts_read): Likewise.
24555 (fts_children): Likewise.
24556 (fts_build): Likewise.
24557 (fts_stat): Likewise.
24558 (fts_sort): Likewise.
24559 (fts_alloc): Likewise.
24560 (fts_lfree): Likewise.
24561 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24562 (_IO_file_xsgetn): Likewise.
24563 (_IO_file_xsgetn_mmap): Likewise.
24564 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24565 (_IO_cookie_write): Likewise.
24566 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24567 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24568 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24569 * malloc/obstack.c (_obstack_begin): Likewise.
24570 (_obstack_begin_1): Likewise.
24571 (_obstack_newchunk): Likewise.
24572 (_obstack_allocated_p): Likewise.
24573 (obstack_free): Likewise.
24574 (_obstack_memory_used): Likewise.
24575 * misc/getttyent.c (getttynam): Likewise.
24576 (getttyent): Likewise.
24577 (skip): Likewise.
24578 (value): Likewise.
24579 * misc/getusershell.c (initshells): Likewise.
24580 * misc/syslog.c (__vsyslog_chk): Likewise.
24581 * misc/ttyslot.c (ttyslot): Likewise.
24582 * nis/nis_hash.c (__nis_hash): Likewise.
24583 * posix/fnmatch_loop.c (FCT): Likewise.
24584 * posix/getconf.c (print_all): Likewise.
24585 (main): Likewise.
24586 * posix/getopt.c (exchange): Likewise.
24587 * posix/glob.c (globfree): Likewise.
24588 (prefix_array): Likewise.
24589 (__glob_pattern_type): Likewise.
24590 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24591 (NS_GET32): Likewise.
24592 (NS_PUT16): Likewise.
24593 (NS_PUT32): Likewise.
24594 * resolv/gethnamaddr.c (getanswer): Likewise.
24595 (gethostbyname2): Likewise.
24596 (gethostbyaddr): Likewise.
24597 (_gethtent): Likewise.
24598 (_gethtbyname2): Likewise.
24599 (_gethtbyaddr): Likewise.
24600 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24601 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24602 * resolv/res_init.c (__res_vinit): Likewise.
24603 (net_mask): Likewise.
24604 * resolv/res_mkquery.c (outchar): Likewise.
24605 (PRINT): Likewise.
24606 * stdio-common/printf_fp.c (outchar): Likewise.
24607 (PRINT): Likewise.
24608 * stdio-common/printf_fphex.c (outchar): Likewise.
24609 (PRINT): Likewise.
24610 * stdio-common/printf_size.c (outchar): Likewise.
24611 (PRINT): Likewise.
24612 * stdio-common/test_rdwr.c (main): Likewise.
24613 * stdio-common/tfformat.c (matches): Likewise.
24614 * stdio-common/vfprintf.c (outchar): Likewise.
24615 (printf_unknown): Likewise.
24616 (buffered_vfprintf): Likewise.
24617 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24618 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24619 (ReadFile): Likewise.
24620 * stdlib/qsort.c (SWAP): Likewise.
24621 (_quicksort): Likewise.
24622 * stdlib/setenv.c (__add_to_environ): Likewise.
24623 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24624 * stdlib/strtol_l.c (__strtol_l): Likewise.
24625 * stdlib/tst-strtod.c (main): Likewise.
24626 * stdlib/tst-strtol.c (main): Likewise.
24627 * stdlib/tst-strtoll.c (main): Likewise.
24628 * string/bits/string2.h (__strcmp_cc): Likewise.
24629 (__strcmp_cg): Likewise.
24630 (__strcspn_c1): Likewise.
24631 (__strcspn_c2): Likewise.
24632 (__strcspn_c3): Likewise.
24633 (__strspn_c1): Likewise.
24634 (__strspn_c2): Likewise.
24635 (__strspn_c3): Likewise.
24636 (__strsep_1c): Likewise.
24637 (__strsep_2c): Likewise.
24638 (__strsep_3c): Likewise.
24639 * string/memccpy.c (__memccpy): Likewise.
24640 * string/stpcpy.c (__stpcpy): Likewise.
24641 * string/strcmp.c (strcmp): Likewise.
24642 * string/strrchr.c (strrchr): Likewise.
24643 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24644 Likewise.
24645 * sysdeps/mach/hurd/getcwd.c
24646 (_hurd_canonicalize_directory_name_internal): Likewise.
24647 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24648 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24649 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24650 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24651 Likewise, in both definitions.
24652 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24653 definitions.
24654 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24655 64] (__bswap_64): Likewise.
24656 * time/test_time.c (main): Likewise.
24657 * time/tzfile.c (__tzfile_read): Likewise.
24658 (__tzfile_compute): Likewise.
24659 * time/tzset.c (__tzset_parse_tz): Likewise.
24660 (tzset_internal): Likewise.
24661 (compute_change): Likewise.
24662 * wcsmbs/wcscat.c (__wcscat): Likewise.
24663 * wcsmbs/wcschr.c (wcschr): Likewise.
24664 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24665 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24666 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24667 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24668 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24669 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24670 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24671 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24672 * wcsmbs/wmemset.c (wmemset): Likewise.
24673
9e54314b
JM
246742013-06-06 Joseph Myers <joseph@codesourcery.com>
24675
24676 * scripts/config.guess: Update to version 2013-05-16.
24677 * scripts/config.sub: Update to version 2013-04-24.
24678 * scripts/install-sh: Update to version 2011-11-20.07.
24679 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24680 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24681
350635a5
OB
246822013-06-06 Ondřej Bílka <neleai@seznam.cz>
24683
24684 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24685 * elf/sln.c: Likewise.
24686 * hurd/hurd/ioctl.h: Likewise.
24687 * hurd/hurdmalloc.c: Likewise.
24688 * hurd/xattr.c: Likewise.
24689 * include/shlib-compat.h: Likewise.
24690 * inet/ruserpass.c: Likewise.
24691 * libio/iofgets_u.c: Likewise.
24692 * libio/iofgetws_u.c: Likewise.
24693 * locale/programs/ld-identification.c: Likewise.
24694 * locale/programs/ld-time.c: Likewise.
24695 * mach/msg-destroy.c: Likewise.
24696 * nss/nss_files/files-netgrp.c: Likewise.
24697 * resolv/res_data.c: Likewise.
24698 * soft-fp/op-1.h: Likewise.
24699 * soft-fp/op-2.h: Likewise.
24700 * soft-fp/op-4.h: Likewise.
24701 * soft-fp/op-common.h: Likewise.
24702 * stdio-common/printf_fphex.c: Likewise.
24703 * stdlib/strtod_l.c: Likewise.
24704 * sunrpc/rpc/clnt.h: Likewise.
24705 * sysdeps/generic/framestate.c: Likewise.
24706 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24707 * sysdeps/i386/bsd-setjmp.S: Likewise.
24708 * sysdeps/i386/__longjmp.S: Likewise.
24709 * sysdeps/i386/setjmp.S: Likewise.
24710 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24711 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24712 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24713 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24714 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24715 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24716 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24717 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24718 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24719 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24720 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24721 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24722 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24723 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24724 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24725 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24726 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24727 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24728 * sysdeps/ieee754/support.c: Likewise.
24729 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24730 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24731 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24732 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24733 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24734 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24735 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24736 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24737 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24738 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24739 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24740 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24741 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24742 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24743 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24744 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24745 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24747
44a988af
OB
247482013-06-05 Ondřej Bílka <neleai@seznam.cz>
24749
25506f09 24750 * posix/transbug.c: Remove executable mode.
44a988af 24751
9c84384c
JM
247522013-06-05 Joseph Myers <joseph@codesourcery.com>
24753
24754 * crypt/speeds.c: Remove trailing whitespace.
24755 * dlfcn/default.c: Likewise.
24756 * elf/ifuncdep2.c: Likewise.
24757 * elf/ifuncmain1.c: Likewise.
24758 * elf/ifuncmain1vis.c: Likewise.
24759 * elf/testobj.h: Likewise.
24760 * elf/tst-stackguard1.c: Likewise.
24761 * gmon/sys/gmon.h: Likewise.
24762 * hurd/hurdmsg.c: Likewise.
24763 * hurd/new-fd.c: Likewise.
24764 * hurd/ports-get.c: Likewise.
24765 * iconvdata/ibm1008_420.c: Likewise.
24766 * inet/tst-getni1.c: Likewise.
24767 * inet/tst-getni2.c: Likewise.
24768 * libio/ioungetc.c: Likewise.
24769 * libio/wfiledoalloc.c: Likewise.
24770 * manual/libm-err-tab.pl: Likewise.
24771 * math/w_dremf.c: Likewise.
24772 * misc/ftruncate.c: Likewise.
24773 * posix/bug-glob2.c: Likewise.
24774 * posix/tst-pcre.c: Likewise.
24775 * posix/wait4.c: Likewise.
24776 * resolv/README: Likewise.
24777 * resolv/res_debug.h: Likewise.
24778 * resolv/tst-inet_ntop.c: Likewise.
24779 * setjmp/bug269-setjmp.c: Likewise.
24780 * soft-fp/extended.h: Likewise.
24781 * soft-fp/op-1.h: Likewise.
24782 * soft-fp/op-2.h: Likewise.
24783 * soft-fp/op-4.h: Likewise.
24784 * soft-fp/op-8.h: Likewise.
24785 * soft-fp/testit.c: Likewise.
24786 * stdio-common/bug16.c: Likewise.
24787 * stdlib/random.c: Likewise.
24788 * sunrpc/rpcsvc/rquota.x: Likewise.
24789 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24790 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24791 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24792 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24793 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24794 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24795 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24796 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24797 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24798 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24799 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24800 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24801 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24802 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24803 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24804 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24805 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24806 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24807 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24808 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24809 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24810 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24811 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24812 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24813 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24814 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24815 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24816 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24817 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24818 * sysdeps/ieee754/s_lib_version.c: Likewise.
24819 * sysdeps/mach/hurd/check_fds.c: Likewise.
24820 * sysdeps/mach/hurd/getsockname.c: Likewise.
24821 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24822 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24823 * sysdeps/powerpc/bits/link.h: Likewise.
24824 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24825 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24826 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24827 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24828 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24829 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24830 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24831 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24832 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24833 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24834 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24835 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24836 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24837 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24838 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24839 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24840 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24841 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24842 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24843 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24844 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24845 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24846 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24847 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24848 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24849 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24850 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24851 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24852 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24853 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24854 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24855 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24856 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24857 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24858 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24859 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24860 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24861 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24862 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24863 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24864 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24865 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24866 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24867 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24868 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24869 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24870 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24871 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24872 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24873 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24874 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24875 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24876 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24877 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24878 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24879 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24880 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24881 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24882 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24883 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24884 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24885 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24886 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24887 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24888 * sysdeps/powerpc/sysdep.h: Likewise.
24889 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24890 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24891 * sysdeps/sh/dl-trampoline.S: Likewise.
24892 * sysdeps/sh/memset.S: Likewise.
24893 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24894 * sysdeps/sh/strlen.S: Likewise.
24895 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24896 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24897 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24898 * sysdeps/sparc/sparc32/rem.S: Likewise.
24899 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24900 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24901 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24902 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24903 * sysdeps/sparc/sparc32/urem.S: Likewise.
24904 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24905 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24906 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24907 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24908 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24909 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24910 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24911 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24912 * sysdeps/unix/bsd/times.c: Likewise.
24913 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24914 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24918 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24919 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24920 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24921 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24922 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24923 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24924 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24925 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24926 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24927 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24928 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24929 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24930 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24931 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24932 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24933 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24934 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24935 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24936 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24937 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24938 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24939 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24940 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24941 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24942 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24943 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24944 * sysdeps/x86_64/strcspn.S: Likewise.
24945
869378a5
RA
249462013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24947
24948 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24949 generated file. Regenerate properly from gen-translit.pl.
24950 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24951 locale/C-translit.h.
24952
840e2943
AS
249532013-06-05 Andreas Schwab <schwab@suse.de>
24954
24955 [BZ #15100]
24956 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24957 week as 6 instead of -1.
24958 * time/tst-strptime.c (day_tests): Add test case.
24959
4c60cb0c
SP
249602013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24961
24962 * sysdeps/generic/math_private.h
24963 (libc_feholdexcept_setround_53bit): Replace with
24964 libc_feholdsetround_53bit.
24965 (libc_feupdateenv_53bit): Replace with
24966 libc_feresetround_53bit.
24967 (SET_RESTORE_ROUND_53BIT): Adjust.
24968
d180203e
SP
249692013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24970
96df079a
SP
24971 * string/test-strchrnul.c: Add copyright header.
24972
d180203e
SP
24973 * posix/tst-getaddrinfo4.c: Increase test timeout.
24974
8b0ccb2d
CD
249752013-06-03 Carlos O'Donell <carlos@redhat.com>
24976
24977 [BZ #15536]
24978 * math/libm-test.inc (MAX_EXP): Remove
24979 (MIN_EXP): Define.
24980 (ulp): Use MIN_EXP - MANT_DIG.
24981 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24982
3b3c4d40
CD
249832013-05-31 Carlos O'Donell <carlos@redhat.com>
24984
24985 * po/be.po: Revert last change.
24986 * po/zh_CN.po: Likewise.
24987 * po/header.pot: Likewise.
24988
fab7ce3f
JM
249892013-05-31 Joseph Myers <joseph@codesourcery.com>
24990
24991 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24992 link-libc-deps to empty as target-specific variable.
24993 * Makerules (link-libc-args): New variable.
24994 (libc-for-link): Likewise.
24995 (link-libc-deps): Likewise.
24996 (lib%.so): Depend on $(link-libc-deps). Link with
24997 $(link-libc-args).
24998 (build-module): Link with $(link-libc-args).
24999 (build-module-asneeded): Likewise.
25000 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25001 list of objects.
25002 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25003 target-specific variable.
25004 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25005 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25006 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25007 libc.
25008 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25009 libc and ld.so.
25010 ($(objpfx)libpcprofile.so): Likewise.
25011 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25012 libc_nonshared.a.
25013 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25014 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25015 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25016 $(link-libc-deps).
25017 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25018 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25019 * login/Makefile ($(objpfx)libutil.so): Likewise.
25020 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25021 * math/Makefile ($(objpfx)libm.so): Likewise.
25022 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25023 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25024 variable instead of depending directly on libc.
25025 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25026 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25027 $(link-libc-deps).
25028 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25029 libc.
25030 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25031 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25032 ($(objpfx)libanl.so): Likewise.
25033 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25034 ld.so.
25035 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25036 $(link-libc-deps).
25037 * sysdeps/i386/fpu/Makefile: Remove file.
25038 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25039 ($(objpfx)libm.so): Remove dependency on ld.so.
25040
eca5920c
PF
250412013-05-30 Patsy Franklin <pfrankli@redhat.com>
25042
25043 [BZ # 15553]
25044 * nis/yp_xdr.c (XDRMAXNAME): Define.
25045 (XDRMAXRECORD): Define.
25046 (xdr_domainname): Use XDRMAXNAME.
25047 (xdr_mapname): Likewise.
25048 (xdr_peername): Likewise.
25049 (xdr_keydat): Use XDRMAXRECORD.
25050 (xdr_valdat): Likewise.
25051
250522013-05-30 Jeff Law <law@redhat.com>
96945714
JL
25053
25054 [BZ #14256]
25055 * manual/errno.texi (ESTALE): Update to account for more than
25056 just NFS file systems.
25057 * sysdeps/gnu/errlist.c: Regenerated.
25058
b9375348
SP
250592013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25060
25061 [BZ #15465]
25062 * elf/Makefile (tests): Add tst-null-argv.
25063 (modules-names): Add tst-null-argv-lib.
25064 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25065 (tst-null-argv-ENV): Set environment for tst-null-argv.
25066 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25067 (RTLD_PROGNAME): New macro.
25068 * elf/tst-null-argv.c: New test case.
25069 * elf/tst-null-argv-lib.c: Library for test case.
25070 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25071 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25072 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25073 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25074 * elf/dl-init.c (call_init): Likewise.
25075 (_dl_init): Likewise.
25076 * elf/dl-load.c (print_search_path): Likewise.
25077 (_dl_map_object): Likewise.
25078 * elf/dl-lookup.c (do_lookup_x): Likewise.
25079 (add_dependency): Likewise.
25080 (_dl_lookup_symbol_x): Likewise.
25081 (_dl_debug_bindings): Likewise.
25082 * elf/dl-open.c (_dl_show_scope): Likewise.
25083 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25084 * elf/dl-version.c (match_symbol): Likewise.
25085 (_dl_check_map_versions): Likewise.
25086 * elf/rtld.c (dl_main): Likewise.
25087 (print_unresolved): Use RTLD_PROGNAME.
25088 (print_missing_version): Likewise.
25089 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25090 (elf_machine_rela): Likewise.
25091 * sysdeps/powerpc/powerpc32/dl-machine.c
25092 (__process_machine_rela): Likewise.
25093 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25094 Likewise.
25095 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25096 Likewise.
25097 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25098 Likewise.
25099 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25100 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25101 Likewise.
25102 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25103 Likewise.
25104 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25105
8a9f20c8
CD
251062013-05-28 Carlos O'Donell <carlos@redhat.com>
25107
25108 * po/be.po: Add descriptive title.
25109 * po/zh_CN.po: Likewise.
25110 * po/header.pot: Likewise.
25111
0e60d68e
MF
251122013-05-28 Mike Frysinger <vapier@gentoo.org>
25113
25114 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25115 error message.
25116 (enlarge_archive): Likewise.
25117
56b672e9
BN
251182013-05-28 Ben North <ben@redfrontdoor.org>
25119
25120 * manual/arith.texi (frexp): It is the magnitude of the return
25121 value which lies in [0.5, 1), not the return value itself.
25122
5e056687
AZ
251232013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25124
25125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25126
2b66ef5d
TS
251272013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25128
528c2405
TS
25129 * stdio-common/bug26.c (main): Correct fscanf template.
25130
07b4c13d
TS
25131 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25132 declare _dl_skip_args.
25133
ec9dd97c
TS
25134 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25135 Don't declare.
25136
2b66ef5d
TS
25137 * manual/platform.texi: Add missing @end deftypefun.
25138
4f8dfe27
JM
251392013-05-24 Joseph Myers <joseph@codesourcery.com>
25140
0323d086
JM
25141 [BZ #15529]
25142 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25143 bit of mantissa of 2^16382.
25144 * math/libm-test.inc (hypot_test_data): Add more tests.
25145
dd4259b9
JM
25146 * math/libm-test.inc: Add drem and pow10 to list of tested
25147 functions.
25148 (pow10_test): New function.
25149 (drem_test): Likewise.
25150 (drem_test_tonearest): Likewise.
25151 (drem_test_towardzero): Likewise.
25152 (drem_test_downward): Likewise.
25153 (drem_test_upward): Likewise.
25154 (main): Call the new functions.
25155
4f8dfe27
JM
25156 * math/libm-test.inc (finite_test_data): Remove.
25157 (finite_test): Run tests from isfinite_test_data.
25158 (gamma_test_data): Remove.
25159 (gamma_test): Run tests from lgamma_test_data.
25160 * sysdeps/i386/fpu/libm-test-ulps: Update.
25161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25162
d116b7c4
AZ
251632013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25164
25165 * manual/platform.texi: Add PowerPC PPR function set documentation.
25166 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25167 implementation.
25168
e96e3767
CD
251692013-05-24 Carlos O'Donell <carlos@redhat.com>
25170
25171 * math/libm-test.inc (MAX_EXP): Define.
25172 (ULPDIFF): Define.
25173 (ulp): New function.
25174 (check_float_internal): Use ULPDIFF.
25175 (cpow_test): Disable failing test.
25176 (check_ulp): Test ulp() implemetnation.
25177 (main): Call check_ulp before starting tests.
25178
b679a606
JM
251792013-05-24 Joseph Myers <joseph@codesourcery.com>
25180
e8bdba36
JM
25181 * math/gen-libm-test.pl (generate_testfile): Do not handle
25182 START_DATA and END_DATA.
25183 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25184 END_DATA.
25185 (acos_tonearest_test_data): Likewise.
25186 (acos_towardzero_test_data): Likewise.
25187 (acos_downward_test_data): Likewise.
25188 (acos_upward_test_data): Likewise.
25189 (acosh_test_data): Likewise.
25190 (asin_test_data): Likewise.
25191 (asin_tonearest_test_data): Likewise.
25192 (asin_towardzero_test_data): Likewise.
25193 (asin_downward_test_data): Likewise.
25194 (asin_upward_test_data): Likewise.
25195 (asinh_test_data): Likewise.
25196 (atan_test_data): Likewise.
25197 (atanh_test_data): Likewise.
25198 (atan2_test_data): Likewise.
25199 (cabs_test_data): Likewise.
25200 (cacos_test_data): Likewise.
25201 (cacosh_test_data): Likewise.
25202 (carg_test_data): Likewise.
25203 (casin_test_data): Likewise.
25204 (casinh_test_data): Likewise.
25205 (catan_test_data): Likewise.
25206 (catanh_test_data): Likewise.
25207 (cbrt_test_data): Likewise.
25208 (ccos_test_data): Likewise.
25209 (ccosh_test_data): Likewise.
25210 (ceil_test_data): Likewise.
25211 (cexp_test_data): Likewise.
25212 (cimag_test_data): Likewise.
25213 (clog_test_data): Likewise.
25214 (clog10_test_data): Likewise.
25215 (conj_test_data): Likewise.
25216 (copysign_test_data): Likewise.
25217 (cos_test_data): Likewise.
25218 (cos_tonearest_test_data): Likewise.
25219 (cos_towardzero_test_data): Likewise.
25220 (cos_downward_test_data): Likewise.
25221 (cos_upward_test_data): Likewise.
25222 (cosh_test_data): Likewise.
25223 (cosh_tonearest_test_data): Likewise.
25224 (cosh_towardzero_test_data): Likewise.
25225 (cosh_downward_test_data): Likewise.
25226 (cosh_upward_test_data): Likewise.
25227 (cpow_test_data): Likewise.
25228 (cproj_test_data): Likewise.
25229 (creal_test_data): Likewise.
25230 (csin_test_data): Likewise.
25231 (csinh_test_data): Likewise.
25232 (csqrt_test_data): Likewise.
25233 (ctan_test_data): Likewise.
25234 (ctan_tonearest_test_data): Likewise.
25235 (ctan_towardzero_test_data): Likewise.
25236 (ctan_downward_test_data): Likewise.
25237 (ctan_upward_test_data): Likewise.
25238 (ctanh_test_data): Likewise.
25239 (ctanh_tonearest_test_data): Likewise.
25240 (ctanh_towardzero_test_data): Likewise.
25241 (ctanh_downward_test_data): Likewise.
25242 (ctanh_upward_test_data): Likewise.
25243 (erf_test_data): Likewise.
25244 (erfc_test_data): Likewise.
25245 (exp_test_data): Likewise.
25246 (exp_tonearest_test_data): Likewise.
25247 (exp_towardzero_test_data): Likewise.
25248 (exp_downward_test_data): Likewise.
25249 (exp_upward_test_data): Likewise.
25250 (exp10_test_data): Likewise.
25251 (exp2_test_data): Likewise.
25252 (expm1_test_data): Likewise.
25253 (fabs_test_data): Likewise.
25254 (fdim_test_data): Likewise.
25255 (finite_test_data): Likewise.
25256 (floor_test_data): Likewise.
25257 (fma_test_data): Likewise.
25258 (fma_towardzero_test_data): Likewise.
25259 (fma_downward_test_data): Likewise.
25260 (fma_upward_test_data): Likewise.
25261 (fmax_test_data): Likewise.
25262 (fmin_test_data): Likewise.
25263 (fmod_test_data): Likewise.
25264 (fpclassify_test_data): Likewise.
25265 (frexp_test_data): Likewise.
25266 (gamma_test_data): Likewise.
25267 (hypot_test_data): Likewise.
25268 (ilogb_test_data): Likewise.
25269 (isfinite_test_data): Likewise.
25270 (isgreater_test_data): Likewise.
25271 (isgreaterequal_test_data): Likewise.
25272 (isinf_test_data): Likewise.
25273 (isless_test_data): Likewise.
25274 (islessequal_test_data): Likewise.
25275 (islessgreater_test_data): Likewise.
25276 (isnan_test_data): Likewise.
25277 (isnormal_test_data): Likewise.
25278 (issignaling_test_data): Likewise.
25279 (isunordered_test_data): Likewise.
25280 (j0_test_data): Likewise.
25281 (j1_test_data): Likewise.
25282 (jn_test_data): Likewise.
25283 (ldexp_test_data): Likewise.
25284 (lgamma_test_data): Likewise.
25285 (lrint_test_data): Likewise.
25286 (lrint_tonearest_test_data): Likewise.
25287 (lrint_towardzero_test_data): Likewise.
25288 (lrint_downward_test_data): Likewise.
25289 (lrint_upward_test_data): Likewise.
25290 (llrint_test_data): Likewise.
25291 (llrint_tonearest_test_data): Likewise.
25292 (llrint_towardzero_test_data): Likewise.
25293 (llrint_downward_test_data): Likewise.
25294 (llrint_upward_test_data): Likewise.
25295 (log_test_data): Likewise.
25296 (log10_test_data): Likewise.
25297 (log1p_test_data): Likewise.
25298 (log2_test_data): Likewise.
25299 (logb_test_data): Likewise.
25300 (logb_downward_test_data): Likewise.
25301 (lround_test_data): Likewise.
25302 (llround_test_data): Likewise.
25303 (modf_test_data): Likewise.
25304 (nearbyint_test_data): Likewise.
25305 (nextafter_test_data): Likewise.
25306 (nexttoward_test_data): Likewise.
25307 (pow_test_data): Likewise.
25308 (pow_tonearest_test_data): Likewise.
25309 (pow_towardzero_test_data): Likewise.
25310 (pow_downward_test_data): Likewise.
25311 (pow_upward_test_data): Likewise.
25312 (remainder_test_data): Likewise.
25313 (remainder_tonearest_test_data): Likewise.
25314 (remainder_towardzero_test_data): Likewise.
25315 (remainder_downward_test_data): Likewise.
25316 (remainder_upward_test_data): Likewise.
25317 (remquo_test_data): Likewise.
25318 (rint_test_data): Likewise.
25319 (rint_tonearest_test_data): Likewise.
25320 (rint_towardzero_test_data): Likewise.
25321 (rint_downward_test_data): Likewise.
25322 (rint_upward_test_data): Likewise.
25323 (round_test_data): Likewise.
25324 (scalb_test_data): Likewise.
25325 (scalbn_test_data): Likewise.
25326 (scalbln_test_data): Likewise.
25327 (signbit_test_data): Likewise.
25328 (sin_test_data): Likewise.
25329 (sin_tonearest_test_data): Likewise.
25330 (sin_towardzero_test_data): Likewise.
25331 (sin_downward_test_data): Likewise.
25332 (sin_upward_test_data): Likewise.
25333 (sincos_test_data): Likewise.
25334 (sinh_test_data): Likewise.
25335 (sinh_tonearest_test_data): Likewise.
25336 (sinh_towardzero_test_data): Likewise.
25337 (sinh_downward_test_data): Likewise.
25338 (sinh_upward_test_data): Likewise.
25339 (sqrt_test_data): Likewise.
25340 (tan_test_data): Likewise.
25341 (tan_tonearest_test_data): Likewise.
25342 (tan_towardzero_test_data): Likewise.
25343 (tan_downward_test_data): Likewise.
25344 (tan_upward_test_data): Likewise.
25345 (tanh_test_data): Likewise.
25346 (tgamma_test_data): Likewise.
25347 (trunc_test_data): Likewise.
25348 (y0_test_data): Likewise.
25349 (y1_test_data): Likewise.
25350 (yn_test_data): Likewise.
25351 (significand_test_data): Likewise.
25352
b679a606
JM
25353 * math/gen-libm-test.pl (@functions): Remove variable.
25354 (generate_testfile): Don't handle START and END lines.
25355 * math/libm-test.inc (START): New macro.
25356 (END): Likewise.
25357 (END_COMPLEX): Likewise.
25358 (acos_test): Use END macro without arguments.
25359 (acos_test_tonearest): Likewise.
25360 (acos_test_towardzero): Likewise.
25361 (acos_test_downward): Likewise.
25362 (acos_test_upward): Likewise.
25363 (acosh_test): Likewise.
25364 (asin_test): Likewise.
25365 (asin_test_tonearest): Likewise.
25366 (asin_test_towardzero): Likewise.
25367 (asin_test_downward): Likewise.
25368 (asin_test_upward): Likewise.
25369 (asinh_test): Likewise.
25370 (atan_test): Likewise.
25371 (atanh_test): Likewise.
25372 (atan2_test): Likewise.
25373 (cabs_test): Likewise.
25374 (cacos_test): Use END_COMPLEX macro without arguments.
25375 (cacosh_test): Likewise.
25376 (carg_test): Use END macro without arguments.
25377 (casin_test): Use END_COMPLEX macro without arguments.
25378 (casinh_test): Likewise.
25379 (catan_test): Likewise.
25380 (catanh_test): Likewise.
25381 (cbrt_test): Use END macro without arguments.
25382 (ccos_test): Use END_COMPLEX macro without arguments.
25383 (ccosh_test): Likewise.
25384 (ceil_test): Use END macro without arguments.
25385 (cexp_test): Use END_COMPLEX macro without arguments.
25386 (cimag_test): Use END macro without arguments.
25387 (clog_test): Use END_COMPLEX macro without arguments.
25388 (clog10_test): Likewise.
25389 (conj_test): Likewise.
25390 (copysign_test): Use END macro without arguments.
25391 (cos_test): Likewise.
25392 (cos_test_tonearest): Likewise.
25393 (cos_test_towardzero): Likewise.
25394 (cos_test_downward): Likewise.
25395 (cos_test_upward): Likewise.
25396 (cosh_test): Likewise.
25397 (cosh_test_tonearest): Likewise.
25398 (cosh_test_towardzero): Likewise.
25399 (cosh_test_downward): Likewise.
25400 (cosh_test_upward): Likewise.
25401 (cpow_test): Use END_COMPLEX macro without arguments.
25402 (cproj_test): Likewise.
25403 (creal_test): Use END macro without arguments.
25404 (csin_test): Use END_COMPLEX macro without arguments.
25405 (csinh_test): Likewise.
25406 (csqrt_test): Likewise.
25407 (ctan_test): Likewise.
25408 (ctan_test_tonearest): Likewise.
25409 (ctan_test_towardzero): Likewise.
25410 (ctan_test_downward): Likewise.
25411 (ctan_test_upward): Likewise.
25412 (ctanh_test): Likewise.
25413 (ctanh_test_tonearest): Likewise.
25414 (ctanh_test_towardzero): Likewise.
25415 (ctanh_test_downward): Likewise.
25416 (ctanh_test_upward): Likewise.
25417 (erf_test): Use END macro without arguments.
25418 (erfc_test): Likewise.
25419 (exp_test): Likewise.
25420 (exp_test_tonearest): Likewise.
25421 (exp_test_towardzero): Likewise.
25422 (exp_test_downward): Likewise.
25423 (exp_test_upward): Likewise.
25424 (exp10_test): Likewise.
25425 (exp2_test): Likewise.
25426 (expm1_test): Likewise.
25427 (fabs_test): Likewise.
25428 (fdim_test): Likewise.
25429 (finite_test): Likewise.
25430 (floor_test): Likewise.
25431 (fma_test): Likewise.
25432 (fma_test_towardzero): Likewise.
25433 (fma_test_downward): Likewise.
25434 (fma_test_upward): Likewise.
25435 (fmax_test): Likewise.
25436 (fmin_test): Likewise.
25437 (fmod_test): Likewise.
25438 (fpclassify_test): Likewise.
25439 (frexp_test): Likewise.
25440 (gamma_test): Likewise.
25441 (hypot_test): Likewise.
25442 (ilogb_test): Likewise.
25443 (isfinite_test): Likewise.
25444 (isgreater_test): Likewise.
25445 (isgreaterequal_test): Likewise.
25446 (isinf_test): Likewise.
25447 (isless_test): Likewise.
25448 (islessequal_test): Likewise.
25449 (islessgreater_test): Likewise.
25450 (isnan_test): Likewise.
25451 (isnormal_test): Likewise.
25452 (issignaling_test): Likewise.
25453 (isunordered_test): Likewise.
25454 (j0_test): Likewise.
25455 (j1_test): Likewise.
25456 (jn_test): Likewise.
25457 (ldexp_test): Likewise.
25458 (lgamma_test): Likewise.
25459 (lrint_test): Likewise.
25460 (lrint_test_tonearest): Likewise.
25461 (lrint_test_towardzero): Likewise.
25462 (lrint_test_downward): Likewise.
25463 (lrint_test_upward): Likewise.
25464 (llrint_test): Likewise.
25465 (llrint_test_tonearest): Likewise.
25466 (llrint_test_towardzero): Likewise.
25467 (llrint_test_downward): Likewise.
25468 (llrint_test_upward): Likewise.
25469 (log_test): Likewise.
25470 (log10_test): Likewise.
25471 (log1p_test): Likewise.
25472 (log2_test): Likewise.
25473 (logb_test): Likewise.
25474 (logb_test_downward): Likewise.
25475 (lround_test): Likewise.
25476 (llround_test): Likewise.
25477 (modf_test): Likewise.
25478 (nearbyint_test): Likewise.
25479 (nextafter_test): Likewise.
25480 (nexttoward_test): Likewise.
25481 (pow_test): Likewise.
25482 (pow_test_tonearest): Likewise.
25483 (pow_test_towardzero): Likewise.
25484 (pow_test_downward): Likewise.
25485 (pow_test_upward): Likewise.
25486 (remainder_test): Likewise.
25487 (remainder_test_tonearest): Likewise.
25488 (remainder_test_towardzero): Likewise.
25489 (remainder_test_downward): Likewise.
25490 (remainder_test_upward): Likewise.
25491 (remquo_test): Likewise.
25492 (rint_test): Likewise.
25493 (rint_test_tonearest): Likewise.
25494 (rint_test_towardzero): Likewise.
25495 (rint_test_downward): Likewise.
25496 (rint_test_upward): Likewise.
25497 (round_test): Likewise.
25498 (scalb_test): Likewise.
25499 (scalbn_test): Likewise.
25500 (scalbln_test): Likewise.
25501 (signbit_test): Likewise.
25502 (sin_test): Likewise.
25503 (sin_test_tonearest): Likewise.
25504 (sin_test_towardzero): Likewise.
25505 (sin_test_downward): Likewise.
25506 (sin_test_upward): Likewise.
25507 (sincos_test): Likewise.
25508 (sinh_test): Likewise.
25509 (sinh_test_tonearest): Likewise.
25510 (sinh_test_towardzero): Likewise.
25511 (sinh_test_downward): Likewise.
25512 (sinh_test_upward): Likewise.
25513 (sqrt_test): Likewise.
25514 (tan_test): Likewise.
25515 (tan_test_tonearest): Likewise.
25516 (tan_test_towardzero): Likewise.
25517 (tan_test_downward): Likewise.
25518 (tan_test_upward): Likewise.
25519 (tanh_test): Likewise.
25520 (tgamma_test): Likewise.
25521 (trunc_test): Likewise.
25522 (y0_test): Likewise.
25523 (y1_test): Likewise.
25524 (yn_test): Likewise.
25525 (significand_test): Likewise.
25526
bae143d2
OB
255272013-05-24 Ondřej Bílka <neleai@seznam.cz>
25528
25529 [BZ #15381]
25530 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25531
9323d39b
EM
255322013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25533
d4ea44a0 25534 [BZ #14894]
9323d39b
EM
25535 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25536 __ppc_mdoio and __ppc_mdoom.
25537 * manual/platform.texi: Document new functions __ppc_yield,
25538 __ppc_mdoio and __ppc_mdoom.
25539
13e23af7
CD
255402013-05-22 Carlos O'Donell <carlos@redhat.com>
25541
25542 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25543 (main): Mention "tls" pseudo-hwcap is legacy.
25544 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25545
351fe550
JM
255462013-05-22 Joseph Myers <joseph@codesourcery.com>
25547
25548 * math/gen-libm-test.pl (parse_args): Output only string of
25549 arguments as text for test name, not full call or descriptions of
25550 tests for extra outputs.
25551 (generate_testfile): Do not pass function name to parse_args.
25552 Generate this_func variable from START.
25553 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25554 field to arg_str.
25555 (struct test_ff_f_data): Likewise.
25556 (test_ff_f_data_nexttoward): Likewise.
25557 (struct test_fi_f_data): Likewise.
25558 (struct test_fl_f_data): Likewise.
25559 (struct test_if_f_data): Likewise.
25560 (struct test_fff_f_data): Likewise.
25561 (struct test_c_f_data): Likewise.
25562 (struct test_f_f1_data): Likewise. Remove field extra_name.
25563 (struct test_fF_f1_data): Likewise.
25564 (struct test_ffI_f1_data): Likewise.
25565 (struct test_c_c_data): Rename test_name field to arg_str.
25566 (struct test_cc_c_data): Likewise.
25567 (struct test_f_i_data): Likewise.
25568 (struct test_ff_i_data): Likewise.
25569 (struct test_f_l_data): Likewise.
25570 (struct test_f_L_data): Likewise.
25571 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25572 and extra2_name.
25573 (COMMON_TEST_SETUP): New macro.
25574 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25575 (COMMON_TEST_CLEANUP): Likewise.
25576 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25577 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25578 macros.
25579 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25580 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25581 macros.
25582 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25583 (RUN_TEST_fff_f): Take argument string. Call new setup and
25584 cleanup macros.
25585 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25586 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25587 macros.
25588 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25589 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25590 macros.
25591 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25592 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25593 cleanup macros.
25594 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25595 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25596 cleanup macros.
25597 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25598 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25599 cleanup macros.
25600 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25601 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25602 macros.
25603 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25604 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25605 macros.
25606 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25607 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25608 macros.
25609 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25610 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25611 cleanup macros.
25612 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25613 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25614 cleanup macros.
25615 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25616 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25617 macros.
25618 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25619 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25620 cleanup macros.
25621 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25622 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25623 macros.
25624 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25625 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25626 macros.
25627 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25628 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25629 cleanup macros.
25630 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25631
85118d4d
EBM
256322013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25633
25634 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25635 to _sifields.sigfault.
25636 (si_addr_lsb): Define new macro.
25637 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25638 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25639 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25640
7a44c18f
CD
256412013-05-03 Carlos O'Donell <carlos at redhat.com>
25642
25643 [BZ #15441]
25644 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25645 returns -1.
25646 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25647 null return -1.
25648 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25649 loading the domain.
25650
b50a7181
JM
256512013-05-22 Joseph Myers <joseph@codesourcery.com>
25652
25653 * math/gen-libm-test.pl (parse_args): Do not include expected
25654 result in test name.
25655 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25656 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25657 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25658 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25659 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25661
051063c8
SP
256622013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25663
3ce9e010
SP
25664 * benchtests/Makefile: Sort function entries.
25665
051063c8
SP
25666 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25667 tanh, asinh, acosh, atanh.
25668 * benchtests/acos-inputs: New file.
25669 * benchtests/acosh-inputs: New file.
25670 * benchtests/asin-inputs: New file.
25671 * benchtests/asinh-inputs: New file.
25672 * benchtests/atanh-inputs: New file.
25673 * benchtests/cosh-inputs: New file.
25674 * benchtests/log-inputs: New file.
25675 * benchtests/sinh-inputs: New file.
25676 * benchtests/tanh-inputs: New file.
25677
47c22455
DL
256782013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25679
25680 [BZ #15339]
25681 * posix/tst-getaddrinfo4.c: New test.
25682 * posix/Makefile (tests): Add it.
25683
3d04f5db
SP
256842013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25685
25686 [BZ #15339]
25687 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25688 when no services were used.
25689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25690 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25691
d5dd6189
AS
256922013-05-21 Andreas Schwab <schwab@suse.de>
25693
25694 [BZ #15014]
25695 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25696 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25697 successful.
25698 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25699 redundant variable declarations and reallocation of buffer when
25700 parsing as IPv6 address. Always set NSS status when called from
25701 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25702 buffer too small. Correct computation of needed size.
25703 * nss/Makefile (tests): Add test-digits-dots.
25704 * nss/test-digits-dots.c: New test.
25705
fef94eab
SP
257062013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25707
25708 * benchtests/Makefile: Remove instructions for adding
25709 benchmark tests.
25710 * benchtests/README: New file to explain how to execute and
25711 enhance the benchmark tests.
25712
e39adf43
AS
257132013-05-21 Andreas Schwab <schwab@suse.de>
25714
25715 [BZ #15493]
25716 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25717 * setjmp/tst-sigsetjmp.c: New test.
25718
b2b671b6
OB
257192013-05-20 Ondřej Bílka <neleai@seznam.cz>
25720
25721 * sysdeps/x86_64/memset.S (memset): New implementation.
25722 (__bzero): Likewise.
25723 (__memset_tail): New function.
25724
2d48b41c
OB
257252013-05-20 Ondřej Bílka <neleai@seznam.cz>
25726
25727 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25728 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25729 __memcpy_sse2_unaligned ifunc selection.
25730 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25731 Add memcpy-sse2-unaligned.S.
25732 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25733 Add: __memcpy_sse2_unaligned.
25734
f16cc3eb
JM
257352013-05-19 Joseph Myers <joseph@codesourcery.com>
25736
3e694268
JM
25737 [BZ #15490]
25738 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25739 math_force_eval before restoring floating-point envrionment.
25740 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25741 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25742 Likewise.
25743 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25744 <math_private.h>.
25745 (__nearbyintl): Use math_force_eval before restoring
25746 floating-point environment.
25747 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25748
db62a907
JM
25749 * math/gen-libm-test.pl (special_functions): Remove.
25750 (parse_args): Don't handle TEST_extra. Handle functions with no
25751 return value.
25752 * math/libm-test.inc (struct test_sincos_data): Replace with
25753 struct test_fFF_11_data.
25754 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25755 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25756 (sincos_test_data): Change element type to struct
25757 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25758 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25759 RUN_TEST_LOOP_sincos.
25760 * math/README.libm-test: Don't mention special handling of
25761 individual functions.
25762 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25763 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25764 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25765 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25766 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25768
f16cc3eb
JM
25769 * math/gen-libm-test.pl (get_variable): Remove function.
25770 (parse_args): Don't show pointer parameters to call in test
25771 names. Use "extra output N" in test names for extra outputs
25772 rather than naming variables.
25773
3779b5b6
JM
257742013-05-18 Joseph Myers <joseph@codesourcery.com>
25775
2ee094ff
JM
25776 [BZ #15488]
25777 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25778 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25779 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25780 double tests.
25781 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25782 disable.
25783 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25784 check_long_double.
25785
3779b5b6
JM
25786 * math/gen-libm-test.pl (@tests): Remove variable.
25787 ($count): Likewise.
25788 (new_test): Remove function.
25789 (show_exceptions): New function.
25790 (special_functions): Use show_exceptions instead of new_test.
25791 (parse_args): Likewise.
25792 (generate_testfile): Pass only function name in generated call to
25793 print_max_error or print_complex_max_error.
25794 (get_ulps): Do not handle complex tests specially.
25795 (output_test): Rename to ...
25796 (get_all_ulps_for_test): ... this. Return a string rather than
25797 printing to a file. Require ulps to be present.
25798 (output_ulps): Generate arrays rather than #defines.
25799 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25800 (struct ulp_data): New type.
25801 (BUILD_COMPLEX_ULP): Remove macro.
25802 (compare_ulp_data): New function.
25803 (find_ulps): Likewise.
25804 (find_test_ulps): Likewise.
25805 (find_function_ulps): Likewise.
25806 (find_complex_function_ulps): Likewise.
25807 (print_max_error): Determine allowed ulps using
25808 find_function_ulps.
25809 (print_complex_max_error): Determine allowed ulps using
25810 find_complex_function_ulps.
25811 (check_float_internal): Determine max ulps using find_test_ulps.
25812 (check_float): Do not take max_ulp parameter. Update call to
25813 check_float_internal.
25814 (check_complex): Likewise.
25815 (check_int): Do not take max_ulp parameter.
25816 (check_long): Likewise.
25817 (check_bool): Likewise.
25818 (check_longlong): Likewise.
25819 (struct test_f_f_data): Remove max_ulp field.
25820 (struct test_ff_f_data): Likewise.
25821 (struct test_ff_f_data_nexttoward): Likewise.
25822 (struct test_fi_f_data): Likewise.
25823 (struct test_fl_f_data): Likewise.
25824 (struct test_if_f_data): Likewise.
25825 (struct test_fff_f_data): Likewise.
25826 (struct test_c_f_data): Likewise.
25827 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25828 (struct test_fF_f1_data): Likewise.
25829 (struct test_ffI_f1_data): Likewise.
25830 (struct test_c_c_data): Remove max_ulp field.
25831 (struct test_cc_c_data): Likewise.
25832 (struct test_f_i_data): Likewise.
25833 (struct test_ff_i_data): Likewise.
25834 (struct test_f_l_data): Likewise.
25835 (struct test_f_L_data): Likewise.
25836 (struct test_sincos_data): Likewise.
25837 (RUN_TEST_f_f): Do not handle ulps.
25838 (RUN_TEST_LOOP_f_f): Likewise.
25839 (RUN_TEST_2_f): Likewise.
25840 (RUN_TEST_LOOP_2_f): Likewise.
25841 (RUN_TEST_fff_f): Likewise.
25842 (RUN_TEST_LOOP_fff_f): Likewise.
25843 (RUN_TEST_c_f): Likewise.
25844 (RUN_TEST_LOOP_c_f): Likewise.
25845 (RUN_TEST_f_f1): Likewise.
25846 (RUN_TEST_LOOP_f_f1): Likewise.
25847 (RUN_TEST_fF_f1): Likewise.
25848 (RUN_TEST_LOOP_fF_f1): Likewise.
25849 (RUN_TEST_fI_f1): Likewise.
25850 (RUN_TEST_LOOP_fI_f1): Likewise.
25851 (RUN_TEST_ffI_f1): Likewise.
25852 (RUN_TEST_LOOP_ffI_f1): Likewise.
25853 (RUN_TEST_c_c): Likewise.
25854 (RUN_TEST_LOOP_c_c): Likewise.
25855 (RUN_TEST_cc_c): Likewise.
25856 (RUN_TEST_LOOP_cc_c): Likewise.
25857 (RUN_TEST_f_i): Likewise.
25858 (RUN_TEST_LOOP_f_i): Likewise.
25859 (RUN_TEST_f_i_tg): Likewise.
25860 (RUN_TEST_LOOP_f_i_tg): Likewise.
25861 (RUN_TEST_ff_i_tg): Likewise.
25862 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25863 (RUN_TEST_f_b): Likewise.
25864 (RUN_TEST_LOOP_f_b): Likewise.
25865 (RUN_TEST_f_b_tg): Likewise.
25866 (RUN_TEST_LOOP_f_b_tg): Likewise.
25867 (RUN_TEST_f_l): Likewise.
25868 (RUN_TEST_LOOP_f_l): Likewise.
25869 (RUN_TEST_f_L): Likewise.
25870 (RUN_TEST_LOOP_f_L): Likewise.
25871 (RUN_TEST_sincos): Likewise.
25872 (RUN_TEST_LOOP_sincos): Likewise.
25873
8269107f
JM
258742013-05-17 Joseph Myers <joseph@codesourcery.com>
25875
bb38759d
JM
25876 [BZ #15480]
25877 [BZ #15485]
25878 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25879 main case of finite arguments, set rounding mode to FE_TONEAREST
25880 and discard exceptions.
25881 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25882 exceptions.
25883 (remainder_tonearest_test_data): New variable.
25884 (remainder_test_tonearest): New function.
25885 (remainder_towardzero_test_data): New variable.
25886 (remainder_test_towardzero): New function.
25887 (remainder_downward_test_data): New variable.
25888 (remainder_test_downward): New function.
25889 (remainder_upward_test_data): New variable.
25890 (remainder_test_upward): New function.
25891 (main): Call the new test functions.
25892
a00bdcf0
JM
25893 * math/libm-test.inc (struct test_f_f1_data): Remove field
25894 extra_init.
25895 (struct test_fF_f1_data): Likewise.
25896 (struct test_ffI_f1_data): Likewise.
25897 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25898 based on value of EXTRA_EXPECTED.
25899 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25900 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25901 EXTRA_VAR based on value of EXTRA_EXPECTED.
25902 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25903 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25904 EXTRA_VAR based on value of EXTRA_EXPECTED.
25905 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25906 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25907 EXTRA_VAR based on value of EXTRA_EXPECTED.
25908 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25909 * math/gen-libm-test.pl (parse_args): Don't output initializers
25910 for extra output values.
25911
de407f79
JM
25912 * math/libm-test.inc (check_int): Expect result to be exactly
25913 equal to expected value and do not handle ulps.
25914 (check_long): Likewise.
25915 (check_longlong): Likewise.
25916
8269107f
JM
25917 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25918 exceptions.
25919 (cimag_test_data): Likewise.
25920 (conj_test_data): Likewise.
25921 (copysign_test_data): Likewise.
25922 (cproj_test_data): Likewise.
25923 (creal_test_data): Likewise.
25924 (fabs_test_data): Likewise.
25925 (fdim_test_data): Likewise.
25926 (finite_test_data): Likewise.
25927 (floor_test_data): Likewise.
25928 (fmax_test_data): Likewise.
25929 (fmin_test_data): Likewise.
25930 (fmod_test_data): Likewise.
25931 (fpclassify_test_data): Likewise.
25932 (frexp_test_data): Likewise.
25933 (ilogb_test_data): Likewise.
25934 (isfinite_test_data): Likewise.
25935 (isgreater_test_data): Likewise.
25936 (isgreaterequal_test_data): Likewise.
25937 (isinf_test_data): Likewise.
25938 (isless_test_data): Likewise.
25939 (islessequal_test_data): Likewise.
25940 (islessgreater_test_data): Likewise.
25941 (isnan_test_data): Likewise.
25942 (isnormal_test_data): Likewise.
25943 (issignaling_test_data): Likewise.
25944 (isunordered_test_data): Likewise.
25945 (ldexp_test_data): Likewise.
25946 (lrint_test_data): Likewise.
25947 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25948 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25949 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25950 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25951 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25952 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25953 test input.
25954 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25955 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25956 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25957 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25958 that test input.
25959 (lrint_downward_test_data): Test for "inexact" exceptions.
25960 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25961 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25962 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25963 test input.
25964 (lrint_upward_test_data): Test for "inexact" exceptions.
25965 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25966 test input.
25967 (llrint_test_data): Test for "inexact" exceptions.
25968 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25969 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25970 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25971 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25972 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25973 (llrint_downward_test_data): Test for "inexact" exceptions.
25974 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25975 (llrint_upward_test_data): Test for "inexact" exceptions.
25976 (logb_test_data): Likewise.
25977 (logb_downward_test_data): Likewise.
25978 (nextafter_test_data): Likewise.
25979 (nexttoward_test_data): Likewise.
25980 (remainder_test_data): Likewise.
25981 (remquo_test_data): Likewise.
25982 (scalbn_test_data): Likewise.
25983 (scalbln_test_data): Likewise.
25984 (signbit_test_data): Likewise.
25985 (sqrt_test_data): Likewise.
25986 (significand_test_data): Likewise.
25987
48a18de1
SP
259882013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25989
25990 [BZ #15424]
25991 * benchtests/bench-modf.c (struct args): Mark arg0 as
25992 volatile.
25993 * scripts/bench.pl: Mark members of struct args as volatile.
25994
13d3b41a
AZ
259952013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25996
68191c1d 25997 [BZ # 15497]
13d3b41a
AZ
25998 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25999 negative infinity on POWER6 or lower.
26000 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26001
2848b105
MR
260022013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26003
26004 [BZ #15442]
26005 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26006 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26007 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26008 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26009 (_FP_SETQNAN): New macro.
26010 (_FP_SETQNAN_SEMIRAW): Likewise.
26011 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26012 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26013 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26014 (FP_EXTEND): Use _FP_FRAC_SNANP.
26015 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26016 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26017 into account.
26018 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26019 New macro.
26020 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26021 Likewise.
26022
323e5cb7
JM
260232013-05-16 Joseph Myers <joseph@codesourcery.com>
26024
c58b274f
JM
26025 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26026 with DIVIDE_BY_ZERO_EXCEPTION.
26027 (gamma_test_data): Likewise.
26028 (lgamma_test_data): Likewise.
26029 (log_test_data): Likewise.
26030 (log10_test_data): Likewise.
26031 (log2_test_data): Likewise.
26032 (tgamma_test_data): Likewise.
26033
0ab34904
JM
26034 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26035 (acos_test_tonearest): Likewise.
26036 (acos_test_towardzero): Likewise.
26037 (acos_test_downward): Likewise.
26038 (acos_test_upward): Likewise.
26039 (acosh_test): Likewise.
26040 (asin_test): Likewise.
26041 (asin_test_tonearest): Likewise.
26042 (asin_test_towardzero): Likewise.
26043 (asin_test_downward): Likewise.
26044 (asin_test_upward): Likewise.
26045 (asinh_test): Likewise.
26046 (atan_test): Likewise.
26047 (atanh_test): Likewise.
26048 (atan2_test): Likewise.
26049 (cabs_test): Likewise.
26050 (cacos_test): Likewise.
26051 (cacosh_test): Likewise.
26052 (casin_test): Likewise.
26053 (casinh_test): Likewise.
26054 (catan_test): Likewise.
26055 (catanh_test): Likewise.
26056 (cbrt_test): Likewise.
26057 (ccos_test): Likewise.
26058 (ccosh_test): Likewise.
26059 (cexp_test): Likewise.
26060 (clog_test): Likewise.
26061 (clog10_test): Likewise.
26062 (cos_test): Likewise.
26063 (cos_test_tonearest): Likewise.
26064 (cos_test_towardzero): Likewise.
26065 (cos_test_downward): Likewise.
26066 (cos_test_upward): Likewise.
26067 (cosh_test): Likewise.
26068 (cosh_test_tonearest): Likewise.
26069 (cosh_test_towardzero): Likewise.
26070 (cosh_test_downward): Likewise.
26071 (cosh_test_upward): Likewise.
26072 (cpow_test): Likewise.
26073 (csin_test): Likewise.
26074 (csinh_test): Likewise.
26075 (csqrt_test): Likewise.
26076 (ctan_test): Likewise.
26077 (ctan_test_tonearest): Likewise.
26078 (ctan_test_towardzero): Likewise.
26079 (ctan_test_downward): Likewise.
26080 (ctan_test_upward): Likewise.
26081 (ctanh_test): Likewise.
26082 (ctanh_test_tonearest): Likewise.
26083 (ctanh_test_towardzero): Likewise.
26084 (ctanh_test_downward): Likewise.
26085 (ctanh_test_upward): Likewise.
26086 (erf_test): Likewise.
26087 (erfc_test): Likewise.
26088 (exp_test): Likewise.
26089 (exp_test_tonearest): Likewise.
26090 (exp_test_towardzero): Likewise.
26091 (exp_test_downward): Likewise.
26092 (exp_test_upward): Likewise.
26093 (exp10_test): Likewise.
26094 (exp2_test): Likewise.
26095 (expm1_test): Likewise.
26096 (fmod_test): Likewise.
26097 (gamma_test): Likewise.
26098 (hypot_test): Likewise.
26099 (j0_test): Likewise.
26100 (j1_test): Likewise.
26101 (jn_test): Likewise.
26102 (lgamma_test): Likewise.
26103 (log_test): Likewise.
26104 (log10_test): Likewise.
26105 (log1p_test): Likewise.
26106 (log2_test): Likewise.
26107 (logb_test_downward): Likewise.
26108 (pow_test): Likewise.
26109 (pow_test_tonearest): Likewise.
26110 (pow_test_towardzero): Likewise.
26111 (pow_test_downward): Likewise.
26112 (pow_test_upward): Likewise.
26113 (remainder_test): Likewise.
26114 (remquo_test): Likewise.
26115 (sin_test): Likewise.
26116 (sin_test_tonearest): Likewise.
26117 (sin_test_towardzero): Likewise.
26118 (sin_test_downward): Likewise.
26119 (sin_test_upward): Likewise.
26120 (sincos_test): Likewise.
26121 (sinh_test): Likewise.
26122 (sinh_test_tonearest): Likewise.
26123 (sinh_test_towardzero): Likewise.
26124 (sinh_test_downward): Likewise.
26125 (sinh_test_upward): Likewise.
26126 (sqrt_test): Likewise.
26127 (tan_test): Likewise.
26128 (tan_test_tonearest): Likewise.
26129 (tan_test_towardzero): Likewise.
26130 (tan_test_downward): Likewise.
26131 (tan_test_upward): Likewise.
26132 (tanh_test): Likewise.
26133 (tgamma_test): Likewise.
26134 (y0_test): Likewise.
26135 (y1_test): Likewise.
26136 (yn_test): Likewise.
26137
323e5cb7
JM
26138 * math/gen-libm-test.pl (adjust_arg): Remove function.
26139 (special_function): Remove argument $in_func. Only handle
26140 generating output for tables of tests, not inside functions.
26141 (parse_args): Likewise.
26142 (generate_testfile): Remove variable $in_func. Update call to
26143 parse_args.
26144 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26145 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26146 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26147 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26148 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26149 (MAX_VALUE_INIT): Rename macro to max_value.
26150 (MIN_VALUE_INIT): Rename macro to min_value.
26151 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26152 (plus_zero): Remove variable.
26153 (minus_zero): Likewise.
26154 (plus_infty): Likewise.
26155 (minus_infty): Likewise.
26156 (qnan_value): Likewise.
26157 (max_value): Likewise.
26158 (min_value): Likewise.
26159 (min_subnorm_value): Likewise.
26160
e054f494
RA
261612013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26162
26163 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26164 uint64_t or uint32_t usage.
26165 * crypt/sha256-block.c: Likewise.
26166 * crypt/sha256-crypt.c: Likewise.
26167 * crypt/sha256.c: Likewise.
26168 * crypt/sha512-block.c: Likewise.
26169 * crypt/sha512-crypt.c: Likewise.
26170 * crypt/sha512.c: Likewise.
26171 * debug/backtrace-tst.c: Likewise.
26172 * debug/pcprofiledump.c: Likewise.
26173 * elf/cache.c: Likewise.
26174 * elf/dl-cache.c: Likewise.
26175 * elf/dl-misc.c: Likewise.
26176 * elf/dl-profile.c: Likewise.
26177 * elf/dl-support.c: Likewise.
26178 * elf/ldconfig.c: Likewise.
26179 * elf/sprof.c: Likewise.
26180 * iconv/dummy-repertoire.c: Likewise.
26181 * iconv/iconv_charmap.c: Likewise.
26182 * iconv/skeleton.c: Likewise.
26183 * iconvdata/8bit-generic.c: Likewise.
26184 * iconvdata/cp737.h: Likewise.
26185 * iconvdata/cp775.h: Likewise.
26186 * iconvdata/ibm1008.h: Likewise.
26187 * iconvdata/ibm1025.h: Likewise.
26188 * iconvdata/ibm1046.h: Likewise.
26189 * iconvdata/ibm1097.h: Likewise.
26190 * iconvdata/ibm1112.h: Likewise.
26191 * iconvdata/ibm1122.h: Likewise.
26192 * iconvdata/ibm1123.h: Likewise.
26193 * iconvdata/ibm1124.h: Likewise.
26194 * iconvdata/ibm1129.h: Likewise.
26195 * iconvdata/ibm1130.h: Likewise.
26196 * iconvdata/ibm1132.h: Likewise.
26197 * iconvdata/ibm1133.h: Likewise.
26198 * iconvdata/ibm1137.h: Likewise.
26199 * iconvdata/ibm1140.h: Likewise.
26200 * iconvdata/ibm1141.h: Likewise.
26201 * iconvdata/ibm1142.h: Likewise.
26202 * iconvdata/ibm1143.h: Likewise.
26203 * iconvdata/ibm1144.h: Likewise.
26204 * iconvdata/ibm1145.h: Likewise.
26205 * iconvdata/ibm1146.h: Likewise.
26206 * iconvdata/ibm1147.h: Likewise.
26207 * iconvdata/ibm1148.h: Likewise.
26208 * iconvdata/ibm1149.h: Likewise.
26209 * iconvdata/ibm1153.h: Likewise.
26210 * iconvdata/ibm1154.h: Likewise.
26211 * iconvdata/ibm1155.h: Likewise.
26212 * iconvdata/ibm1156.h: Likewise.
26213 * iconvdata/ibm1157.h: Likewise.
26214 * iconvdata/ibm1158.h: Likewise.
26215 * iconvdata/ibm1160.h: Likewise.
26216 * iconvdata/ibm1161.h: Likewise.
26217 * iconvdata/ibm1162.h: Likewise.
26218 * iconvdata/ibm1163.h: Likewise.
26219 * iconvdata/ibm1164.h: Likewise.
26220 * iconvdata/ibm1166.h: Likewise.
26221 * iconvdata/ibm1167.h: Likewise.
26222 * iconvdata/ibm12712.h: Likewise.
26223 * iconvdata/ibm1390.h: Likewise.
26224 * iconvdata/ibm1399.h: Likewise.
26225 * iconvdata/ibm16804.h: Likewise.
26226 * iconvdata/ibm4517.h: Likewise.
26227 * iconvdata/ibm4899.h: Likewise.
26228 * iconvdata/ibm4909.h: Likewise.
26229 * iconvdata/ibm4971.h: Likewise.
26230 * iconvdata/ibm5347.h: Likewise.
26231 * iconvdata/ibm803.h: Likewise.
26232 * iconvdata/ibm856.h: Likewise.
26233 * iconvdata/ibm901.h: Likewise.
26234 * iconvdata/ibm902.h: Likewise.
26235 * iconvdata/ibm9030.h: Likewise.
26236 * iconvdata/ibm9066.h: Likewise.
26237 * iconvdata/ibm921.h: Likewise.
26238 * iconvdata/ibm922.h: Likewise.
26239 * iconvdata/ibm9448.h: Likewise.
26240 * iconvdata/isiri-3342.h: Likewise.
26241 * iconvdata/jis0201.h: Likewise.
26242 * include/link.h: Likewise.
26243 * include/netdb.h: Likewise.
26244 * inet/check_native.c: Likewise.
26245 * inet/check_pf.c: Likewise.
26246 * inet/getipv4sourcefilter.c: Likewise.
26247 * inet/getnameinfo.c: Likewise.
26248 * inet/getsourcefilter.c: Likewise.
26249 * inet/htonl.c: Likewise.
26250 * inet/setipv4sourcefilter.c: Likewise.
26251 * inet/setsourcefilter.c: Likewise.
26252 * inet/test-inet6_opt.c: Likewise.
26253 * inet/tst-network.c: Likewise.
26254 * locale/C-collate.c: Likewise.
26255 * locale/C-ctype.c: Likewise.
26256 * locale/C-time.c: Likewise.
26257 * locale/C-translit.h: Likewise.
26258 * locale/loadarchive.c: Likewise.
26259 * locale/programs/3level.h: Likewise.
26260 * locale/programs/charmap.c: Likewise.
26261 * locale/programs/charmap.h: Likewise.
26262 * locale/programs/ld-address.c: Likewise.
26263 * locale/programs/ld-collate.c: Likewise.
26264 * locale/programs/ld-ctype.c: Likewise.
26265 * locale/programs/ld-identification.c: Likewise.
26266 * locale/programs/ld-measurement.c: Likewise.
26267 * locale/programs/ld-messages.c: Likewise.
26268 * locale/programs/ld-monetary.c: Likewise.
26269 * locale/programs/ld-name.c: Likewise.
26270 * locale/programs/ld-numeric.c: Likewise.
26271 * locale/programs/ld-paper.c: Likewise.
26272 * locale/programs/ld-telephone.c: Likewise.
26273 * locale/programs/ld-time.c: Likewise.
26274 * locale/programs/linereader.c: Likewise.
26275 * locale/programs/locale.c: Likewise.
26276 * locale/programs/locarchive.c: Likewise.
26277 * locale/programs/locfile.h: Likewise.
26278 * locale/programs/repertoire.c: Likewise.
26279 * locale/programs/simple-hash.c: Likewise.
26280 * locale/programs/simple-hash.h: Likewise.
26281 * malloc/memusage.c: Likewise.
26282 * malloc/memusagestat.c: Likewise.
26283 * nis/nis_defaults.c: Likewise.
26284 * nis/nis_hash.c: Likewise.
26285 * nis/nis_print.c: Likewise.
26286 * nis/nis_xdr.c: Likewise.
26287 * nscd/connections.c: Likewise.
26288 * nscd/hstcache.c: Likewise.
26289 * nscd/nscd_gethst_r.c: Likewise.
26290 * nscd/nscd_getserv_r.c: Likewise.
26291 * nscd/nscd_helper.c: Likewise.
26292 * nscd/servicescache.c: Likewise.
26293 * nss/makedb.c: Likewise.
26294 * nss/nss_db/db-XXX.c: Likewise.
26295 * nss/nss_db/db-initgroups.c: Likewise.
26296 * nss/nss_db/db-netgrp.c: Likewise.
26297 * nss/nss_files/files-network.c: Likewise.
26298 * nss/nss_files/files-parse.c: Likewise.
26299 * posix/bug-regex5.c: Likewise.
26300 * posix/fnmatch_loop.c: Likewise.
26301 * posix/regcomp.c: Likewise.
26302 * posix/regexec.c: Likewise.
26303 * posix/tst-rfc3484-2.c: Likewise.
26304 * posix/tst-rfc3484-3.c: Likewise.
26305 * posix/tst-rfc3484.c: Likewise.
26306 * resolv/nss_dns/dns-canon.c: Likewise.
26307 * resolv/nss_dns/dns-network.c: Likewise.
26308 * resolv/res_init.c: Likewise.
26309 * resolv/res_mkquery.c: Likewise.
26310 * resolv/tst-aton.c: Likewise.
26311 * stdlib/cxa_atexit.c: Likewise.
26312 * stdlib/cxa_finalize.c: Likewise.
26313 * stdlib/gen-fpioconst.c: Likewise.
26314 * stdlib/strtol_l.c: Likewise.
26315 * string/tst-endian.c: Likewise.
26316 * sunrpc/auth_des.c: Likewise.
26317 * sunrpc/clnt_udp.c: Likewise.
26318 * sunrpc/rtime.c: Likewise.
26319 * sunrpc/svcauth_des.c: Likewise.
26320 * sunrpc/xdr.c: Likewise.
26321 * sunrpc/xdr_intXX_t.c: Likewise.
26322 * sunrpc/xdr_rec.c: Likewise.
26323 * sysdeps/generic/ldconfig.h: Likewise.
26324 * sysdeps/generic/ldsodefs.h: Likewise.
26325 * sysdeps/generic/memusage.h: Likewise.
26326 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26327 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26328 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26329 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26330 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26331 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26332 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26333 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26334 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26335 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26336 * sysdeps/posix/getaddrinfo.c: Likewise.
26337 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26338 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26339 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26340 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26341 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26342 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26343 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26344 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26345 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26346 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26347 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26348 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26349 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26350 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26351 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26352 * sysdeps/x86_64/dl-tls.h: Likewise.
26353 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26354 * time/alt_digit.c: Likewise.
26355 * time/era.c: Likewise.
26356 * wcsmbs/tst-c16c32-1.c: Likewise.
26357
8c75f674
JM
263582013-05-16 Joseph Myers <joseph@codesourcery.com>
26359
26360 * math/libm-test.inc (struct test_sincos_data): New type.
26361 (RUN_TEST_LOOP_sincos): New macro.
26362 (sincos_test_data): New variable.
26363 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26364
e6e49e59
RH
263652013-05-16 Richard Henderson <rth@redhat.com>
26366
26367 * math/atest-exp2.c (LIMB64): New macro.
26368 (CONSTSZ): New macro.
26369 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26370 (hexdig): Move ...
26371 (print_mpn_fp): ... to function scope.
26372 (read_mpn_hex): Remove.
26373 (get_log2): Remove.
26374 (exp2_mpn): Use mp_log2.
26375 (main): Use mp_exp1.
26376
15c7c18d
JM
263772013-05-16 Joseph Myers <joseph@codesourcery.com>
26378
105a07df
JM
26379 * math/libm-test.inc: Remove comment about not testing "inexact"
26380 exceptions.
26381 (INEXACT_EXCEPTION): New macro.
26382 (NO_INEXACT_EXCEPTION): Likewise.
26383 (INVALID_EXCEPTION_OK): Update value.
26384 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26385 (OVERFLOW_EXCEPTION_OK): Likewise.
26386 (UNDERFLOW_EXCEPTION_OK): Likewise.
26387 (IGNORE_ZERO_INF_SIGN): Likewise.
26388 (ERRNO_UNCHANGED): Likewise.
26389 (ERRNO_EDOM): Likewise.
26390 (ERRNO_ERANGE): Likewise.
26391 (test_exceptions): Handle testing "inexact" exceptions.
26392 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26393 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26394 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26395 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26396 INEXACT_EXCEPTION.
26397 (rint_towardzero_test_data): Likewise.
26398 (rint_downward_test_data): Likewise.
26399 (rint_upward_test_data): Likewise.
26400
e9eee333
JM
26401 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26402 with OVERFLOW_EXCEPTION.
26403 (exp10_test_data): Likewise.
26404 (exp2_test_data): Likewise.
26405 (expm1_test_data): Likewise.
26406 (lgamma_test_data): Likewise.
26407 (pow_test_data): Likewise.
26408 (tgamma_test_data): Likewise.
26409 (yn_test_data): Remove duplicate test of overflow.
26410
1c38ff73
JM
26411 * math/libm-test.inc (struct test_cc_c_data): New type.
26412 (RUN_TEST_LOOP_cc_c): New macro.
26413 (cpow_test_data): New variable.
26414 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26415
15c7c18d
JM
26416 * math/libm-test.inc (struct test_f_L_data): New type.
26417 (RUN_TEST_LOOP_f_L): New macro.
26418 (llrint_test_data): New variable.
26419 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26420 (llrint_tonearest_test_data): New variable.
26421 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26422 (llrint_towardzero_test_data): New variable.
26423 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26424 (llrint_downward_test_data): New variable.
26425 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26426 (llrint_upward_test_data): New variable.
26427 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26428 (llround_test_data): New variable.
26429 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26430
f137ff13
PC
264312013-05-13 Peter Collingbourne <pcc@google.com>
26432
26433 * math/atest-exp2.c (get_log2): Remove const attribute.
26434
3608cb24
JM
264352013-05-15 Joseph Myers <joseph@codesourcery.com>
26436
26437 * math/libm-test.inc (struct test_f_l_data): New type.
26438 (RUN_TEST_LOOP_f_l): New macro.
26439 (lrint_test_data): New variable.
26440 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26441 (lrint_tonearest_test_data): New variable.
26442 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26443 (lrint_towardzero_test_data): New variable.
26444 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26445 (lrint_downward_test_data): New variable.
26446 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26447 (lrint_upward_test_data): New variable.
26448 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26449 (lround_test_data): New variable.
26450 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26451
39b1f617
PC
264522013-05-15 Peter Collingbourne <pcc@google.com>
26453
1deff3dc
PC
26454 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26455 (EXTRACT_WORDS64) Use where appropriate.
26456 (INSERT_WORDS64) Likewise.
26457
791f3ba0
PC
26458 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26459 constraints with x constraints.
26460 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26461
39b1f617
PC
26462 * malloc/obstack.c (_obstack_compat): Add initializer.
26463
12fba011
EM
264642013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26465
26466 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26467 si_trapno and add si_addr_lsb to _sifields.sigfault.
26468 (si_trapno): Remove macro.
26469 (si_addr_lsb): Define new macro.
26470 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26471
d369f531
JM
264722013-05-15 Joseph Myers <joseph@codesourcery.com>
26473
b861c6c4
JM
26474 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26475 instead of TEST_f_l.
26476 (llrint_test_tonearest): Likewise.
26477 (llrint_test_towardzero): Likewise.
26478 (llrint_test_downward): Likewise.
26479 (llrint_test_upward): Likewise.
26480 (llround_test): Likewise.
26481
7abeee12
JM
26482 * math/libm-test.inc (struct test_f_i_data): Add comment.
26483 (RUN_TEST_LOOP_f_b): New macro.
26484 (RUN_TEST_LOOP_f_b_tg): Likewise.
26485 (finite_test_data): New variable.
26486 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26487 (isfinite_test_data): New variable.
26488 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26489 (isinf_test_data): New variable.
26490 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26491 (isnan_test_data): New variable.
26492 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26493 (isnormal_test_data): New variable.
26494 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26495 (issignaling_test_data): New variable.
26496 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26497 (signbit_test_data): New variable.
26498 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26499
cbe8c4d3
JM
26500 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26501 with INVALID_EXCEPTION.
26502 (acosh_test_data): Likewise.
26503 (asin_test_data): Likewise.
26504 (atanh_test_data): Likewise.
26505 (fmod_test_data): Likewise.
26506 (log_test_data): Likewise.
26507 (log10_test_data): Likewise.
26508 (log2_test_data): Likewise.
26509 (pow_test_data): Likewise.
26510 (sqrt_test_data): Likewise.
26511 (y0_test_data): Likewise.
26512 (y1_test_data): Likewise.
26513 (yn_test_data): Likewise.
26514
5575c0e5
JM
26515 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26516 function contents.
26517
d369f531
JM
26518 * math/libm-test.inc (struct test_ff_i_data): New type.
26519 (RUN_TEST_LOOP_ff_i_tg): New macro.
26520 (isgreater_test_data): New variable.
26521 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26522 (isgreaterequal_test_data): New variable.
26523 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26524 (isless_test_data): New variable.
26525 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26526 (islessequal_test_data): New variable.
26527 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26528 (islessgreater_test_data): New variable.
26529 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26530 (isunordered_test_data): New variable.
26531 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26532
781fd748
DM
265332013-05-14 David S. Miller <davem@davemloft.net>
26534
26535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26536
87aa21df
JM
265372013-05-14 Joseph Myers <joseph@codesourcery.com>
26538
5e908270
JM
26539 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26540
f71172e5
JM
26541 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26542 extra_test to int.
26543 (struct test_f_i_data): Change type of max_ulp to int.
26544
8cfa635a
JM
26545 * math/libm-test.inc (test_ffI_f1_data): New type.
26546 (RUN_TEST_LOOP_ffI_f1): New macro.
26547 (remquo_test_data): New variable.
26548 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26549
2bcb36b2
JM
26550 * setjmp/tst-setjmp-fp.c: New file.
26551 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26552 (link-libm): New variable.
26553 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26554
acbd839a
JM
26555 * math/libm-test.inc (struct test_f_i_data): New type.
26556 (RUN_TEST_LOOP_f_i): New macro.
26557 (RUN_TEST_LOOP_f_i_tg): Likewise.
26558 (fpclassify_test_data): New variable.
26559 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26560 (ilogb_test_data): New variable.
26561 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26562
e414d745
JM
26563 * math/libm-test.inc (scalbln_test): Correct function name in END
26564 call.
26565
d9c2a0fd
JM
26566 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26567 (RUN_TEST_LOOP_fI_f1): New macro.
26568 (frexp_test_data): New variable.
26569 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26570
9dc9095d
JM
26571 * math/libm-test.inc (struct test_fF_f1_data): New type.
26572 (RUN_TEST_LOOP_fF_f1): New macro.
26573 (modf_test_data): New variable.
26574 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26575
87aa21df
JM
26576 * math/libm-test.inc (struct test_f_f1_data): New type.
26577 (RUN_TEST_LOOP_f_f1): New macro.
26578 (gamma_test_data): New variable.
26579 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26580 (lgamma_test_data): New variable.
26581 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26582
141af660
CD
265832013-05-13 Carlos O'Donell <carlos@redhat.com>
26584
26585 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26586 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26587 (main): Comment "tls" pseudo-hwcap.
26588
6d33265c
JM
265892013-05-13 Joseph Myers <joseph@codesourcery.com>
26590
68fc074c
JM
26591 * math/libm-test.inc (struct test_fl_f_data): New type.
26592 (RUN_TEST_LOOP_fl_f): New variable.
26593 (scalbln_test_data): New variable.
26594 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26595
243216e1
JM
26596 * math/libm-test.inc (struct test_fi_f_data): New type.
26597 (RUN_TEST_LOOP_fi_f): New macro.
26598 (ldexp_test_data): New variable.
26599 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26600 (scalbn_test_data): New variable.
26601 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26602
6a1992e2
JM
26603 * math/libm-test.inc (struct test_c_f_data): New type.
26604 (RUN_TEST_LOOP_c_f): New macro.
26605 (cabs_test_data): New variable.
26606 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26607 (carg_test_data): New variable.
26608 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26609 (cimag_test_data): New variable.
26610 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26611 (creal_test_data): New variable.
26612 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26613
0e400df5
JM
26614 * math/libm-test.inc (struct test_if_f_data): New type.
26615 (RUN_TEST_LOOP_if_f): New macro.
26616 (jn_test_data): New variable.
26617 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26618 (yn_test_data): New variable.
26619 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26620
6d33265c
JM
26621 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26622
f98ece5f
AZ
266232013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26624
26625 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26626 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26627
0f7d347b
SP
266282013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26629
43fe811b
SP
26630 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26631 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26632 (bench-deps): Add bench-timing.h.
26633 * benchtests-bench-skeleton.c: Include bench-timing.h.
26634 (main): Use TIMING_* macros instead of clock_gettime.
26635 * benchtests/bench-timing.h: New file.
26636
0f7d347b
SP
26637 [BZ #14582]
26638 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26639 Renamed from _LIB_VERSION.
26640 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26641
601a3a5f
JM
266422013-05-12 Joseph Myers <joseph@codesourcery.com>
26643
4f184d30
JM
26644 * math/libm-test.inc (struct test_fff_f_data): New type.
26645 (RUN_TEST_LOOP_fff_f): New macro.
26646 (fma_test_data): New variable.
26647 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26648 (fma_towardzero_test_data): New variable.
26649 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26650 (fma_downward_test_data): New variable.
26651 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26652 (fma_upward_test_data): New variable.
26653 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26654
08198877
JM
26655 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26656 (struct test_c_c_data): New type.
26657 (RUN_TEST_LOOP_c_c): New macro.
26658 (cacos_test_data): New variable.
26659 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26660 (cacosh_test_data): New variable.
26661 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26662 (casin_test_data): New variable.
26663 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26664 (casinh_test_data): New variable.
26665 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26666 (catan_test_data): New variable.
26667 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26668 (catanh_test_data): New variable.
26669 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26670 (ccos_test_data): New variable.
26671 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26672 (ccosh_test_data): New variable.
26673 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26674 (cexp_test_data): New variable.
26675 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26676 (clog_test_data): New variable.
26677 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26678 (clog10_test_data): New variable.
26679 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26680 (conj_test_data): New variable.
26681 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26682 (cproj_test_data): New variable.
26683 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26684 (csin_test_data): New variable.
26685 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26686 (csinh_test_data): New variable.
26687 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26688 (csqrt_test_data): New variable.
26689 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26690 (ctan_test_data): New variable.
26691 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26692 (ctan_tonearest_test_data): New variable.
26693 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26694 (ctan_towardzero_test_data): New variable.
26695 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26696 (ctan_downward_test_data): New variable.
26697 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26698 (ctan_upward_test_data): New variable.
26699 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26700 (ctanh_test_data): New variable.
26701 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26702 (ctanh_tonearest_test_data): New variable.
26703 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26704 (ctanh_towardzero_test_data): New variable.
26705 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26706 (ctanh_downward_test_data): New variable.
26707 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26708 (ctanh_upward_test_data): New variable.
26709 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26710 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26711 of BUILD_COMPLEX.
26712
601a3a5f
JM
26713 * math/libm-test.inc (struct test_ff_f_data): New type.
26714 (struct test_ff_f_data_nexttoward): Likewise.
26715 (RUN_TEST_LOOP_2_f): New macro.
26716 (RUN_TEST_LOOP_ff_f): Likewise.
26717 (atan2_test_data): New variable.
26718 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26719 (copysign_test_data): New variable.
26720 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26721 (fdim_test_data): New variable.
26722 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26723 (fmax_test_data): New variable.
26724 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26725 (fmin_test_data): New variable.
26726 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26727 (fmod_test_data): New variable.
26728 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26729 (hypot_test_data): New variable.
26730 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26731 (nextafter_test_data): New variable.
26732 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26733 (nexttoward_test_data): New variable.
26734 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26735 (pow_test_data): New variable.
26736 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26737 (pow_tonearest_test_data): New variable.
26738 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26739 (pow_towardzero_test_data): New variable.
26740 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26741 (pow_downward_test_data): New variable.
26742 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26743 (pow_upward_test_data): New variable.
26744 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26745 (remainder_test_data): New variable.
26746 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26747 (scalb_test_data): New variable.
26748 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26749 * sysdeps/i386/fpu/libm-test-ulps: Update.
26750
74c57478
JM
267512013-05-11 Joseph Myers <joseph@codesourcery.com>
26752
8329e4da
JM
26753 * math/libm-test.inc (fma_test): Use max_value instead of local
26754 variable fltmax.
26755 (nextafter_test): Likewise.
26756
74c57478
JM
26757 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26758 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26759 (acos_downward_test_data): New variable.
26760 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26761 (acos_upward_test_data): New variable.
26762 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26763 (acosh_test_data): New variable.
26764 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26765 (asin_test_data): New variable.
26766 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26767 (asin_tonearest_test_data): New variable.
26768 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26769 (asin_towardzero_test_data): New variable.
26770 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26771 (asin_downward_test_data): New variable.
26772 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26773 (asin_upward_test_data): New variable.
26774 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26775 (asinh_test_data): New variable.
26776 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26777 (atan_test_data): New variable.
26778 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26779 (atanh_test_data): New variable.
26780 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26781 (cbrt_test_data): New variable.
26782 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26783 (ceil_test_data): New variable.
26784 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26785 (cos_test_data): New variable.
26786 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26787 (cos_tonearest_test_data): New variable.
26788 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26789 (cos_towardzero_test_data): New variable.
26790 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26791 (cos_downward_test_data): New variable.
26792 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26793 (cos_upward_test_data): New variable.
26794 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26795 (cosh_test_data): New variable.
26796 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26797 (cosh_tonearest_test_data): New variable.
26798 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26799 (cosh_towardzero_test_data): New variable.
26800 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26801 (cosh_downward_test_data): New variable.
26802 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26803 (cosh_upward_test_data): New variable.
26804 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26805 (erf_test_data): New variable.
26806 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26807 (erfc_test_data): New variable.
26808 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26809 (exp_test_data): New variable.
26810 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26811 (exp_tonearest_test_data): New variable.
26812 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26813 (exp_towardzero_test_data): New variable.
26814 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26815 (exp_downward_test_data): New variable.
26816 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26817 (exp_upward_test_data): New variable.
26818 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26819 (exp10_test_data): New variable.
26820 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26821 (exp2_test_data): New variable.
26822 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26823 (expm1_test_data): New variable.
26824 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26825 (fabs_test_data): New variable.
26826 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26827 (floor_test_data): New variable.
26828 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26829 (j0_test_data): New variable.
26830 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26831 (j1_test_data): New variable.
26832 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26833 (log_test_data): New variable.
26834 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26835 (log10_test_data): New variable.
26836 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26837 (log1p_test_data): New variable.
26838 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26839 (log2_test_data): New variable.
26840 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26841 (logb_test_data): New variable.
26842 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26843 (logb_downward_test_data): New variable.
26844 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26845 (nearbyint_test_data): New variable.
26846 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26847 (rint_test_data): New variable.
26848 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26849 (rint_tonearest_test_data): New variable.
26850 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26851 (rint_towardzero_test_data): New variable.
26852 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26853 (rint_downward_test_data): New variable.
26854 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26855 (rint_upward_test_data): New variable.
26856 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26857 (round_test_data): New variable.
26858 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26859 (sin_test_data): New variable.
26860 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26861 (sin_tonearest_test_data): New variable.
26862 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26863 (sin_towardzero_test_data): New variable.
26864 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26865 (sin_downward_test_data): New variable.
26866 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26867 (sin_upward_test_data): New variable.
26868 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26869 (sinh_test_data): New variable.
26870 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26871 (sinh_tonearest_test_data): New variable.
26872 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26873 (sinh_towardzero_test_data): New variable.
26874 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26875 (sinh_downward_test_data): New variable.
26876 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26877 (sinh_upward_test_data): New variable.
26878 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26879 (sqrt_test_data): New variable.
26880 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26881 (tan_test_data): New variable.
26882 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26883 (tan_tonearest_test_data): New variable.
26884 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26885 (tan_towardzero_test_data): New variable.
26886 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26887 (tan_downward_test_data): New variable.
26888 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26889 (tan_upward_test_data): New variable.
26890 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26891 (tanh_test_data): New variable.
26892 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26893 (tgamma_test_data): New variable.
26894 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26895 (trunc_test_data): New variable.
26896 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26897 (y0_test_data): New variable.
26898 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26899 (y1_test_data): New variable.
26900 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26901 (significand_test_data): New variable.
26902 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26903
7187d844
CG
269042013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26905
26906 [BZ #12387]
26907 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26908
f63fae73
PT
269092013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26910
26911 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26912
8a67a4b3
AJ
269132013-05-10 Andreas Jaeger <aj@suse.de>
26914
26915 [BZ #15448]
26916 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26917 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26918
51df539d
JM
269192013-05-10 Joseph Myers <joseph@codesourcery.com>
26920
26921 * math/gen-libm-test.pl (adjust_arg): New function.
26922 (special_functions): Handle generating output in both functions
26923 and arrays.
26924 (parse_args): Likewise.
26925 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26926 $in_func argument to parse_args.
26927 * math/libm-test.inc (struct test_f_f_data): New type.
26928 (IF_ROUND_INIT_): New macro.
26929 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26930 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26931 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26932 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26933 (ROUND_RESTORE_): Likewise.
26934 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26935 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26936 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26937 (ROUND_RESTORE_FE_UPWARD): Likewise.
26938 (RUN_TEST_LOOP_f_f): New macro.
26939 (acos_test_data): New variable.
26940 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26941 (acos_tonearest_test_data): New variable.
26942 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26943
5c637fe5
SP
269442013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26945
26946 * benchtests/bench-skeleton.c (startup): Fix coding style.
26947
ab2b9461
JM
269482013-05-10 Joseph Myers <joseph@codesourcery.com>
26949
26950 [BZ #6809]
26951 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26952 negative infinity argument.
26953 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26954 negative infinity argument.
26955 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26956 negative infinity argument.
26957 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26958 domain errors.
26959
4c0fe6fe
FW
269602013-05-10 Florian Weimer <fweimer@redhat.com>
26961
26962 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26963 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26964 * iconv/iconv_prog.c (main): Likewise.
26965 * locale/programs/charmap-dir.c (charmap_readdir)
26966 (fopen_uncompressed): Likewise.
26967 * locale/programs/locfile.c (siblings_uncached)
26968 (write_locale_data): Use lstat64 instead of lstat.
26969 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26970 stat.
26971
a3375d29
AJ
269722013-05-10 Andreas Jaeger <aj@suse.de>
26973
26974 [BZ #15395]
26975 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26976 localization.
26977 Include <locale.h>.
26978
36129722
CD
269792013-05-09 Carlos O'Donell <carlos@redhat.com>
26980
26981 * elf/dl-close.c (_dl_close_worker): Add comments.
26982
faa7f811
JM
269832013-05-09 Joseph Myers <joseph@codesourcery.com>
26984
ed41ffef
JM
26985 [BZ #15359]
26986 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26987 high part of pi/2.
26988 (__ieee754_rem_pio2l): Update comments.
26989
d0213cd0
JM
26990 [BZ #15429]
26991 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26992 high part of pi/2.
26993 (__ieee754_rem_pio2l): Update comments.
26994
0d3e777a
JM
26995 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26996 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26997
24f56066
JM
26998 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26999 M_PI_4l.
27000
faa7f811
JM
27001 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27002 (M_PI_34_LOG10El): Likewise.
27003 (M_PI2_LOG10El): Likewise.
27004 (M_PI4_LOG10El): Likewise.
27005 (M_PI_LOG10El): Likewise.
27006
e9a5e0fd
AZ
270072013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27008
27009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27010
d8cd06db
JM
270112013-05-08 Joseph Myers <joseph@codesourcery.com>
27012
a0d9f9d7
JM
27013 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27014 (MINUS_ZERO_INIT): Likewise.
27015 (PLUS_INFTY_INIT): Likewise.
27016 (MINUS_INFTY_INIT): Likewise.
27017 (QNAN_VALUE_INIT): Likewise.
27018 (MAX_VALUE_INIT): Likewise.
27019 (MIN_VALUE_INIT): Likewise.
27020 (MIN_SUBNORM_VALUE_INIT): Likewise.
27021 (plus_zero): Initialize with PLUS_ZERO_INIT.
27022 (minus_zero): Initialize with MINUS_ZERO_INIT.
27023 (plus_infty): Initialize with PLUS_INFTY_INIT.
27024 (minus_infty): Initialize with MINUS_INFTY_INIT.
27025 (qnan_value): Initialize with QNAN_VALUE_INIT.
27026 (max_value): Initialize with MAX_VALUE_INIT.
27027 (min_value): Initialize with MIN_VALUE_INIT.
27028 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27029
ae08db3b
JM
27030 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27031 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27032 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27033 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27034
f44bf14a
JM
27035 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27036 (RUN_TEST_2_f): Likewise.
27037 (RUN_TEST_ff_f): Likewise.
27038 (RUN_TEST_fi_f): Likewise.
27039 (RUN_TEST_fl_f): Likewise.
27040 (RUN_TEST_fff_f): Likewise.
27041 (RUN_TEST_c_f): Likewise.
27042 (RUN_TEST_f_f1): Likewise.
27043 (RUN_TEST_fF_f1): Likewise.
27044 (RUN_TEST_fI_f1): Likewise.
27045 (RUN_TEST_ffI_f1): Likewise.
27046 (RUN_TEST_c_c): Likewise.
27047 (RUN_TEST_cc_c): Likewise.
27048 (RUN_TEST_f_i): Likewise.
27049 (RUN_TEST_f_i_tg): Likewise.
27050 (RUN_TEST_ff_i_tg): Likewise.
27051 (RUN_TEST_f_b): Likewise.
27052 (RUN_TEST_f_b_tg): Likewise.
27053 (RUN_TEST_f_l): Likewise.
27054 (RUN_TEST_f_L): Likewise.
27055 (RUN_TEST_sincos): Likewise.
27056 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27057 whether to show exceptions. Do not include ");\n" in return
27058 value.
27059 (special_functions): Output call to RUN_TEST_sincos instead of
27060 check_float calls. Update calls to new_test.
27061 (parse_args): Output call to single RUN_TEST_* macro instead of
27062 check_* calls and other assignments. Update calls to new_test.
27063
d8cd06db
JM
27064 [BZ #2546]
27065 [BZ #2560]
27066 [BZ #5159]
27067 [BZ #15426]
27068 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27069 input to result for tgamma overflow.
27070 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27071 (gamma_coeff): New variable.
27072 (NCOEFF): New macro.
27073 (gamma_positive): New function.
27074 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27075 underflow here. Use gamma_positive instead of exp (lgamma) for
27076 other arguments.
27077 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27078 (gamma_coeff): New variable.
27079 (NCOEFF): New macro.
27080 (gammaf_positive): New function.
27081 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27082 underflow here. Use gamma_positive instead of exp (lgamma) for
27083 other arguments.
27084 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27085 (gamma_coeff): New variable.
27086 (NCOEFF): New macro.
27087 (gammal_positive): New function.
27088 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27089 underflow here. Use gamma_positive instead of exp (lgamma) for
27090 other arguments.
27091 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27092 (gamma_coeff): New variable.
27093 (NCOEFF): New macro.
27094 (gammal_positive): New function.
27095 (__ieee754_gammal_r): Handle positive infinity, overflow and
27096 underflow here. Handle NaN the same as positive infinity. Remove
27097 check x < 0xffffffff for negative integers. Use gamma_positive
27098 instead of exp (lgamma) for other arguments.
27099 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27100 (gamma_coeff): New variable.
27101 (NCOEFF): New macro.
27102 (gammal_positive): New function.
27103 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27104 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27105 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27106 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27107 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27108 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27109 * sysdeps/generic/math_private.h (__gamma_productf): New
27110 prototype.
27111 (__gamma_product): Likewise.
27112 (__gamma_productl): Likewise.
27113 * math/Makefile (libm-calls): Add gamma_product.
27114 * math/libm-test.inc (tgamma_test): Add more tests.
27115 * sysdeps/i386/fpu/libm-test-ulps: Update.
27116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27117
bb7cf681
OB
271182013-05-08 Ondřej Bílka <neleai@seznam.cz>
27119
27120 * benchtests/bench-skeleton.c (main): Preheat CPU.
27121
ba853947
AJ
271222013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27123
27124 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27125
8347c74c
RM
271262013-05-07 Roland McGrath <roland@hack.frob.com>
27127
27128 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27129 and _dl_skip_args_internal.
27130
e8dd4791
CD
271312013-05-07 Carlos O'Donell <carlos@redhat.com>
27132
27133 * manual/message.texi (Message Translation): Talk about users.
27134 Message to key mapping impacts design.
27135
c7405830
RM
271362013-05-06 Roland McGrath <roland@hack.frob.com>
27137
a9173057
RM
27138 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27139
976e2f03
RM
27140 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27141
9723ffc5
RM
27142 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27143 * sysdeps/wordsize-64/glob64.c: ... here.
27144
962e6658
RM
27145 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27146 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27147 New macros.
27148
ee586a6d
RM
27149 * debug/getlogin_r_chk.c: Moved to ...
27150 * login/getlogin_r_chk.c: ... here.
27151 * debug/Makefile (routines): Move getlogin_r_chk to ...
27152 * login/Makefile (routines): ... here.
27153 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27154 * login/Versions (libc: GLIBC_2.4): ... here.
27155
355f9165
RM
27156 * io/poll.c (__poll): Renamed from poll.
27157 Add libc_hidden_def.
27158 (poll): Define as weak alias.
27159
bd9ffde6
RM
27160 * debug/ptsname_r_chk.c: Moved to ...
27161 * login/ptsname_r_chk.c: ... here.
27162 * debug/Makefile (routines): Move ptsname_r_chk to ...
27163 * login/Makefile (routines): ... here.
27164 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27165 * login/Versions (libc: GLIBC_2.4): ... here.
27166
8fb16a04
RM
27167 * posix/getlogin.c: Moved to ...
27168 * login/getlogin.c: ... here.
27169 * posix/getlogin_r.c: Moved to ...
27170 * login/getlogin_r.c: ... here.
27171 * posix/getlogin_r.c: Moved to ...
27172 * login/getlogin_r.c: ... here.
27173 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27174 * login/Makefile (routines): ... here.
27175 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27176 * login/Versions (libc: GLIBC_2.0): ... here.
27177
b99b892f
RM
27178 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27179 (setrlimit): Define as weak alias.
27180
c7405830
RM
27181 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27182 Call __ names for open, ftruncate, and close.
27183 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27184 (truncate): Define as weak alias.
27185
5bf96de5
JM
271862013-05-06 Joseph Myers <joseph@codesourcery.com>
27187
9ea3513c
JM
27188 * math/gen-libm-test.pl (parse_args): Initialize x before each
27189 test of frexp, modf and remquo.
27190
5bf96de5
JM
27191 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27192 test signgam value.
27193
16e616a7
AZ
271942013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27195
27196 [BZ #15418]
27197 [BZ #15419]
27198 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27199 internal tests.
27200 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27201
d5e82754
RM
272022013-05-06 Roland McGrath <roland@hack.frob.com>
27203
27204 * elf/dl-writev.h: New file.
27205 * elf/dl-misc.c: Include it.
27206 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27207 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27208
a7548d41
JM
272092013-05-04 Joseph Myers <joseph@codesourcery.com>
27210
b7dab1e4
JM
27211 * math/libm-test.inc (noXFails): Remove variable.
27212 (noXPasses): Likewise.
27213 (BUILD_COMPLEX_INT): Remove macro.
27214 (print_screen): Remove xfail argument.
27215 (print_screen_max_error): Likewise.
27216 (update_stats): Likewise.
27217 (print_max_error): Likewise. Update calls to other affected
27218 functions.
27219 (print_complex_max_error): Likewise.
27220 (test_single_exception): Update calls to print_screen.
27221 (test_single_errno): Likewise.
27222 (check_float_internal): Remove xfail argument. Update calls to
27223 other affected functions.
27224 (check_float): Likewise.
27225 (check_complex): Likewise.
27226 (check_int): Likewise.
27227 (check_long): Likewise.
27228 (check_bool): Likewise.
27229 (check_longlong): Likewise.
27230 (main): Don't print noXFails and noXPasses.
27231 * math/gen-libm-test.pl (top level): Don't mention expected
27232 failure handling in comment.
27233 (new_test): Don't handle expected failures.
27234 (parse_args): Don't mention expected failure handling in comment.
27235 (generate_testfile): Don't handle expected failures.
27236 (parse_ulps): Likewise.
27237 (print_ulps_file): Likewise.
27238 (get_failure): Remove function.
27239 (output_test): Don't handle expected failures.
27240 * make/README.libm-test: Don't mention expected failure handling.
27241
a7548d41
JM
27242 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27243 (minus_zero): Likewise.
27244 (plus_infty): Likewise.
27245 (minus_infty): Likewise.
27246 (qnan_value): Likewise.
27247 (max_value): Likewise.
27248 (min_value): Likewise.
27249 (min_subnorm_value): Likewise.
27250 (initialize): Do not initialize those variables dynamically.
27251
60bfd54c
RM
272522013-05-03 Roland McGrath <roland@hack.frob.com>
27253
cc0e6ed8
RM
27254 * io/open.c (__open_2): Moved to ...
27255 * io/open_2.c: ... this new file.
27256 * io/open64.c (__open64_2): Moved to ...
27257 * io/open64_2.c: ... this new file.
27258 * io/openat.c (__openat_2): Moved to ...
27259 * io/openat_2.c: ... this new file.
27260 * io/openat64.c (__openat64_2): Moved to ...
27261 * io/openat64_2.c: ... this new file.
27262 * io/Makefile (routines): Add them.
27263 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27264 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27265 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27266 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27267 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27268 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27269 (__openat64): Add hidden_ver.
27270 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27271 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27272
60bfd54c
RM
27273 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27274 Separately conditionalize setting of GLRO(dl_sysinfo) so
27275 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27276 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27277
83e7640f
AZ
272782013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27279
27280 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27281 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27282 definition.
27283 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27284 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27285 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27286 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27287 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27288
d5dc2af3
JM
272892013-05-03 Joseph Myers <joseph@codesourcery.com>
27290
c31a5b1e
JM
27291 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27292 test signgam value.
27293
d5dc2af3
JM
27294 * math/libm-test.inc (hypot_test): Do not use
27295 IGNORE_ZERO_INF_SIGN.
27296
164fd39d
AJ
272972013-05-03 Andreas Jaeger <aj@suse.de>
27298
27299 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27300 Linux 3.9.
27301 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27302 (PF_MAX): Adjust for VSOCK change.
27303
8237f48c
AZ
273042013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27305
27306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27307
9df02941
CD
273082013-05-02 Carlos O'Donell <carlos@redhat.com>
27309
27310 [BZ #15264]
27311 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27312 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27313 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27314
d422395e
DM
273152013-05-02 David S. Miller <davem@davemloft.net>
27316
27317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27318
a07c5731
OB
273192013-05-01 Ondřej Bílka <neleai@seznam.cz>
27320
27321 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27322
1324e37f
RM
273232013-05-01 Roland McGrath <roland@hack.frob.com>
27324
27325 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27326
0695940b
RS
273272013-05-01 Richard Smith <richard@metafoo.co.uk>
27328
bb5f27ad 27329 [BZ #14952]
0695940b
RS
27330 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27331 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27332 Use __attribute__ ((__gnu_inline__)).
27333 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27334 Don't use __attribute__ ((__gnu_inline__)).
27335
10de07f5
JM
273362013-05-01 Joseph Myers <joseph@codesourcery.com>
27337
27338 [BZ #15423]
27339 * math/s_catan.c (__catan): Handle small real or imaginary part of
27340 input specially to avoid spurious underflow.
27341 * math/s_catanf.c (__catanf): Likewise.
27342 * math/s_catanh.c (__catanh): Likewise.
27343 * math/s_catanhf.c (__catanhf): Likewise.
27344 * math/s_catanhl.c (__catanhl): Likewise.
27345 * math/s_catanl.c (__catanl): Likewise.
27346 * math/libm-test.inc (catan_test): Add more tests.
27347 (catanh_test): Likewise.
27348 * sysdeps/i386/fpu/libm-test-ulps: Update.
27349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27350
cb4d5414
AZ
273512013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27352
27353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27354
caf84319
JM
273552013-04-30 Joseph Myers <joseph@codesourcery.com>
27356
27357 [BZ #15416]
27358 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27359 accurately for denominator in atan2.
27360 * math/s_catanf.c (__catanf): Likewise.
27361 * math/s_catanh.c (__catanh): Likewise.
27362 * math/s_catanhf.c (__catanhf): Likewise.
27363 * math/s_catanhl.c (__catanhl): Likewise.
27364 * math/s_catanl.c (__catanl): Likewise.
27365 * math/libm-test.inc (catan_test): Add more tests.
27366 (catanh_test): Likewise.
27367 * sysdeps/i386/fpu/libm-test-ulps: Update.
27368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27369
d569c6ee
SP
273702013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27371
6dbe713d
SP
27372 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27373
f0ee064b
SP
27374 * benchtests/Makefile (bench): Remove slow benchmarks.
27375 * benchtests/atan-inputs: Add slow benchmark inputs.
27376 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27377 (BENCH_FUNC): Accept variant offset.
27378 (VARIANT): Define.
27379 * benchtests/bench-skeleton.c (main): Run benchmark for each
27380 variant.
27381 * benchtests/cos-inputs: Add slow benchmark inputs.
27382 * benchtests/exp-inputs: Likewise.
27383 * benchtests/pow-inputs: Likewise.
27384 * benchtests/sin-inputs: Likewise.
27385 * benchtests/slowatan-inputs: Remove.
27386 * benchtests/slowatan.c: Remove.
27387 * benchtests/slowcos-inputs: Remove.
27388 * benchtests/slowcos.c: Remove.
27389 * benchtests/slowexp-inputs: Remove.
27390 * benchtests/slowexp.c: Remove.
27391 * benchtests/slowpow-inputs: Remove.
27392 * benchtests/slowpow.c: Remove.
27393 * benchtests/slowsin-inputs: Remove.
27394 * benchtests/slowsin.c: Remove.
27395 * benchtests/slowtan-inputs: Remove.
27396 * benchtests/slowtan.c: Remove.
27397 * benchtests/tan-inputs: Add slow benchmark inputs.
27398 * scripts/bench.pl: Parse comments and directives.
27399
d569c6ee
SP
27400 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27401 in CPPFLAGS.
27402 ($(objpfx)bench-%.c): Remove *-ITER.
27403 * benchtests/bench-modf.c: Remove definition of ITER.
27404 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27405 (main): Loop for DURATION seconds instead of fixed number of
27406 iterations.
27407 * scripts/bench.pl: Don't expect iterations in parameters.
27408
a6a242fe
RM
274092013-04-29 Roland McGrath <roland@hack.frob.com>
27410
27411 * io/fchdir.c (__fchdir): Renamed from fchdir.
27412 (fchdir): Define as weak alias.
27413
f2da7793
JM
274142013-04-29 Joseph Myers <joseph@codesourcery.com>
27415
27416 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27417 (ERRNO_EDOM): Likewise.
27418 (ERRNO_ERANGE): Likewise.
27419 (noErrnoTests): New variable.
27420 (init_max_error): Set errno to 0.
27421 (test_single_errno): New function.
27422 (test_errno): Likewise.
27423 (check_float_internal): Call test_errno. Set errno to 0.
27424 (check_complex): Refer to errno tests in comment.
27425 (check_int): Call test_errno. Set errno to 0.
27426 (check_long): Likewise.
27427 (check_bool): Likewise.
27428 (check_longlong): Likewise.
27429 (cos_test): Use ERRNO_* flags for errno tests instead of
27430 check_int.
27431 (expm1_test): Likewise.
27432 (fmod_test): Likewise.
27433 (ilogb_test): Likewise.
27434 (lgamma_test): Likewise.
27435 (pow_test): Likewise.
27436 (remainder_test): Likewise.
27437 (sin_test): Likewise.
27438 (tan_test): Likewise.
27439 (yn_test): Likewise.
27440 (initialize): Set errno to 0.
27441 (main): Print number of errno tests.
27442 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27443
b1a36ceb
AJ
274442013-04-29 Andreas Jaeger <aj@suse.de>
27445
c3ed8088
AJ
27446 [BZ #15084]
27447 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27448 and RES_USEVC.
27449
f1a24198
AJ
27450 [BZ #15085]
27451 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27452 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27453 unimplemented.
27454
9ce3b2cb
AJ
27455 [BZ #15380]
27456 * stdlib/random.c (__initstate): Return NULL if
27457 __initstate fails.
27458
f1a24198 27459 [BZ #15086]
b1a36ceb
AJ
27460 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27461 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27462 RES_SNGLKUPREOP.
27463
7e7b6f36
AZ
274642013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27465
27466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27467
4d14f449
JM
274682013-04-29 Joseph Myers <joseph@codesourcery.com>
27469
27470 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27471 of individual tests.
27472 (casin_test): Likewise.
27473 (casinh_test): Likewise.
27474
5b4217d7
JM
274752013-04-27 Joseph Myers <joseph@codesourcery.com>
27476
27477 [BZ #15409]
27478 * math/s_catan.c (__catan): Handle arguments with large real or
27479 imaginary part separately without squaring.
27480 * math/s_catanf.c (__catanf): Likewise.
27481 * math/s_catanh.c (__catanh): Likewise.
27482 * math/s_catanhf.c (__catanhf): Likewise.
27483 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27484 and redefine.
27485 (__catanhl): Handle arguments with large real or imaginary part
27486 separately without squaring.
27487 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27488 and redefine.
27489 (__catanl): Handle arguments with large real or imaginary part
27490 separately without squaring.
27491 * math/libm-test.inc (catan_test): Add more tests.
27492 (catanh_test): Likewise.
27493 * sysdeps/i386/fpu/libm-test-ulps: Update.
27494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27495
4220c3ef
AJ
274962013-04-27 Andreas Jaeger <aj@suse.de>
27497
27498 [BZ #15007]
27499 * stdlib/stdlib.h: Update guards for qecvt.
27500 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27501 <stdlib.h>.
27502
4721b2d1
AM
275032013-04-27 Allan McRae <allan@archlinux.org>
27504
27505 * sysdeps/i386/fpu/libm-test-ulps: Update.
27506
f0302940
JM
275072013-04-26 Joseph Myers <joseph@codesourcery.com>
27508
9457fd95
JM
27509 [BZ #15406]
27510 * math/s_catan.c: Include <float.h>.
27511 (__catan): Ensure underflow exception occurs for underflowed
27512 result.
27513 * math/s_catanf.c: Include <float.h>.
27514 (__catanf): Ensure underflow exception occurs for underflowed
27515 result.
27516 * math/s_catanh.c: Include <float.h>.
27517 (__catanh): Ensure underflow exception occurs for underflowed
27518 result.
27519 * math/s_catanhf.c: Include <float.h>.
27520 (__catanhf): Ensure underflow exception occurs for underflowed
27521 result.
27522 * math/s_catanhl.c: Include <float.h>.
27523 (__catanhl): Ensure underflow exception occurs for underflowed
27524 result.
27525 * math/s_catanl.c: Include <float.h>.
27526 (__catanl): Ensure underflow exception occurs for underflowed
27527 result.
27528 * math/libm-test.inc (catan_test): Add more tests.
27529 (catanh_test): Likewise.
27530
f0302940
JM
27531 [BZ #15405]
27532 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27533 underflowed result.
27534 * math/s_ccoshf.c (__ccoshf): Likewise.
27535 * math/s_ccoshl.c (__ccoshl): Likewise.
27536 * math/s_csin.c (__csin): Likewise.
27537 * math/s_csinf.c (__csinf): Likewise.
27538 * math/s_csinh.c (__csinh): Likewise.
27539 * math/s_csinhf.c (__csinhf): Likewise.
27540 * math/s_csinhl.c (__csinhl): Likewise.
27541 * math/s_csinl.c (__csinl): Likewise.
27542 * math/libm-test.inc (ccos_test): Add more tests.
27543 (ccosh_test): Likewise.
27544 (csin_test): Likewise.
27545 (csinh_test): Likewise.
27546
aa630f59
AZ
275472013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27548
27549 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27550 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27551 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27552 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27553 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27554 powerpc/power5+/fpu folders.
27555 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27556
27557
1b835983
MT
275582013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27559
27560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27561
73709b26
JM
275622013-04-25 Joseph Myers <joseph@codesourcery.com>
27563
27564 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27565 additions to variable.
27566 [$(config-machine) = x86_64] (modules-names): Likewise.
27567 ($(objpfx)tst-audit3): Remove dependency.
27568 ($(objpfx)tst-audit3.out): Likewise.
27569 ($(objpfx)tst-audit4): Likewise.
27570 ($(objpfx)tst-audit4.out): Likewise.
27571 ($(objpfx)tst-audit5): Likewise.
27572 ($(objpfx)tst-audit5.out): Likewise.
27573 ($(objpfx)tst-audit6): Likewise.
27574 ($(objpfx)tst-audit6.out): Likewise.
27575 ($(objpfx)tst-audit7): Likewise.
27576 ($(objpfx)tst-audit7.out): Likewise.
27577 (tst-audit3-ENV): Remove variable.
27578 (tst-audit4-ENV): Likewise.
27579 (tst-audit5-ENV): Likewise.
27580 (tst-audit6-ENV): Likewise.
27581 (tst-audit7-ENV): Likewise.
27582 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27583 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27584 addition to variable.
27585 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27586 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27587 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27588 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27589 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27590 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27591 tst-audit3, tst-audit4 and tst-audit5.
27592 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27593 tst-audit6 and tst-audit7.
27594 [$(subdir) = elf] (modules-names): Add audit modules for those
27595 tests.
27596 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27597 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27598 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27599 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27600 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27601 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27602 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27603 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27604 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27605 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27606 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27607 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27608 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27609 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27610 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27611 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27612 Likewise.
27613 [$(subdir) = elf && $(config-cflags-avx) = yes]
27614 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27615 [$(subdir) = elf && $(config-cflags-avx) = yes]
27616 (CFLAGS-tst-auditmod4a.c): Likewise.
27617 [$(subdir) = elf && $(config-cflags-avx) = yes]
27618 (CFLAGS-tst-auditmod4b.c): Likewise.
27619 [$(subdir) = elf && $(config-cflags-avx) = yes]
27620 (CFLAGS-tst-auditmod6b.c): Likewise.
27621 [$(subdir) = elf && $(config-cflags-avx) = yes]
27622 (CFLAGS-tst-auditmod6c.c): Likewise.
27623 [$(subdir) = elf && $(config-cflags-avx) = yes]
27624 (CFLAGS-tst-auditmod7b.c): Likewise.
27625 * elf/tst-audit3.c: Move to ...
27626 * sysdeps/x86_64/tst-audit3.c: ... here.
27627 * elf/tst-audit4.c: Move to ...
27628 * sysdeps/x86_64/tst-audit4.c: ... here.
27629 * elf/tst-audit5.c: Move to ...
27630 * sysdeps/x86_64/tst-audit5.c: ... here.
27631 * elf/tst-audit6.c: Move to ...
27632 * sysdeps/x86_64/tst-audit6.c: ... here.
27633 * elf/tst-audit7.c: Move to ...
27634 * sysdeps/x86_64/tst-audit7.c: ... here.
27635 * elf/tst-auditmod3a.c: Move to ...
27636 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27637 * elf/tst-auditmod3b.c: Move to ...
27638 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27639 * elf/tst-auditmod4a.c: Move to ...
27640 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27641 * elf/tst-auditmod4b.c: Move to ...
27642 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27643 * elf/tst-auditmod5a.c: Move to ...
27644 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27645 * elf/tst-auditmod5b.c: Move to ...
27646 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27647 * elf/tst-auditmod6a.c: Move to ...
27648 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27649 * elf/tst-auditmod6b.c: Move to ...
27650 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27651 * elf/tst-auditmod6c.c: Move to ...
27652 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27653 * elf/tst-auditmod7a.c: Move to ...
27654 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27655 * elf/tst-auditmod7b.c: Move to ...
27656 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27657
1ef74943
PP
276582013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27659
27660 [BZ #15366]
27661 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27662 define unconditionally.
27663 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27664 define unconditionally.
27665 (INT8_C, INT16_C, etc.): Likewise.
27666
93fd48c5
MR
276672013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27668
ae9552cf
MR
27669 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27670 __ehdr_start with hidden visibility.
27671
93fd48c5
MR
27672 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27673
418601aa
CD
276742013-04-24 Carlos O'Donell <carlos@redhat.com>
27675
27676 * math/libm-test.inc (cos_test): Use accurate hex constants.
27677 (sincost_test): Likewise.
27678
2f38fbfe
JM
276792013-04-24 Joseph Myers <joseph@codesourcery.com>
27680
5e221800
JM
27681 * math/libm-test.inc (catan_test): Add more tests.
27682 (catanh_test): Likewise.
27683
77f143fd
JM
27684 * math/s_catanf.c (__catanf): Use suffixed floating-point
27685 constants.
27686 * math/s_catanhf.c (__catanhf): Likewise.
27687 * math/s_catanhl.c (__catanhl): Likewise.
27688 * math/s_catanl.c (__catanl): Likewise.
27689
2f38fbfe
JM
27690 [BZ #15394]
27691 * math/s_catan.c (__catan): Calculate imaginary part of result
27692 with log1p not log unless computing log of number close to 0.
27693 * math/s_catanf.c (__catanf): Likewise.
27694 * math/s_catanl.c (__catanl): Likewise.
27695 * math/s_catanh.c (__catanh): Calculate real part of result with
27696 log1p not log unless computing log of number close to 0.
27697 * math/s_catanhf.c (__catanhf): Likewise.
27698 * math/s_catanhl.c (__catanhl): Likewise.
27699 * math/libm-test.inc (catan_test): Add more tests.
27700 (catanh_test): Likewise.
27701 * sysdeps/i386/fpu/libm-test-ulps: Update.
27702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27703
45d69176
SP
277042013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27705
27706 * benchtests/Makefile: Mention files in which fast and slow
27707 paths of math functions are implemented.
27708
87f51853
RM
277092013-04-23 Roland McGrath <roland@hack.frob.com>
27710
27711 * sysdeps/posix/timespec_get.c: New file.
27712
3c026539
AZ
277132013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27714
27715 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27716 POWER.
27717 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27718 for POWER.
27719 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27720 powerpc/power5/fpu folders.
27721 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27722 * benchtests/Makefile: Add modf testcase.
27723 * benchtests/bench-modf.c: New file: Benchmark test for mo
27724
ff491d14
SP
277252013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27726
27727 [BZ #14888]
27728 * time/Makefile (tests): Add tst-strptime-whitespace.
27729 * time/strptime_l.c (get_number): Use ISSPACE.
27730 (__strptime_internal): Likewise.
27731 * time/tst-strptime-whitespace.c: New test case.
27732
7ed3f4e8
AS
277332013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27734
27735 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27736 member.
27737 (_nss_files_init): Set it here.
27738
5c95f7b6
HC
277392013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27740
27741 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27742 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27743 unsigned.
27744
d34c9158
JBG
277452013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27746
27747 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27748
2169712d
SP
277492013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27750
27751 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27752 size just once.
27753
29c5de99
DM
277542013-04-21 David S. Miller <davem@davemloft.net>
27755
27756 * po/ru.po: Update Russion translation from translation project.
27757
ccdad15d
AC
277582013-04-17 Adam Conrad <adconrad@0c3.net>
27759
27760 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27761 and setfsgid.
27762
0f122b8d
CD
277632013-04-17 Carlos O'Donell <carlos@redhat.com>
27764
5c5b07da 27765 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 27766 * configure: Regenerate.
5c5b07da 27767 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
27768 Add example to error message.
27769 * sysdeps/i386/configure: Regenerate.
27770
037714dd
SP
277712013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27772
27773 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27774 slowtan.
27775 * benchtests/cos-inputs: New file.
27776 * benchtests/slowcos-inputs: New file.
27777 * benchtests/slowcos.c: New file.
27778 * benchtests/slowtan-inputs: New file.
27779 * benchtests/slowtan.c: New file.
27780 * benchtests/tan-inputs: New file.
27781
e913141d
RM
277822013-04-16 Roland McGrath <roland@hack.frob.com>
27783
27784 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27785 considered kosher.
27786
a2964074
SP
277872013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27788
4856bcd2
SP
27789 * benchtests/Makefile: Include cppflags-iterator.mk to add
27790 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27791
a2964074
SP
27792 * Makefile.in (bench-clean): New target.
27793 * benchtests/Makefile (bench-clean): Likewise.
27794
9fbf9aca
DH
277952013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27796
27797 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27798
207d1e2a
TS
277992013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27800
27801 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27802
306dfba9
AS
278032013-04-15 Andreas Schwab <schwab@suse.de>
27804
27805 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27806 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27807 * nscd/pwdcache.c (cache_addpw): Likewise.
27808 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27809 more than recsize.
27810
206a6699
SP
278112013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27812
27813 * benchtests/Makefile (bench): Write all output to
27814 bench-out.tmp together.
27815
0582f6b3
AS
278162013-04-15 Andreas Schwab <schwab@suse.de>
27817
27818 * nscd/nscd.c (main): Don't fork again after closing files.
27819
acb4325f
SP
278202013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27821
5cb26d0a
SP
27822 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27823
acb4325f
SP
27824 * benchtests/Rules (bench-deps): Collect dependencies into a
27825 single variable. Add Makefile to dependencies.
27826 ($(objpfx)bench-%.c): Depend on bench-deps.
27827
47792506
RM
278282013-04-12 Roland McGrath <roland@hack.frob.com>
27829 Xavier Roche <roche+kml2@exalead.com>
27830
27831 [BZ #15361]
27832 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27833 just that it's a file descriptor.
27834 * manual/llio.texi (Synchronizing AIO Operations): Update description
27835 for EBADF error from aio_fsync.
27836
8fc1bee5
SP
278372013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27838
27839 * Rules (bench): Move target definition...
27840 * benchtests/Makefile: ... here.
27841
aba5e333
CD
278422013-04-11 Carlos O'Donell <carlos@redhat.com>
27843
27844 * math/libm-test.inc (cos_test): Fix PI/2 test.
27845 (sincos_test): Likewise.
27846 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27847 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27848
273cdee8
AS
278492013-04-11 Andreas Schwab <schwab@suse.de>
27850
6ecec3b6
AS
27851 [BZ #13988]
27852 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27853 accept exponent character only when digits were seen.
27854 * stdio-common/Makefile (tests): Add bug26.
27855 * stdio-common/bug26.c: New file.
27856
273cdee8
AS
27857 [BZ #14293]
27858 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27859 non-freeable.
27860
8da491f5
SP
278612013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27862
01dc6df9
SP
27863 * Makeconfig (rtld-prefix): Define built linker prefix.
27864 * Rules (run-bench): Use it.
27865 * math/Makefile (run-regen-ulps): Likewise.
27866
8da491f5
SP
27867 * Rules (bench): Remove eval.
27868
abe7f530
SP
278692013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27870 Roland McGrath <roland@hack.frob.com>
27871 Ondrej Bilka <neleai@seznam.cz>
27872
27873 [BZ #15346]
27874 * time/getdate.c: Include ctype.h and alloca.h.
27875 (__getdate_r): Trim leading and trailing spaces of input.
27876 * time/tst-getdate.c (tests): Add tests with leading and
27877 trailing spaces.
27878
61c23e62
RM
278792013-04-08 Roland McGrath <roland@hack.frob.com>
27880
27881 [BZ #14280]
27882 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27883 when computing value.
27884
7208a313
CD
278852013-04-06 Carlos O'Donell <carlos@redhat.com>
27886
085b2d41
CD
27887 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27888 Use testrun.sh to run libm tests.
27889
7208a313
CD
27890 [BZ #15309]
27891 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27892
872c0acd
MM
278932013-04-06 Marko Myllynen <myllynen@redhat.com>
27894
27895 [BZ #15264]
27896 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27897
26510bdd
CD
278982013-04-06 Carlos O'Donell <carlos@redhat.com>
27899
27900 * Makefile.in (regen-ulps): New target.
27901 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27902 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27903 [ifneq (no,$(PERL)] (regen-ulps): New target.
27904 [ifeq (no,$(PERL)] (regen-ulps): New target.
27905 * math/libm-test.inc (ulps_file_name): Define.
27906 (output_dir): New variable.
27907 (options): Add "output-dir" option.
27908 (parse_opt): Handle 'o' case.
27909 (main): If output_dir is non-NULL use it as a prefix
27910 otherwise use "".
27911 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27912
a01f19c8
CD
279132013-04-06 Carlos O'Donell <carlos@redhat.com>
27914
27915 [BZ #10060, #10062]
27916 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27917 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27918 fail configure if __sync_val_compare_and_swap is not inlined.
27919 * sysdeps/i386/configure: Regenerate.
27920 * configure.in: Build for i686 when configured for i386.
27921 * configure: Regenerate.
27922 * README: Remove i386 reference.
27923
b7a329a5
CD
279242013-04-06 Carlos O'Donell <carlos@redhat.com>
27925
27926 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27927 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27928
bf0f50df
TS
279292013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27930
ee091edf
TS
27931 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27932 (lmsnanval): New variables.
27933 (F): Add conversion tests.
27934 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27935 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27936
a8b792d6
TS
27937 * stdio-common/tstdiomisc.c (F): Properly collect individual
27938 tests' results.
27939
a1cbf437
TS
27940 [BZ #14686, #15336]
27941 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27942 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27943 Instead, use input NaN values or generate a qNaN by arithmetic
27944 operation. Also fix bugs to comply with the standard.
27945 * math/libm-test.inc (remainder_test): Add more tests.
27946
8b43a0c9
TS
27947 [BZ #15335, #15342]
27948 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27949 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27950 input NaN values or generate a qNaN by arithmetic operation.
27951
d91da4ce
TS
27952 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27953 unreachable code.
27954
bf0f50df
TS
27955 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27956 definitions.
27957
05e166c8
JM
279582013-04-03 Joseph Myers <joseph@codesourcery.com>
27959
27960 [BZ #14478]
27961 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27962 underflowed result.
27963 * math/s_cexpf.c (__cexpf): Likewise.
27964 * math/s_cexpl.c (__cexpl): Likewise.
27965 * math/libm-test.inc (cexp_test): Add more tests.
27966
1cef1b19
AS
279672013-04-03 Andreas Schwab <schwab@suse.de>
27968
27969 [BZ #15330]
27970 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27971 order arrays from heap if bigger than alloca cutoff.
27972
74d87055
TS
279732013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27974
27975 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27976 (SNAN_TESTS_double): Refer to GCC PR56831.
27977 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27978 GCC PR56828.
27979
d755bba4
SP
279802013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27981
90d5d5bb
SP
27982 * Rules (bench): Move bench.out after the run is complete.
27983
73e0cd5d
SP
27984 * Rules (bench): Echo currently running benchmark.
27985
64aabd4b
SP
27986 * benchtests/Makefile (bench): Add atan and slowatan.
27987 * benchtests/atan-inputs: New file.
27988 * benchtests/slowatan-inputs: New file.
27989 * benchtests/slowatan.c: New file.
27990
c871eccd
SP
27991 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27992 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27993 its value.
27994
d755bba4
SP
27995 [BZ #15305]
27996 * sysdeps/unix/sysv/linux/kernel-features.h
27997 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27998 __ASSUME_XFS_RESTRICTED_CHOWN.
27999 * sysdeps/unix/sysv/linux/pathconf.c
28000 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28001 Save and restore errno.
28002
52ce4860
JM
280032013-04-02 Joseph Myers <joseph@codesourcery.com>
28004
28005 [BZ #15327]
28006 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28007 arguments using __kernel_casinh.
28008 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28009 arguments using __kernel_casinhf.
28010 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28011 arguments using __kernel_casinhl.
28012 * math/libm-test.inc (cacosh_test): Add more tests.
28013 * sysdeps/i386/fpu/libm-test-ulps: Update.
28014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28015
81f311c2
SP
280162013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28017
e7906a47
SP
28018 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28019 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28020
92e3664b
SP
28021 * bench/Makefile (bench): Add sin and slowsin.
28022 * benchtests/sin-inputs: New file.
28023 * benchtests/slowsin-inputs: New file.
28024 * benchtests/slowsin.c: New file.
28025
81f311c2
SP
28026 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28027 (bench): Add slowexp and slowpow.
28028 (exp-ITER): Increase iterations.
28029 (pow-ITER): Likewise.
28030 * benchtests/exp-inputs: Change input.
28031 * benchtests/pow-inputs: Likewise.
28032 * benchtests/slowexp-inputs: New file.
28033 * benchtests/slowexp.c: New file.
28034 * benchtests/slowpow-inputs: New file.
28035 * benchtests/slowpow.c: New file.
28036
ab0f1aa9
AZ
280372013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28038
28039 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28040 instructions.
28041 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28042 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28043 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28044 * benchtests/Makefile: Add rint benchtest.
28045 * benchtests/rint-inputs: Input for rint benchtest.
28046
57267616
TS
280472013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28048
28049 * Versions.def (libm): Add GLIBC_2.18.
28050 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28051 hidden libm prototypes.
28052 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28053 * math/Makefile (libm-calls): Add s_issignaling.
28054 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28055 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28056 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28057 declaration.
28058 * math/math.h [__USE_GNU] (issignaling): New macro.
28059 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28060 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28061 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28062 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28063 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28064 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28065 * manual/arith.texi (issignaling): New section.
28066 * manual/libm-err-tab.pl (@all_functions): Update comment.
28067 * math/gen-libm-test.pl (parse_args): Apply special handling for
28068 issignaling.
28069 * math/libm-test.inc (print_float, issignaling_test): New
28070 functions.
28071 (check_float_internal): Add issignaling checks.
28072 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28073 default definition.
28074 * sysdeps/powerpc/math-tests.h: New file.
28075 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28076 tests.
28077 * math/test-snan.c (TEST_FUNC): Likewise.
28078
6142896d
DM
280792013-03-30 David S. Miller <davem@davemloft.net>
28080
28081 * po/de.po: Update from translation team.
28082
ccc8cadf
JM
280832013-03-30 Joseph Myers <joseph@codesourcery.com>
28084
28085 [BZ #10357]
28086 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28087 imaginary part less than 1.0 and real part less than 0.5
28088 specially.
28089 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28090 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28091 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28092 (cacos_test): Add more tests.
28093 (casin_test): Likewise.
28094 (casinh_test): Likewise.
28095 * sysdeps/i386/fpu/libm-test-ulps: Update.
28096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28097
0f6a8d4b
SP
280982013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28099
0d1029de
SP
28100 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28101 ONE with its value.
28102
c2d94018
SP
28103 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28104 (__pow_mp): Replace ONE and MONE with their values.
28105 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28106 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28107 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28108 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28109 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28110 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28111
27ec37f1
SP
28112 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28113
a64d7e0e
SP
28114 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28115 (__pow_mp): Replace ZERO and MZERO with their values.
28116 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28117 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28118 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28119 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28120 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28121 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28122 (__sqr): Likewise.
28123
d26dd3eb
SP
28124 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28125
0f6a8d4b
SP
28126 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28127
e57b0c61
RM
281282013-03-28 Roland McGrath <roland@hack.frob.com>
28129
28130 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28131 Declare with __attribute__ ((weak)).
28132 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28133 Call __call_tls_dtors only if it's not NULL.
28134
356b3480
RM
281352013-03-28 Roland McGrath <roland@hack.frob.com>
28136
288f7d79
RM
28137 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28138 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28139 magic __ehdr_start linker symbol if it's defined.
28140 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28141 them up here if it was already done.
28142
dc0a0263
RM
28143 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28144 (_dl_aux_init): Use const in cast when setting it.
28145 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28146 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28147 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28148
3d3436ae
RM
28149 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28150 Declare them here.
28151 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28152 * csu/libc-tls.c: Nor here.
28153 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28154
356b3480
RM
28155 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28156 (__libc_message): Never call vsyslog.
28157
b0f1246a
AM
281582013-03-28 Alan Modra <amodra@gmail.com>
28159
28160 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28161 Define as empty.
28162 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28163 Likewise.
28164
fbbe2b9a
AZ
281652013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28166
28167 [BZ #15214]
28168 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28169 underflow.
28170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28171
1728ab37
SP
281722013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28173
7a86be6e
SP
28174 [BZ #15304]
28175 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28176 Don't add gid passed as argument.
28177
1728ab37
SP
28178 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28179
3a7182a1
JM
281802013-03-27 Joseph Myers <joseph@codesourcery.com>
28181
28182 [BZ #15307]
28183 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28184 imaginary part between 1.0 and 1.5 and real part less than 0.5
28185 specially.
28186 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28187 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28188 * math/libm-test.inc (cacos_test): Add more tests.
28189 (casin_test): Likewise.
28190 (casinh_test): Likewise.
28191 * sysdeps/i386/fpu/libm-test-ulps: Update.
28192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28193
6f2e90e7
SP
281942013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28195
5739f705
SP
28196 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28197 constants.
28198 (norm): Likewise.
28199 (denorm): Likewise.
28200 (__dbl_mp): Likewise.
28201 (add_magnitudes): Likewise.
28202 (sub_magnitudes): Likewise.
28203 (__add): Likewise.
28204 (__sub): Likewise.
28205 (__mul): Likewise.
28206 (__sqr): Likewise.
28207 (__inv): Likewise.
28208 (__dvd): Likewise.
28209
e375e83d
SP
28210 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28211 commented code.
28212 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28213 (__dubcos): Likewise.
28214 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28215 (__ieee754_acos): Likewise.
28216 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28217 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28218 (__exp1): Likewise.
28219 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28220 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28221 (log1): Likewise.
28222 (my_log2): Likewise.
28223 (checkint): Likewise.
28224 * sysdeps/ieee754/dbl-64/e_remainder.c
28225 (__ieee754_remainder): Likewise.
28226 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28227 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28228 (bsloww): Likewise.
28229 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28230
6f2e90e7
SP
28231 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28232 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28233 MANTISSA_STORE_T to store computations on mantissa. Use
28234 macros for rounding and division.
28235 (denorm): Likewise.
28236 (__dbl_mp): Likewise.
28237 (add_magnitudes): Likewise.
28238 (sub_magnitudes): Likewise.
28239 (__mul): Likewise.
28240 (__sqr): Likewise.
28241 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28242 powers of two in terms of TWOPOW macro.
28243 (mp_no): Make type of mantissa as MANTISSA_T.
28244 [!RADIXI]: Define RADIXI.
28245 [!TWO52]: Define TWO52.
28246 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28247
fce14d4e
AZ
282482013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28249
28250 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28251 llroundl symbol when building for PPC32.
28252
9ad027fb
MW
282532013-03-24 Mark H Weaver <mhw@netris.org>
28254
28255 * manual/arith.texi (Normalization Functions): Fix prototypes for
28256 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28257
e42a38dd
AZ
282582013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28259
28260 [BZ #13889]
28261 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28262 high value to check if expl overflow.
28263 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28264 to check for underflow and overflow.
28265 * math/libm-test.inc: Add exp test.
28266
2e0fb521
DL
282672013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28268
28269 [BZ #11120]
28270 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28271 with NOT_IN_libc.
28272
b5784d95
AZ
282732013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28274
28275 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28276 symbol.
28277
5aa4a1a1
TS
282782013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28279
bdef0be7
TS
28280 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28281 wrap blocks consisting of several statements.
28282
5aa4a1a1
TS
28283 * sysdeps/generic/math-tests.h: New file.
28284 * sysdeps/i386/fpu/math-tests.h: Likewise.
28285 * math/test-snan.c: Include it.
28286 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28287
98c48fe5
JM
282882013-03-21 Joseph Myers <joseph@codesourcery.com>
28289
28290 [BZ #15285]
28291 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28292 (__ieee754_j0l): Do not improve calculations using cos of twice
28293 input for inputs above LDBL_MAX / 2.0L.
28294 (__ieee754_y0l): Likewise.
28295 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28296 (__ieee754_j1l): Do not improve calculations using cos of twice
28297 input for inputs above LDBL_MAX / 2.0L.
28298 (__ieee754_y1l): Likewise.
28299 * math/libm-test.inc (j0_test): Add another test.
28300 (j1_test): Likewise.
28301 (y0_test): Likewise.
28302 (y1_test): Likewise.
28303 * sysdeps/i386/fpu/libm-test-ulps: Update.
28304
3775a8bc
SP
283052013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28306
28307 * Rules ($(objpfx)bench-%.c): Include code from a C source
28308 file.
28309
0a1b2ae6
JM
283102013-03-21 Joseph Myers <joseph@codesourcery.com>
28311
28312 [BZ #15287]
28313 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28314 imaginary part 1.0 and real part less than 0.5 specially.
28315 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28316 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28317 * math/libm-test.inc (cacos_test): Add more tests.
28318 (casin_test): Likewise.
28319 (casinh_test): Likewise.
28320 * sysdeps/i386/fpu/libm-test-ulps: Update.
28321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28322
b33d4ce4
SP
283232013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28324
28325 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28326 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28327
bef0b507
JM
283282013-03-20 Joseph Myers <joseph@codesourcery.com>
28329
28330 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28331 * config.make.in (config-cflags-sse4): Remove variable.
28332 (config-cflags-avx): Likewise.
28333 (config-cflags-sse2avx): Likewise.
28334 (config-cflags-novzeroupper): Likewise.
28335 (config-asflags-i686): Likewise.
28336 (have-mfma4): Likewise.
28337 (have-as-vis3): Likewise.
28338 (MIG): Likewise.
28339 * configure.in (MIG): Do not AC_SUBST.
28340 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28341 (libc_cv_cc_sse4): Do not AC_SUBST.
28342 (libc_cv_cc_avx): Likewise.
28343 (libc_cv_cc_sse2avx): Likewise.
28344 (libc_cv_cc_novzeroupper): Likewise.
28345 (libc_cv_cc_fma4): Likewise.
28346 (libc_cv_as_i686): Likewise.
28347 (libc_cv_sparc_as_vis3): Likewise.
28348 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28349 LIBC_CONFIG_VAR.
28350 (config-asflags-i686): Likewise.
28351 (config-cflags-avx): Likewise.
28352 (config-cflags-sse2avx): Likewise.
28353 (have-mfma4): Likewise.
28354 (config-cflags-novzeroupper): Likewise.
28355 * sysdeps/mach/configure.in (MIG): Likewise.
28356 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28357 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28358 LIBC_CONFIG_VAR.
28359 (config-cflags-avx): Likewise.
28360 (config-cflags-sse2avx): Likewise.
28361 (have-mfma4): Likewise.
28362 (config-cflags-novzeroupper): Likewise.
28363 * configure: Regenerated.
28364 * sysdeps/i386/configure: Likewise.
28365 * sysdeps/mach/configure: Likewise.
28366 * sysdeps/sparc/configure: Likewise.
28367 * sysdeps/x86_64/configure: Likewise.
28368
912cc4b3
RM
283692013-03-20 Roland McGrath <roland@hack.frob.com>
28370
28371 [BZ #14812]
28372 * locale/programs/localedef.c (options): Put N_ translation marker
28373 on argument names, not just descriptions.
28374
04eed2b0
MS
283752013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28376
28377 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28378
a065ceff
OB
283792013-03-20 Ondřej Bílka <neleai@seznam.cz>
28380
9bb2a810 28381 [BZ #14176]
a065ceff
OB
28382 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28383
a600e5ce
RM
283842013-03-19 Roland McGrath <roland@hack.frob.com>
28385
28386 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28387 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28388 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28389 [!BEFORE_ABORT] (before_abort): New function.
28390 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28391 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28392 (writev_for_fatal): New function.
28393 (WRITEV_FOR_FATAL): New macro; call that.
28394 (backtrace_and_maps): New function.
28395 (BEFORE_ABORT): New macro; call that.
28396 (struct str_list): Type removed.
28397 (__libc_message, __libc_fatal): Functions removed.
28398 Include <sysdeps/posix/libc_fatal.c> instead.
28399
6b18bea6
JM
284002013-03-19 Joseph Myers <joseph@codesourcery.com>
28401
28402 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28403 constants.
28404 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28405 double constants.
28406
aaa8cb4b
AS
284072013-03-19 Andreas Schwab <schwab@suse.de>
28408
44673770
AS
28409 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28410 * sysdeps/gnu/configure: Regenerate.
28411
aaa8cb4b
AS
28412 * configure.in: Substitute libc_cv_rtlddir.
28413 * configure: Regenerate.
28414 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28415 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28416 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28417 * elf/Makefile (install-others, CFLAGS-interp.c)
28418 (ldso_install, common-ldd-rewrite): Likewise.
28419 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28420 $(inst_slibdir)/$(rtld-installed-name).
28421 * scripts/rellns-sh: Add -p option.
28422 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28423 for source.
28424
d3cfc668
SP
284252013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28426
28427 * manual/nptl.texi: Renamed to ...
28428 * manual/threads.texi: ... this.
28429 * manual/Makefile (chapters): Update.
28430
0e2b9cdd
RM
284312013-03-18 Roland McGrath <roland@hack.frob.com>
28432
28433 [BZ #14812]
28434 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28435 on argument names, not just descriptions.
0e2b9cdd
RM
28436 * malloc/memusagestat.c (options): Likewise.
28437 * nss/getent.c (options): Likewise.
63270c24
RM
28438
284392013-03-18 Benno Schulenberg <bensberg@justemail.net>
28440
28441 [BZ #14812]
28442 * iconv/iconv_prog.c (options): Put N_ translation marker
28443 on argument names, not just descriptions.
28444 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 28445
b2e1393c
OB
284462013-03-18 Ondrej Bilka <neleai@seznam.cz>
28447
28448 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28449 implementation which is faster on all x86_64 architectures.
28450 Tested on AMD, Intel Nehalem, SNB, IVB.
28451 * sysdeps/x86_64/strnlen.S: Likewise.
28452
28453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28454 Remove all multiarch strlen and strnlen versions.
28455 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28456 Remove strlen and strnlen related parts.
28457
28458 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28459 Inline strlen part.
28460 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28461
28462 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28463 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28464 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28465 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28466 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28467 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28468
ec4ff04d
CD
284692013-03-17 Carlos O'Donell <carlos@redhat.com>
28470
28471 * manual/memory.texi (Malloc Tunable Parameters):
28472 Sort parameters alphabetically. Add comments for missing entries.
28473
cd18e90a
DM
284742013-03-17 David S. Miller <davem@davemloft.net>
28475
28476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28477
2a185d32
JM
284782013-03-16 Joseph Myers <joseph@codesourcery.com>
28479
d2f9799e
JM
28480 [BZ #15283]
28481 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28482 for arguments at most half maximum finite value.
28483 * math/libm-test.inc (j0_test): Add more tests.
28484 (j1_test): Likewise.
28485 (y0_test): Likewise.
28486 (y1_test): Likewise.
28487 * sysdeps/i386/fpu/libm-test-ulps: Update.
28488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28489
2a185d32
JM
28490 [BZ #14155]
28491 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28492 1 / x and functions P and Q for arguments above 0x1p256L.
28493 (__ieee754_y0l): Likewise.
28494 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28495 (__ieee754_y1l): Likewise.
28496 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28497 (j1_test): Likewise.
28498 (y0_test): Likewise.
28499 (y1_test): Likewise.
28500
6cbec759
TS
285012013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28502
28503 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28504 variable.
28505
bc16e260
RM
285062013-03-15 Roland McGrath <roland@hack.frob.com>
28507
aefc9b8c
RM
28508 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28509 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28510 zero since it's initialized to EXEC_PAGESIZE.
28511
bc16e260
RM
28512 * sysdeps/unix/sysv/linux/ldsodefs.h
28513 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28514 * sysdeps/generic/ldsodefs.h: ... here.
28515
a57da955
TS
285162013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28517
af00a34d
TS
28518 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28519
495ded2c
TS
28520 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28521 math/test-snan.c.
28522 * math/test-snan.c: Renamed from
28523 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28524 * math/Makefile (tests): Add test-snan.
28525 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28526 test-powerpc-snan.
28527
777b0332
TS
28528 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28529 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28530 functions.
28531 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28532 __builtin_nan family of functions.
28533 * math/libm-test.inc (initialize): Initialize qnan_value with
28534 __builtin_nan family of functions.
28535 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28536 Remove variables.
28537 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28538 Remove functions.
28539 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28540 storage class. Initialize qNaN_var and sNaN_var with
28541 __builtin_nan and __builtin_nans families of functions,
28542 respectively.
28543
64d063b8
TS
28544 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28545 (sqrt_test): Remove duplicate test with qNaN input.
28546 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28547 (round_test, signbit_test, significand_test): Note missing +/-Inf
28548 as well as qNaN tests.
28549
67e971f1
TS
28550 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28551 qNaN_var. Fix a few strings, too.
28552 * math/libm-test.inc (nan_value): Rename to qnan_value.
28553 * math/gen-libm-test.pl (%beautify): Adjust to that.
28554 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28555 * math/test-misc.c (main): Likewise.
28556 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28557 to __qnan_bytes, and __qnan_union, respectively.
28558 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28559 Likewise.
28560 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28561 and lqnanval, respectively.
28562 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28563 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28564 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28565 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28566
64487e12
TS
28567 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28568 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28569 doubles.
28570
e015e27b
TS
28571 * math/test-misc.c (main): Fix copy'n'pastos.
28572 * misc/tst-efgcvt.c (special): Likewise.
28573
a57da955
TS
28574 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28575 Remove declarations.
28576
1e380345
SP
285772013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28578
28579 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28580 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28581 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28582 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28583
ef26eece
AZ
285842013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28585
28586 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28587 macro to return vdso values correctly in IFUNC implementations.
28588 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28589 Optimization by using IFUNC.
28590
8cfdb7e0
SP
285912013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28592 Richard Henderson <rth@redhat.com>
28593 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28594
28595 * Makefile.in (bench): New target.
28596 * NEWS: Mention the benchmark framework.
28597 * Rules (bench): Likewise.
28598 (binaries-bench): Generate binaries for functions to
28599 benchmark.
28600 * benchtests/Makefile: New makefile for benchmark tests.
28601 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28602 programs.
28603 * benchtests/exp-inputs: New input file for EXP function.
28604 * benchtests/pow-inputs: New input file for POW function.
28605 * scripts/bench.pl: New script to generate source files for
28606 benchmark programs.
28607
bcda9880
SP
286082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28609
d22ca8cd
SP
28610 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28611 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28612 computations on mantissa. Use macros for rounding and
28613 division.
28614 (denorm): Likewise.
28615 (__dbl_mp): Likewise.
28616 (add_magnitudes): Likewise.
28617 (sub_magnitudes): Likewise.
28618 (__mul): Likewise.
28619 (__sqr): Likewise.
28620 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28621 powers of two in terms of TWOPOW macro.
28622 (mp_no): Make type of mantissa as MANTISSA_T.
28623 [!RADIXI]: Define RADIXI.
28624 [!TWO52]: Define TWO52.
28625 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28626
bcda9880
SP
28627 * manual/nptl.texi (cindex): Modify threads to pthreads.
28628
06d5adfb
JM
286292013-03-15 Joseph Myers <joseph@codesourcery.com>
28630
28631 * sysdeps/x86_64/preconfigure: Regenerated.
28632
41c7328e
JM
286332013-03-14 Joseph Myers <joseph@codesourcery.com>
28634
28635 [BZ #14155]
28636 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28637 0x1p28 and above.
28638 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28639 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28640 0x1p28 and above.
28641 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28642 * math/libm-test.inc (j0_test): Do not allow one spurious
28643 underflow exception.
28644 (y1_test): Likewise.
28645
e25cfa60
SP
286462013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28647
0409959c
SP
28648 * manual/Makefile (chapters): Add nptl.
28649 * manual/debug.texi (Debugging Support): Add link to Threads
28650 chapter.
28651 * manual/nptl.texi: New file.
28652
e25cfa60
SP
28653 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28654
58a1335e
PB
286552013-03-14 Petr Baudis <pasky@ucw.cz>
28656
28657 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28658 for non-NULL pointer before the memory validity test. Pointed
28659 out by Holger Brunck <holger.brunck@keymile.com>.
28660
9dc7c64f
AS
286612013-03-13 Andreas Schwab <schwab@suse.de>
28662
28663 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28664 instead of .os.
28665
54206aa6
JM
286662013-03-13 Joseph Myers <joseph@codesourcery.com>
28667
28668 * timezone/zic.c: Update from tzcode 2013b.
28669
e98cdb38
CD
286702013-03-12 Carlos O'Donell <carlos@redhat.com>
28671
28672 * manual/install.texi (Configuring and compiling):
28673 Mention i686 and i586.
28674 * INSTALL: Regenerate.
28675
9967e003
RM
286762013-03-12 Roland McGrath <roland@hack.frob.com>
28677
28678 * sysdeps/init_array/elf-init.c: New file.
28679 * csu/elf-init.c
28680 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28681 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28682
28683 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28684 __gmon_start__ as global, but as static with a .preinit_array pointer.
28685 * sysdeps/init_array/gmon-start.c: New file. Use that.
28686 * sysdeps/init_array/crti.S: New file, empty except for comments.
28687 * sysdeps/init_array/crtn.S: Likewise.
28688
e6b5a293 286892013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
28690
28691 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28692 definining bcopy.
80f844c9
OB
28693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28694 Remove Prefer_SSE_for_memop.
28695 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28696 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28697 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
28698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28699 memset-x86-64.
80f844c9 28700 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 28701 Remove bzero, memset ifunc support.
80f844c9
OB
28702 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28703 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28704 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28705 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28706
fb6b0fcb
AS
287072013-03-11 Andreas Schwab <schwab@suse.de>
28708
28709 [BZ #15234]
28710 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28711 by SHLIB_COMPAT.
28712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28713 (GLIBC_2.16): Remove pthread_atfork.
28714
3e6bd4b1
PP
287152013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28716
28717 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28718 (ptestcases.h): Likewise.
28719
222d7f00
RM
287202013-03-08 Roland McGrath <roland@hack.frob.com>
28721
28722 * Makeconfig ($(common-objpfx)config.status): Depend on
28723 sysdeps/*/preconfigure{,.in} too.
28724
1ba4f030
JM
287252013-03-08 Joseph Myers <joseph@codesourcery.com>
28726
a222d91a
JM
28727 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28728 (__free_hook): Use void * instead of __malloc_ptr_t.
28729 (__malloc_hook): Likewise.
28730 (__realloc_hook): Likewise.
28731 (__memalign_hook): Likewise.
28732 (__after_morecore_hook): Likewise.
28733 * malloc/arena.c (save_malloc_hook): Likewise.
28734 (save_free_hook): Likewise.
28735 * malloc/hooks.c (malloc_hook_ini): Likewise.
28736 (realloc_hook_ini): Likewise.
28737 (memalign_hook_ini): Likewise.
28738 * malloc/malloc.c (malloc_hook_ini): Likewise.
28739 (realloc_hook_ini): Likewise.
28740 (memalign_hook_ini): Likewise.
28741 (__free_hook): Likewise.
28742 (__malloc_hook): Likewise.
28743 (__realloc_hook): Likewise.
28744 (__memalign_hook): Likewise.
28745 (__libc_malloc): Likewise.
28746 (__libc_free): Likewise.
28747 (__libc_realloc): Likewise.
28748 (__libc_memalign): Likewise.
28749 (__libc_valloc): Likewise.
28750 (__libc_pvalloc): Likewise.
28751 (__libc_calloc): Likewise.
28752 (__posix_memalign): Likewise.
28753 * malloc/morecore.c (__sbrk): Likewise.
28754 (__default_morecore): Likewise.
28755
5cc45e10
JM
28756 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28757
dd54b864
JM
28758 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28759 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28760 __malloc_ptrdiff_t.
28761
1ba4f030
JM
28762 * malloc/malloc.h (__malloc_size_t): Remove macro.
28763 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28764 __malloc_size_t.
28765 (old_memalign_hook): Likewise.
28766 (old_realloc_hook): Likewise.
28767 (struct hdr): Likewise.
28768 (flood): Likewise.
28769 (mallochook): Likewise.
28770 (memalignhook): Likewise.
28771 (reallochook): Likewise.
28772 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28773 (tr_old_realloc_hook): Likewise.
28774 (tr_old_memalign_hook): Likewise.
28775 (tr_mallochook): Likewise.
28776 (tr_reallochook): Likewise.
28777 (tr_memalignhook): Likewise.
28778
edf66e57
AZ
287792013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28780
28781 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28782 default_ldbl_pack and using as default implementation.
28783 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28784 implementation.
28785 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28786 redundant definition.
28787 (ldbl_insert_mantissa): Likewise.
28788 (ldbl_canonicalize): Likewise.
28789 (ldbl_nearbyint): Likewise.
28790 (ldbl_pack): Rename to ldbl_pack_ppc.
28791 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28792 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28793 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28794
6d9145d8
SP
287952013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28796
28797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28798 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28799 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28800 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28802 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28803 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28804 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28805
4dd4e157
AJ
288062013-03-07 Andreas Jaeger <aj@suse.de>
28807
28808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28809 bits/mman-linux.h.
28810
adbb8027
SP
288112013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28812
ce544b5b
SP
28813 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28814 Include mpa.h and declare __MPEXP.
28815 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28816 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28817 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28818 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28819 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28820 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28821 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28822
4cc149fd
SP
28823 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28824 (__slowpow): Use long double EXPL and LOGL functions to
28825 compute POW.
28826 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28827 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28828 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28829 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28830 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28831 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28832
e6ebd4a7
SP
28833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28834 intermediate variable to calculate exponent.
28835 (__sqr): Likewise.
28836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28837 Likewise.
28838 (__sqr): Likewise.
28839
82a9811d
SP
28840 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28841 [!NO__SQR]: Define __sqr.
28842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28843 and NO__SQR. Remove all code except __mul and __sqr. Include
28844 sysdeps/ieee754/dbl-64/mpa.c.
28845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28846
adbb8027
SP
28847 [BZ #12723]
28848 * posix/Makefile (tests): Add tst-pathconf.
28849 * posix/tst-pathconf.c: New test case.
28850 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28851 _PC_PIPE_BUF.
28852 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28853
39120df9
PF
288542013-03-06 Patsy Franklin <pfrankli@redhat.com>
28855
28856 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28857
67525cb8
AJ
288582013-03-06 Andreas Jaeger <aj@suse.de>
28859
664a9ce4
AJ
28860 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28861 definition via __MAP_ANONYMOUS.
28862
8e39047d
AJ
28863 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28864 it's not part of Linux headers.
28865
67525cb8
AJ
28866 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28867 (MAP_HUGE_MASK): Define.
28868
28869 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28870 Define.
28871 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28872 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28873 Define.
28874 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28875 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28876 Define.
28877 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28878 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28879 Define.
28880 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28881
28882 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28883 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28884 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28885 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28886 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28887 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28888
28889 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28890 Handle f2fs.
28891
28892 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28893 Handle f2fs and efivarfs.
28894
28895 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28896 f2fs.
28897
28898 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28899 (EFIVARFS_MAGIC): Add.
28900 (F2FS_LINK_MAX): Add.
28901
e1b42695
PP
289022013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28903
28904 * stdio-common/vfprintf.c: Replace __builtin_expect with
28905 __glibc_unlikely.
28906
2d67d91a
JM
289072013-03-06 Joseph Myers <joseph@codesourcery.com>
28908
28909 [BZ #13550]
28910 * sysdeps/generic/bp-sym.h: Remove file.
28911 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28912 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28913 <bp-sym.h> and <bp-asm.h>.
28914 (__longjmp): Don't use BP_SYM.
28915 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28916 and <bp-asm.h>.
28917 (memcpy): Don't use BP_SYM.
28918 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28919 <bp-sym.h> and <bp-asm.h>.
28920 (memcpy): Don't use BP_SYM.
28921 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28922 <bp-asm.h>.
28923 (memcpy): Don't use BP_SYM.
28924 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28925 <bp-asm.h>.
28926 (memset): Don't use BP_SYM.
28927 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28928 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28929 (__bzero): Don't use BP_SYM.
28930 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28931 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28932 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28933 <bp-sym.h> and <bp-asm.h>.
28934 (memcmp): Don't use BP_SYM. Remove comment about bounded
28935 pointers.
28936 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28937 <bp-sym.h> and <bp-asm.h>.
28938 (memcpy): Don't use BP_SYM.
28939 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28940 <bp-sym.h> and <bp-asm.h>.
28941 (memset): Don't use BP_SYM.
28942 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28943 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28944 (__bzero): Don't use BP_SYM.
28945 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28946 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28947 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28948 <bp-sym.h> and <bp-asm.h>.
28949 (strncmp): Don't use BP_SYM. Remove comment about bounded
28950 pointers.
28951 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28952 <bp-sym.h> and <bp-asm.h>.
28953 (memcpy): Don't use BP_SYM.
28954 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28955 <bp-sym.h> and <bp-asm.h>.
28956 (memset): Don't use BP_SYM.
28957 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28958 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28959 (__bzero): Don't use BP_SYM.
28960 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28961 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28962 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28963 <bp-sym.h> and <bp-asm.h>.
28964 (__memchr): Don't use BP_SYM.
28965 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28966 <bp-sym.h> and <bp-asm.h>.
28967 (memcmp): Don't use BP_SYM. Remove comment about bounded
28968 pointers.
28969 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28970 <bp-sym.h> and <bp-asm.h>.
28971 (memcpy): Don't use BP_SYM.
28972 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28973 <bp-sym.h> and <bp-asm.h>.
28974 (__mempcpy): Don't use BP_SYM.
28975 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28976 <bp-sym.h> and <bp-asm.h>.
28977 (__memrchr): Don't use BP_SYM.
28978 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28979 <bp-sym.h> and <bp-asm.h>.
28980 (memset): Don't use BP_SYM.
28981 (__bzero): Likewise.
28982 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28983 <bp-sym.h> and <bp-asm.h>.
28984 (__rawmemchr): Don't use BP_SYM.
28985 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28986 <bp-sym.h> and <bp-asm.h>.
28987 (__STRCMP): Don't use BP_SYM.
28988 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28989 <bp-sym.h> and <bp-asm.h>.
28990 (strchr): Don't use BP_SYM.
28991 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28992 <bp-sym.h> and <bp-asm.h>.
28993 (__strchrnul): Don't use BP_SYM.
28994 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28995 <bp-sym.h> and <bp-asm.h>.
28996 (strlen): Don't use BP_SYM.
28997 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28998 <bp-sym.h> and <bp-asm.h>.
28999 (strncmp): Don't use BP_SYM. Remove comment about bounded
29000 pointers.
29001 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29002 <bp-sym.h> and <bp-asm.h>.
29003 (__strnlen): Don't use BP_SYM.
29004 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29005 <bp-sym.h> and <bp-asm.h>.
29006 (__GI__setjmp): Don't use BP_SYM.
29007 (_setjmp): Likewise.
29008 (__sigsetjmp): Likewise.
29009 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29010 (L(start_addresses)): Don't use BP_SYM.
29011 (_start): Likewise.
29012 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29013 <bp-asm.h>.
29014 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29015 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29016 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29017 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29018 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29019 <bp-asm.h>.
29020 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29021 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29022 about bounded pointers.
29023 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29024 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29025 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29026 <bp-asm.h>.
29027 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29028 about bounded pointers. Remove GKM FIXME comments.
29029 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29030 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29031 <bp-asm.h>.
29032 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29033 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29034 Remove GKM FIXME comments.
29035 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29036 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29037 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29038 <bp-asm.h>.
29039 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29040 about bounded pointers. Remove GKM FIXME comment.
29041 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29042 and <bp-asm.h>.
29043 (strncmp): Don't use BP_SYM. Remove comment about bounded
29044 pointers.
29045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29046 <bp-sym.h> and <bp-asm.h>.
29047 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29049 <bp-sym.h> and <bp-asm.h>.
29050 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29051 comment.
29052
cdcf361f
PP
290532013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29054
29055 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29056 call free(NULL).
29057
3c4a2b15
DM
290582013-03-05 David S. Miller <davem@davemloft.net>
29059
29060 * po/es.po: Update from translation team.
29061
cdcf361f 290622013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
29063
29064 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29065 <bits/mman-linux.h>.
29066 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29067 is fine.
29068 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29069 <bits/mman-linux.h> to end of file.
29070 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29071 is fine.
29072 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29073 <bits/mman-linux.h> to end of file.
29074 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29075 is fine.
29076 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29077 <bits/mman-linux.h> to end of file.
29078
29079 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29080 (MCL_CURRENT, MCL_FUTURE): Define here.
29081
5f67c04f
AK
290822013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29083
8a4473cc 29084 [BZ #15232]
5f67c04f
AK
29085 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29086 attribute_hidden.
29087 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29088
c3e94a95
AK
290892013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29090
29091 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29092 fourth parameter needed for rt_sigprocmask syscall.
29093 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29094 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29095 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29096 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29097 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29098 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29099
cfb6382a
JM
291002013-03-04 Joseph Myers <joseph@codesourcery.com>
29101
29102 [BZ #13550]
29103 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29104 comment about bounded pointers.
29105 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29106 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29107
539d8e01
AJ
291082013-03-04 Andreas Jaeger <aj@suse.de>
29109
29110 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29111 common definitions.
29112
29113 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29114 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29115 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29116 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29117 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
29118 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29119
2e167a70 291202013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
29121
29122 [BZ #15055]
29123 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29124 __ieee754_sqrl instead of __sqrl.
29125
68508633
JM
291262013-03-01 Joseph Myers <joseph@codesourcery.com>
29127
29128 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29129 * sysdeps/powerpc/fpu_control.h: ... here.
29130 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29131 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29132 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29133 * sysdeps/powerpc/bits/mathinline.h: ... here.
29134
7775448e
RM
291352013-03-01 Roland McGrath <roland@hack.frob.com>
29136
29137 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29138 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29139 to just [NEED_DL_SYSINFO_DSO].
29140 * elf/dl-support.c: Likewise.
29141 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29142 * elf/rtld.c (dl_main): Likewise.
29143 * elf/setup-vdso.h (setup_vdso): Likewise.
29144 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29145 * sysdeps/unix/sysv/linux/dl-sysdep.c
29146 (_dl_discover_osversion): Likewise.
29147
4e9b5995
CD
291482013-03-01 Carlos O'Donell <carlos@redhat.com>
29149
29150 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29151 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29152
e23872c8
SP
291532013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29154
e5c74c63
SP
29155 * NEWS: Mention libm performance improvements and non-x86 PI
29156 futex support.
29157
e23872c8
SP
29158 * csu/libc-start.c (__pthread_initialize_minimal): Change
29159 function arguments.
29160 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29161
b5510883
JM
291622013-02-28 Joseph Myers <joseph@codesourcery.com>
29163
29164 [BZ #13550]
29165 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29166 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29167 <bp-sym.h> and <bp-asm.h>.
29168 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29169 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29170 and <bp-asm.h>.
29171 (memcpy): Don't use BP_SYM.
29172 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29173 <bp-asm.h>.
29174 (__mpn_add_n): Don't use BP_SYM.
29175 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29176 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29177 and <bp-asm.h>.
29178 (__mpn_addmul_1): Don't use BP_SYM.
29179 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29180 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29181 <bp-sym.h>.
29182 (_setjmp): Don't use BP_SYM.
29183 (__novmx_setjmp): Likewise.
29184 (__GI__setjmp): Likewise.
29185 (__vmx_setjmp): Likewise.
29186 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29187 <bp-sym.h>.
29188 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29189 (__bzero): Don't use BP_SYM.
29190 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29191 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29192 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29193 <bp-sym.h> and <bp-asm.h>.
29194 (memcpy): Don't use BP_SYM.
29195 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29196 <bp-sym.h> and <bp-asm.h>.
29197 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29198 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29199 <bp-sym.h> and <bp-asm.h>.
29200 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29201 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29202 <bp-asm.h>.
29203 (__mpn_lshift): Don't use BP_SYM.
29204 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29205 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29206 <bp-asm.h>.
29207 (memset): Don't use BP_SYM.
29208 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29209 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29210 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29211 <bp-asm.h>.
29212 (__mpn_mul_1): Don't use BP_SYM.
29213 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29214 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29215 <bp-sym.h> and <bp-asm.h>.
29216 (memcmp): Don't use BP_SYM.
29217 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29218 <bp-sym.h> and <bp-asm.h>.
29219 (memcpy): Don't use BP_SYM.
29220 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29221 <bp-sym.h> and <bp-asm.h>.
29222 (memset): Don't use BP_SYM.
29223 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29224 <bp-sym.h> and <bp-asm.h>.
29225 (strncmp): Don't use BP_SYM.
29226 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29227 <bp-sym.h> and <bp-asm.h>.
29228 (memcpy): Don't use BP_SYM.
29229 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29230 <bp-sym.h> and <bp-asm.h>.
29231 (memset): Don't use BP_SYM.
29232 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29233 <bp-sym.h> and <bp-asm.h>.
29234 (__memchr): Don't use BP_SYM.
29235 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29236 <bp-sym.h> and <bp-asm.h>.
29237 (memcmp): Don't use BP_SYM.
29238 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29239 <bp-sym.h> and <bp-asm.h>.
29240 (memcpy): Don't use BP_SYM.
29241 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29242 <bp-sym.h> and <bp-asm.h>.
29243 (__mempcpy): Don't use BP_SYM.
29244 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29245 <bp-sym.h> and <bp-asm.h>.
29246 (__memrchr): Don't use BP_SYM.
29247 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29248 <bp-sym.h> and <bp-asm.h>.
29249 (memset): Don't use BP_SYM.
29250 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29251 <bp-sym.h> and <bp-asm.h>.
29252 (__rawmemchr): Don't use BP_SYM.
29253 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29254 <bp-sym.h> and <bp-asm.h>.
29255 (__STRCMP): Don't use BP_SYM.
29256 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29257 <bp-sym.h> and <bp-asm.h>.
29258 (strchr): Don't use BP_SYM.
29259 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29260 <bp-sym.h> and <bp-asm.h>.
29261 (__strchrnul): Don't use BP_SYM.
29262 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29263 <bp-sym.h> and <bp-asm.h>.
29264 (strlen): Don't use BP_SYM.
29265 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29266 <bp-sym.h> and <bp-asm.h>.
29267 (strncmp): Don't use BP_SYM.
29268 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29269 <bp-sym.h> and <bp-asm.h>.
29270 (__strnlen): Don't use BP_SYM.
29271 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29272 <bp-asm.h>.
29273 (__mpn_rshift): Don't use BP_SYM.
29274 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29275 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29276 <bp-sym.h> and <bp-asm.h>.
29277 (__sigsetjmp): Don't use BP_SYM.
29278 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29279 (L(start_addresses)): Don't use BP_SYM.
29280 (_start): Likewise.
29281 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29282 <bp-asm.h>.
29283 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29284 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29285 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29286 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29287 <bp-asm.h>.
29288 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29289 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29290 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29291 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29292 <bp-asm.h>.
29293 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29294 comments.
29295 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29296 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29297 <bp-asm.h>.
29298 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29299 FIXME comments.
29300 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29301 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29302 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29303 <bp-asm.h>.
29304 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29305 comment.
29306 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29307 and <bp-asm.h>.
29308 (strncmp): Don't use BP_SYM,
29309 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29310 <bp-asm.h>.
29311 (__mpn_sub_n): Don't use BP_SYM.
29312 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29313 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29314 and <bp-asm.h>.
29315 (__mpn_submul_1): Don't use BP_SYM.
29316 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29318 <bp-sym.h> and <bp-asm.h>.
29319 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29321 <bp-sym.h> and <bp-asm.h>.
29322 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29323 comment.
29324
8d19fe64
SP
293252013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29326
29327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29328 Use ZK to minimize writes to Z.
29329 (sub_magnitudes): Simplify code a bit.
29330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29331 Use ZK to minimize writes to Z.
29332 (sub_magnitudes): Simplify code a bit.
29333
85bd816a
RM
293342013-02-27 Roland McGrath <roland@hack.frob.com>
29335
29336 * csu/gmon-start.c: Add special exception to license text.
29337
b5977bf2
RH
293382013-02-27 Richard Henderson <rth@redhat.com>
29339
29340 * scripts/config.guess: Update from config.git.
29341 * scripts/config.sub: Likewise.
29342
11d6e2f2
SP
293432013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29344
09c14ed2
SP
29345 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29346
a688864e
SP
29347 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29348
6295157a
SP
29349 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29350
b8de2202
SP
29351 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29352
11d6e2f2
SP
29353 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29354
7e80ddb8
RM
293552013-02-26 Roland McGrath <roland@hack.frob.com>
29356
29357 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29358 [$(build-shared = yes].
7e80ddb8 29359
7da6d9ed
SP
293602013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29361
45f05884
SP
29362 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29363 (__mul): Reduce iterations for calculating mantissa.
29364
2236d359
SP
29365 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29366 MPTWO.
29367 (__mpranred): Likewise.
29368
7da6d9ed
SP
29369 [BZ #15160]
29370 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29371 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29372
b7688c42
PE
293732013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29374
29375 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29376 Define __attribute__.
29377
53a5c423
SP
293782013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29379
29380 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29381 unused.
29382 * posix/regex_internal.h (__attribute): Remove.
29383 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29384 (re_string_context_at): Likewise.
29385 (bitset_not): Use __attribute__ and mark function as possibly
29386 unused.
29387 (bitset_merge): Likewise.
29388 (bitset_mask): Likewise.
29389 (re_string_char_size_at): Likewise.
29390 (re_string_wchar_at): Likewise.
29391 (re_string_elem_size_at): Likewise.
29392
60f5a8b5
SP
293932013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29394
2a983a2e
SP
29395 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29396 code.
29397 (cc32): Likewise.
29398
e69804d1
SP
29399 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29400 (__acr): Likewise.
29401 (__cpy): Likewise.
29402 (norm): Likewise.
29403 (denorm): Likewise.
29404 (__dbl_mp): Likewise.
29405 (add_magnitudes): Likewise.
29406 (sub_magnitudes): Likewise.
29407 (__mul): Likewise.
29408 (__inv): Likewise.
29409
2f22a1e8
SP
29410 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29411 style.
29412
8930ddc7
SP
29413 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29414 style.
29415
dc60cb11
SP
29416 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29417 code.
29418
60f5a8b5
SP
29419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29420 up changes with default code.
29421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29422 Likewise.
29423
b4d1fd33
AM
294242013-02-24 Allan McRae <allan@archlinux.org>
29425
faf6f8bc
AM
29426 * manual/socket.texi (The Internet Namespace): Order menu items
29427 to match that in the file.
29428
b4d1fd33
AM
29429 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29430 node listing of the info page menu.
29431
2366713d
JM
294322013-02-21 Joseph Myers <joseph@codesourcery.com>
29433
29434 [BZ #13550]
29435 * sysdeps/i386/bp-asm.h: Remove file.
29436 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29437 (PARMS): Do not use macros from bp-asm.h.
29438 (S1): Likewise.
29439 (S2): Likewise.
29440 (SIZE): Likewise.
29441 (__mpn_add_n): Do not use BP_SYM
29442 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29443 "bp-asm.h".
29444 (PARMS): Do not use macros from bp-asm.h.
29445 (S1): Likewise.
29446 (SIZE): Likewise.
29447 (__mpn_addmul_1): Do not use BP_SYM
29448 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29449 "bp-asm.h".
29450 (PARMS): Do not use macros from bp-asm.h.
29451 (SIGMSK): Likewise.
29452 (_setjmp): Likewise. Do not use BP_SYM.
29453 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29454 "bp-asm.h".
29455 (PARMS): Do not use macros from bp-asm.h.
29456 (SIGMSK): Likewise.
29457 (setjmp): Likewise. Do not use BP_SYM.
29458 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29459 "bp-asm.h".
29460 (PARMS): Do not use macros from bp-asm.h.
29461 (__frexp): Do not use BP_SYM.
29462 (frexp): Likewise.
29463 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29464 "bp-asm.h".
29465 (PARMS): Do not use macros from bp-asm.h.
29466 (__frexpf): Do not use BP_SYM.
29467 (frexpf): Likewise.
29468 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29469 "bp-asm.h".
29470 (PARMS): Do not use macros from bp-asm.h.
29471 (__frexpl): Do not use BP_SYM.
29472 (frexpl): Likewise.
29473 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29474 "bp-asm.h".
29475 (PARMS): Do not use macros from bp-asm.h.
29476 (__remquo): Do not use BP_SYM.
29477 (remquo): Likewise.
29478 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29479 "bp-asm.h".
29480 (PARMS): Do not use macros from bp-asm.h.
29481 (__remquof): Do not use BP_SYM.
29482 (remquof): Likewise.
29483 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29484 "bp-asm.h".
29485 (PARMS): Do not use macros from bp-asm.h.
29486 (__remquol): Do not use BP_SYM.
29487 (remquol): Likewise.
29488 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29489 "bp-asm.h".
29490 (PARMS): Do not use macros from bp-asm.h.
29491 (DEST): Likewise.
29492 (SRC): Likewise.
29493 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29494 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29495 "bp-asm.h".
29496 (PARMS): Do not use macros from bp-asm.h.
29497 (strlen): Do not use BP_SYM.
29498 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29499 "bp-asm.h".
29500 (PARMS): Do not use macros from bp-asm.h.
29501 (S1): Likewise.
29502 (S2): Likewise.
29503 (SIZE): Likewise.
29504 (__mpn_add_n): Do not use BP_SYM.
29505 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29506 "bp-asm.h".
29507 (PARMS): Do not use macros from bp-asm.h.
29508 (S1): Likewise.
29509 (SIZE): Likewise.
29510 (__mpn_addmul_1): Do not use BP_SYM.
29511 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29512 weak_alias.
29513 (bzero): Likewise.
29514 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29515 "bp-asm.h".
29516 (PARMS): Do not use macros from bp-asm.h.
29517 (S): Likewise.
29518 (SIZE): Likewise.
29519 (__mpn_lshift): Do not use BP_SYM.
29520 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29521 "bp-asm.h".
29522 (PARMS): Do not use macros from bp-asm.h.
29523 (DEST): Likewise.
29524 (SRC): Likewise.
29525 (LEN): Likewise.
29526 (memcpy): Likewise. Do not use BP_SYM.
29527 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29528 libc_hidden_def and weak_alias.
29529 (mempcpy): Do not use BP_SYM in weak_alias.
29530 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29531 "bp-asm.h".
29532 (PARMS): Do not use macros from bp-asm.h.
29533 (DEST): Likewise.
29534 (LEN): Likewise.
29535 [!BZERO_P] (CHR): Likewise.
29536 (memset): Likewise. Do not use BP_SYM.
29537 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29538 "bp-asm.h".
29539 (PARMS): Do not use macros from bp-asm.h.
29540 (S1): Likewise.
29541 (SIZE): Likewise.
29542 (__mpn_mul_1): Do not use BP_SYM.
29543 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29544 "bp-asm.h".
29545 (PARMS): Do not use macros from bp-asm.h.
29546 (S): Likewise.
29547 (SIZE): Likewise.
29548 (__mpn_rshift): Do not use BP_SYM.
29549 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29550 "bp-asm.h".
29551 (PARMS): Do not use macros from bp-asm.h.
29552 (STR): Likewise.
29553 (CHR): Likewise.
29554 (strchr): Likewise. Do not use BP_SYM.
29555 (index): Do not use BP_SYM in weak_alias.
29556 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29557 "bp-asm.h".
29558 (PARMS): Do not use macros from bp-asm.h.
29559 (DEST): Likewise.
29560 (SRC): Likewise.
29561 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29562 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29563 "bp-asm.h".
29564 (PARMS): Do not use macros from bp-asm.h.
29565 (strlen): Do not use BP_SYM.
29566 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29567 "bp-asm.h".
29568 (PARMS): Do not use macros from bp-asm.h.
29569 (S1): Likewise.
29570 (S2): Likewise.
29571 (SIZE): Likewise.
29572 (__mpn_sub_n): Do not use BP_SYM.
29573 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29574 "bp-asm.h".
29575 (PARMS): Do not use macros from bp-asm.h.
29576 (S1): Likewise.
29577 (SIZE): Likewise.
29578 (__mpn_submul_1): Do not use BP_SYM.
29579 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29580 "bp-asm.h".
29581 (PARMS): Do not use macros from bp-asm.h.
29582 (S1): Likewise.
29583 (S2): Likewise.
29584 (SIZE): Likewise.
29585 (__mpn_add_n): Do not use BP_SYM.
29586 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29587 weak_alias.
29588 (bzero): Likewise.
29589 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29590 "bp-asm.h".
29591 (PARMS): Do not use macros from bp-asm.h.
29592 (BLK2): Likewise.
29593 (LEN): Likewise.
29594 (memcmp): Do not use BP_SYM.
29595 (bcmp): Do not use BP_SYM in weak_alias.
29596 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29597 "bp-asm.h".
29598 (PARMS): Do not use macros from bp-asm.h.
29599 (DEST): Likewise.
29600 (SRC): Likewise.
29601 (LEN): Likewise.
29602 (memcpy): Likewise. Do not use BP_SYM.
29603 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29604 "bp-asm.h".
29605 (PARMS): Do not use macros from bp-asm.h.
29606 (DEST): Likewise.
29607 (SRC): Likewise.
29608 (LEN): Likewise.
29609 (memmove): Likewise. Do not use BP_SYM.
29610 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29611 "bp-asm.h".
29612 (PARMS): Do not use macros from bp-asm.h.
29613 (DEST): Likewise.
29614 (SRC): Likewise.
29615 (LEN): Likewise.
29616 (__mempcpy): Likewise. Do not use BP_SYM.
29617 (mempcpy): Do not use BP_SYM in weak_alias.
29618 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29619 "bp-asm.h".
29620 (PARMS): Do not use macros from bp-asm.h.
29621 (DEST): Likewise.
29622 (LEN): Likewise.
29623 [!BZERO_P] (CHR): Likewise.
29624 (memset): Likewise. Do not use BP_SYM.
29625 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29626 "bp-asm.h".
29627 (PARMS): Do not use macros from bp-asm.h.
29628 (STR2): Likewise.
29629 (strcmp): Do not use BP_SYM.
29630 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29631 "bp-asm.h".
29632 (PARMS): Do not use macros from bp-asm.h.
29633 (STR): Likewise.
29634 (DELIM): Likewise.
29635 [USE_AS_STRTOK_R] (SAVE): Likewise.
29636 (FUNCTION): Likewise. Do not use BP_SYM.
29637 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29638 aliases.
29639 (strtok_r): Likewise.
29640 (__GI___strtok_r): Likewise.
29641 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29642 (PARMS): Do not use macros from bp-asm.h.
29643 (S): Likewise.
29644 (SIZE): Likewise.
29645 (__mpn_lshift): Do not use BP_SYM.
29646 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29647 (PARMS): Do not use macros from bp-asm.h.
29648 (STR): Likewise.
29649 (CHR): Likewise.
29650 (__memchr): Do not use BP_SYM.
29651 (memchr): Do not use BP_SYM in weak_alias.
29652 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29653 (PARMS): Do not use macros from bp-asm.h.
29654 (BLK2): Likewise.
29655 (LEN): Likewise.
29656 (memcmp): Do not use BP_SYM.
29657 (bcmp): Do not use BP_SYM in weak_alias.
29658 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29659 (PARMS): Do not use macros from bp-asm.h.
29660 (S1): Likewise.
29661 (SIZE): Likewise.
29662 (__mpn_mul_1): Do not use BP_SYM.
29663 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29664 "bp-asm.h".
29665 (PARMS): Do not use macros from bp-asm.h.
29666 (STR): Likewise.
29667 (CHR): Likewise.
29668 (__rawmemchr): Do not use BP_SYM.
29669 (rawmemchr): Do not use BP_SYM in weak_alias.
29670 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29671 (PARMS): Do not use macros from bp-asm.h.
29672 (S): Likewise.
29673 (SIZE): Likewise.
29674 (__mpn_rshift): Do not use BP_SYM.
29675 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29676 (PARMS): Do not use macros from bp-asm.h.
29677 (SIGMSK): Likewise.
29678 (__sigsetjmp): Likewise. Do not use BP_SYM.
29679 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29680 (_start): Do not use BP_SYM.
29681 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29682 (PARMS): Do not use macros from bp-asm.h.
29683 (DEST): Likewise.
29684 (SRC): Likewise.
29685 (__stpcpy): Likewise. Do not use BP_SYM.
29686 (stpcpy): Do not use BP_SYM in weak_alias.
29687 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29688 "bp-asm.h".
29689 (PARMS): Do not use macros from bp-asm.h.
29690 (DEST): Likewise.
29691 (SRC): Likewise.
29692 (LEN): Likewise.
29693 (__stpncpy): Likewise. Do not use BP_SYM.
29694 (stpncpy): Do not use BP_SYM in weak_alias.
29695 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29696 (PARMS): Do not use macros from bp-asm.h.
29697 (STR): Likewise.
29698 (CHR): Likewise.
29699 (strchr): Likewise. Do not use BP_SYM.
29700 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29701 "bp-asm.h".
29702 (PARMS): Do not use macros from bp-asm.h.
29703 (STR): Likewise.
29704 (CHR): Likewise.
29705 (__strchrnul): Likewise. Do not use BP_SYM.
29706 (strchrnul): Do not use BP_SYM in weak_alias.
29707 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29708 "bp-asm.h".
29709 (PARMS): Do not use macros from bp-asm.h.
29710 (STOP): Likewise.
29711 (strcspn): Do not use BP_SYM.
29712 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29713 "bp-asm.h".
29714 (PARMS): Do not use macros from bp-asm.h.
29715 (STR): Likewise.
29716 (STOP): Likewise.
29717 (strpbrk): Likewise. Do not use BP_SYM.
29718 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29719 "bp-asm.h".
29720 (PARMS): Do not use macros from bp-asm.h.
29721 (STR): Likewise.
29722 (CHR): Likewise.
29723 (strrchr): Likewise. Do not use BP_SYM.
29724 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29725 (PARMS): Do not use macros from bp-asm.h.
29726 (SKIP): Likewise.
29727 (strspn): Do not use BP_SYM.
29728 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29729 (PARMS): Do not use macros from bp-asm.h.
29730 (STR): Likewise.
29731 (DELIM): Likewise.
29732 (SAVE): Likewise.
29733 (FUNCTION): Likewise. Do not use BP_SYM.
29734 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29735 aliases.
29736 (strtok_r): Likewise.
29737 (__GI___strtok_r): Likewise.
29738 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29739 (PARMS): Do not use macros from bp-asm.h.
29740 (S1): Likewise.
29741 (S2): Likewise.
29742 (SIZE): Likewise.
29743 (__mpn_sub_n): Do not use BP_SYM.
29744 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29745 "bp-asm.h".
29746 (PARMS): Do not use macros from bp-asm.h.
29747 (S1): Likewise.
29748 (SIZE): Likewise.
29749 (__mpn_submul_1): Do not use BP_SYM.
29750 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29751 <bp-sym.h>.
29752 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29753 and <bp-asm.h>.
29754 (PARMS): Do not use macros from bp-asm.h.
29755 (FLAGS): Likewise.
29756 (PTID): Likewise.
29757 (TLS): Likewise.
29758 (CTID): Likewise.
29759 (__clone): Do not use BP_SYM.
29760 (clone): Do not use BP_SYM in weak_alias.
29761 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29762 and <bp-asm.h>.
29763 (PARMS): Do not use macros from bp-asm.h.
29764 (LEN): Likewise.
29765 (__mmap64): Do not use BP_SYM.
29766 (mmap64): Do not use BP_SYM in weak_alias.
29767 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29768 <bp-sym.h> and <bp-asm.h>.
29769 (PARMS): Do not use macros from bp-asm.h.
29770 (__posix_fadvise64_l64): Do not use BP_SYM.
29771 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29772 (PARMS): Do not use macros from bp-asm.h.
29773 (NSOPS): Likewise.
29774 (semtimedop): Do not use BP_SYM.
29775 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29776 and <bp-asm.h>.
29777
582a3cff
AM
297782013-02-21 Allan McRae <allan@archlinux.org>
29779
29780 * manual/message.texi (Charset conversion in gettext):
29781 Move @end statement to beginning of line.
29782
bab8a695
SP
297832013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29784
80945231
SP
29785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29786 static.
29787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29788 Likewise.
29789
bab8a695
SP
29790 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29791 (denorm): Likewise.
29792 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29794
e21d7aa7
AK
297952013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29796
29797 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29798 tail-call to the resolved function if pltexit isn't needed.
29799
4c7a4263
SP
298002013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29801
29802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29803 or Y being zero as being unlikely.
29804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29805 Likewise.
29806
41f49342
CD
298072013-02-20 Carlos O'Donell <carlos@redhat.com>
29808
29809 * manual/nss.texi (System Databases and Name Service Switch):
29810 Remove frobnicate @pxref.
29811
50022a93
TS
298122013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29813
29814 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29815 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29816
08cbd996
PM
298172013-02-20 Petr Machata <pmachata@redhat.com>
29818
29819 * elf/elf.h (R_ARM_TARGET1): New macro.
29820 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29821 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29822 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29823 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29824 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29825 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29826 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29827 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29828 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29829 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29830 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29831 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29832 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29833 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29834 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29835 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29836 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29837 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29838 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29839 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29840 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29841 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29842 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29843 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29844 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29845 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29846 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29847 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29848 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29849 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29850 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29851 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29852 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29853 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29854 (R_ARM_THM_GOT_BREL12): Likewise.
29855 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29856 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29857 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29858 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29859 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29860 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29861 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29862 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29863 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29864
c7b275d6
TS
298652013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29866
29867 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29868 __attribute_used__ to __attribute__ ((unused)).
29869
20cd7fb3
SP
298702013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29871
29872 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29873 powerpc mpa.c.
29874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29875 comment formatting.
29876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29877
92945b52
JM
298782013-02-19 Joseph Myers <joseph@codesourcery.com>
29879
29880 [BZ #13550]
29881 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29882 Remove macro.
29883 (ENTER): Remove both macro definitions.
29884 (LEAVE): Likewise.
29885 (CHECK_BOUNDS_LOW): Likewise.
29886 (CHECK_BOUNDS_HIGH): Likewise.
29887 (CHECK_BOUNDS_BOTH): Likewise.
29888 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29889 (RETURN_BOUNDED_POINTER): Likewise.
29890 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29891 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29892 (POP_ERRNO_LOCATION_RETURN): Likewise.
29893 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29894 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29895 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29896 macros.
29897 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29898 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29899 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29900 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29901 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29902 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29903 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29904 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29905 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29906 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29907 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29908 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29909 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29910 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29911 removed macros.
29912 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29913 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29914 macros.
29915 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29916 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29917 * sysdeps/i386/i586/memset.S (memset): Likewise.
29918 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29919 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29920 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29921 macros.
29922 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29923 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29924 Change uses of L(2) to L(out).
29925 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29926 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29927 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29928 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29929 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29930 removed macros.
29931 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29932 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29933 macros.
29934 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29935 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29936 (RETURN): Do not use macro LEAVE.
29937 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29938 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29939 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29940 * sysdeps/i386/i686/memset.S (memset): Likewise.
29941 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29942 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29943 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29944 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29945 Likewise.
29946 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29947 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29948 L(1_2) and L(1_3) into L(1).
29949 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29950 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29951 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29952 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29953 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29954 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29955 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29956 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29957 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29958 macros.
29959 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29960 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29961 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29962 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29963 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29964 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29965 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29966 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29967 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29968 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29969 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29970 * sysdeps/i386/strspn.S (strspn): Likewise.
29971 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29972 conditional code.
29973 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29974 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29975 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29976 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29977 L(1_3) into L(1_1).
29978 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29979 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29980 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29981 macros.
29982 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29983
2389741a
JJ
299842013-02-19 Jakub Jelinek <jakub@redhat.com>
29985
29986 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29987 macro.
29988
2016b3cd
SP
299892013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29990
e4f22324
SP
29991 * math/atest-exp.c (exp_mpn): Remove ROUND.
29992 * math/atest-exp2.c (exp_mpn): Likewise.
29993 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29994
2016b3cd
SP
29995 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29996 * stdlib/tst-tls-atexit-lib.c: Likewise.
29997 * stdlib/tst-tls-atexit.c: Likewise.
29998
4be9b544
MF
299992013-02-18 Mike Frysinger <vapier@gentoo.org>
30000
30001 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30002 and __attribute_alloc_size__.
30003
2f62b9ee
MF
300042013-02-18 Mike Frysinger <vapier@gentoo.org>
30005
30006 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30007 __attribute_alloc_size__.
30008 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30009 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30010
6ff444c4
MF
300112013-02-18 Mike Frysinger <vapier@gentoo.org>
30012
30013 * include/programs/xmalloc.h: New file.
30014 * catgets/gencat.c: Include it.
30015 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30016 * elf/pldd.c: Likewise.
30017 * iconv/iconv_charmap.c: Likewise.
30018 * iconv/iconvconfig.c: Likewise.
30019 * iconv/strtab.c: Likewise.
30020 * locale/programs/locale.c: Likewise.
30021 * locale/programs/localedef.h: Likewise.
30022 * locale/programs/simple-hash.c: Likewise.
30023 * nscd/nscd.h: Likewise.
30024 * nss/makedb.c: Likewise.
30025 * sysdeps/generic/ldconfig.h: Likewise.
30026
be179c8a
SP
300272013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30028
ba384f6e
SP
30029 * Versions.def: Add GLIBC_2.18.
30030 * include/link.h (struct link_map): New member l_tls_dtor_count.
30031 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30032 (__call_tls_dtors): Likewise.
30033 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30034 __cxa_thread_atexit_impl.
30035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30036 Likewise.
30037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30038 Likewise.
30039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30040 Likewise.
30041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30042 Likewise.
30043 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30045 Likewise.
30046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30047 Likewise.
30048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30050 Likewise.
30051 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30052 (tests): Add test case tst-tls-atexit.
30053 (modules-names): Add shared library for tst-tls-atexit.
85891aca 30054 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
30055 (GLIBC_PRIVATE): Add __call_tls_dtors.
30056 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30057 for libstdc++.
30058 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30059 * stdlib/tst-tls-atexit.c: New test case.
30060 * stdlib/tst-tls-atexit-lib.c: New test case.
30061
ffaa74cf 30062 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 30063
be179c8a
SP
30064 * elf/Versions (ld): Add _dl_find_dso_for_object.
30065 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30066 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30067 (dl_open_worker): Use _dl_find_dso_for_object.
30068 * elf/dl-sym.c (do_sym): Likewise.
30069 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30070
f78b5caa
AK
300712013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30072
30073 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30074 Syntactic changes only.
30075 (_dl_runtime_profile): Do a tail-call to the resolved function.
30076
29691210
JM
300772013-02-17 Joseph Myers <joseph@codesourcery.com>
30078
30079 [BZ #13550]
30080 * sysdeps/x86_64/bp-asm.h: Remove file.
30081 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30082 <bp-sym.h> and <bp-asm.h>.
30083 (__clone): Do not use BP_SYM.
30084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30085 <bp-sym.h> and <bp-asm.h>.
30086 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30087 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30088 "bp-asm.h".
30089 (_setjmp): Do not use BP_SYM.
30090 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30091 "bp-asm.h".
30092 (setjmp): Do not use BP_SYM.
30093 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30094 libc_hidden_def.
30095 (mempcpy): Do not use BP_SYM in weak_alias.
30096 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30097 "bp-asm.h".
30098 (strchr): Do not use BP_SYM.
30099 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30100 "bp-asm.h".
30101 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30102 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30103 (_start): Do not use BP_SYM.
30104 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30105 "bp-asm.h".
30106 (strcat): Do not use BP_SYM.
30107 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30108 "bp-asm.h".
30109 (STRCMP): Do not use BP_SYM.
30110 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30111 "bp-asm.h".
30112 (STRCPY): Do not use BP_SYM.
30113 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30114 "bp-asm.h".
30115 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30116 "bp-asm.h".
30117 (FUNCTION): Do not use BP_SYM.
30118 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30119 weak_alias.
30120 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30121
f238fd19
AJ
301222013-02-17 Andreas Jaeger <aj@suse.de>
30123
30124 * time/Versions: Sort entries.
30125 * string/Versions: Likewise.
30126 * resolv/Versions: Likewise.
30127 * posix/Versions: Likewise.
30128 * iconv/Versions: Likewise.
30129 * elf/Versions: Likewise.
30130 * wcsmbs/Versions: Likewise.
30131
bd07f23c 301322013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 30133
22af19f9
SP
30134 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30135 loop termination condition.
30136
4709fe76
SP
30137 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30138 variable to calculate EZ.
30139 (__sqr): Likewise.
2d0e0f29
SP
30140
30141 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30142 the lower precision input.
30143
daaa7713
JM
301442013-02-15 Joseph Myers <joseph@codesourcery.com>
30145
30146 [BZ #13550]
30147 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30148 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30149 (run-via-rtld-prefix): Do not handle %-bp tests.
30150 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30151 (all-object-suffixes): Remove .ob.
30152 (bppfx): Remove variable.
30153 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30154 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30155 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30156 [$(build-bounded) = yes] (libtype.ob): Likewise.
30157 * Makerules (elide-routines.ob): Remove variable.
30158 (do-tests-clean): Do not handle *-bp.out.
30159 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30160 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30161 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30162 (tests): Do not include $(tests-bp.out).
30163 (xtests): Do not include $(xtests-bp.out).
30164 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30165 [$(build-bounded) = yes] ($(addprefix
30166 $(objpfx),$(binaries-bounded))): Remove rule.
30167 ($(objpfx)%-bp.out): Remove rule.
30168 * config.make.in (build-bounded): Remove variable.
30169 * crypt/Makefile [$(build-bounded) = yes]
30170 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30171 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30172 append to variable.
30173 [$(build-bounded) = yes] (install-lib): Likewise.
30174 [$(build-bounded) = yes] (generated): Likewise.
30175 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30176 Remove rule.
30177 * intl/Makefile [$(build-bounded) = yes]
30178 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30179 * math/Makefile [$(build-bounded) = yes]
30180 ($(tests:%=$(objpfx)%-bp): Likewise.
30181 * misc/Makefile [$(build-bounded) = yes]
30182 ($(objpfx)tst-tsearch-bp): Likewise.
30183 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30184 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30185 Remove dependency.
30186 * string/Makefile (o-objects.ob): Remove variable.
30187 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30188 (CFLAGS-.ob): Remove variable.
30189 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30190 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30191 both definitions of variable.
30192 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30193 (ASFLAGS-.ob): Remove variable.
30194
e97ed6dd
JM
301952013-02-14 Joseph Myers <joseph@codesourcery.com>
30196
2bdd4ca6
JM
30197 [BZ #13550]
30198 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30199 Remove __BOUNDED_POINTERS__ from condition.
30200 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30201 * string/bits/string2.h [!__NO_STRING_INLINES &&
30202 !__BOUNDED_POINTERS__]: Likewise.
30203 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30204 Likewise.
30205 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30206 Remove conditional code.
30207 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30208 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30209 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30210 condition.
30211
e97ed6dd
JM
30212 [BZ #13550]
30213 * csu/libc-start.c: Do not include <bp-sym.h>.
30214 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30215 * elf/dl-open.c: Do not include <bp-sym.h>.
30216 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30217 * math/fegetenv.c: Do not include <bp-sym.h>.
30218 (fegetenv): Do not use BP_SYM in versioned symbols.
30219 * nptl/sysdeps/pthread/bits/libc-lockP.h
30220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30221 <bp-sym.h>.
30222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30223 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30225 (__pthread_mutex_destroy): Likewise.
30226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30227 (__pthread_mutex_lock): Likewise.
30228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30229 (__pthread_mutex_trylock): Likewise.
30230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30231 (__pthread_mutex_unlock): Likewise.
30232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30233 (__pthread_mutexattr_init): Likewise.
30234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30235 (__pthread_mutexattr_destroy): Likewise.
30236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30237 (__pthread_mutexattr_settype): Likewise.
30238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30239 (__pthread_rwlock_init): Likewise.
30240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30241 (__pthread_rwlock_destroy): Likewise.
30242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30243 (__pthread_rwlock_rdlock): Likewise.
30244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30245 (__pthread_rwlock_tryrdlock): Likewise.
30246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30247 (__pthread_rwlock_wrlock): Likewise.
30248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30249 (__pthread_rwlock_trywrlock): Likewise.
30250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30251 (__pthread_rwlock_unlock): Likewise.
30252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30253 (__pthread_key_create): Likewise.
30254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30255 (__pthread_setspecific): Likewise.
30256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30257 (__pthread_getspecific): Likewise.
30258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30259 Likewise.
30260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30261 (_pthread_cleanup_push_defer): Likewise.
30262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30263 (_pthread_cleanup_pop_restore): Likewise.
30264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30265 (pthread_setcancelstate): Likewise.
30266 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30267 <bp-sym.h>.
30268 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30269 (memchr): Do not use BP_SYM in weak_alias.
30270 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30271 (fegetenv): Do not use BP_SYM in versioned symbols.
30272 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30273 (fesetenv): Do not use BP_SYM in versioned symbols.
30274 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30275 (feupdateenv): Do not use BP_SYM in versioned symbols.
30276 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30277 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30278 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30279 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30280 (open64): Do not use BP_SYM in weak_alias.
30281 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30282 (fegetenv): Do not use BP_SYM in versioned symbols.
30283 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30284 (fesetenv): Do not use BP_SYM in versioned symbols.
30285 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30286 (feupdateenv): Do not use BP_SYM in versioned symbols.
30287 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30288 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30289 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30290 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30291 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30292 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30293 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30294 <bp-sym.h>.
30295 (__libc_start_main): Do not use BP_SYM.
30296
d6752ccd
SP
302972013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30298
cb57ce60
SP
30299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30300 redundant return line.
30301 (norm): Likewise.
30302 (denorm): Likewise.
30303 (dbl_mp): Likewise.
30304 (sub_magnitudes): Likewise.
30305 (__add): Likewise.
30306 (__sub): Likewise.
30307 (__mul): Likewise.
30308 (__inv): Likewise.
30309 (__dvd): Likewise.
30310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30311 (norm): Likewise.
30312 (denorm): Likewise.
30313 (dbl_mp): Likewise.
30314 (sub_magnitudes): Likewise.
30315 (__add): Likewise.
30316 (__sub): Likewise.
30317 (__mul): Likewise.
30318 (__inv): Likewise.
30319 (__dvd): Likewise.
30320
f414520d
SP
30321 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30322 instead of __mul.
30323 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30324 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30325 (cc32): Likewise.
30326
d6752ccd
SP
30327 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30328 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30329 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30330 of __mul for squares.
30331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30332 function
30333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30334 Likewise.
30335 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30336 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30337
70d9946a
JM
303382013-02-13 Joseph Myers <joseph@codesourcery.com>
30339
30340 [BZ #13550]
30341 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30342 code.
30343 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30344 prototype or function definition. Rename ubp_* variables and
30345 parameters. Remove argv definitions conditional on
30346 [__BOUNDED_POINTERS__].
30347 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30348 * elf/dl-runtime.c (_dl_fixup): Likewise.
30349 * include/set-hooks.h (RUN_HOOK): Likewise.
30350 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30351 definition.
30352 * string/strcpy.c (strcpy): Do not use __unbounded.
30353 * sysdeps/generic/frame.h (struct layout): Likewise.
30354 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30355 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30356 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30357 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30358 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30359 (__backtrace): Likewise.
30360 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30361 use __ptrvalue.
30362 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30363 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30364 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30365 Likewise.
30366 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30367 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30368 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30369 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30370 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30371 Do not use __unbounded.
30372 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30373 Rename __unboundedrlimits parameter to rlimits in prototype.
30374 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30375 Do not use __unbounded.
30376 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30377 not use __ptrvalue.
30378 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30379 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30380 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30381 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30382 __ptrvalue or __unbounded.
30383 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30384 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30385 use __unbounded.
30386 (__new_msgctl): Do not use __ptrvalue.
30387 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30388 __unbounded.
30389 (__libc_msgrcv): Do not use __ptrvalue.
30390 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30391 startup_info): Do not use __unbounded.
30392 (__libc_start_main): Likewise. Rename ubp_* variables and
30393 parameters. Remove argv definitions conditional on
30394 [__BOUNDED_POINTERS__].
30395 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30396 __ptrvalue.
30397 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30398 use __unbounded.
30399 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30400 or __ptrvalue.
30401 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30402 use __unbounded.
30403 (__new_shmctl): Do not use __ptrvalue.
30404 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30405 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30406 Likewise.
30407 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30408 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30409 (__libc_sigaction): Likewise.
30410 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30411 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30412 Likewise.
30413 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30414
cc7834d6
OB
304152013-02-13 Ondřej Bílka <neleai@seznam.cz>
30416
ffb1ec7b 30417 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
30418
30419 * string/mempcpy.c: Implement by calling memcpy.
30420
bdf02814
SP
304212013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30422
c2af38aa
SP
30423 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30424
4e92d59e
SP
30425 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30426 evaluation.
30427
909279a5
SP
30428 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30429 values in the mantissa.
30430
bdf02814
SP
30431 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30432 minimize writes to Z.
30433 (sub_magnitudes): Simplify code a bit.
30434
cd525923
RM
304352013-02-12 Roland McGrath <roland@hack.frob.com>
30436
30437 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30438 from the message. The linker prefixes all warnings with that already.
30439
7e2f0d2d
AS
304402013-02-12 Andreas Schwab <schwab@suse.de>
30441
a445af0b
AS
30442 [BZ #15078]
30443 * posix/regexec.c (extend_buffers): Add parameter min_len.
30444 (check_matching): Pass minimum needed length.
30445 (clean_state_log_if_needed): Likewise.
30446 (get_subexp): Likewise.
30447 * posix/Makefile (tests): Add bug-regex34.
30448 (bug-regex34-ENV): Define.
30449 * posix/bug-regex34.c: New file.
30450
7e2f0d2d
AS
30451 [BZ #11561]
30452 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30453 elements compare against the byte sequence of it, not its name.
30454 * posix/Makefile (tests): Add bug-regex35.
30455 (bug-regex35-ENV): Define.
30456 * posix/bug-regex35.c: New file.
30457
a175b684
TV
304582013-02-11 Tom de Vries <tom@codesourcery.com>
30459
30460 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30461 comment.
30462 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30463 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30464 (CHECK_EOL): Add undef.
30465
310998fe 304662013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
30467
30468 * bits/stdlib-bsearch.h: New file.
30469 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 30470 * stdlib/stdlib.h: Likewise.
41eda41d 30471
8ded91fb
RM
304722013-02-11 Roland McGrath <roland@hack.frob.com>
30473
30474 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30475 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30476 declaration.
30477 * manual/search.texi (Array Search Function): Add missing const in
30478 lfind prototype.
30479 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30480 declaration to use rlim_t.
30481 (Basic Scheduling Functions): Remove erroneous const from
30482 sched_getparam prototype. Remove erroneous * from
30483 sched_get_priority_max and sched_get_priority_min prototypes.
30484 (Resource Usage): Fix summary @comment on vtimes to refer to
30485 sys/vtimes.h rather than vtimes.h.
30486 Add missing *s in vtimes prototype.
30487 (Limits on Resources): Fix ulimit prototype to return long int.
30488 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30489 prototypes to use long int rather than double.
30490 (BSD Random): Fix initstate and setstate to use char *, not void *.
30491 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30492 prototype to make second argument 'struct aiocb64 *const[]'.
30493 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30494 (Status of AIO Operations): Remove erroneous const in aio_return and
30495 aio_return64 prototypes.
30496 (Synchronizing I/O): Fix sync prototype to return void.
30497 * manual/startup.texi (Suboptions): Remove an erroneous const in
30498 getsubopt prototype.
30499 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30500 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30501 use size_t rather than int.
30502 (Scanning All Users): Likewise for getpwent_r.
30503 (Setting Groups): Add missing const to setgroups prototype.
30504 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30505 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30506 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30507 'const void *' rather than 'const char *'.
30508 (Host Address Functions): Likewise for inet_ntop.
30509 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30510 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30511 ssize_t for return value.
30512 (Sending Data): Likewise for send, sendto, sendmsg.
30513 (Socket Option Functions): Add a missing const in setsockopt prototype.
30514 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30515 use wchar_t for the argument.
30516 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30517 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30518 take no arguments.
30519 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30520 double/float/long double for second argument.
30521 Fix return types of significand, significandf, significandl.
30522 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30523 argument in fchmod prototype.
30524 (File Owner): Use uid_t and gid_t in fchown prototype.
30525 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30526 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30527 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30528 use 'const struct dirent **' as argument types to CMP function pointer
30529 argument.
30530 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30531 (File Times): Fix summary magic @comment for struct utimbuf and utime
30532 to refer to utime.h, not time.h.
30533 * manual/string.texi (Argz Functions): Add missing const in
30534 argz_extract and argz_next prototypes.
30535 (Finding Tokens in a String): Likewise for basename.
30536 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30537 (Copying and Concatenation): Fix typo in wmemmove prototype.
30538 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30539 (Signal Stack): Remove erroneous const in sigstack prototype.
30540 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30541 prototype.
30542 (Simple Calendar Time): Likewise for stime.
30543 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30544 prototype.
30545 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30546 say sys/sysctl.h instead.
30547 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30548 and vsyslog prototypes.
30549
fe77fe6d
TV
305502013-02-11 Tom de Vries <tom@codesourcery.com>
30551
30552 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30553 Remove.
30554
3a09b620
RM
305552013-02-11 Roland McGrath <roland@hack.frob.com>
30556
30557 * misc/sys/mman.h: Fix typo in mremap comment.
30558
550a0b89
RM
305592013-02-08 Roland McGrath <roland@hack.frob.com>
30560
30561 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30562 the '\0' terminator.
30563
a2da1673
JM
305642013-02-08 Joseph Myers <joseph@codesourcery.com>
30565
30566 [BZ #13550]
30567 * debug/segfault.c: Don't include <bp-checks.h>.
30568 * sysdeps/generic/bp-checks.h: Remove file.
30569 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30570 (__GETDENTS): Don't use CHECK_N.
30571 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30572 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30573 (__getgroups): Don't use CHECK_N.
30574 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30575 (setgroups): Don't use CHECK_N.
30576 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30577 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30578 (__libc_msgrcv): Don't use CHECK_N.
30579 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30580 (__libc_msgsnd): Don't use CHECK_N.
30581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30582 <bp-checks.h>.
30583 (__libc_pread): Don't use CHECK_N.
30584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30585 include <bp-checks.h>.
30586 (__libc_pread64): Don't use CHECK_N.
30587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30588 include <bp-checks.h>.
30589 (__libc_pwrite): Don't use CHECK_N.
30590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30591 include <bp-checks.h>.
30592 (__libc_pwrite64): Don't use CHECK_N.
30593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30594 <bp-checks.h>.
30595 (__libc_pread): Don't use CHECK_N.
30596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30597 include <bp-checks.h>.
30598 (__libc_pread64): Don't use CHECK_N.
30599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30600 include <bp-checks.h>.
30601 (__libc_pwrite): Don't use CHECK_N.
30602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30603 include <bp-checks.h>.
30604 (__libc_pwrite64): Don't use CHECK_N.
30605 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30606 (do_pread): Don't use CHECK_N.
30607 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30608 (do_pread64): Don't use CHECK_N.
30609 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30610 (do_pwrite): Don't use CHECK_N.
30611 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30612 (do_pwrite64): Don't use CHECK_N.
30613 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30614 (__libc_readv): Don't use CHECK_N.
30615 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30616 (semop): Don't use CHECK_N.
30617 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30618 <bp-checks.h>.
30619 (semtimedop): Don't use CHECK_N.
30620 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30621 (__libc_pread): Don't use CHECK_N.
30622 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30623 <bp-checks.h>.
30624 (__libc_pread64): Don't use CHECK_N.
30625 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30626 <bp-checks.h>.
30627 (__libc_pwrite): Don't use CHECK_N.
30628 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30629 <bp-checks.h>.
30630 (__libc_pwrite64): Don't use CHECK_N.
30631 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30632 <bp-checks.h>.
30633 (__libc_msgrcv): Don't use CHECK_N.
30634 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30635 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30636 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30637 (__libc_writev): Don't use CHECK_N.
30638
b84660a8
RM
306392013-02-08 Roland McGrath <roland@hack.frob.com>
30640
7f3e75f8
RM
30641 * string/strcpy.c: Removed unused variable.
30642
b84660a8
RM
30643 * Makeconfig (+sysdep-includes): Define with := rather than =.
30644 Use an existing include/ subdir of each sysdeps dir before it.
30645
471514d3
CD
306462013-02-08 Carlos O'Donell <carlos@redhat.com>
30647
30648 * nscd/connection.c (register_traced_file): Comment function.
30649 [HAVE_INOTIFY] (union __inev): Define.
30650 [HAVE_INOTIFY] (inotify_check_files): New function.
30651 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30652 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30653 clear_db_cache.
30654 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30655
b2d3c3be
CD
306562013-02-08 Carlos O'Donell <carlos@redhat.com>
30657
30658 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30659 loaded if not already and that a failure is permanent.
30660
b39949d2
CD
306612013-02-08 Carlos O'Donell <carlos@redhat.com>
30662
ddacd1db 30663 [BZ #15006]
b39949d2
CD
30664 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30665 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30666
b2c9eff4
JM
306672013-02-08 Joseph Myers <joseph@codesourcery.com>
30668
f3aae3f3
JM
30669 [BZ #13550]
30670 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30671 (CHECK_1_NULL_OK): Likewise.
30672 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30673 (__fxstat): Do not use CHECK_1.
30674 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30675 <bp-checks.h>.
30676 (___fxstat64): Do not use CHECK_1.
30677 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30678 <bp-checks.h>.
30679 (__fxstatat): Do not use CHECK_1.
30680 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30681 <bp-checks.h>.
30682 (__fxstatat64): Do not use CHECK_1.
30683 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30684 <bp-checks.h>.
30685 (__fxstat): Do not use CHECK_1.
30686 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30687 <bp-checks.h>.
30688 (__fxstatat): Do not use CHECK_1.
30689 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30690 <bp-checks.h>.
30691 (__getresgid): Do not use CHECK_1.
30692 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30693 <bp-checks.h>.
30694 (__getresuid): Do not use CHECK_1.
30695 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30696 <bp-checks.h>.
30697 (__lxstat): Do not use CHECK_1.
30698 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30699 <bp-checks.h>.
30700 (__old_msgctl): Do not use CHECK_1.
30701 (__new_msgctl): Likewise.
30702 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30703 <bp-checks.h>.
30704 (__new_setrlimit): Do not use CHECK_1.
30705 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30706 <bp-checks.h>.
30707 (__old_shmctl): Do not use CHECK_1.
30708 (__new_shmctl): Likewise.
30709 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30710 <bp-checks.h>.
30711 (__xstat): Do not use CHECK_1.
30712 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30713 (__lxstat): Do not use CHECK_1.
30714 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30715 <bp-checks.h>.
30716 (___lxstat64): Do not use CHECK_1.
30717 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30718 (__old_msgctl): Do not use CHECK_1.
30719 (__new_msgctl): Likewise.
30720 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30721 <bp-checks.h>.
30722 (__gettimeofday): Do not use CHECK_1.
30723 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30724 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30725 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30726 <bp-checks.h>.
30727 (__gettimeofday): Do not use CHECK_1.
30728 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30729 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30730 (__new_shmctl): Do not use CHECK_1.
30731 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30732 <bp-checks.h>.
30733 (do_sigtimedwait): Do not use CHECK_1.
30734 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30735 <bp-checks.h>.
30736 (do_sigwaitinfo): Do not use CHECK_1.
30737 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30738 <bp-checks.h>.
30739 (msgctl): Do not use CHECK_1.
30740 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30741 <bp-checks.h>.
30742 (shmctl): Do not use CHECK_1.
30743 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30744 (ustat): Do not use CHECK_1.
30745 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30746 <bp-checks.h>.
30747 (__fxstat): Do not use CHECK_1.
30748 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30749 <bp-checks.h>.
30750 (__fxstatat): Do not use CHECK_1.
30751 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30752 <bp-checks.h>.
30753 (__lxstat): Do not use CHECK_1.
30754 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30755 <bp-checks.h>.
30756 (__xstat): Do not use CHECK_1.
30757 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30758 (__xstat): Do not use CHECK_1.
30759 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30760 (___xstat64): Do not use CHECK_1.
30761
b2c9eff4
JM
30762 [BZ #13550]
30763 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30764 definitions.
30765 (CHECK_BOUNDS_HIGH): Likewise.
30766 * string/strcpy.c: Do not include <bp-checks.h>.
30767 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30768
f1d70dad
RM
307692013-02-07 Roland McGrath <roland@hack.frob.com>
30770
30771 * nscd/nscd-client.h (__nscd_drop_map_ref):
30772 Add __attribute__ ((unused)).
30773 * nis/nss-nisplus.h (niserr2nss): Likewise.
30774
30775 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30776 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30777
30778 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30779 Remove inline keyword.
30780 * include/rounding-mode.h (round_away): Likewise.
30781 * libio/wfileops.c (adjust_wide_data): Likewise.
30782 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30783 (__m128i_strloadu_tolower): Likewise.
30784 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30785 (__m128i_strloadu_tolower): Likewise.
30786 * time/mktime.c (ydhms_diff): Likewise.
30787 * locale/elem-hash.h (elem_hash): Likewise.
30788 * locale/setlocale.c (setdata): Likewise.
30789 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30790 (re_string_wchar_at): Likewise.
30791 (bitset_not, bitset_merge, bitset_mask): Likewise.
30792 [!(__GNUC__ > 3)] (inline): Remove macro.
30793 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30794 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30795 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30796 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30797 * string/memcmp.c (memcmp_bytes): Likewise.
30798 * locale/programs/locarchive.c (compute_hashval): Likewise.
30799 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30800 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30801 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30802 * nss/getent.c (print_rpc, print_protocols): Likewise.
30803 (print_passwd, print_group, print_aliases): Likewise.
30804 * nis/nss-nisplus.h (niserr2nss): Likewise.
30805 * nscd/connections.c (restart_p): Likewise.
30806 Change return type to bool.
30807
eab55bfb
RM
308082013-02-05 Roland McGrath <roland@hack.frob.com>
30809
7bd642f5
RM
30810 * Makeconfig (all-Depend-files): Add existing
30811 $(sorted-subdirs:=/Depend) files.
30812 (all-subdirs): Remove nss.
30813 * sysdeps/unix/inet/Subdirs: Add it here instead.
30814 * hesiod/Depend: New file.
30815
573c29b2
RM
30816 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30817 instead of calling alloca.
30818
b2e25af0
RM
30819 * io/lseek.c (__lseek): Rename to __libc_lseek.
30820 Define __lseek as an alias.
30821
eab55bfb
RM
30822 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30823
9a0d1941
CD
308242013-02-04 Carlos O'Donell <carlos@redhat.com>
30825
30826 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30827 else clause and remove check for non-standard endianness.
30828
b83bbec4
DM
308292013-02-04 David S. Miller <davem@davemloft.net>
30830
30831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30832
6277fdab
JM
308332013-02-04 Joseph Myers <joseph@codesourcery.com>
30834
30835 [BZ #13550]
30836 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30837 (__ubp_memchr): Remove prototype.
30838 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30839 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30840 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30841 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30842 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30843 Remove alias.
30844 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30845 (__ubp_memchr): Likewise.
30846 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30847 (__ubp_memchr): Likewise.
30848 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30849 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30850 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30851 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30852 CHECK_STRING.
30853 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30854 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30855 (__getcwd): Do not use CHECK_STRING.
30856 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30857 <bp-checks.h>.
30858 (__real_chown): Do not use CHECK_STRING.
30859 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30860 <bp-checks.h>.
30861 (fchownat): Do not use CHECK_STRING.
30862 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30863 CHECK_STRING.
30864 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30865 <bp-checks.h>.
30866 (__lchown): Do not use CHECK_STRING.
30867 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30868 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30869 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30870 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30872 include <bp-checks.h>.
30873 (truncate64): Do not use CHECK_STRING.
30874 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30875 <bp-checks.h>.
30876 (__real_chown): Do not use CHECK_STRING.
30877 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30878 <bp-checks.h>.
30879 (__lchown): Do not use CHECK_STRING.
30880 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30881 <bp-checks.h>.
30882 (__chown): Do not use CHECK_STRING.
30883 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30884 <bp-checks.h>.
30885 (truncate64): Do not use CHECK_STRING.
30886 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30887 Likewise.
30888 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30889 (__xmknod): Do not use CHECK_STRING.
30890 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30891 <bp-checks.h>.
30892 (__xmknodat): Do not use CHECK_STRING.
30893 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30894 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30895
903ae060
AS
308962013-02-04 Andreas Schwab <schwab@suse.de>
30897
30898 [BZ #14142]
30899 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30900 * include/netdb.h: Likewise for h_errno.
30901 * elf/tst-stackguard1.c: Include <tls.h>.
30902
542f9466
JK
309032013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30904
30905 * elf/link.h (struct link_map): Extend the l_addr comment.
30906 * include/link.h (struct link_map): Likewise.
30907
e782a927
JM
309082013-02-01 Joseph Myers <joseph@codesourcery.com>
30909
30910 [BZ #13550]
30911 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30912 (BOUNDED_1): Remove macro.
30913 * debug/backtrace.c: Don't include <bp-checks.h>.
30914 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30915 (__backtrace): Likewise.
30916 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30917 <bp-checks.h>.
30918 (__backtrace): Don't use BOUNDED_1.
30919 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30920 <bp-checks.h>.
30921 (__backtrace): Don't use BOUNDED_1.
30922 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30923 (__backtrace): Don't use BOUNDED_1.
30924 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30925 (shmat): Don't use BOUNDED_N.
30926
8cf28c5e
JM
309272013-01-31 Joseph Myers <joseph@codesourcery.com>
30928
3a7ac8a0
JM
30929 [BZ #13550]
30930 * sysdeps/generic/bp-start.h: Remove file.
30931 * csu/libc-start.c: Don't include <bp-start.h>.
30932 (LIBC_START_MAIN): Set up __environ directly instead of using
30933 INIT_ARGV_and_ENVIRON.
30934 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30935 <bp-start.h>.
30936
f3499f95
JM
30937 [BZ #13550]
30938 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30939 definitions.
30940 (CHECK_FCNTL): Likewise.
30941 (CHECK_N_PAGES): Likewise.
30942
32a45bea
JM
30943 [BZ #13550]
30944 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30945 definitions.
30946 (CHECK_SIGSET_NULL_OK): Likewise.
30947 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30948 <bp-checks.h>.
30949 (sigpending): Don't use CHECK_SIGSET.
30950 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30951 <bp-checks.h>.
30952 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30953 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30954 <bp-checks.h>.
30955 (do_sigsuspend): Don't use CHECK_SIGSET.
30956 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30957 use CHECK_SIGSET.
30958 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30959 (do_sigwait): Don't use CHECK_SIGSET.
30960 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30961 use CHECK_SIGSET.
30962 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30963 include <bp-checks.h>.
30964 (sigpending): Don't use CHECK_SIGSET.
30965 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30966 include <bp-checks.h>.
30967 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30968 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30969 <bp-checks.h>.
30970 (sigpending): Don't use CHECK_SIGSET.
30971 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30972 <bp-checks.h>.
30973 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30974
2e8a5c8c
JM
30975 [BZ #13550]
30976 * sysdeps/generic/bp-semctl.h: Remove file.
30977 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30978 <bp-checks.h> and <bp-semctl.h>.
30979 (__old_semctl): Don't use CHECK_SEMCTL.
30980 (__new_semctl): Likewise.
30981 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30982 and <bp-semctl.h>.
30983 (__old_semctl): Don't use CHECK_SEMCTL.
30984 (__new_semctl): Likewise.
30985 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30986 <bp-checks.h> and <bp-semctl.h>.
30987 (__old_semctl): Don't use CHECK_SEMCTL.
30988 (__new_semctl): Likewise.
30989 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30990 <bp-checks.h> and <bp-semctl.h>.
30991 (semctl): Don't use CHECK_SEMCTL.
30992
c2d54929
JM
30993 [BZ #13550]
30994 * Makerules (elide-bp-thunks): Remove variable.
30995 (elide-routines.oS): Don't use $(elide-bp-thunks).
30996 (elide-routines.os): Likewise.
30997 (elide-routines.o): Likewise.
30998 (elide-routines.op): Likewise.
30999 (elide-routines.og): Likewise.
31000 (objects): Don't use $(bp-thunks).
31001 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31002 include.
31003 (common-generated): Do not add s-proto-bp.d.
31004 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31005 (int): Likewise.
31006 (typ): Likewise.
31007 Do not generate makefile rules for bounded-pointer thunks.
31008 * sysdeps/generic/bp-thunks.h: Remove file.
31009 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31010 * sysdeps/unix/s-proto-bp.S: Likewise.
31011
8cf28c5e
JM
31012 [BZ #15062]
31013 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31014 parts of result separately when argument is not close to line from
31015 -i to i and one part of argument is small.
31016 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31017 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31018 * math/libm-test.inc (cacos_test): Add more tests.
31019 (casin_test): Likewise.
31020 (casinh_test): Likewise.
31021 * sysdeps/i386/fpu/libm-test-ulps: Update.
31022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31023
c4e33b8d
DM
310242013-01-31 David S. Miller <davem@davemloft.net>
31025
31026 * po/de.po: Update from translation team.
31027
3b60b421
MK
310282013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31029
31030 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31031
bb931195
TS
310322013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31033
b5a5da23
TS
31034 * configure.in (_AC_PROG_CC_C89): New definition.
31035 * configure: Regenerate.
31036
bb931195
TS
31037 * configure.in (AC_PROG_CPP): New definition.
31038 * configure: Regenerate.
31039
8c53a12c
JM
310402013-01-23 Joseph Myers <joseph@codesourcery.com>
31041
31042 * debug/tst-backtrace.h: New file.
31043 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31044 (ret): Remove variable.
31045 (x): Likewise.
31046 (FAIL): Remove macro.
31047 (NO_INLINE): Likewise.
31048 (fn1): Use match function instead of strstr.
31049 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31050 (ret): Remove variable.
31051 (x): Likewise.
31052 (FAIL): Remove macro.
31053 (NO_INLINE): Likewise.
31054 (fn): Use match function instead of strstr.
31055 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31056 (ret): Remove variable.
31057 (x): Likewise.
31058 (FAIL): Remove macro.
31059 (NO_INLINE): Likewise.
31060 (handle_signal): Use match function instead of strstr.
31061 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31062 (ret): Remove variable.
31063 (x): Likewise.
31064 (FAIL): Remove macro.
31065 (NO_INLINE): Likewise.
31066 (handle_signal): Use match function instead of strstr.
31067
4858fa2a
RM
310682013-01-23 Roland McGrath <roland@hack.frob.com>
31069
31070 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31071
bae8e7f5
DM
310722013-01-23 David S. Miller <davem@davemloft.net>
31073
31074 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31075 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31076 argument of CAS if possible.
31077 * sysdeps/sparc/sparc64/bits/atomic.h
31078 (__arch_compare_and_exchange_val_32_acq): Likewise.
31079 (__arch_compare_and_exchange_val_64_acq): Likewise.
31080
9cbbc4ae
PT
310812013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31082
31083 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31084 * sysdeps/posix/ulimit.c: ... this.
92a601b8 31085 Include <limits.h>.
67b3f58c 31086 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 31087
5655a0b5
AC
310882013-01-23 Adam Conrad <adconrad@0c3.net>
31089
31090 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31091 (LDFLAGS-tst-array5): Likewise.
31092
052aff95
JM
310932013-01-23 Joseph Myers <joseph@codesourcery.com>
31094
31095 [BZ #15036]
31096 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31097 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31098 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31099 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31100
7c1e01aa
DM
311012013-01-21 David S. Miller <davem@davemloft.net>
31102
31103 * sysdeps/sparc/backtrace.c: New file.
31104 * sysdeps/sparc/sparc32/backtrace.h: New file.
31105 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31106 * sysdeps/sparc/sparc64/backtrace.h: New file.
31107 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31108 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31109 -funwind-tables.
31110
ab087e0a
AS
311112013-01-21 Andreas Schwab <schwab@suse.de>
31112
31113 [BZ #15020]
31114 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31115 closed its stdout.
31116
ed689c2f
AS
311172013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31118
31119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31120 "mpa2.h".
31121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31122
31d470ac
JM
311232013-01-18 Joseph Myers <joseph@codesourcery.com>
31124 Mark Mitchell <mark@codesourcery.com>
31125 Tom de Vries <tom@codesourcery.com>
31126 Paul Pluzhnikov <ppluzhnikov@google.com>
31127
31128 * debug/tst-backtrace2.c: New file.
31129 * debug/tst-backtrace3.c: Likewise.
31130 * debug/tst-backtrace4.c: Likewise.
31131 * debug/tst-backtrace5.c: Likewise.
31132 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31133 (CFLAGS-tst-backtrace3.c): Likewise.
31134 (CFLAGS-tst-backtrace4.c): Likewise.
31135 (CFLAGS-tst-backtrace5.c): Likewise.
31136 (LDFLAGS-tst-backtrace2): Likewise.
31137 (LDFLAGS-tst-backtrace3): Likewise.
31138 (LDFLAGS-tst-backtrace4): Likewise.
31139 (LDFLAGS-tst-backtrace5): Likewise.
31140 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31141 tst-backtrace4 and tst-backtrace5.
31142
90567f30 311432013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
31144 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31145
31146 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31147 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31148 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31149 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31151 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31152 "+r" and remove output regs list as redundant. Add explicit inline
31153 asm to specify register of return val to work around compiler codegen
31154 bug. Remove (int) cast on return value. Add return type parameter to
31155 use in macro so that this macro does not truncate return value for
31156 64-bit values.
31157 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31158 pass to INTERNAL_VSYSCALL_NCS.
31159 (INLINE_VSYSCALL): Add 'long int' as return type to
31160 INTERNAL_VSYSCALL_NCS macro invocation.
31161 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31162 INTERNAL_VSYSCALL_NCS macro invocation.
31163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31164
d3b9ea61
SP
311652013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31166
0b57daeb
SP
31167 [BZ #14496]
31168 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31169 Fix application of SIMD FP exception mask.
31170
caa99d06
SP
31171 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31172 mp_no from a power of two.
31173 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31174 __mpexp_twomm1. Use __pow_mp.
31175
d3b9ea61
SP
31176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31177 multiplication.
31178
1dbaee3c
DM
311792013-01-17 David S. Miller <davem@davemloft.net>
31180
31181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31182
728d7b43
JM
311832013-01-17 Joseph Myers <joseph@codesourcery.com>
31184
31185 [BZ #15023]
31186 * include/complex.h: Condition contents on [!_COMPLEX_H].
31187 (__kernel_casinhf): New prototype.
31188 (__kernel_casinh): Likewise.
31189 (__kernel_casinhl): Likewise.
31190 * math/Makefile (libm_calls): Add k_casinh.
31191 * math/k_casinh.c: New file.
31192 * math/k_casinhf.c: Likewise.
31193 * math/k_casinhl.c: Likewise.
31194 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31195 finite nonzero arguments.
31196 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31197 finite nonzero arguments.
31198 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31199 finite nonzero arguments.
31200 * math/s_casinh.c: Do not include <float.h>.
31201 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31202 * math/s_casinhf.c: Do not include <float.h>.
31203 (__casinhf): Move code for finite nonzero arguments to
31204 k_casinhf.c.
31205 * math/s_casinhl.c: Do not include <float.h>.
31206 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31207 redefine.
31208 (__casinhl): Move code for finite nonzero arguments to
31209 k_casinhl.c.
31210 * math/libm-test.inc (cacos_test): Add more tests.
31211 * sysdeps/i386/fpu/libm-test-ulps: Update.
31212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31213
2a26ef3a
PT
312142013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31215
31216 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31217 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31218 [!HAVE_MREMAP]: Remove [defined linux] case.
31219 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31220
a897655d
SP
312212013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31222
31223 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31224
881ebe89 312252013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
31226
31227 * elf/elf.h (R_386_SIZE32): New relocation.
31228 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31229 R_386_SIZE32.
31230 (elf_machine_rela): Likewise.
31231 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31232 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31233
59981e9b
JM
312342013-01-17 Joseph Myers <joseph@codesourcery.com>
31235
31236 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31237 (FP_FAST_FMA): Do not define.
31238 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31239 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31240 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31241 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31242 !_SOFT_FLOAT]: Likewise.
31243 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31244 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31245 value.
31246 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31247 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31248 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31249 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31250 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31251 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31252 file.
31253
cfa8054f
AS
312542013-01-16 Andreas Schwab <schwab@suse.de>
31255
31256 [BZ #14327]
31257 * include/stdlib.h (__mktemp): Add declaration.
31258 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31259 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31260
dd930cc5
SP
312612013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31262
881ebe89
SP
31263 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31264 definitions.
31265 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31266 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31267 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31268 definitions here.
31269 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31270 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31271 definitions.
31272 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31273 and ONE.
31274 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31275 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31276 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31277 definitions.
31278 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31279 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31280 definitions.
31281 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 31282
dd930cc5
SP
31283 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31284
c19a9f89
DM
312852013-01-15 David S. Miller <davem@davemloft.net>
31286
1aa61767
DM
31287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31288 trunc{,f} to libm-sysdep_routes.
31289 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31291 file.
31292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31294 file.
31295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31296 file.
31297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31299 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31300 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31301 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31302 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31303 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31304 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31305
c42d5e98
DM
31306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31307 nearbyint{,f} to libm-sysdep_routes.
31308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31310 New file.
31311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31312 file.
31313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31314 New file.
31315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31316 file.
31317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31319 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31320 file.
31321 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31322 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31323 file.
31324 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31325 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31326 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31327
c19a9f89
DM
31328 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31329 libc_feholdexcept and libc_fesetenv.
31330
357679d2
MF
313312013-01-15 Mike Frysinger <vapier@gentoo.org>
31332
31333 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31334
65a82e3d
DM
313352013-01-14 David S. Miller <davem@davemloft.net>
31336
8b954ab9
DM
31337 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31338 (SPARC_ASM_VIS2_IFUNC): Likewise.
31339 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31341 use of 'siam' instruction.
31342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31343 Likewise.
31344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31345 Likewise.
31346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31347 Likewise.
31348 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31349 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31350 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31351 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31353 file.
31354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31355 file.
31356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31357 file.
31358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31359 file.
31360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31363 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31365 new VIS2 routines.
31366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31369 Likewise.
31370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31372 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31373 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31375 routines to libm-sysdep_routines.
31376 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31377
65a82e3d
DM
31378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31379 fdim/fdimf to libm-sysdep_routines.
31380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31381 file.
31382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31384 file.
31385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31388 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31389 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31390 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31391 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31392
e34ab705
SP
313932013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31394
2a91b573
SP
31395 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31396 to optimize copies.
31397
1066a534
SP
31398 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31401
e34ab705
SP
31402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31403 local variable MPTWO.
31404 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31405 Likewise.
31406
aba5e596
MF
314072013-01-13 Mike Frysinger <vapier@gentoo.org>
31408
31409 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31410 GLOB_NOESCAPE.
31411
e557e9e5
MF
314122013-01-13 Mike Frysinger <vapier@gentoo.org>
31413
31414 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31415
0428cec9
MF
314162013-01-13 Mike Frysinger <vapier@gentoo.org>
31417
31418 * manual/pattern.texi (glob_t): Document gl_flags.
31419 (glob64_t): Likewise.
31420
8794a964
DM
314212013-01-11 David S. Miller <davem@davemloft.net>
31422
66438c3f
RM
31423 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31424 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31425 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
31426 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31427 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31428 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31429 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31430 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31431 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31432 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31433 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31434 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31435 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31436
4ae4244d
DM
31437 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31438 sparc V9 rather than using V8 code.
31439 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31440 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31441
8794a964
DM
31442 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31443 Move to...
31444 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31445 Here.
31446
6270516e
RM
314472013-01-11 Roland McGrath <roland@hack.frob.com>
31448
31449 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31450 not in the main loop.
31451 * configure: Regenerated.
31452
6a57d931
JM
314532013-01-11 Joseph Myers <joseph@codesourcery.com>
31454
31455 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31456 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31457 to just #else.
31458 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31459 [!__GLIBC_HAVE_LONG_LONG] case.
31460 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31461 condition to just #else.
31462 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31463 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31464 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31465 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31466 unconditional.
31467 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31468 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31469 #elif condition to just #else.
31470 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31471 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31472 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31473 #elif condition to just #else.
31474
0e8529e9
SE
314752013-01-11 Steve Ellcey <sellcey@mips.com>
31476
31477 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31478 (EF_MIPS_ARCH_64): Fix value.
31479 (EF_MIPS_ARCH_32R2): New.
31480 (EF_MIPS_ARCH_64R2): New.
31481
740b3dbe
L
314822013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31483
31484 * Makeconfig (+link-pie-before-libc): New.
31485 (+link-pie-after-libc): Likewise.
31486 (+link-pie-tests): Likewise.
31487 (+link-pie): Rewritten.
31488 (link-before-libc): Remove $(config-LDFLAGS).
31489 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31490 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31491 (config-LDFLAGS): Renamed to ...
31492 (rtld-LDFLAGS): This.
31493 (rtld-tests-LDFLAGS): New macro.
31494 (link-libc-rpath-link): Likewise.
31495 (link-libc-tests-rpath-link): Likewise.
31496 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31497 (link-libc): Prepand $(link-libc-rpath-link).
31498 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31499 (test-program-prefix): New macro.
31500 (test-via-rtld-prefix): Likewise.
31501 (test-program-cmd): Likewise.
31502 (host-test-program-cmd): Likewise.
31503 * Makefile ($(common-objpfx)testrun.sh): Replace
31504 $(run-program-prefix) with $(test-program-prefix).
31505 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31506 $(rtld-LDFLAGS).
31507 ($(common-objpfx)shlib.lds): Likewise.
31508 (build-module-helper): Likewise.
31509 ($(common-objpfx)format.lds): Likewise.
31510 * Rules (binaries-pie-tests): New.
31511 (binaries-pie-notests): Likewise.
31512 (binaries-pie): Rewritten.
31513 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31514 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31515 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31516 (make-test-out): Replace $(host-built-program-cmd) with
31517 $(host-test-program-cmd).
31518 * config.make.in (build-hardcoded-path-in-tests): New variable.
31519 * configure.in (--enable-hardcoded-path-in-tests): New configure
31520 option.
31521 (hardcoded_path_in_tests): New AC_SUBST.
31522 * configure: Regenerated.
31523 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31524 $(built-program-cmd) with $(test-program-cmd).
31525 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31526 (test_program_cmd): This.
31527 * elf/Makefile ($(objpfx)order.out): Run test with
31528 $(test-program-prefix).
31529 ($(objpfx)order2.out): Likewise.
31530 ($(objpfx)tst-initorder.out): Likewise.
31531 ($(objpfx)tst-initorder2.out): Likewise.
31532 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31533 $(test-program-cmd).
31534 ($(objpfx)tst-array1-static.out): Likewise.
31535 ($(objpfx)tst-array2.out): Likewise.
31536 ($(objpfx)tst-array3.out): Likewise.
31537 ($(objpfx)tst-array4.out): Likewise.
31538 ($(objpfx)tst-array5.out): Likewise.
31539 ($(objpfx)tst-array5-static.out): Likewise.
31540 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31541 $(test-program-cmd).
31542 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31543 $(run-program-prefix) with $(test-program-prefix).
31544 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31545 (test_program_prefix): This.
31546 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31547 $(run-program-prefix) with $(test-program-prefix).
31548 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31549 (test_program_prefix): This.
31550 * iconvdata/tst-tables.sh: Likewise.
31551 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31552 $(run-program-prefix) with $(test-program-prefix).
31553 ($(objpfx)tst-translit.out): Likewise.
31554 ($(objpfx)tst-gettext2.out): Likewise.
31555 ($(objpfx)tst-gettext4.out): Likewise.
31556 ($(objpfx)tst-gettext6.out): Likewise.
31557 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31558 (test_program_prefix): This.
31559 * intl/tst-gettext2.sh: Likewise.
31560 * intl/tst-gettext4.sh Likewise.
31561 * intl/tst-gettext6.sh: Likewise.
31562 * intl/tst-translit.sh: Likewise.
31563 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31564 with $(test-program-cmd).
31565 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31566 $(run-program-prefix) with $(test-program-prefix).
31567 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31568 (test_program_prefix): This.
31569 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31570 $(run-program-prefix) with $(test-program-prefix).
31571 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31572 (test_program_prefix): This.
31573 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31574 * posix/Makefile ($(objpfx)globtest.out): Replace
31575 $(run-via-rtld-prefix) and $(test-wrapper) with
31576 $(test-program-prefix) and $(test-via-rtld-prefix).
31577 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31578 $(test-program-prefix).
31579 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31580 $(host-test-program-cmd).
31581 (tst-spawn-ARGS): Likewise.
31582 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31583 $(test-program-prefix).
31584 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31585 (test_via_rtld_prefix): This.
31586 (test_wrapper): Renamed to ...
31587 (test_program_prefix): This.
31588 (run_program_prefix): Replaced by test_program_prefix.
31589 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31590 (test_program_prefix): This.
31591 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31592 with $(host-test-program-cmd).
31593 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31594 $(run-program-prefix) with $(test-program-prefix).
31595 ($(objpfx)tst-printf.out): Likewise.
31596 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31597 $(test-program-cmd).
31598 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31599 (test_program_prefix): This.
31600 * stdio-common/tst-unbputc.sh: Likewise.
31601 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31602 $(run-program-prefix) with $(test-program-prefix).
31603 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31604 (test_program_prefix): This.
31605 * string/Makefile ($(objpfx)tst-svc.out): Replace
31606 $(built-program-cmd) with $(test-program-cmd).
31607
c6fe55cf
AJ
316082013-01-11 Andreas Jaeger <aj@suse.de>
31609
31610 [BZ #15003]
31611 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31612 value. Sync with Linux 3.7.
31613
9e6919c8
DM
316142013-01-10 David S. Miller <davem@davemloft.net>
31615
31616 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31617 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31618 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31619
1c9f1a02
RM
316202013-01-10 Roland McGrath <roland@hack.frob.com>
31621
31622 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31623 never set.
31624 * configure: Regenerated.
31625
b9de2dde
DM
316262013-01-10 David S. Miller <davem@davemloft.net>
31627
31628 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31629 sparc V9 rather than using V8 code.
31630 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31631 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31632
e7f68ef4
RM
316332013-01-10 Roland McGrath <roland@hack.frob.com>
31634
31635 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31636 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31637 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31638 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31639 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31640 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31641 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31642 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31643 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31644 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31645 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31646 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31647 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31648 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31649 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31650 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31651 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31652 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31653 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31654 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31655 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31656 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31657 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31658 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31659 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31660 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31661 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31662
5a47cc9c
DM
316632013-01-10 David S. Miller <davem@davemloft.net>
31664
31665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31666
4cf8f209
L
316672013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31668
31669 * posix/Makefile (tests-static): New variable.
31670 (tests): Add $(tests-static).
31671 (tst-exec-static-ARGS): New variable.
31672 (tst-spawn-static-ARGS): Likewise.
31673 * posix/tst-exec-static.c: New file.
31674 * posix/tst-spawn-static.c: Likewise.
31675 * posix/tst-exec.c: Support run directly.
31676 * posix/tst-spawn.c: Likewise.
31677
fed0faa1
JM
316782013-01-10 Joseph Myers <joseph@codesourcery.com>
31679
828beb13
JM
31680 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31681 long.
31682 * math/bits/mathcalls.h (llrint): Likewise.
31683 (llround): Likewise.
31684 * stdlib/stdlib.h (struct drand48_data): Likewise.
31685 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31686 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31687 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31688 Likewise.
31689 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31690 Likewise.
31691 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31692 (elf_greg_t): Likewise.
31693 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31694 (__jmp_buf): Likewise.
31695 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31696 definitions.
31697 (llrint): Likewise, for all definitions.
31698 (llrintl): Likewise.
31699
fed0faa1
JM
31700 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31701 Remove [__GNUC__] condition.
31702 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31703 condition to just [__USE_ISOC99].
31704 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31705
1a20cb20
L
317062013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31707
31708 [BZ #14200]
31709 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31710 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31711 defined.
31712 (_POSIX_V6_ILP32_OFF32): Likewise.
31713 (_XBS5_ILP32_OFF32): Likewise.
31714 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31715 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31716
751b85f7
SP
317172013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31718
7490eb81
SP
31719 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31720
751b85f7
SP
31721 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31722 doubles __mpexp_twomm1. Adjust usage.
31723 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31724 Remove.
31725
988197f0
AS
317262013-01-10 Andreas Schwab <schwab@suse.de>
31727
31728 [BZ #14964]
31729 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31730 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31731
e83d7298
DM
317322013-01-09 David S. Miller <davem@davemloft.net>
31733
034ed64b 31734 [BZ #15003]
57f41c40
AS
31735 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31736 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31737 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31738 (TCP_FASTOPEN): Define.
e83d7298
DM
31739 (tcp_repair_opt): New structure.
31740 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31741 enum values.
57f41c40
AS
31742 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31743 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31744 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
31745 (tcp_cookie_transactions): New structure.
31746
d5e0b9bd
AB
317472013-01-09 Anton Blanchard <anton@samba.org>
31748
31749 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31750 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31751 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31752 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31753
0c07e3ea
JM
317542013-01-09 Joseph Myers <joseph@codesourcery.com>
31755
31756 * include/features.h (__USE_ANSI): Remove.
31757
232f7002
RM
317582013-01-09 Roland McGrath <roland@hack.frob.com>
31759
ad98e30c
RM
31760 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31761
232f7002
RM
31762 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31763
950c99ca
SP
317642013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31765
b5792741
SP
31766 * sysdeps/s390/fpu/libm-test-ulps: Update.
31767
47cf2278
SP
31768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31769
950c99ca
SP
31770 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31771 (__acr): Likewise.
31772 (__cpy): Likewise.
31773 (norm): Likewise.
31774 (denorm): Likewise.
31775 (__mp_dbl): Likewise.
31776 (__dbl_mp): Likewise.
31777 (add_magnitudes): Likewise.
31778 (sub_magnitudes): Likewise.
31779 (__add): Likewise.
31780 (__sub): Likewise.
31781 (__mul): Likewise.
31782 (__inv): Likewise.
31783 (__dvd): Likewise.
31784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31785 (__acr): Likewise.
31786 (__cpy): Likewise.
31787 (norm): Likewise.
31788 (denorm): Likewise.
31789 (__mp_dbl): Likewise.
31790 (__dbl_mp): Likewise.
31791 (add_magnitudes): Likewise.
31792 (sub_magnitudes): Likewise.
31793 (__add): Likewise.
31794 (__sub): Likewise.
31795 (__mul): Likewise.
31796 (__inv): Likewise.
31797 (__dvd): Likewise.
31798 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31799 (__acr): Likewise.
31800 (__cpy): Likewise.
31801 (norm): Likewise.
31802 (denorm): Likewise.
31803 (__mp_dbl): Likewise.
31804 (__dbl_mp): Likewise.
31805 (add_magnitudes): Likewise.
31806 (sub_magnitudes): Likewise.
31807 (__add): Likewise.
31808 (__sub): Likewise.
31809 (__mul): Likewise.
31810 (__inv): Likewise.
31811 (__dvd): Likewise.
31812
eede9df9
JM
318132013-01-08 Joseph Myers <joseph@codesourcery.com>
31814
31815 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31816 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31817 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31818 2 && __USE_EXTERN_INLINES]: Likewise.
31819
c40ea3d9
AJ
318202013-01-08 Andreas Jaeger <aj@suse.de>
31821
31822 [BZ# 14985]
31823 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31824 Remove.
31825 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31826 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31827
2ccdea26
AB
318282013-01-07 Anton Blanchard <anton@samba.org>
31829
31830 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31831 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31832 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31833 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31834 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31835 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31836 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31837 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31839 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31840 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31841 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31842 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31843 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31844 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31845 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31846 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31847 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31848 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31849 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31850 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31851 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31852 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31853 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31854 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31855 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31856 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31857 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31858 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31859 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31860 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31862 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31863 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31864 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31865 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31866 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31867 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31868 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31869 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31870 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31871 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31872 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31873
a9708fed
JM
318742013-01-07 Joseph Myers <joseph@codesourcery.com>
31875
375607b9
JM
31876 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31877 (__MALLOC_PMT): Likewise.
31878 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31879 [__GNUC__], only on [_LIBC].
31880 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31881 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31882 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31883 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31884 forward declaration.
31885 (realloc_hook_ini): Likewise.
31886 (memalign_hook_ini): Likewise.
31887 (__libc_memalign): Do not use __MALLOC_PMT in variable
31888 declaration.
31889 (__libc_valloc): Likewise.
31890 (__libc_pvalloc): Likewise.
31891 (__libc_calloc): Likewise.
31892 (__posix_memalign): Likewise.
31893
a9708fed
JM
31894 [BZ #14996]
31895 * math/s_casinh.c: Include <float.h>.
31896 (__casinh): Do not do computation with squaring and square root
31897 for large arguments.
31898 * math/s_casinhf.c: Include <float.h>.
31899 (__casinhf): Do not do computation with squaring and square root
31900 for large arguments.
31901 * math/s_casinhl.c: Include <float.h>.
31902 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31903 (__casinhl): Do not do computation with squaring and square root
31904 for large arguments.
31905 * math/libm-test.inc (casin_test): Add more tests.
31906 (casinh_test): Likewise.
31907 * sysdeps/i386/fpu/libm-test-ulps: Update.
31908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31909
afec409a
L
319102013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31911
31912 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31913 (__x86_64_raw_data_cache_size): Likewise.
31914 (__x86_64_data_cache_size_half): Likewise.
31915 (__x86_64_raw_data_cache_size_half): Likewise.
31916 (__x86_64_shared_cache_size): Likewise.
31917 (__x86_64_raw_shared_cache_size): Likewise.
31918 (__x86_64_shared_cache_size_half): Likewise.
31919 (__x86_64_raw_shared_cache_size_half): Likewise.
31920 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31921 to ...
31922 (__x86_data_cache_size): This.
31923 (__x86_64_raw_data_cache_size): Renamed to ...
31924 (__x86_raw_data_cache_size): This.
31925 (__x86_64_data_cache_size_half): Renamed to ...
31926 (__x86_data_cache_size_half): This.
31927 (__x86_64_raw_data_cache_size_half): Renamed to ...
31928 (__x86_raw_data_cache_size_half): This.
31929 (__x86_64_shared_cache_size): Renamed to ...
31930 (__x86_shared_cache_size): This.
31931 (__x86_64_raw_shared_cache_size): Renamed to ...
31932 (__x86_raw_shared_cache_size): This.
31933 (__x86_64_shared_cache_size_half): Renamed to ...
31934 (__x86_shared_cache_size_half): This.
31935 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31936 (__x86_raw_shared_cache_size_half): This.
31937 * sysdeps/x86_64/memcpy.S: Updated.
31938 * sysdeps/x86_64/memset.S: Likewise.
31939 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31940 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31941 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31942
0b3986d0
DM
319432013-01-04 David S. Miller <davem@davemloft.net>
31944
31945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31946
e47686e9
AS
319472013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31948
d643bac1
AS
31949 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31950 1 to avoid redefinition warning.
31951 (__USE_GNU): Don't define.
31952 (init_signaling_nan): Protoize.
31953
e47686e9
AS
31954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31955
b18decba
SP
319562013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31957
fffb407f
SP
31958 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31960 (__cpymn): Likewise.
31961 (norm): Remove commented code.
31962 (denorm): Likewise.
31963 (__mp_dbl): Likewise.
31964 (__inv): Likewise.
31965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31966 (__cpymn): Likewise.
31967 (norm): Remove commented code.
31968 (denorm): Likewise.
31969 (__mp_dbl): Likewise.
31970 (__inv): Likewise.
31971
b18decba
SP
31972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31973 mp_no value for 1.0 and 2.0.
31974 (norm): Use RADIXI instead of radixi.d.
31975 (denorm): Likewise.
31976 (__mul): Use 0.0 instead of zero.d.
31977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31978 mp_no value for 1.0 and 2.0.
31979 (norm): Use RADIXI instead of radixi.d.
31980 (denorm): Likewise.
31981 (__mul): Use 0.0 instead of zero.d.
31982
cdc1c96f
JM
319832013-01-04 Joseph Myers <joseph@codesourcery.com>
31984
31985 [BZ #14994]
31986 * math/s_casinh.c (__casinh): Reduce finite argument to first
31987 quadrant then set signs of results at the end.
31988 * math/s_casinhf.c (__casinhf): Likewise.
31989 * math/s_casinhl.c (__casinhl): Likewise.
31990 * math/libm-test.inc (casin_test): Add more tests.
31991 (casinh_test): Likewise.
31992 * sysdeps/i386/fpu/libm-test-ulps: Update.
31993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31994
302913e1
SP
319952013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31996
6420d207
SP
31997 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31998
a9e48ab4
SP
31999 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32000
b7837264
SP
32001 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32002 declarations.
32003 (denorm): Likewise.
32004 (__mp_dbl): Likewise.
32005 (__inv): Likewise.
32006
f8af25d2
SP
32007 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32008 and adjust the header comment.
32009
302913e1
SP
32010 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32011 variable name from declaration.
32012
5d7dd1ca
L
320132013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32014
32015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32016 Initialize COMMON_CPUID_INDEX_7 element.
32017 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32018 (CPUID_RTM): Likewise.
32019 (HAS_RTM): Likewise.
32020 (COMMON_CPUID_INDEX_7): New enum.
32021
2f5f40f4
AS
320222013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32023
32024 [BZ #14981]
32025 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32026 size is zero, record memory as freed.
32027
4056f4a0
AJ
320282013-01-03 Andreas Jaeger <aj@suse.de>
32029
32030 * po/ia.po: Add new Interlingua translation.
32031
ab15736f 320322012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
32033
32034 * locale/programs/localedef.c: Fix description of '--posix' flag.
32035
568035b7
JM
320362013-01-02 Joseph Myers <joseph@codesourcery.com>
32037
e6898b8d
JM
32038 * NEWS: Update dates in second copyright notice.
32039 * README: Update copyright dates in example.
32040 * manual/libc.texinfo: Update copyright dates.
32041 * scripts/test-installation.pl: Update copyright date in --version
32042 output.
32043
0e2f9562
JM
32044 * hurd/ctty-input.c: Fix copyright notice formatting.
32045 * hurd/ctty-output.c: Likewise.
32046 * hurd/dtable.c: Likewise.
32047 * hurd/hurd-raise.c: Likewise.
32048 * hurd/hurdprio.c: Likewise.
32049 * hurd/msgportdemux.c: Likewise.
32050 * misc/sys/file.h: Likewise.
32051 * misc/sys/ioctl.h: Likewise.
32052 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32053 * sysdeps/mach/hurd/chdir.c: Likewise.
32054 * sysdeps/mach/hurd/fchdir.c: Likewise.
32055 * sysdeps/mach/hurd/rename.c: Likewise.
32056 * sysdeps/mach/hurd/rmdir.c: Likewise.
32057 * sysdeps/mach/hurd/seekdir.c: Likewise.
32058 * sysdeps/mach/hurd/setsid.c: Likewise.
32059 * sysdeps/posix/wait3.c: Likewise.
32060
568035b7
JM
32061 * All files with FSF copyright notices: Update copyright dates
32062 using scripts/update-copyrights.
32063 * intl/plural.c: Regenerated.
32064 * locale/programs/charmap-kw.h: Likewise.
32065 * locale/programs/locfile-kw.h: Likewise.
32066
da08f647
SP
320672013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32068
0f5477af
SP
32069 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32070 four values.
32071
44e0d4c2
SP
32072 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32073 calculation loop and add branch prediction.
32074
4d55b4e5
SP
32075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32076 check access beyond bounds of m1np.
32077
da08f647
SP
32078 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32079 MPTWO.
32080 (__inv): Remove local variable MPTWO to use the global
32081 constant.
32082 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32083 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32084 variable MPTWO.
32085 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32086 MP3HALFS static const.
32087
8e051029
DM
320882013-01-01 David S. Miller <davem@davemloft.net>
32089
32090 * po/ca.po: Update from translation team.
32091
f4cf5f2d
JM
320922013-01-01 Joseph Myers <joseph@codesourcery.com>
32093
32094 * scripts/update-copyrights: New file.
32095 * Makeconfig: Reformat copyright notice.
32096 * ctype/ctype.h: Likewise.
32097 * debug/swprintf_chk.c: Likewise.
32098 * elf/dl-cache.c: Likewise.
32099 * elf/dl-debug.c: Likewise.
32100 * elf/dl-object.c: Likewise.
32101 * grp/initgroups.c: Likewise.
32102 * hurd/Makefile: Likewise.
32103 * hurd/hurd/signal.h: Likewise.
32104 * hurd/hurdfault.c: Likewise.
32105 * hurd/hurdioctl.c: Likewise.
32106 * hurd/hurdlookup.c: Likewise.
32107 * hurd/intr-msg.c: Likewise.
32108 * iconv/gconv_open.c: Likewise.
32109 * libio/swprintf.c: Likewise.
32110 * locale/lc-ctype.c: Likewise.
32111 * locale/nl_langinfo.c: Likewise.
32112 * mach/Machrules: Likewise.
32113 * mach/Makefile: Likewise.
32114 * malloc/obstack.h: Likewise.
32115 * manual/Makefile: Likewise.
32116 * manual/tsort.awk: Likewise.
32117 * misc/bits/stab.def: Likewise.
32118 * nis/nis_print_group_entry.c: Likewise.
32119 * nis/nis_table.c: Likewise.
32120 * nis/nss_compat/compat-pwd.c: Likewise.
32121 * nis/nss_compat/compat-spwd.c: Likewise.
32122 * po/Makefile: Likewise.
32123 * posix/fnmatch.c: Likewise.
32124 * posix/regex.h: Likewise.
32125 * resolv/Makefile: Likewise.
32126 * resolv/nss_dns/dns-network.c: Likewise.
32127 * resolv/res_hconf.c: Likewise.
32128 * scripts/gen-sorted.awk: Likewise.
32129 * soft-fp/soft-fp.h: Likewise.
32130 * stdio-common/printf.h: Likewise.
32131 * stdlib/monetary.h: Likewise.
32132 * stdlib/random.c: Likewise.
32133 * stdlib/random_r.c: Likewise.
32134 * sysdeps/generic/Makefile: Likewise.
32135 * sysdeps/gnu/Makefile: Likewise.
32136 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32137 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32138 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32140 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32142 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32143 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32144 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32145 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32146 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32147 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32148 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32149 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32150 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32151 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32152 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32153 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32154 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32155 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32156 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32157 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32158 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32159 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32160 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32161 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32162 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32163 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32164 * sysdeps/mach/hurd/errnos.awk: Likewise.
32165 * sysdeps/mach/hurd/fork.c: Likewise.
32166 * sysdeps/mach/hurd/getcwd.c: Likewise.
32167 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32168 * sysdeps/mach/hurd/mmap.c: Likewise.
32169 * sysdeps/mach/hurd/utimes.c: Likewise.
32170 * sysdeps/mach/hurd/xmknod.c: Likewise.
32171 * sysdeps/posix/profil.c: Likewise.
32172 * sysdeps/posix/readdir_r.c: Likewise.
32173 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32174 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32175 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32176 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32178 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32179 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32180 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32182 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32183 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32184 * sysdeps/pthread/lio_listio.c: Likewise.
32185 * sysdeps/sparc/dl-procinfo.h: Likewise.
32186 * sysdeps/unix/i386/sysdep.S: Likewise.
32187 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32188 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32189 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32190 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32192 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32193 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32194 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32195 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32196 * sysdeps/wordsize-32/divdi3.c: Likewise.
32197 * time/sys/time.h: Likewise.
32198 * wcsmbs/Makefile: Likewise.
32199
0549fbba
DM
322002013-01-01 David S. Miller <davem@davemloft.net>
32201
a141f1a7
DM
32202 * po/fr.po: Update from translation team.
32203
0549fbba
DM
32204 * catgets/gencat.c: Update copyright year.
32205 * csu/version.c: Likewise.
32206 * debug/catchsegv.sh: Likewise.
32207 * debug/pcprofiledump.c: Likewise.
32208 * debug/xtrace.sh: Likewise.
32209 * elf/ldconfig.c: Likewise.
32210 * elf/ldd.bash.in: Likewise.
32211 * elf/pldd.c: Likewise.
32212 * elf/sotruss.ksh: Likewise.
32213 * elf/sprof.c: Likewise.
32214 * iconv/iconv_prog.c: Likewise.
32215 * iconv/iconvconfig.c: Likewise.
32216 * locale/programs/locale.c: Likewise.
32217 * locale/programs/localedef.c: Likewise.
32218 * login/programs/pt_chown.c: Likewise.
32219 * malloc/memusage.sh: Likewise.
32220 * malloc/memusagestat.c: Likewise.
32221 * malloc/mtrace.pl: Likewise.
32222 * nscd/nscd.c: Likewise.
32223 * nss/getent.c: Likewise.
32224 * nss/makedb.c: Likewise.
32225 * posix/getconf.c: Likewise.
32226
18ea052c
SP
322272012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32228
32229 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32230 numbers.
32231
9c89fca6
MF
322322012-12-30 Mike Frysinger <vapier@gentoo.org>
32233
32234 * math/bits/mathcalls.h (modf): Use __nonnull.
32235
085ec079
SP
322362012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32237
32238 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32239 (split): Use macro CN instead of the bare value.
32240 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32241 could be used.
32242 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32243 instead of the bare value.
32244 (power1): Likewise.
32245
6d9f97e1
SP
322462012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32247
d63f73be
SP
32248 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32249 __ATAN_TWOM.
32250 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32251
6d9f97e1
SP
32252 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32253 their values.
32254 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32255 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32256 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32257 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32258
4c4febf5
AJ
322592012-12-28 Andreas Jaeger <aj@suse.de>
32260
af5843ef
AJ
32261 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32262 values are from Linux 3.7.
32263
4c4febf5
AJ
32264 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32265 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32266
99136f82
SP
322672012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32268
2f216c3c 32269 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
32270 TRUE case.
32271
99136f82
SP
32272 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32273 (norm): Likewise.
32274 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32275 variables with preprocessor constants.
32276 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32277 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32278 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32279
7fffbdff
BH
322802012-12-27 Bruno Haible <bruno@clisp.org>
32281
32282 [BZ #14317]
32283 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32284 only if needed.
32285
b76eb5f0
SP
322862012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32287
31a7fe5c
SP
32288 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32289 and use variable directly.
32290 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32291
b76eb5f0
SP
32292 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32293 MPONE.
32294 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32295 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32296 variable MPONE.
32297 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32298 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32299 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32300 include directive. Remove local variable MPONE.
32301 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32302 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32303 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32304
2c8bfe7d
DM
323052012-12-25 David S. Miller <davem@davemloft.net>
32306
32307 * version.h (RELEASE): Set to "development".
32308 (VERSION): Set to "2.17.90".
32309 * NEWS: Add 2.18 section.
32310
147d03b0
DM
323112012-12-21 David S. Miller <davem@davemloft.net>
32312
32313 * po/hr.po: Update from translation team.
32314
a8ebb2b9
AK
323152012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32316
32317 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32318
95b4f1b6
SE
323192012-12-19 Steve Ellcey <sellcey@mips.com>
32320
b2d94007 32321 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 32322
cedb2a90
MS
323232012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32324
32325 * manual/contrib.texi (Contributors): Spelling correction.
32326
bbf527d6
DM
323272012-12-15 David S. Miller <davem@davemloft.net>
32328
32329 * po/ru.po: Update from translation team.
32330
bc38c906
DM
323312012-12-13 David S. Miller <davem@davemloft.net>
32332
85429b1a
DM
32333 * NEWS: Mention IFUNC testsuite enhancements.
32334
d283e353
DM
32335 * po/pl.po: Update from translation team.
32336 * po/bg.po: Likewise.
32337
bc38c906
DM
32338 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32339 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32340
a181b0d7
DM
323412012-12-11 David S. Miller <davem@davemloft.net>
32342
4641d57e
DM
32343 * po/sv.po: Update from translation team.
32344
f7bc6495
DM
32345 * po/vi.po: Update from translation team.
32346
6fc9048f
DM
32347 * po/cs.po: Update from translation team.
32348
a181b0d7
DM
32349 * po/de.po: Update from translation team.
32350 * po/eo.po: Likewise.
32351 * po/nl.po: Likewise.
32352
f70bfe80
SP
323532012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32354
3c8b4190
SP
32355 [BZ #14246]
32356 * manual/argp.texi (Argp Helper Functions): Move node to follow
32357 Argp Parsing State.
32358
f70bfe80
SP
32359 [BZ #14872]
32360 * manual/conf.texi (Limits on File System Capacity): Mention if
32361 terminating null is included in the max size.
32362
188f0adf
AJ
323632012-12-10 Andreas Jaeger <aj@suse.de>
32364
32365 * po/cs.po: Update from translation team.
32366
56e7d3ad
SP
323672012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32368
32369 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32370 void pointer and cast to uintptr_t.
32371 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32372 path.
32373 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32374 * sysdeps/s390/s390-64/memset.S: Likewise.
32375
76f2d2ea 323762012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
32377
32378 [BZ #14833]
32379 * menual/message.texi (Message Translation): Fix typos.
32380 (Helper programs for gettext): Likewise.
32381
67cbf9a2
AS
323822012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32383
32384 [BZ #14898]
32385 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32386 Change to -1.
32387
682d0e9a
DM
323882012-12-07 David S. Miller <davem@davemloft.net>
32389
32390 * po/libc.pot: Update.
32391
573cd484
RH
323922012-12-07 Richard Henderson <rth@redhat.com>
32393
7e9da188 32394 [BZ #10114]
573cd484
RH
32395 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32396 normal/normal case to before the switch.
32397 (_FP_DIV): Likewise.
32398
e933a943
MF
323992012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32400 Mike Frysinger <vapier@gentoo.org>
32401
32402 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32403 check for __NR_fadvise64_64.
32404
82123268
CM
324052012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32406
32407 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32408 0, not just to plain "0" as a statement.
32409 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32410 with cw.
32411
d9814526
JM
324122012-12-06 Joseph Myers <joseph@codesourcery.com>
32413
32414 * NEWS: Use sourceware.org in Bugzilla URL.
32415
7728c574
SP
324162012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32417
f16946dd
SP
32418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32419 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32420
5704bbcb
SP
32421 * stdio-common/tst-put-error.c (do_test): Add newline to the
32422 padded test to ensure flush.
32423
17aa0516
JL
324242012-12-05 Jeff Law <law@redhat.com>
32425
32426 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32427
363313b5
JM
324282012-12-05 Joseph Myers <joseph@codesourcery.com>
32429
effbd42a
JM
32430 * README: Don't refer to ports add-on as distributed separately.
32431 Mention AArch64 in list of systems supported in the ports add-on.
32432
87600365
JM
32433 * LICENSES: Add more non-FSF copyright and license notices.
32434
a0d7066a
JM
32435 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32436 ((unused)).
32437
66ca5a5b
JM
32438 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32439
363313b5
JM
32440 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32441 10000 as width of padded output.
32442
b37984ad
JM
324432012-12-04 Joseph Myers <joseph@codesourcery.com>
32444
9003570a
JM
32445 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32446
b37984ad
JM
32447 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32448 variable LX with __attribute__ ((unused)).
32449 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32450 Likewise.
32451 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32452 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32453 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32454 with __attribute__ ((unused)).
32455
c8df52ec
DM
324562012-12-04 David S. Miller <davem@abraco.davemloft.net>
32457
32458 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32459
b3b099af
JM
324602012-12-04 Joseph Myers <joseph@codesourcery.com>
32461
c33aa6e3
JM
32462 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32463 (CFLAGS-nldbl-acos.c): New variable.
32464 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32465 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32466 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32467 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32468 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32469 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32470 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32471 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32472 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32473 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32474 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32475 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32476 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32477 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32478 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32479 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32480 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32481 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32482 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32483 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32484 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32485 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32486 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32487 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32488 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32489 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32490 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32491 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32492 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32493 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32494 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32495 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32496 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32497 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32498 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32499 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32500 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32501 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32502 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32503 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32504 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32505 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32506 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32507 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32508 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32509 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32510 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32511 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32512 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32513 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32514 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32515 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32516 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32517 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32518 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32519 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32520 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32521 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32522 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32523 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32524 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32525 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32526 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32527 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32528 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32529 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32530 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32531 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32532 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32533 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32534 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32535 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32536 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32537 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32538 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32539 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32540 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32541 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32542 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32543 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32544 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32545 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32546 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32547 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32548 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32549 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32550 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32551 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32552 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32553 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32554 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32555 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32556 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32557 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32558 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32559 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32560 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32561
20f0018d
JM
32562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32563 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32564
b3b099af
JM
32565 [BZ #14914]
32566 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32567 whole low double instead of just low 47 bits when splitting values
32568 into two parts.
32569
029264d1
AM
325702012-12-03 Allan McRae <allan@archlinux.org>
32571
32572 * manual/stdio.texi (Predefined Printf Handlers): Remove
32573 @hsep and @vsep usage.
32574
c9d6789e
MF
325752012-12-03 Mike Frysinger <vapier@gentoo.org>
32576
32577 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32578 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32579
4b7634a5
JL
325802012-12-03 Jeff Law <law@redhat.com>
32581
32582 * time/sys/time.h (settimeofday): Do not mark TV argument
32583 as __nonnull.
32584
eb6cbd24
MF
325852012-12-01 Mike Frysinger <vapier@gentoo.org>
32586
32587 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32588 when currently writing and seek to current position when not.
32589 * libio/Makefile (tests): Remove bug-fclose1.
32590 * libio/bug-fclose1.c: Delete.
32591
f638872a
JM
325922012-12-01 Joseph Myers <joseph@codesourcery.com>
32593
32594 * manual/arith.texi (feenableexcept): Fix typo.
32595 (fedisableexcept): Likewise.
32596
48085d14
RM
325972012-11-30 Roland McGrath <roland@hack.frob.com>
32598
32599 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32600 second, differently-typed declaration, rather than a cast.
32601
1a538b9f
SP
326022012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32603
32604 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32605 * include/rpc/svc.h: ... here.
32606
d07f2ff1 326072012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
32608
32609 [BZ #13013]
32610 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32611 depending n and resplen2 to catch cases where answer
32612 equals answerp2.
32613
c93ec1f0
CD
326142012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32615
32616 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32617 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32618
37db69de
MF
326192012-11-29 Mike Frysinger <vapier@gentoo.org>
32620
32621 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32622
e10c4e4f
RM
326232012-11-29 Roland McGrath <roland@hack.frob.com>
32624
32625 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32626
2af1b328
JL
326272012-11-28 Jeff Law <law@redhat.com>
32628
32629 [BZ #13761]
32630 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32631 dataset_temporary. Track alloca usage into alloca_used.
32632 If dataset is large allocate and release it via malloc/free.
32633
111db5b1
FW
326342012-06-04 Florian Weimer <fweimer@redhat.com>
32635
f06cc227 32636 [BZ #14197]
111db5b1
FW
32637 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32638
dd694abd
DM
326392012-11-28 David S. Miller <davem@davemloft.net>
32640
32641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32642
9984dd01
JM
326432012-11-28 Joseph Myers <joseph@codesourcery.com>
32644
32645 [BZ #14803]
32646 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32647 of pi/2 rounded to nearest to 64 bits.
32648 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32649 nearest to 64 bits.
32650 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32651 bits.
32652
14bc93a9
JL
326532012-11-28 Jeff Law <law@redhat.com>
32654 Martin Osvald <mosvald@redhat.com>
32655
32656 [BZ #14889]
32657 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32658 * sunrpc/svc.c: Include time.h.
32659 (__svc_accept_failed): New function.
32660 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32661 any reason other than EINTR, call __svc_accept_failed.
32662 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32663 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32664
e3c6aa3a
AS
326652012-11-28 Andreas Schwab <schwab@suse.de>
32666
32667 * scripts/abilist.awk: Also handle indirect functions in .opd
32668 section.
32669
1bead169
JM
326702012-11-28 Joseph Myers <joseph@codesourcery.com>
32671
32672 [BZ #13881]
32673 * sysdeps/x86/fpu/powl_helper.c: New file.
32674 * sysdeps/x86/fpu/Makefile: Likewise.
32675 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32676 (p3): New object.
32677 (__ieee754_powl): Use __powl_helper for finite arguments except
32678 integer exponents below 8.
32679 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32680 (p3): New object.
32681 (__ieee754_powl): Use __powl_helper for finite arguments except
32682 integer exponents below 8.
32683 * math/libm-test.inc (pow_test): Add more tests and enable some
32684 previously disabled tests.
32685 * sysdeps/i386/fpu/libm-test-ulps: Update.
32686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32687
0817d63d
SP
326882012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32689 Carlos O'Donell <carlos_odonell@mentor.com>
32690
32691 * nss/makedb.c (is_prime): Assert that input is odd and greater
32692 than 4. Note that fact in a comment too.
32693 (next_prime): Add 4 to input.
32694
de2fd463
SP
326952012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32696
32697 [BZ #11741]
32698 * libio/Makefile (tests): Add test case tst-fwrite-error.
32699 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32700 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32701 * libio/tst-fwrite-error.c: New test case.
32702
c515fb51
L
327032012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32704
32705 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32706 before casting to void *.
32707 * include/libc-internal.h (__pointer_type): New macro.
32708 (__integer_if_pointer_type_sub): Likewise.
32709 (__integer_if_pointer_type): Likewise.
32710 (cast_to_integer): Likewise.
32711 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32712 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32713 before casting to atomic64_t.
32714 (atomic_exchange_acq): Likewise.
32715 (__arch_exchange_and_add_body): Likewise.
32716 (__arch_add_body): Likewise.
32717 (atomic_add_negative): Likewise.
32718 (atomic_add_zero): Likewise.
32719
4cf77aa9
JM
327202012-11-26 Joseph Myers <joseph@codesourcery.com>
32721
32722 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32723 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32724 (add_fdes): Likewise.
32725 (linear_search_fdes): Likewise.
32726 (binary_search_unencoded_fdes): Likewise.
32727
d260b3b4
AS
327282012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32729
32730 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32731
67060746
AC
327322012-11-24 Adam Conrad <adconrad@0c3.net>
32733
32734 * configure.in: Autodetect C++ header directories.
32735 * configure: Regenerated.
32736
800938a1
MF
327372012-11-23 Mike Frysinger <vapier@gentoo.org>
32738
32739 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32740
4e6e34e6
AS
327412012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32742
32743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32744
7c7feb47
JM
327452012-11-22 Joseph Myers <joseph@codesourcery.com>
32746
7184dcdf
JM
32747 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32748 LDBL_MANT_DIG == 106]: Disable some tests.
32749 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32750 Likewise.
32751 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32752 Likewise.
32753
0a42601f
JM
32754 [BZ #14871]
32755 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32756 input for small inputs. Return +/- pi/2 for large inputs.
32757 * math/libm-test.inc (atan_test): Add more tests.
32758
79c9b9fe
JM
32759 * sysdeps/generic/unwind-dw2-fde-glibc.c
32760 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32761 __attribute__ ((unused)).
32762
c60d3bf2
JM
32763 [BZ #14645]
32764 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32765 x * y if x and y are nonzero and z is zero.
32766
ef1e0867
JM
32767 [BZ #14811]
32768 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32769 nonzero exponents with absolute value below 0x1p-117 to +/-
32770 0x1p-117.
32771
1468ded3
JM
32772 [BZ #14869]
32773 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32774 up arguments below 2**-450, not just those below 2**-500.
32775 * math/libm-test.inc (hypot_test): Add another test.
32776
8e27e3cc
JM
32777 [BZ #14868]
32778 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32779 Return a+b for ratio over 2**120, not 2**60.
32780 * math/libm-test.inc (hypot_test): Add another test.
32781
c9c0279b
JM
32782 * math/libm-test.inc (clog_test): Use
32783 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32784 (clog10_test): Likewise.
32785
7c7feb47
JM
32786 [BZ #6778]
32787 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32788
fff1530e
AS
327892012-11-22 Andreas Schwab <schwab@suse.de>
32790
32791 * sysdeps/i386/fpu/libm-test-ulps: Update.
32792
94558d30
PT
327932012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32794
32795 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32796 printf output with newline.
32797
7e1be741
L
327982012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32799
6bfea974
L
32800 [BZ #14865]
32801 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32802 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32803 -z nodlopen, -z initfirst and -z execstack support.
32804 * configure: Regenerated.
32805
7e1be741
L
32806 * elf/elf.h (DF_1_NODIRECT): New macro.
32807 (DF_1_IGNMULDEF): Likewise.
32808 (DF_1_NOKSYMS): Likewise.
32809 (DF_1_NOHDR): Likewise.
32810 (DF_1_EDITED): Likewise.
32811 (DF_1_NORELOC): Likewise.
32812 (DF_1_SYMINTPOSE): Likewise.
32813 (DF_1_GLOBAUDIT): Likewise.
32814 (DF_1_SINGLETON): Likewise.
32815 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32816 DT_1_SUPPORTED_MASK bits.
32817 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32818
105ce2ce
CD
328192012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32820
32821 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32822
123be9de
TS
328232012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32824
d072f3f7
TS
32825 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32826 macro.
32827
123be9de
TS
32828 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32829 (sendmmsg): Move declarations...
32830 * socket/sys/socket.h: ... here.
32831 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32832 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32833 include it from...
32834 * socket/recvmmsg.c: ... this new file.
32835 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32836 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32837 definition of __sendmmsg hidden.
32838 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32839 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32840 Move ENOSYS stub into and include it from...
32841 * socket/sendmmsg.c: ... this new file.
32842 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32843 (sysdep_routines): Move recvmmsg and sendmmsg...
32844 * socket/Makefile (routines): ... here.
32845 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32846 (GLIBC_PRIVATE): Add __sendmmsg.
32847 * include/sys/socket.h (__sendmmsg): Add declarations.
32848 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32849 sendmmsg.
32850
cf9a5d18
JM
328512012-11-20 Joseph Myers <joseph@codesourcery.com>
32852
32853 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32854 variable I1 with __attribute__ ((unused)).
32855 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32856
ecd4caf9
JM
328572012-11-19 Joseph Myers <joseph@codesourcery.com>
32858
be14d48f
JM
32859 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32860 DUMMY variables with __attribute__ ((unused)).
32861
ecd4caf9
JM
32862 * bits/byteswap.h: Include <bits/types.h>.
32863 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32864
986cab95
PT
328652012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32866
32867 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32868 string_t. Do not manually set errno.
32869 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32870 length with __strnlen. Make sure to both set errno and return it on
32871 failure.
32872
6d33cc9d
DM
328732012-11-19 David S. Miller <davem@davemloft.net>
32874
32875 With help from Joseph Myers.
32876 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32877 very large arguments properly.
32878 * math/libm-test.inc (atan_test): New tests.
32879 (atan2_test): New tests.
32880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32882
ee663277
JM
328832012-11-19 Joseph Myers <joseph@codesourcery.com>
32884
877f2d8e
JM
32885 [BZ #14856]
32886 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32887 Define to 3.
32888
116fc08a
JM
32889 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32890 [POSIX] (EADDRNOTAVAIL): Likewise.
32891 [POSIX] (EAFNOSUPPORT): Likewise.
32892 [POSIX] (EALREADY): Likewise.
32893 [POSIX] (ECONNABORTED): Likewise.
32894 [POSIX] (ECONNREFUSED): Likewise.
32895 [POSIX] (ECONNRESET): Likewise.
32896 [POSIX] (EDESTADDRREQ): Likewise.
32897 [POSIX] (EDQUOT): Likewise.
32898 [POSIX] (EHOSTUNREACH): Likewise.
32899 [POSIX] (EIDRM): Likewise.
32900 [POSIX] (EISCONN): Likewise.
32901 [POSIX] (ELOOP): Likewise.
32902 [POSIX] (EMULTIHOP): Likewise.
32903 [POSIX] (ENETDOWN): Likewise.
32904 [POSIX] (ENETUNREACH): Likewise.
32905 [POSIX] (ENOBUFS): Likewise.
32906 [POSIX] (ENODATA): Likewise.
32907 [POSIX] (ENOLINK): Likewise.
32908 [POSIX] (ENOMSG): Likewise.
32909 [POSIX] (ENOPROTOOPT): Likewise.
32910 [POSIX] (ENOSR): Likewise.
32911 [POSIX] (ENOSTR): Likewise.
32912 [POSIX] (ENOTCONN): Likewise.
32913 [POSIX] (ENOTSOCK): Likewise.
32914 [POSIX] (EOPNOTSUPP): Likewise.
32915 [POSIX] (EOVERFLOW): Likewise.
32916 [POSIX] (EPROTO): Likewise.
32917 [POSIX] (EPROTONOSUPPORT): Likewise.
32918 [POSIX] (EPROTOTYPE): Likewise.
32919 [POSIX] (ESTALE): Likewise.
32920 [POSIX] (ETIME): Likewise.
32921 [POSIX] (ETXTBSY): Likewise.
32922 [POSIX] (EWOULDBLOCK): Likewise.
32923 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32924 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32925 [POSIX] (SEEK_CUR): Likewise.
32926 [POSIX] (SEEK_END): Likewise.
32927 [POSIX || UNIX98] (mode_t): Do not require.
32928 [POSIX] (off_t): Likewise.
32929 [POSIX] (pid_t): Likewise.
32930 [POSIX] (sys/stat.h): Do not allow header.
32931 [POSIX] (unistd.h): Likewise.
32932 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32933 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32934 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32935 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32936 require.
32937 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32938 sigevent): Specify elements.
32939 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32940 entry.
32941 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32942 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32943
a483863f
JM
32944 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32945 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32946 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32947 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32948 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32949 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32950 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32951 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32952 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32953 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32954 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32955 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32956 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32957 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32958 Likewise.
32959 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32960 Likewise.
32961 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32962 Likewise.
32963 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32964 Likewise.
32965 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32966 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32967 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32968 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32969 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32970 Specify lower bound on value.
32971 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32972 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32973 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32974 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32975 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32976 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32977 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32978 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32979 value.
32980 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32981 as optional.
32982 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32983 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32984 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32985 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32986 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32987 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32988 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32989 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32990 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32991 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32992 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32993 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32994 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32995 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32996 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32997 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32998 entry.
32999 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33000 optional.
33001 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33002 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33003 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33004 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33005 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33006 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33007 Likewise.
33008 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33009 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33010 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33011 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33012 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33013 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33014 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33015 as optional.
33016 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33017 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33018 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33019 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33020 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33021 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33022 specify as optional.
33023 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33024 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33025 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33026 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33027 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33028 [XPG3] (NL_LANGMAX): Likewise.
33029 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33030 [POSIX || XPG3] (NL_NMAX): Likewise.
33031 [POSIX || XPG3] (NL_SETMAX): Likewise.
33032 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33033 [XPG3] (NZERO): Likewise.
33034 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33035 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33036 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33037 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33038 (REG_ERANGE): Expect.
33039 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33040 optional-constant.
33041 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33042 Use (void) in prototype.
33043 [POSIX] (*_t): Allow.
33044 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33045 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33046 (WRDE_BADVAL): Expect.
33047
5ba924e3
JM
33048 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33049 expect.
33050 [XPG3 || XPG4] (O_RSYNC): Likewise.
33051 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33052 Likewise.
33053 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33054 [XPG3 || XPG4] (sigqueue): Likewise.
33055 [XPG3 || XPG4] (sigtimedwait): Likewise.
33056 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33057 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33058 [XPG3 || XPG4] (vsnprintf): Likewise.
33059 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33060 Likewise.
33061 [XPG3 || XPG4] (blksize_t): Likewise.
33062 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33063 Likewise.
33064 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33065 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33066 [XPG3 || XPG4] (struct itimerspec): Likewise.
33067 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33068 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33069 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33070 [XPG3 || XPG4] (clockid_t): Likewise.
33071 [XPG3 || XPG4] (timer_t): Likewise.
33072 [XPG3 || XPG4] (clock_getres): Likewise.
33073 [XPG3 || XPG4] (clock_gettime): Likewise.
33074 [XPG3 || XPG4] (clock_settime): Likewise.
33075 [XPG3 || XPG4] (nanosleep): Likewise.
33076 [XPG3 || XPG4] (timer_create): Likewise.
33077 [XPG3 || XPG4] (timer_delete): Likewise.
33078 [XPG3 || XPG4] (timer_gettime): Likewise.
33079 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33080 [XPG3 || XPG4] (timer_settime): Likewise.
33081 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33082 [XPG3 || XPG4] (getlogin_r): Likewise.
33083 [XPG3 || XPG4] (pread): Likewise.
33084 [XPG3 || XPG4] (pthread_atfork): Likewise.
33085 [XPG3 || XPG4] (pwrite): Likewise.
33086
ee663277
JM
33087 [BZ #14835]
33088 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33089 <bits/siginfo.h>.
33090
942caa16
PT
330912012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33092
e19af380
PT
33093 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33094 finalizing MALLSTREAM.
33095
942caa16
PT
33096 * sysdeps/mach/hurd/syncfs.c: New file.
33097
cfde9b46
SP
330982012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33099
33100 [BZ #14719]
33101 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33102 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33103 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33104 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33105 (_nss_dns_gethostbyname4_r): Likewise.
33106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33107 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33108
f6da27e5
PH
331092012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33110
33111 [BZ #13763]
33112 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33113
6665d4a2
SM
331142012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33115
1f51ee92
SM
33116 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33117 * elf/cache.c (print_entry): Print ",AArch64" for
33118 FLAG_AARCH64_LIB64
33119
6665d4a2
SM
33120 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33121 * elf/cache.c (print_entry): Print ",hard-float" for
33122 FLAG_ARM_LIBHF.
33123
05b227bd
DM
331242012-11-18 David S. Miller <davem@davemloft.net>
33125
33126 With help from Joseph Myers.
33127 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33128 cutoff to 2**-13.
33129 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33130 cutoff to 2**-25.
33131 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33132 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33133 small.
33134 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33135 * math/libm-test.inc (y0_test): New tests.
33136 (y1_test): New tests.
33137 * sysdeps/i386/fpu/libm-test-ulps: Update.
33138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33140
786b0b67
AS
331412012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33142
33143 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33144 64-bit targets.
33145 * configure: Regenerated.
33146
8e18b86d
DM
331472012-11-17 David S. Miller <davem@davemloft.net>
33148
33149 [BZ #14811]
33150 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33151 nonzero exponents with absolute value below 0x1p-128 to +/-
33152 0x1p-128.
33153
531f1ae0
JM
331542012-11-17 Joseph Myers <joseph@codesourcery.com>
33155
12df29e2
JM
33156 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33157
150dc1a0
JM
33158 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33159
531f1ae0
JM
33160 * posix/getconf-speclist.c: New file.
33161 * posix/posix-envs.def: Likewise.
33162 * posix/confstr.c (START_ENV_GROUP): New macro.
33163 (END_ENV_GROUP): Likewise.
33164 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33165 (KNOWN_PRESENT_ENV_STRING): Likewise.
33166 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33167 (UNKNOWN_ENVIRONMENT): Likewise.
33168 (confstr): Include posix-envs.def instead of handling
33169 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33170 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33171 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33172 (END_ENV_GROUP): Likewise.
33173 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33174 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33175 (UNKNOWN_ENVIRONMENT): Likewise.
33176 (__sysconf): Include posix-envs.def instead of handling associated
33177 cases directly here.
33178 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33179 preprocessing getconf-speclist.c rather than running getconf or
33180 generating empty file.
33181
a93f9cbc
PT
331822012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33183
33184 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33185
d64d9f87
AL
331862012-11-16 Andrej Lajovic <natrij@gmail.com>
33187
33188 [BZ #14672]
33189 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33190
447885eb
DM
331912012-11-16 David S. Miller <davem@davemloft.net>
33192
33193 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33194 smaller than LDBL_EPSILON/2.0L, just return xm1.
33195
bcbf9830
L
331962012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33197
33198 * elf/tst-array1.c (init): Set constructor priority to 1000.
33199 (fini): Set destructor priority to 1000.
33200 * elf/tst-array2dep.c: Likewise.
33201
2b766585
SP
332022012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33203
33204 [BZ #11741]
33205 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33206 (_IO_new_file_xsputn): Also return EOF if none of the input
33207 data was written when overflow failed.
33208 * libio/iopadn.c (_IO_padn): Likewise.
33209 * libio/iowpadn.c (_IO_wpadn): Likewise.
33210 * stdio-common/tst-put-error.c: Add copyright notice.
33211 (do_test): Add case for printing padded string.
33212 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33213 _IO_padn returned error.
33214 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33215 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33216 return EOF.
33217
b1848fde
SP
332182012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33219
33220 * libio/libioP.h: Add comment note that the references to C++
33221 bits are now obsolete.
33222
2fd89785
MS
332232012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33224
33225 * math/libm-test.inc (check_complex): Use asprintf.
33226
e3ea5409
JM
332272012-11-14 Joseph Myers <joseph@codesourcery.com>
33228
33229 * debug/pcprofiledump.c (print_version): Update copyright year.
33230 * malloc/memusagestat.c (print_version): Likewise.
33231
2e64d265
L
332322012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33233
33234 [BZ #14831]
33235 * elf/Makefile (tests): Add tst-audit8.
33236 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33237 ($(objpfx)tst-audit8.out): New target.
33238 (tst-audit8-ENV): New variable.
33239 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33240 audit if l_reloc_result is NULL.
33241 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33242 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33243 * elf/tst-audit8.c: New file.
33244
c485e4d2
MS
332452012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33246
33247 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33248 * misc/Makefile (CFLAGS-select.c): Define.
33249 * posix/Makefile (CFLAGS-pause.c): Define.
33250
3a0d900a
DM
332512012-11-13 David S. Miller <davem@davemloft.net>
33252
33253 * crypt/Makefile: Move test targets after toplevel Rules
33254 inclusion. Grab any necessary sysdep routines when linking.
33255 * crypt/md5.c (md5_process_block): Remove define, we will always
33256 name it __md5_process_block.
33257 (md5_finish_ctx): Update md5_process_block call.
33258 (md5_stream): Likewise.
33259 (md5_process_bytes): Likewise.
33260 (md5_process_block): Rename to __md5_process_block and move to ...
33261 * crypt/md5-block.c: ... here.
33262 * crypt/sha256.c (sha256_process_block): Move to ...
33263 * crypt/sha256-block.c: ... here.
33264 * crypt/sha512.c (sha512_process_block): Move to ...
33265 * crypt/sha512-block.c: ... here.
33266 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33267 path.
33268 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33269 * sysdeps/sparc/sparc64/multiarch/Makefile
33270 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33271 crypt subdir.
33272 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33273 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33274 multiarch changes.
33275 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33276 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33277 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33278 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33279 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33280 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33281 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33282 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33283 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33284 file.
33285 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33286 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33287 file.
33288 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33289
8ca89318
JM
332902012-11-13 Joseph Myers <joseph@codesourcery.com>
33291
e27d476a
JM
33292 * timezone/tzselect.ksh: Update from tzcode git revision
33293 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33294 * timezone/zdump.c: Likewise.
33295 * timezone/zic.c: Likewise.
33296 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33297 in TZVERSION setting, not $(PKGVERSION).
33298 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33299 REPORT_BUGS_TO settings.
33300
8ca89318
JM
33301 [BZ #14838]
33302 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33303 macro.
33304
47594329
MS
333052012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33306
33307 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33308 detection to immediately after _FP_ROUND().
33309 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33310 bits are 0.
33311
640ac3f1
DM
333122012-11-11 David S. Miller <davem@davemloft.net>
33313
33314 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33315 inttypes.h
33316 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33317 __close rather than their public counterparts.
33318
3d2577bb
JM
333192012-11-10 Joseph Myers <joseph@codesourcery.com>
33320
33321 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33322 file.
33323 [UNIX98] (sem_timedwait): Do not expect.
33324 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33325 [XPG4 || UNIX98] (sockatmark): Do not expect.
33326 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33327 (clock_getcpuclockid): Do not expect.
33328 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33329 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33330 Do not expect.
33331 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33332 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33333 [UNIX98] (vwscanf): Likewise.
33334 [UNIX98] (vswscanf): Likewise.
33335
fb1ae1ee
JM
333362012-11-09 Joseph Myers <joseph@codesourcery.com>
33337
9ec6f8bd
JM
33338 * timezone/version.h: Remove file.
33339 * timezone/README: Do not refer to version.h.
33340 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33341 $(objpfx)version.h.
33342 ($(objpfx)zdump.o): Likewise.
c3f81911 33343 ($(objpfx)version.h): New target.
9ec6f8bd 33344
0aa8f8a1
JM
33345 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33346 2012i.
33347 * timezone/README: Don't mention modification to tzselect.ksh.
33348 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33349 work on unmodified tzselect.ksh. Substitute version numbers in
33350 tzselect.ksh.
33351
4e87147f
JM
33352 * Makefile (format-me): Remove.
33353 (INSTALL): Adjust indentation. Use commands directly instead of
33354 using $(format-me).
33355
8b748aed
JM
33356 * aclocal.m4 (ACX_PKGVERSION): New macro.
33357 (ACX_BUGURL): Likewise.
33358 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33359 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33360 (REPORT_BUGS_TO): Likewise.
33361 * configure: Regenerated.
33362 * config.h.in (PKGVERSION): New macro.
33363 (REPORT_BUGS_TO): Likewise.
33364 * config.make.in (PKGVERSION): New variable.
33365 (PKGVERSION_TEXI): Likewise.
33366 (REPORT_BUGS_TO): Likewise.
33367 (REPORT_BUGS_TEXI): Likewise.
33368 * Makefile (format-me): Use -I$(common-objpfx)manual.
33369 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33370 ($(common-objpfx)manual/%): New target.
33371 (manual/%): Remove target.
33372 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33373 (print_version): Use PKGVERSION.
33374 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33375 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33376 and REPORT_BUGS_TO.
33377 ($(objpfx)xtrace): Likewise.
33378 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33379 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33380 (print_version): Use PKGVERSION.
33381 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33382 (do_version): Use PKGVERSION.
33383 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33384 REPORT_BUGS_TO.
33385 (common-ldd-rewrite): Likewise.
33386 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33387 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33388 (print_version): Use PKGVERSION.
33389 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33390 * elf/pldd.c (argp_program_bug_address): Remove variable.
33391 (more_help): New function.
33392 (argp): Use more_help.
33393 (print_version): Use PKGVERSION.
33394 * elf/sln.c (main): Use PKGVERSION.
33395 (usage): Use REPORT_BUGS_TO.
33396 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33397 (top level): Use PKGVERSION.
33398 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33399 (print_version): Use PKGVERSION.
33400 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33401 (print_version): Use PKGVERSION.
33402 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33403 (print_version): Use PKGVERSION.
33404 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33405 (print_version): Use PKGVERSION.
33406 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33407 (print_version): Use PKGVERSION.
33408 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33409 (print_version): Use PKGVERSION.
33410 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33411 and BUGURL.
33412 ($(objpfx)memusage): Likewise.
33413 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33414 (do_version): Use PKGVERSION.
33415 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33416 (print_version): Use PKGVERSION.
33417 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33418 ($PKGVERSION): New variable.
33419 ($REPORT_BUGS_TO): Likewise.
33420 (usage): Use $REPORT_BUGS_TO.
33421 (top level): Use $PKGVERSION.
33422 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33423 ($(objpfx)pkgvers.texi): New rule.
33424 ($(objpfx)stamp-pkgvers): Likewise.
33425 * manual/install.texi: Include pkgvers.texi.
33426 (--with-pkgversion): Document new configure option.
33427 (--with-bugurl): Likewise.
33428 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33429 than necessarily for this particular distribution. Use
33430 REPORT_BUGS_TO for where to report bugs.
33431 * INSTALL: Regenerated.
33432 * manual/libc.texinfo: Include pkgvers.texi.
33433 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33434 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33435 (print_version): Use PKGVERSION.
33436 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33437 (print_version): Use PKGVERSION.
33438 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33439 (print_version): Use PKGVERSION.
33440 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33441 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33442 macro.
33443 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33444 (print_version): Use PKGVERSION.
33445 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33446 (print_version): Use PKGVERSION.
33447 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33448 and PKGVERSION.
33449
92e4b6a9
JM
33450 * timezone/checktab.awk: Update from tzcode 2012i.
33451 * timezone/ialloc.c: Likewise.
33452 * timezone/private.h: Likewise.
33453 * timezone/scheck.c: Likewise.
33454 * timezone/tzfile.h: Likewise.
33455 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33456 (TZVERSION): Hardcode tzcode version number.
33457 * timezone/zdump.c: Update from tzcode 2012i.
33458 * timezone/zic.c: Likewise.
33459 * timezone/version.h: New file.
33460 * timezone/README: Describe version.h. Update upstream location.
33461
9bde902c
JM
33462 [BZ #14824]
33463 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33464 (mktemp): Enable declaration.
33465 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33466 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33467 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33468 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33469 Likewise.
33470 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33471 Likewise.
33472 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33473 Likewise.
33474 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33475 Likewise.
33476 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33477 Likewise.
33478 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33479 Likewise.
33480
fb1ae1ee
JM
33481 [BZ #14821]
33482 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33483 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33484 for copies of such integer values.
33485 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33486 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33487
2c1adbcb
AJ
334882012-11-09 Andreas Jaeger <aj@suse.de>
33489
33490 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33491 definitions and declarations that are provided by
33492 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33493
d0f8457e
AK
334942012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33495
3a235abb 33496 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
33497 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33498 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33499 definition.
33500
57241e26
MS
335012012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33502
33503 * elf/elf.h: Update comment before AArch64 relocations.
33504
60e8270d
DM
335052012-11-07 David S. Miller <davem@davemloft.net>
33506
33507 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33508 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33509 (__start_context): Declare.
33510 (__makecontext_ret): Delete.
33511 (__makecontext): Hook up __start_context instead of
33512 __makecontext_ret.
33513 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33514 (sysdep_routines): Add __start_context when in stdlib.
33515
0fbb0fbc
JM
335162012-11-07 Joseph Myers <joseph@codesourcery.com>
33517
33518 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33519 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33520 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33521 hardcoded "nm".
33522 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33523 (READELF): New variable. Use it instead of hardcoded "readelf".
33524
eb48db7e
L
335252012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33526
33527 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33528 * sysdeps/x86/Makefile: Here.
33529 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33530 * sysdeps/x86/tst-xmmymm.sh: This.
33531
05bcf62a
JM
335322012-11-07 Joseph Myers <joseph@codesourcery.com>
33533
c4b6cf53
JM
33534 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33535 expectations.
33536 [UNIX98] (pthread_barrier_t): Do not expect.
33537 [UNIX98] (pthread_barrierattr_t): Likewise.
33538 [UNIX98] (pthread_spinlock_t): Likewise.
33539 [UNIX98] (pthread_barrier_destroy): Likewise.
33540 [UNIX98] (pthread_barrier_init): Likewise.
33541 [UNIX98] (pthread_barrier_wait): Likewise.
33542 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33543 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33544 [UNIX98] (pthread_barrierattr_init): Likewise.
33545 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33546 [UNIX98] (pthread_getcpuclockid): Likewise.
33547 [UNIX98] (pthread_mutex_timedlock): Likewise.
33548 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33549 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33550 [UNIX98] (pthread_sigmask): Likewise.
33551 [UNIX98] (pthread_spin_destroy): Likewise.
33552 [UNIX98] (pthread_spin_init): Likewise.
33553 [UNIX98] (pthread_spin_lock): Likewise.
33554 [UNIX98] (pthread_spin_trylock): Likewise.
33555 [UNIX98] (pthread_spin_unlock): Likewise.
33556 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33557 Do not expect.
33558 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33559 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33560 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33561 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33562 [XPG3 || XPG4] (pthread_key_t): Likewise.
33563 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33564 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33565 [XPG3 || XPG4] (pthread_once_t): Likewise.
33566 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33567 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33568 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33569 [XPG3 || XPG4] (pthread_t): Likewise.
33570
cbe6e120
JM
33571 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33572 not expect.
33573 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33574
1b126443
JM
33575 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33576 Change function return type to int.
33577
b961a573
JM
33578 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33579 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33580 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33581 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33582 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33583 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33584 [!POSIX] (posix_madvise): Likewise.
33585 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33586 && !UNIX98].
33587 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33588 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33589 (mode_t): Likewise.
33590 (posix_mem_offset): Likewise.
33591 (posix_typed_mem_get_info): Likewise.
33592 (posix_typed_mem_open): Likewise.
33593
9e188909
JM
33594 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33595 Change condition to [XOPEN2K8].
33596
05bcf62a
JM
33597 * conform/conformtest.pl: Preprocess allow-header data with -x c
33598 instead of from stdin.
33599 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33600 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33601 [C99-based standards] (cerfc): Likewise.
33602 [C99-based standards] (cexp2): Likewise.
33603 [C99-based standards] (cexpm1): Likewise.
33604 [C99-based standards] (clog10): Likewise.
33605 [C99-based standards] (clog1p): Likewise.
33606 [C99-based standards] (clog2): Likewise.
33607 [C99-based standards] (clgamma): Likewise.
33608 [C99-based standards] (ctgamma): Likewise.
33609 [C99-based standards] (cerff): Likewise.
33610 [C99-based standards] (cerfcf): Likewise.
33611 [C99-based standards] (cexp2f): Likewise.
33612 [C99-based standards] (cexpm1f): Likewise.
33613 [C99-based standards] (clog10f): Likewise.
33614 [C99-based standards] (clog1pf): Likewise.
33615 [C99-based standards] (clog2f): Likewise.
33616 [C99-based standards] (clgammaf): Likewise.
33617 [C99-based standards] (ctgammaf): Likewise.
33618 [C99-based standards] (cerfl): Likewise.
33619 [C99-based standards] (cerfcl): Likewise.
33620 [C99-based standards] (cexp2l): Likewise.
33621 [C99-based standards] (cexpm1l): Likewise.
33622 [C99-based standards] (clog10l): Likewise.
33623 [C99-based standards] (clog1pl): Likewise.
33624 [C99-based standards] (clog2l): Likewise.
33625 [C99-based standards] (clgammal): Likewise.
33626 [C99-based standards] (ctgammal): Likewise.
33627 * conform/data/inttypes.h-data [C99-based standards]: Include
33628 stdint.h-data. Remove all expectations for stdint.h contents.
33629 [C99-based standards] (PRI*): Do not allow.
33630 [C99-based standards] (SCN*): Likewise.
33631 [C99-based standards] (*_t): Likewise.
33632 [C99-based-standards] (PRId8): Expect macro.
33633 [C99-based-standards] (PRIi8): Likewise.
33634 [C99-based-standards] (PRIo8): Likewise.
33635 [C99-based-standards] (PRIu8): Likewise.
33636 [C99-based-standards] (PRIx8): Likewise.
33637 [C99-based-standards] (PRIX8): Likewise.
33638 [C99-based-standards] (SCNd8): Likewise.
33639 [C99-based-standards] (SCNi8): Likewise.
33640 [C99-based-standards] (SCNo8): Likewise.
33641 [C99-based-standards] (SCNu8): Likewise.
33642 [C99-based-standards] (SCNx8): Likewise.
33643 [C99-based-standards] (PRIdLEAST8): Likewise.
33644 [C99-based-standards] (PRIiLEAST8): Likewise.
33645 [C99-based-standards] (PRIoLEAST8): Likewise.
33646 [C99-based-standards] (PRIuLEAST8): Likewise.
33647 [C99-based-standards] (PRIxLEAST8): Likewise.
33648 [C99-based-standards] (PRIXLEAST8): Likewise.
33649 [C99-based-standards] (SCNdLEAST8): Likewise.
33650 [C99-based-standards] (SCNiLEAST8): Likewise.
33651 [C99-based-standards] (SCNoLEAST8): Likewise.
33652 [C99-based-standards] (SCNuLEAST8): Likewise.
33653 [C99-based-standards] (SCNxLEAST8): Likewise.
33654 [C99-based-standards] (PRIdFAST8): Likewise.
33655 [C99-based-standards] (PRIiFAST8): Likewise.
33656 [C99-based-standards] (PRIoFAST8): Likewise.
33657 [C99-based-standards] (PRIuFAST8): Likewise.
33658 [C99-based-standards] (PRIxFAST8): Likewise.
33659 [C99-based-standards] (PRIXFAST8): Likewise.
33660 [C99-based-standards] (SCNdFAST8): Likewise.
33661 [C99-based-standards] (SCNiFAST8): Likewise.
33662 [C99-based-standards] (SCNoFAST8): Likewise.
33663 [C99-based-standards] (SCNuFAST8): Likewise.
33664 [C99-based-standards] (SCNxFAST8): Likewise.
33665 [C99-based-standards] (PRId16): Likewise.
33666 [C99-based-standards] (PRIi16): Likewise.
33667 [C99-based-standards] (PRIo16): Likewise.
33668 [C99-based-standards] (PRIu16): Likewise.
33669 [C99-based-standards] (PRIx16): Likewise.
33670 [C99-based-standards] (PRIX16): Likewise.
33671 [C99-based-standards] (SCNd16): Likewise.
33672 [C99-based-standards] (SCNi16): Likewise.
33673 [C99-based-standards] (SCNo16): Likewise.
33674 [C99-based-standards] (SCNu16): Likewise.
33675 [C99-based-standards] (SCNx16): Likewise.
33676 [C99-based-standards] (PRIdLEAST16): Likewise.
33677 [C99-based-standards] (PRIiLEAST16): Likewise.
33678 [C99-based-standards] (PRIoLEAST16): Likewise.
33679 [C99-based-standards] (PRIuLEAST16): Likewise.
33680 [C99-based-standards] (PRIxLEAST16): Likewise.
33681 [C99-based-standards] (PRIXLEAST16): Likewise.
33682 [C99-based-standards] (SCNdLEAST16): Likewise.
33683 [C99-based-standards] (SCNiLEAST16): Likewise.
33684 [C99-based-standards] (SCNoLEAST16): Likewise.
33685 [C99-based-standards] (SCNuLEAST16): Likewise.
33686 [C99-based-standards] (SCNxLEAST16): Likewise.
33687 [C99-based-standards] (PRIdFAST16): Likewise.
33688 [C99-based-standards] (PRIiFAST16): Likewise.
33689 [C99-based-standards] (PRIoFAST16): Likewise.
33690 [C99-based-standards] (PRIuFAST16): Likewise.
33691 [C99-based-standards] (PRIxFAST16): Likewise.
33692 [C99-based-standards] (PRIXFAST16): Likewise.
33693 [C99-based-standards] (SCNdFAST16): Likewise.
33694 [C99-based-standards] (SCNiFAST16): Likewise.
33695 [C99-based-standards] (SCNoFAST16): Likewise.
33696 [C99-based-standards] (SCNuFAST16): Likewise.
33697 [C99-based-standards] (SCNxFAST16): Likewise.
33698 [C99-based-standards] (PRId32): Likewise.
33699 [C99-based-standards] (PRIi32): Likewise.
33700 [C99-based-standards] (PRIo32): Likewise.
33701 [C99-based-standards] (PRIu32): Likewise.
33702 [C99-based-standards] (PRIx32): Likewise.
33703 [C99-based-standards] (PRIX32): Likewise.
33704 [C99-based-standards] (SCNd32): Likewise.
33705 [C99-based-standards] (SCNi32): Likewise.
33706 [C99-based-standards] (SCNo32): Likewise.
33707 [C99-based-standards] (SCNu32): Likewise.
33708 [C99-based-standards] (SCNx32): Likewise.
33709 [C99-based-standards] (PRIdLEAST32): Likewise.
33710 [C99-based-standards] (PRIiLEAST32): Likewise.
33711 [C99-based-standards] (PRIoLEAST32): Likewise.
33712 [C99-based-standards] (PRIuLEAST32): Likewise.
33713 [C99-based-standards] (PRIxLEAST32): Likewise.
33714 [C99-based-standards] (PRIXLEAST32): Likewise.
33715 [C99-based-standards] (SCNdLEAST32): Likewise.
33716 [C99-based-standards] (SCNiLEAST32): Likewise.
33717 [C99-based-standards] (SCNoLEAST32): Likewise.
33718 [C99-based-standards] (SCNuLEAST32): Likewise.
33719 [C99-based-standards] (SCNxLEAST32): Likewise.
33720 [C99-based-standards] (PRIdFAST32): Likewise.
33721 [C99-based-standards] (PRIiFAST32): Likewise.
33722 [C99-based-standards] (PRIoFAST32): Likewise.
33723 [C99-based-standards] (PRIuFAST32): Likewise.
33724 [C99-based-standards] (PRIxFAST32): Likewise.
33725 [C99-based-standards] (PRIXFAST32): Likewise.
33726 [C99-based-standards] (SCNdFAST32): Likewise.
33727 [C99-based-standards] (SCNiFAST32): Likewise.
33728 [C99-based-standards] (SCNoFAST32): Likewise.
33729 [C99-based-standards] (SCNuFAST32): Likewise.
33730 [C99-based-standards] (SCNxFAST32): Likewise.
33731 [C99-based-standards] (PRId64): Likewise.
33732 [C99-based-standards] (PRIi64): Likewise.
33733 [C99-based-standards] (PRIo64): Likewise.
33734 [C99-based-standards] (PRIu64): Likewise.
33735 [C99-based-standards] (PRIx64): Likewise.
33736 [C99-based-standards] (PRIX64): Likewise.
33737 [C99-based-standards] (SCNd64): Likewise.
33738 [C99-based-standards] (SCNi64): Likewise.
33739 [C99-based-standards] (SCNo64): Likewise.
33740 [C99-based-standards] (SCNu64): Likewise.
33741 [C99-based-standards] (SCNx64): Likewise.
33742 [C99-based-standards] (PRIdLEAST64): Likewise.
33743 [C99-based-standards] (PRIiLEAST64): Likewise.
33744 [C99-based-standards] (PRIoLEAST64): Likewise.
33745 [C99-based-standards] (PRIuLEAST64): Likewise.
33746 [C99-based-standards] (PRIxLEAST64): Likewise.
33747 [C99-based-standards] (PRIXLEAST64): Likewise.
33748 [C99-based-standards] (SCNdLEAST64): Likewise.
33749 [C99-based-standards] (SCNiLEAST64): Likewise.
33750 [C99-based-standards] (SCNoLEAST64): Likewise.
33751 [C99-based-standards] (SCNuLEAST64): Likewise.
33752 [C99-based-standards] (SCNxLEAST64): Likewise.
33753 [C99-based-standards] (PRIdFAST64): Likewise.
33754 [C99-based-standards] (PRIiFAST64): Likewise.
33755 [C99-based-standards] (PRIoFAST64): Likewise.
33756 [C99-based-standards] (PRIuFAST64): Likewise.
33757 [C99-based-standards] (PRIxFAST64): Likewise.
33758 [C99-based-standards] (PRIXFAST64): Likewise.
33759 [C99-based-standards] (SCNdFAST64): Likewise.
33760 [C99-based-standards] (SCNiFAST64): Likewise.
33761 [C99-based-standards] (SCNoFAST64): Likewise.
33762 [C99-based-standards] (SCNuFAST64): Likewise.
33763 [C99-based-standards] (SCNxFAST64): Likewise.
33764 [C99-based-standards] (PRIdMAX): Likewise.
33765 [C99-based-standards] (PRIiMAX): Likewise.
33766 [C99-based-standards] (PRIoMAX): Likewise.
33767 [C99-based-standards] (PRIuMAX): Likewise.
33768 [C99-based-standards] (PRIxMAX): Likewise.
33769 [C99-based-standards] (PRIXMAX): Likewise.
33770 [C99-based-standards] (SCNdMAX): Likewise.
33771 [C99-based-standards] (SCNiMAX): Likewise.
33772 [C99-based-standards] (SCNoMAX): Likewise.
33773 [C99-based-standards] (SCNuMAX): Likewise.
33774 [C99-based-standards] (SCNxMAX): Likewise.
33775 [C99-based-standards] (PRIdPTR): Likewise.
33776 [C99-based-standards] (PRIiPTR): Likewise.
33777 [C99-based-standards] (PRIoPTR): Likewise.
33778 [C99-based-standards] (PRIuPTR): Likewise.
33779 [C99-based-standards] (PRIxPTR): Likewise.
33780 [C99-based-standards] (PRIXPTR): Likewise.
33781 [C99-based-standards] (SCNdPTR): Likewise.
33782 [C99-based-standards] (SCNiPTR): Likewise.
33783 [C99-based-standards] (SCNoPTR): Likewise.
33784 [C99-based-standards] (SCNuPTR): Likewise.
33785 [C99-based-standards] (SCNxPTR): Likewise.
33786 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33787 allow.
33788 * conform/data/stdint.h-data: Update comments to clarify
33789 requirements.
33790 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33791 type.
33792 [C99-based standards] (INT8_MAX): Likewise.
33793 [C99-based standards] (INT16_MIN): Likewise.
33794 [C99-based standards] (INT16_MAX): Likewise.
33795 [C99-based standards] (INT32_MIN): Likewise.
33796 [C99-based standards] (INT32_MAX): Likewise.
33797 [C99-based standards] (INT64_MIN): Likewise.
33798 [C99-based standards] (INT64_MAX): Likewise.
33799 [C99-based standards] (UINT8_MAX): Likewise.
33800 [C99-based standards] (UINT16_MAX): Likewise.
33801 [C99-based standards] (UINT32_MAX): Likewise.
33802 [C99-based standards] (UINT64_MAX): Likewise.
33803 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33804 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33805 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33806 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33807 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33808 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33809 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33810 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33811 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33812 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33813 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33814 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33815 [C99-based standards] (INT_FAST8_MIN): Likewise.
33816 [C99-based standards] (INT_FAST8_MAX): Likewise.
33817 [C99-based standards] (INT_FAST16_MIN): Likewise.
33818 [C99-based standards] (INT_FAST16_MAX): Likewise.
33819 [C99-based standards] (INT_FAST32_MIN): Likewise.
33820 [C99-based standards] (INT_FAST32_MAX): Likewise.
33821 [C99-based standards] (INT_FAST64_MIN): Likewise.
33822 [C99-based standards] (INT_FAST64_MAX): Likewise.
33823 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33824 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33825 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33826 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33827 [C99-based standards] (INTPTR_MIN): Likewise.
33828 [C99-based standards] (INTPTR_MAX): Likewise.
33829 [C99-based standards] (UINTPTR_MAX): Likewise.
33830 [C99-based standards] (INTMAX_MIN): Likewise.
33831 [C99-based standards] (INTMAX_MAX): Likewise.
33832 [C99-based standards] (UINTMAX_MAX): Likewise.
33833 [C99-based standards] (PTRDIFF_MIN): Likewise.
33834 [C99-based standards] (PTRDIFF_MAX): Likewise.
33835 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33836 [C99-based standards] (SIZE_MAX): Likewise.
33837 [C99-based standards] (WCHAR_MAX): Likewise.
33838 [C99-based standards] (WINT_MAX): Likewise.
33839 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33840 constraint on value.
33841 [C99-based standards] (WCHAR_MIN): Likewise.
33842 [C99-based standards] (WINT_MIN): Likewise.
33843 [C99-based standards] (*_t): Allow.
33844 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33845 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33846 Include math.h-data and complex.h-data. Remove all expectations
33847 of math.h and complex.h contents.
33848 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33849 at end of line.
33850 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33851 (struct tm): Expect tag.
33852 [C99-based-standards] (wcstof): Expect function.
33853 [C99-based-standards] (wcstold): Likewise.
33854 [C99-based-standards] (wcstoll): Likewise.
33855 [C99-based-standards] (wcstoull): Likewise.
33856 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33857 macro-int-constant. Specify type.
33858 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33859 constraint on value.
33860 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33861 Specify type.
33862 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33863 Specify value.
33864 [ISO C standards]: Do not allow headers.
33865 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33866 wcs[abcdefghijklmnopqrstuvwxyz]*.
33867 [ISO C standards] (*_t): Do not allow.
33868 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33869 Expect function.
33870 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33871 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33872 Specify type.
33873 [ISO C standards]: Do not allow headers.
33874 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33875 is[abcdefghijklmnopqrstuvwxyz]*.
33876 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33877 to[abcdefghijklmnopqrstuvwxyz]*.
33878 [ISO C standards] (*_t): Do not allow.
33879 * conform/data/stdalign.h-data: New file.
33880 * conform/data/stdbool.h-data: Likewise.
33881 * conform/data/stdnoreturn.h-data: Likewise.
33882
7514feb8
RM
338832012-11-07 Roland McGrath <roland@hack.frob.com>
33884
33885 [BZ #14815]
33886 * manual/filesys.texi (Directory Entries): Typo fix.
33887 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33888
19b2ecfc
MS
338892012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33890
33891 * elf/elf.h (EM_AARCH64): New macro.
33892 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33893 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33894 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33895 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33896 (R_AARCH64_TLSDESC): Likewise.
33897 (NT_ARM_TLS): Likewise.
33898 (NT_ARM_HW_BREAK): Likewise.
33899 (NT_ARM_HW_WATCH): Likewise.
33900
60e235ee
JM
339012012-11-07 Joseph Myers <joseph@codesourcery.com>
33902
33903 [BZ #14811]
33904 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33905 (__ieee754_powl): Saturate nonzero exponents with absolute value
33906 below 0x1p-79 to +/- 0x1p-79.
33907 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33908 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33909 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33910 nonzero exponents with absolute value below 0x1p-32 to +/-
33911 0x1p-32.
33912 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33913 (__ieee754_powl): Saturate nonzero exponents with absolute value
33914 below 0x1p-79 to +/- 0x1p-79.
33915 * math/libm-test.inc (pow_test): Add more tests.
33916
0ab234b7
AK
339172012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33918
33919 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33920 _dl_s390_cap_flags with kernel. Increase string length.
33921 (_dl_s390_platforms): Add z196 and zEC12.
33922
45832f74
JM
339232012-11-07 Joseph Myers <joseph@codesourcery.com>
33924
33925 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33926 Change XOPEN21K to XOPEN2K.
33927
19218757
MK
339282012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33929
33930 * string/memmove.c: Use memcpy when possible.
33931
c5f45721
AJ
339322012-11-06 Andreas Jaeger <aj@suse.de>
33933
33934 * po/eo.po: Update from translation team.
33935
82477c28
JM
339362012-11-06 Joseph Myers <joseph@codesourcery.com>
33937
33938 [BZ #14793]
33939 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33940 exponent and small x and y exponents, scale x or y up. Increase
33941 by 2 the exponent used in scaling up.
33942 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33943 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33944 * math/libm-test.inc (fma_test): Add more tests.
33945 (fma_test_towardzero): Likewise.
33946 (fma_test_downward): Likewise.
33947 (fma_test_upward): Likewise.
33948
99252c8c
JM
339492012-11-05 Joseph Myers <joseph@codesourcery.com>
33950
acfa885f
JM
33951 [BZ #14805]
33952 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33953 fenv_t *.
33954
99252c8c
JM
33955 [BZ #14801]
33956 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33957 namespace for names of struct fields.
33958 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33959 fenv_t fields.
33960 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33961 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33962
d6d98dea
ST
339632012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33964
33965 [BZ #3665]
33966 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33967
e10bb107
TS
339682012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33969
33970 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33971 PTR_DEMANGLE.
33972
33973 [BZ #5246]
33974 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33975 PTR_DEMANGLE.
33976
a0c2940d
JM
339772012-11-04 Joseph Myers <joseph@codesourcery.com>
33978
33979 [BZ #14797]
33980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33981 definitely overflow as x * y not x * y + z.
33982 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33983 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33984 * math/libm-test.inc (fma_test): Add more tests.
33985 (fma_test_towardzero): Likewise.
33986 (fma_test_downward): Likewise.
33987 (fma_test_upward): Likewise.
33988
b830319d
TS
339892012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33990
33991 [BZ #157]
33992
33993 * include/stub-tag.h: Remove file.
33994 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33995 '#include' of it.
33996 * manual/maint.texi (Porting): Don't reference it.
33997 * Makerules ($(objpfx)stubs): Likewise.
33998 * dirent/closedir.c: Don't include <stub-tag.h>.
33999 * dirent/dirfd.c: Likewise.
34000 * dirent/fdopendir.c: Likewise.
34001 * dirent/getdents.c: Likewise.
34002 * dirent/getdents64.c: Likewise.
34003 * dirent/opendir.c: Likewise.
34004 * dirent/readdir.c: Likewise.
34005 * dirent/readdir64.c: Likewise.
34006 * dirent/readdir64_r.c: Likewise.
34007 * dirent/readdir_r.c: Likewise.
34008 * dirent/rewinddir.c: Likewise.
34009 * dirent/seekdir.c: Likewise.
34010 * dirent/telldir.c: Likewise.
34011 * gmon/profil.c: Likewise.
34012 * grp/setgroups.c: Likewise.
34013 * inet/if_index.c: Likewise.
34014 * io/access.c: Likewise.
34015 * io/chdir.c: Likewise.
34016 * io/chmod.c: Likewise.
34017 * io/chown.c: Likewise.
34018 * io/close.c: Likewise.
34019 * io/dup.c: Likewise.
34020 * io/dup2.c: Likewise.
34021 * io/dup3.c: Likewise.
34022 * io/euidaccess.c: Likewise.
34023 * io/faccessat.c: Likewise.
34024 * io/fchdir.c: Likewise.
34025 * io/fchmod.c: Likewise.
34026 * io/fchmodat.c: Likewise.
34027 * io/fchown.c: Likewise.
34028 * io/fchownat.c: Likewise.
34029 * io/fcntl.c: Likewise.
34030 * io/flock.c: Likewise.
34031 * io/fstatfs.c: Likewise.
34032 * io/fstatfs64.c: Likewise.
34033 * io/fstatvfs.c: Likewise.
34034 * io/fstatvfs64.c: Likewise.
34035 * io/futimens.c: Likewise.
34036 * io/fxstat.c: Likewise.
34037 * io/fxstat64.c: Likewise.
34038 * io/fxstatat.c: Likewise.
34039 * io/fxstatat64.c: Likewise.
34040 * io/getcwd.c: Likewise.
34041 * io/isatty.c: Likewise.
34042 * io/lchmod.c: Likewise.
34043 * io/lchown.c: Likewise.
34044 * io/link.c: Likewise.
34045 * io/linkat.c: Likewise.
34046 * io/lseek.c: Likewise.
34047 * io/lseek64.c: Likewise.
34048 * io/lxstat64.c: Likewise.
34049 * io/mkdir.c: Likewise.
34050 * io/mkdirat.c: Likewise.
34051 * io/mkfifo.c: Likewise.
34052 * io/mkfifoat.c: Likewise.
34053 * io/open.c: Likewise.
34054 * io/open64.c: Likewise.
34055 * io/openat.c: Likewise.
34056 * io/openat64.c: Likewise.
34057 * io/pipe.c: Likewise.
34058 * io/pipe2.c: Likewise.
34059 * io/poll.c: Likewise.
34060 * io/posix_fadvise.c: Likewise.
34061 * io/posix_fadvise64.c: Likewise.
34062 * io/posix_fallocate.c: Likewise.
34063 * io/posix_fallocate64.c: Likewise.
34064 * io/read.c: Likewise.
34065 * io/readlink.c: Likewise.
34066 * io/readlinkat.c: Likewise.
34067 * io/rmdir.c: Likewise.
34068 * io/sendfile.c: Likewise.
34069 * io/sendfile64.c: Likewise.
34070 * io/statfs.c: Likewise.
34071 * io/statfs64.c: Likewise.
34072 * io/statvfs.c: Likewise.
34073 * io/statvfs64.c: Likewise.
34074 * io/symlink.c: Likewise.
34075 * io/symlinkat.c: Likewise.
34076 * io/ttyname.c: Likewise.
34077 * io/ttyname_r.c: Likewise.
34078 * io/umask.c: Likewise.
34079 * io/unlink.c: Likewise.
34080 * io/unlinkat.c: Likewise.
34081 * io/utime.c: Likewise.
34082 * io/utimensat.c: Likewise.
34083 * io/write.c: Likewise.
34084 * io/xmknod.c: Likewise.
34085 * io/xmknodat.c: Likewise.
34086 * io/xstat.c: Likewise.
34087 * io/xstat64.c: Likewise.
34088 * login/getpt.c: Likewise.
34089 * login/grantpt.c: Likewise.
34090 * login/unlockpt.c: Likewise.
34091 * math/e_acoshl.c: Likewise.
34092 * math/e_acosl.c: Likewise.
34093 * math/e_asinl.c: Likewise.
34094 * math/e_atan2l.c: Likewise.
34095 * math/e_atanhl.c: Likewise.
34096 * math/e_coshl.c: Likewise.
34097 * math/e_expl.c: Likewise.
34098 * math/e_fmodl.c: Likewise.
34099 * math/e_gammal_r.c: Likewise.
34100 * math/e_hypotl.c: Likewise.
34101 * math/e_j0l.c: Likewise.
34102 * math/e_j1l.c: Likewise.
34103 * math/e_jnl.c: Likewise.
34104 * math/e_lgammal_r.c: Likewise.
34105 * math/e_log10l.c: Likewise.
34106 * math/e_log2l.c: Likewise.
34107 * math/e_logl.c: Likewise.
34108 * math/e_powl.c: Likewise.
34109 * math/e_rem_pio2l.c: Likewise.
34110 * math/e_sinhl.c: Likewise.
34111 * math/e_sqrtl.c: Likewise.
34112 * math/fclrexcpt.c: Likewise.
34113 * math/fedisblxcpt.c: Likewise.
34114 * math/feenablxcpt.c: Likewise.
34115 * math/fegetenv.c: Likewise.
34116 * math/fegetexcept.c: Likewise.
34117 * math/fegetround.c: Likewise.
34118 * math/feholdexcpt.c: Likewise.
34119 * math/fesetenv.c: Likewise.
34120 * math/fesetround.c: Likewise.
34121 * math/feupdateenv.c: Likewise.
34122 * math/fgetexcptflg.c: Likewise.
34123 * math/fraiseexcpt.c: Likewise.
34124 * math/fsetexcptflg.c: Likewise.
34125 * math/ftestexcept.c: Likewise.
34126 * math/k_cosl.c: Likewise.
34127 * math/k_rem_pio2l.c: Likewise.
34128 * math/k_sinl.c: Likewise.
34129 * math/k_tanl.c: Likewise.
34130 * math/s_asinhl.c: Likewise.
34131 * math/s_atanl.c: Likewise.
34132 * math/s_cbrtl.c: Likewise.
34133 * math/s_erfl.c: Likewise.
34134 * math/s_expm1l.c: Likewise.
34135 * math/s_log1pl.c: Likewise.
34136 * math/s_tanhl.c: Likewise.
34137 * misc/acct.c: Likewise.
34138 * misc/brk.c: Likewise.
34139 * misc/chflags.c: Likewise.
34140 * misc/chroot.c: Likewise.
34141 * misc/fchflags.c: Likewise.
34142 * misc/fgetxattr.c: Likewise.
34143 * misc/flistxattr.c: Likewise.
34144 * misc/fremovexattr.c: Likewise.
34145 * misc/fsetxattr.c: Likewise.
34146 * misc/fsync.c: Likewise.
34147 * misc/ftruncate.c: Likewise.
34148 * misc/futimes.c: Likewise.
34149 * misc/futimesat.c: Likewise.
34150 * misc/getdomain.c: Likewise.
34151 * misc/getdtsz.c: Likewise.
34152 * misc/gethostid.c: Likewise.
34153 * misc/gethostname.c: Likewise.
34154 * misc/getloadavg.c: Likewise.
34155 * misc/getpagesize.c: Likewise.
34156 * misc/getsysstats.c: Likewise.
34157 * misc/getxattr.c: Likewise.
34158 * misc/gtty.c: Likewise.
34159 * misc/ioctl.c: Likewise.
34160 * misc/lgetxattr.c: Likewise.
34161 * misc/listxattr.c: Likewise.
34162 * misc/llistxattr.c: Likewise.
34163 * misc/lremovexattr.c: Likewise.
34164 * misc/lsetxattr.c: Likewise.
34165 * misc/lutimes.c: Likewise.
34166 * misc/madvise.c: Likewise.
34167 * misc/mincore.c: Likewise.
34168 * misc/mlock.c: Likewise.
34169 * misc/mlockall.c: Likewise.
34170 * misc/mmap.c: Likewise.
34171 * misc/mprotect.c: Likewise.
34172 * misc/msync.c: Likewise.
34173 * misc/munlock.c: Likewise.
34174 * misc/munlockall.c: Likewise.
34175 * misc/munmap.c: Likewise.
34176 * misc/preadv.c: Likewise.
34177 * misc/preadv64.c: Likewise.
34178 * misc/ptrace.c: Likewise.
34179 * misc/pwritev.c: Likewise.
34180 * misc/pwritev64.c: Likewise.
34181 * misc/readv.c: Likewise.
34182 * misc/reboot.c: Likewise.
34183 * misc/remap_file_pages.c: Likewise.
34184 * misc/removexattr.c: Likewise.
34185 * misc/revoke.c: Likewise.
34186 * misc/select.c: Likewise.
34187 * misc/setdomain.c: Likewise.
34188 * misc/setegid.c: Likewise.
34189 * misc/seteuid.c: Likewise.
34190 * misc/sethostid.c: Likewise.
34191 * misc/sethostname.c: Likewise.
34192 * misc/setregid.c: Likewise.
34193 * misc/setreuid.c: Likewise.
34194 * misc/setxattr.c: Likewise.
34195 * misc/sstk.c: Likewise.
34196 * misc/stty.c: Likewise.
34197 * misc/swapoff.c: Likewise.
34198 * misc/swapon.c: Likewise.
34199 * misc/sync.c: Likewise.
34200 * misc/syncfs.c: Likewise.
34201 * misc/syscall.c: Likewise.
34202 * misc/truncate.c: Likewise.
34203 * misc/ualarm.c: Likewise.
34204 * misc/usleep.c: Likewise.
34205 * misc/ustat.c: Likewise.
34206 * misc/utimes.c: Likewise.
34207 * misc/vhangup.c: Likewise.
34208 * misc/writev.c: Likewise.
34209 * posix/_exit.c: Likewise.
34210 * posix/alarm.c: Likewise.
34211 * posix/execve.c: Likewise.
34212 * posix/fexecve.c: Likewise.
34213 * posix/fork.c: Likewise.
34214 * posix/fpathconf.c: Likewise.
34215 * posix/getaddrinfo.c: Likewise.
34216 * posix/getegid.c: Likewise.
34217 * posix/geteuid.c: Likewise.
34218 * posix/getgid.c: Likewise.
34219 * posix/getgroups.c: Likewise.
34220 * posix/getlogin.c: Likewise.
34221 * posix/getlogin_r.c: Likewise.
34222 * posix/getpgid.c: Likewise.
34223 * posix/getpid.c: Likewise.
34224 * posix/getppid.c: Likewise.
34225 * posix/getresgid.c: Likewise.
34226 * posix/getresuid.c: Likewise.
34227 * posix/getsid.c: Likewise.
34228 * posix/getuid.c: Likewise.
34229 * posix/glob64.c: Likewise.
34230 * posix/nanosleep.c: Likewise.
34231 * posix/pathconf.c: Likewise.
34232 * posix/pause.c: Likewise.
34233 * posix/posix_madvise.c: Likewise.
34234 * posix/pread.c: Likewise.
34235 * posix/pread64.c: Likewise.
34236 * posix/pwrite.c: Likewise.
34237 * posix/pwrite64.c: Likewise.
34238 * posix/sched_getaffinity.c: Likewise.
34239 * posix/sched_getp.c: Likewise.
34240 * posix/sched_gets.c: Likewise.
34241 * posix/sched_primax.c: Likewise.
34242 * posix/sched_primin.c: Likewise.
34243 * posix/sched_rr_gi.c: Likewise.
34244 * posix/sched_setaffinity.c: Likewise.
34245 * posix/sched_setp.c: Likewise.
34246 * posix/sched_sets.c: Likewise.
34247 * posix/sched_yield.c: Likewise.
34248 * posix/setgid.c: Likewise.
34249 * posix/setlogin.c: Likewise.
34250 * posix/setpgid.c: Likewise.
34251 * posix/setresgid.c: Likewise.
34252 * posix/setresuid.c: Likewise.
34253 * posix/setsid.c: Likewise.
34254 * posix/setuid.c: Likewise.
34255 * posix/sleep.c: Likewise.
34256 * posix/spawni.c: Likewise.
34257 * posix/sysconf.c: Likewise.
34258 * posix/times.c: Likewise.
34259 * posix/wait.c: Likewise.
34260 * posix/wait3.c: Likewise.
34261 * posix/wait4.c: Likewise.
34262 * posix/waitpid.c: Likewise.
34263 * resolv/gai_sigqueue.c: Likewise.
34264 * resource/getpriority.c: Likewise.
34265 * resource/getrlimit.c: Likewise.
34266 * resource/getrusage.c: Likewise.
34267 * resource/nice.c: Likewise.
34268 * resource/setpriority.c: Likewise.
34269 * resource/setrlimit.c: Likewise.
34270 * resource/ulimit.c: Likewise.
34271 * rt/aio_cancel.c: Likewise.
34272 * rt/aio_fsync.c: Likewise.
34273 * rt/aio_read.c: Likewise.
34274 * rt/aio_sigqueue.c: Likewise.
34275 * rt/aio_suspend.c: Likewise.
34276 * rt/aio_write.c: Likewise.
34277 * rt/clock_getres.c: Likewise.
34278 * rt/clock_gettime.c: Likewise.
34279 * rt/clock_nanosleep.c: Likewise.
34280 * rt/clock_settime.c: Likewise.
34281 * rt/lio_listio.c: Likewise.
34282 * rt/mq_close.c: Likewise.
34283 * rt/mq_getattr.c: Likewise.
34284 * rt/mq_notify.c: Likewise.
34285 * rt/mq_open.c: Likewise.
34286 * rt/mq_receive.c: Likewise.
34287 * rt/mq_send.c: Likewise.
34288 * rt/mq_setattr.c: Likewise.
34289 * rt/mq_timedreceive.c: Likewise.
34290 * rt/mq_timedsend.c: Likewise.
34291 * rt/mq_unlink.c: Likewise.
34292 * rt/shm_open.c: Likewise.
34293 * rt/shm_unlink.c: Likewise.
34294 * rt/timer_create.c: Likewise.
34295 * rt/timer_delete.c: Likewise.
34296 * rt/timer_getoverr.c: Likewise.
34297 * rt/timer_gettime.c: Likewise.
34298 * rt/timer_settime.c: Likewise.
34299 * setjmp/__longjmp.c: Likewise.
34300 * setjmp/setjmp.c: Likewise.
34301 * signal/kill.c: Likewise.
34302 * signal/killpg.c: Likewise.
34303 * signal/raise.c: Likewise.
34304 * signal/sigaction.c: Likewise.
34305 * signal/sigaltstack.c: Likewise.
34306 * signal/sigblock.c: Likewise.
34307 * signal/sigignore.c: Likewise.
34308 * signal/sigintr.c: Likewise.
34309 * signal/signal.c: Likewise.
34310 * signal/sigpause.c: Likewise.
34311 * signal/sigpending.c: Likewise.
34312 * signal/sigqueue.c: Likewise.
34313 * signal/sigreturn.c: Likewise.
34314 * signal/sigset.c: Likewise.
34315 * signal/sigsetmask.c: Likewise.
34316 * signal/sigstack.c: Likewise.
34317 * signal/sigsuspend.c: Likewise.
34318 * signal/sigtimedwait.c: Likewise.
34319 * signal/sigvec.c: Likewise.
34320 * signal/sigwait.c: Likewise.
34321 * signal/sigwaitinfo.c: Likewise.
34322 * signal/sysv_signal.c: Likewise.
34323 * socket/accept.c: Likewise.
34324 * socket/accept4.c: Likewise.
34325 * socket/bind.c: Likewise.
34326 * socket/connect.c: Likewise.
34327 * socket/getpeername.c: Likewise.
34328 * socket/getsockname.c: Likewise.
34329 * socket/getsockopt.c: Likewise.
34330 * socket/isfdtype.c: Likewise.
34331 * socket/listen.c: Likewise.
34332 * socket/recv.c: Likewise.
34333 * socket/recvfrom.c: Likewise.
34334 * socket/recvmsg.c: Likewise.
34335 * socket/send.c: Likewise.
34336 * socket/sendmsg.c: Likewise.
34337 * socket/sendto.c: Likewise.
34338 * socket/setsockopt.c: Likewise.
34339 * socket/shutdown.c: Likewise.
34340 * socket/sockatmark.c: Likewise.
34341 * socket/socket.c: Likewise.
34342 * socket/socketpair.c: Likewise.
34343 * stdio-common/ctermid.c: Likewise.
34344 * stdio-common/cuserid.c: Likewise.
34345 * stdio-common/remove.c: Likewise.
34346 * stdio-common/rename.c: Likewise.
34347 * stdio-common/renameat.c: Likewise.
34348 * stdio-common/tempname.c: Likewise.
34349 * stdlib/getcontext.c: Likewise.
34350 * stdlib/makecontext.c: Likewise.
34351 * stdlib/setcontext.c: Likewise.
34352 * stdlib/swapcontext.c: Likewise.
34353 * stdlib/system.c: Likewise.
34354 * streams/fattach.c: Likewise.
34355 * streams/fdetach.c: Likewise.
34356 * streams/getmsg.c: Likewise.
34357 * streams/getpmsg.c: Likewise.
34358 * streams/putmsg.c: Likewise.
34359 * streams/putpmsg.c: Likewise.
34360 * sysdeps/unix/bsd/getpt.c: Likewise.
34361 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34362 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34363 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34365 Likewise.
34366 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34367 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34368 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34369 * sysvipc/msgctl.c: Likewise.
34370 * sysvipc/msgget.c: Likewise.
34371 * sysvipc/msgrcv.c: Likewise.
34372 * sysvipc/msgsnd.c: Likewise.
34373 * sysvipc/semctl.c: Likewise.
34374 * sysvipc/semget.c: Likewise.
34375 * sysvipc/semop.c: Likewise.
34376 * sysvipc/semtimedop.c: Likewise.
34377 * sysvipc/shmat.c: Likewise.
34378 * sysvipc/shmctl.c: Likewise.
34379 * sysvipc/shmdt.c: Likewise.
34380 * sysvipc/shmget.c: Likewise.
34381 * termios/tcdrain.c: Likewise.
34382 * termios/tcflow.c: Likewise.
34383 * termios/tcflush.c: Likewise.
34384 * termios/tcgetattr.c: Likewise.
34385 * termios/tcgetpgrp.c: Likewise.
34386 * termios/tcsendbrk.c: Likewise.
34387 * termios/tcsetattr.c: Likewise.
34388 * termios/tcsetpgrp.c: Likewise.
34389 * time/adjtime.c: Likewise.
34390 * time/clock.c: Likewise.
34391 * time/getitimer.c: Likewise.
34392 * time/gettimeofday.c: Likewise.
34393 * time/setitimer.c: Likewise.
34394 * time/settimeofday.c: Likewise.
34395 * time/stime.c: Likewise.
34396 * time/time.c: Likewise.
34397
343982012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 34399
a20492cf
PT
34400 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34401 /usr/old/bin.
34402
72e182e3
PT
34403 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34404 instead of spaces.
34405 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34406
fbeafede
JM
344072012-11-03 Joseph Myers <joseph@codesourcery.com>
34408
5b5b04d6
JM
34409 [BZ #14796]
34410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34411 FE_TONEAREST before applying Dekker multiplication and Knuth
34412 addition. Clear inexact exceptions and check for exact zero
34413 results afterwards.
34414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34415 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34416 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34417 * math/libm-test.inc (fma_test): Add more tests.
34418 (fma_test_towardzero): Likewise.
34419 (fma_test_downward): Likewise.
34420 (fma_test_upward): Likewise.
34421 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34422 function.
34423 (libc_fesetround): New macro.
34424 (libc_fesetroundf): Likewise.
34425 (libc_fesetroundl): Likewise.
34426 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34427 function.
34428 (libc_fesetround_387): Likewise.
34429 (libc_fesetroundf): New macro.
34430 (libc_fesetround): Likewise.
34431 (libc_fesetroundl): Likewise.
34432 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34433 function.
34434 (libc_fesetroundf): New macro.
34435 (libc_fesetround): Likewise.
34436 (libc_fesetroundl): Likewise.
34437 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34438 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34439 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34440 libm_hidden_ver.
34441 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34442 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34443 libm_hidden_def.
34444 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34445 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34446 libm_hidden_ver.
34447 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34448 libm_hidden_def.
34449
fbeafede
JM
34450 [BZ #3439]
34451 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34452 integer constant usable in #if and use that to give value to enum
34453 constant.
34454 (FE_DIVBYZERO): Likewise.
34455 (FE_UNDERFLOW): Likewise.
34456 (FE_OVERFLOW): Likewise.
34457 (FE_INVALID): Likewise.
34458 (FE_INVALID_SNAN): Likewise.
34459 (FE_INVALID_ISI): Likewise.
34460 (FE_INVALID_IDI): Likewise.
34461 (FE_INVALID_ZDZ): Likewise.
34462 (FE_INVALID_IMZ): Likewise.
34463 (FE_INVALID_COMPARE): Likewise.
34464 (FE_INVALID_SOFTWARE): Likewise.
34465 (FE_INVALID_SQRT): Likewise.
34466 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34467 (FE_TONEAREST): Likewise.
34468 (FE_TOWARDZERO): Likewise.
34469 (FE_UPWARD): Likewise.
34470 (FE_DOWNWARD): Likewise.
34471 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34472 (FE_DIVBYZERO): Likewise.
34473 (FE_OVERFLOW): Likewise.
34474 (FE_UNDERFLOW): Likewise.
34475 (FE_INEXACT): Likewise.
34476 (FE_TONEAREST): Likewise.
34477 (FE_DOWNWARD): Likewise.
34478 (FE_UPWARD): Likewise.
34479 (FE_TOWARDZERO): Likewise.
34480 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34481 (FE_UNDERFLOW): Likewise.
34482 (FE_OVERFLOW): Likewise.
34483 (FE_DIVBYZERO): Likewise.
34484 (FE_INVALID): Likewise.
34485 (FE_TONEAREST): Likewise.
34486 (FE_TOWARDZERO): Likewise.
34487 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34488 (FE_OVERFLOW): Likewise.
34489 (FE_UNDERFLOW): Likewise.
34490 (FE_DIVBYZERO): Likewise.
34491 (FE_INEXACT): Likewise.
34492 (FE_TONEAREST): Likewise.
34493 (FE_TOWARDZERO): Likewise.
34494 (FE_UPWARD): Likewise.
34495 (FE_DOWNWARD): Likewise.
34496 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34497 (FE_DIVBYZERO): Likewise.
34498 (FE_OVERFLOW): Likewise.
34499 (FE_UNDERFLOW): Likewise.
34500 (FE_INEXACT): Likewise.
34501 (FE_TONEAREST): Likewise.
34502 (FE_DOWNWARD): Likewise.
34503 (FE_UPWARD): Likewise.
34504 (FE_TOWARDZERO): Likewise.
34505
105ca950
CM
345062012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34507
34508 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34509
a542b389
AS
345102012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34511
34512 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34513 commands. Quote $PWD.
34514 (blacklist_exports): Don't use remove_newlines. Replace "declare
34515 -x" by "export".
34516 (remove_newlines): Remove.
34517
f62c8abc
L
345182012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34519
34520 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34521 * stdlib/stdlib.h (atof): Moved to ...
34522 * include/bits/stdlib-float.h: Here. New file.
34523 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34524 * stdlib/bits/stdlib-float.h: New file.
34525 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34526 -mno-sse -mno-mmx.
34527 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34528 <xmmintrin.h>.
34529
0155d5b2
JM
345302012-11-02 Joseph Myers <joseph@codesourcery.com>
34531
a68d0680
JM
34532 * conform/conformtest.pl (@headers): Add fenv.h.
34533 * conform/data/fenv.h-data: New file.
34534 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34535 include of <math/fenv.h>.
34536
caf7f573
JM
34537 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34538 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34539 && !UNIX98]. Enables tests for XOPEN2K8.
34540 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34541 POSIX2008]: Likewise.
34542
6c073ad6
JM
34543 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34544 (struct rusage): Do not expect type or its members.
34545
0155d5b2
JM
34546 [BZ #3439]
34547 * math/math.h (FP_NAN): Define macro to integer constant usable in
34548 #if and use that to give value to enum constant.
34549 (FP_INFINITE): Likewise.
34550 (FP_ZERO): Likewise.
34551 (FP_SUBNORMAL): Likewise.
34552 (FP_NORMAL): Likewise.
34553
b5dcacb4
AS
345542012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34555
34556 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34557 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34558 arguments.
34559
f7934be8
RM
345602012-11-02 Roland McGrath <roland@hack.frob.com>
34561
34562 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34563 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34564 autoconf-time if not.
34565 * configure.in: Remove AC_PREREQ.
34566
d7d08bde
TMQMF
345672012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34568
34569 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34570 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34571 of the internal implementation.
34572
dcdae19a
JM
345732012-11-02 Joseph Myers <joseph@codesourcery.com>
34574
34575 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34576 except include of <misc/sys/syslog.h>.
34577
d6cffd3e
AS
345782012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34579
34580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34581 function returns with a NULL context exit with zero.
34582
b3563932
TMQMF
345832012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34584
34585 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34586
b288a93d
L
345872012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34588
34589 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34590 (run_program_cmd): This.
34591 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34592 (tst_langinfo): New variable. Use it.
34593
a2421a68
SAS
345942012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34595
34596 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34597 floating point opcodes.
34598
6f796e1b
TS
345992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34600
7402596b
TS
34601 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34602 variable.
34603
d0d4f868
TS
34604 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34605
6f796e1b
TS
34606 * sysdeps/mach/hurd/powerpc: Remove directory.
34607 * sysdeps/mach/powerpc: Likewise.
34608
4da224a2
AS
346092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34610
34611 * scripts/check-local-headers.sh: Ignore c++ headers.
34612
341dd673
TS
346132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34614
34615 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34616 __libc_cleanup_region_start argument.
34617
473611b2
JM
346182012-11-01 Joseph Myers <joseph@codesourcery.com>
34619
34620 [BZ #14784]
34621 [BZ #14785]
34622 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34623 x * y using scaling, not as x * y + z.
34624 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34625 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34626 * math/libm-test.inc (fma_test): Add more tests.
34627 (fma_test_towardzero): Likewise.
34628 (fma_test_downward): Likewise.
34629 (fma_test_upward): Likewise.
34630
4078da3d
TS
346312012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34632
34633 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34634
903252aa
JM
346352012-10-31 Joseph Myers <joseph@codesourcery.com>
34636
34637 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34638 New variable.
34639
cbc818d0
TS
346402012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34641
34642 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34643
5a03cb1e
AS
346442012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34645
34646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34647 Fix sort order.
34648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34649 Likewise.
34650
90aff2ff
TMQMF
346512012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34652
34653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34654 Fix the order of the list for glibc 2.17.
34655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34656 Likewise.
34657
1818fcb7
AS
346582012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34659
34660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34661
ef82f4da
JM
346622012-10-31 Joseph Myers <joseph@codesourcery.com>
34663
16a0e2ec
JM
34664 [BZ #14610]
34665 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34666 for low part of x being zero before using __atanl (y).
34667 * math/libm-test.inc (atan2_test): Add another test.
34668
0eb69512
JM
34669 * manual/install.texi (Configuring and compiling): Document
34670 general use of test-wrapper and test-wrapper-env.
34671 * INSTALL: Regenerated.
34672
ef82f4da
JM
34673 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34674 (__fma): Do not extract and scale down low bits on after-rounding
34675 systems when result rounded to normal precision would have normal
34676 exponent.
34677 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34678 (__fmal): Do not extract and scale down low bits on after-rounding
34679 systems when result rounded to normal precision would have normal
34680 exponent.
34681 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34682 (__fmal): Do not extract and scale down low bits on after-rounding
34683 systems when result rounded to normal precision would have normal
34684 exponent.
34685 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34686 macro.
34687 (fma_test): Add more tests.
34688 (fma_test_towardzero): Likewise.
34689 (fma_test_downward): Likewise.
34690 (fma_test_upward): Likewise.
34691
954ef0d9
L
346922012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34693
34694 * sysdeps/i386/tininess.h: Renamed to ...
34695 * sysdeps/x86/tininess.h: This.
34696 * sysdeps/x86_64/tininess.h: Removed.
34697
df61ffb2
JM
346982012-10-30 Joseph Myers <joseph@codesourcery.com>
34699
34700 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34701 input. Use $(build-program-cmd).
34702 ($(objpfx)tst-array1-static.out): Likewise.
34703 ($(objpfx)tst-array2.out): Likewise.
34704 ($(objpfx)tst-array3.out): Likewise.
34705 ($(objpfx)tst-array4.out): Likewise.
34706 ($(objpfx)tst-array5.out): Likewise.
34707 ($(objpfx)tst-array5-static.out): Likewise.
34708
01767843
CM
347092012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34710
47cc1490
CM
34711 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34712 if defined.
34713
01767843
CM
34714 * nss/nsswitch.h (nss_interface_function): Provide new
34715 macro for use with NSS functions.
34716 * grp/initgroups.c: Use new macro.
34717 * nss/getXXbyYY.c: Likewise.
34718 * nss/getXXbyYY_r.c: Likewise.
34719 * nss/getXXent.c: Likewise.
34720 * nss/getXXent_r.c: Likewise.
34721 * sysdeps/posix/getaddrinfo.c: Likewise.
34722
8321aa97
AJ
347232012-10-30 Andreas Jaeger <aj@suse.de>
34724
34725 * po/ru.po: Update Russion translation from translation project.
34726
2a27fd6d
JM
347272012-10-30 Joseph Myers <joseph@codesourcery.com>
34728
8627a232
JM
34729 [BZ #14152]
34730 [BZ #14783]
34731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34732 result and shift together with sticky bit instead of replicating
34733 round-to-nearest rounding.
34734 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34735 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34736 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34737 missing underflow exceptions.
34738 (fma_test_towardzero): Add more tests.
34739 (fma_test_downward): Likewise.
34740 (fma_test_upward): Likewise.
34741
2a27fd6d
JM
34742 [BZ #14047]
34743 * sysdeps/generic/tininess.h: New file.
34744 * sysdeps/i386/tininess.h: Likewise.
34745 * sysdeps/sh/tininess.h: Likewise.
34746 * sysdeps/x86_64/tininess.h: Likewise.
34747 * stdlib/tst-strtod-underflow.c: Likewise.
34748 * stdlib/tst-tininess.c: Likewise.
34749 * stdlib/strtod_l.c: Include <tininess.h>.
34750 (round_and_return): Do not set errno for exact underflow cases.
34751 Force an underflow exception when setting errno for underflow.
34752 Determine underflow based on rounding to normal precision if
34753 TININESS_AFTER_ROUNDING.
34754 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34755 ERANGE for exact underflow cases.
34756 * stdlib/Makefile (tests): Add tst-tininess and
34757 tst-strtod-underflow.
34758 ($(objpfx)tst-tininess): Use $(link-libm).
34759 ($(objpfx)tst-strtod-underflow): Likewise.
34760
e7170363
AJ
347612012-10-30 Andreas Jaeger <aj@suse.de>
34762
e5088dc6
AJ
34763 [BZ#14767]
34764 * elf/Makefile (tests): Remove conditional for have-initfini-array
34765 since this is now always required and the variable does not exist
34766 anymore.
34767 (tests-static): Likewise.
34768 (modules-names): Likewise.
34769
e7170363 34770 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
34771
34772 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34773 merged with constructor/destructor.
34774 (init_array): Likewise.
34775 * elf/tst-array2dep.c (fini_array): Likewise.
34776 (init_array): Likewise.
34777
60457d8a
MF
347782012-10-29 Mike Frysinger <vapier@gentoo.org>
34779
34780 * manual/message.texi: Delete @cartouche tags.
34781
8bece752
PT
347822012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34783
94ce799f
PT
34784 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34785 EOPNOTSUPP.
34786 * sysdeps/mach/hurd/fsync.c: Likewise.
34787
8bece752
PT
34788 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34789 [_POSIX_REALTIME_SIGNALS]: Change condition to
34790 [_POSIX_REALTIME_SIGNALS > 0].
34791
86ebe6b1
AJ
347922012-10-27 Andreas Jaeger <aj@suse.de>
34793
34794 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34795 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34797 [__WORDSIZE != 64]: Likewise.
34798
54399c08
L
347992012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34800
34801 * iconvdata/tst-table.sh: Remove ${SHELL}.
34802 * iconvdata/tst-tables.sh: Likewise.
34803
e2211bed
DM
348042012-10-25 David S. Miller <davem@davemloft.net>
34805
34806 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34807 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34808 of strtoull.
34809
f303f97c
DM
34810 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34811 ifunc-impl-list.c
34812 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34813 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34814 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34815 file.
34816
1e9d84cd
RM
348172012-10-25 Roland McGrath <roland@hack.frob.com>
34818
34819 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34820 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34821 __getdirentries.
34822
df381762
JM
348232012-10-25 Joseph Myers <joseph@codesourcery.com>
34824 Jim Blandy <jimb@codesourcery.com>
34825
34826 * scripts/cross-test-ssh.sh: New file.
34827 * manual/install.texi (Configuring and compiling): Document use of
34828 cross-test-ssh.sh.
34829 * INSTALL: Regenerated.
34830
bff64913
PT
348312012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34832
34833 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34834 EOPNOTSUPP.
34835
25fe8932
JM
348362012-10-25 Joseph Myers <joseph@codesourcery.com>
34837
34838 * Makeconfig (run-program-prefix): Fix comment.
34839
cc1290d0
JM
348402012-10-24 Joseph Myers <joseph@codesourcery.com>
34841 Jim Blandy <jimb@codesourcery.com>
34842
34843 * Makeconfig (test-wrapper): New variable,
34844 (test-wrapper-env): Likewise.
34845 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34846 (run-built-tests): Define to yes.
34847 (run-program-prefix): Use $(test-wrapper).
34848 (built-program-cmd): Likewise.
34849 * Rules (make-test-out): Use $(test-wrapper-env) and
34850 $(host-built-program-cmd).
34851 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34852 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34853 tst-pathopt.sh.
34854 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34855 $(test-wrapper-env) to tst-rtld-load-self.sh.
34856 ($(objpfx)order2.out): Use $(test-wrapper).
34857 ($(objpfx)tst-initorder.out): Likewise.
34858 ($(objpfx)tst-initorder2.out): Likewise.
34859 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34860 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34861 (test_wrapper_env): New variable. Use it to run ld.so.
34862 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34863 Use it to run ld.so.
34864 (test_wrapper_env): Likewise.
34865 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34866 $(test-wrapper) to run-iconv-test.sh.
34867 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34868 (ICONV): Use $test_wrapper.
34869 * posix/Makefile ($(objpfx)globtest.out): Pass
34870 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34871 globtest.sh, not $(run-program-prefix).
34872 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34873 (test_wrapper): Likewise.
34874 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34875 set together with run_via_rtld_prefix.
34876 (run_program_prefix): Define in terms of test_wrapper and
34877 run_via_rtld_prefix.
34878
6e6249d0
RM
348792012-10-24 Roland McGrath <roland@hack.frob.com>
34880
34881 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34882 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34883 Targets removed.
34884
34885 [BZ #14743]
34886 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34887 Declare __clock_getres, __clock_gettime, __clock_settime,
34888 __clock_nanosleep, and __clock_getcpuclockid.
34889 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34890 Remove librt_hidden_def (clock_gettime).
34891 * sysdeps/unix/clock_gettime.c: Likewise.
34892 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34893 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34894 * rt/clock_getres.c: Define __clock_getres as an alias.
34895 * sysdeps/posix/clock_getres.c: Likewise.
34896 * rt/clock_settime.c: Define __clock_settime as an alias.
34897 * sysdeps/unix/clock_settime.c: Likewise.
34898 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34899 * sysdeps/unix/clock_nanosleep.c: Likewise.
34900 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34901 * rt/clock-compat.c: New file.
34902 * rt/Makefile (librt-routines): Add clock-compat and move
34903 $(clock-routines) to ...
34904 (routines): ... here, new variable.
34905 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34906 Don't add get_clockfreq here.
34907 * rt/Versions (libc: GLIBC_2.17): New version set.
34908 Add clock_* symbols here.
34909 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34910 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34911 (GLIBC_2.17): Add clock_* symbols.
34912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34914 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34916 Likewise.
34917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34918 Likewise.
34919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34923 * NEWS: Mention the move.
34924
34925 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34926 Use __open, __read, __close rather than their public counterparts.
34927 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34928 (__get_clockfreq_via_cpuinfo): Likewise.
34929 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34930 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34931
34932 * config.h.in (HAVE_IFUNC): New #undef.
34933 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34934 was successful.
34935 * configure: Regenerated.
34936
0cae3f4b
MF
349372012-10-24 Mike Frysinger <vapier@gentoo.org>
34938
34939 * configure.in: Move READELF check to start of file.
34940 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34941 libc_cv_asm_gnu_indirect_function in the process.
34942 * configure: Regenerated.
34943
8175a253
MF
349442012-10-24 Mike Frysinger <vapier@gentoo.org>
34945
34946 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34947 send the output to /dev/null.
34948 (libc_cv_cc_with_libunwind): Likewise.
34949 (libc_cv_as_noexecstack): Likewise.
34950 * configure: Regenerate.
34951
0708a7d1
JM
349522012-10-24 Joseph Myers <joseph@codesourcery.com>
34953
10b40d85
JM
34954 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34955
0708a7d1
JM
34956 * posix/globtest.sh (TMPDIR): Do not set.
34957 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34958 (testout): Likewise.
34959
9fddec1a
AJ
349602012-10-24 Andreas Jaeger <aj@suse.de>
34961
3a8db22f
AJ
34962 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34963 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34964 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34965 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34966 posix_fadvise64, posix_fallocate64.
34967
9fddec1a
AJ
34968 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34969 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34970 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34971 Likewise.
34972 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34973 Likewise.
34974 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34975
34976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34977 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34978 <bits/fcntl-linux.h>.
34979 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34980
34981 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34982 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34983 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34984 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34985 [__WORDSIZE != 64]: Likewise.
34986
ebfd1bbd
JM
349872012-10-23 Joseph Myers <joseph@codesourcery.com>
34988
03ac099f
JM
34989 * Makeconfig (run-built-tests): New variable.
34990 * Rules [$(cross-compiling) = yes]: Change condition to
34991 [$(run-built-tests) = no].
34992 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34993 to [$(run-built-tests) = yes].
34994 * elf/Makefile [$(cross-compiling) = no]: Likewise
34995 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34996 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34997 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34998 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34999 * io/Makefile [$(cross-compiling) = no]: Likewise.
35000 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35001 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35002 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35003 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35004 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35005 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35006 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35007 * string/Makefile [$(cross-compiling) = no]: Likewise.
35008
ebfd1bbd
JM
35009 * posix/Makefile ($(objpfx)globtest.out): Pass
35010 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35011 $(rtld-installed-name).
35012 * posix/globtest.sh (elf_objpfx): Remove variable.
35013 (rtld_installed_name): Likewise.
35014 (library_path): Likewise.
35015 (run_program_prefix): New variable. Use for running globtest
35016 binary.
35017
166bca24
JB
350182012-10-23 Jim Blandy <jimb@codesourcery.com>
35019 Joseph Myers <joseph@codesourcery.com>
35020
35021 * Makeconfig (host-built-program-cmd): New variable.
35022 * elf/Makefile (tst-stackguard1-ARGS): Use
35023 $(host-built-program-cmd).
35024 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35025 (tst-spawn-ARGS): Likewise.
35026 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35027
88866099
JM
350282012-10-23 Joseph Myers <joseph@codesourcery.com>
35029 Jim Blandy <jimb@codesourcery.com>
35030
35031 * Makeconfig (run-via-rtld-prefix): New variable.
35032 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35033 (built-program-cmd): Likewise.
35034
b4b4c296
AJ
350352012-10-22 Andreas Jaeger <aj@suse.de>
35036
35037 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35038 __O_RSYNC if it exists, otherwise to O_SYNC.
35039
6fb54a22
JB
350402012-10-22 Jim Blandy <jimb@codesourcery.com>
35041 Joseph Myers <joseph@codesourcery.com>
35042
35043 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35044 /dev/null.
35045 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35046 from /dev/null
35047 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35048 /dev/null.
35049
481b90b9
AJ
350502012-10-22 Andreas Jaeger <aj@suse.de>
35051
2a0e2669
AJ
35052 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35053 Define always.
35054 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35055
76e38f9a
AJ
35056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35057 bits/fcntl-linux.h.
35058
7cd37b43
AJ
35059 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35060 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35061
481b90b9
AJ
35062 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35063 to __O_LARGEFILE.
35064 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35065 to __O_LARGEFILE.
35066
aba75984
JB
350672012-10-21 Jim Blandy <jimb@codesourcery.com>
35068 Joseph Myers <joseph@codesourcery.com>
35069
35070 * config.make.in (NM): New variable.
35071
88d4247f
AJ
350722012-10-21 Andreas Jaeger <aj@suse.de>
35073
35074 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35075 definitions and declarations that are provided by
35076 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35077
f2eed205
L
350782012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35079
35080 [BZ #14683]
35081 * elf/Makefile (tests-static): Add tst-leaks1-static.
35082 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35083 ($(objpfx)tst-leaks1-static): New rule.
35084 ($(objpfx)tst-leaks1-static-mem): Likewise.
35085 (tst-leaks1-static-ENV): New macro.
35086 * elf/dl-open.c (dl_open_worker): Check the main application
35087 only if SHARED is defined.
35088 * elf/tst-leaks1-static.c: New file.
35089
335e6931
AJ
350902012-10-20 Andreas Jaeger <aj@suse.de>
35091
35092 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35093 generic values for Linux.
35094 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35095 and declarations that are provided by <bits/fcntl-linux.h> and
35096 include <bits/fcntl-linux.h>.
35097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35098 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35099
ac5c94d3
RM
351002012-10-20 Roland McGrath <roland@hack.frob.com>
35101
35102 * io/fcntl.h: Move include of <bits/types.h> to the top and
35103 include it unconditionally.
35104
de54b33a
L
351052012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35106
228cfb01
L
35107 * wcsmbs/Makefile (tests-ifunc): New variable.
35108 (tests): Add $(tests-ifunc).
35109 * wcsmbs/test-wcschr-ifunc.c: New file.
35110 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35111 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35112 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35113 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35114 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35115
69f07e5f
L
35116 * string/Makefile (tests-ifunc): New variable.
35117 (tests): Add $(tests-ifunc).
35118 * string/test-memccpy.c (TEST_NAME): New macro.
35119 * string/test-memchr.c (TEST_NAME): Likewise.
35120 * string/test-memcmp.c (TEST_NAME): Likewise.
35121 * string/test-memcpy.c (TEST_NAME): Likewise.
35122 * string/test-memmem.c (TEST_NAME): Likewise.
35123 * string/test-memmove.c (TEST_NAME): Likewise.
35124 * string/test-memset.c (TEST_NAME): Likewise.
35125 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35126 * string/test-stpcpy.c (TEST_NAME): Likewise.
35127 * string/test-stpncpy.c (TEST_NAME): Likewise.
35128 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35129 * string/test-strcasestr.c (TEST_NAME): Likewise.
35130 * string/test-strcat.c (TEST_NAME): Likewise.
35131 * string/test-strchr.c (TEST_NAME): Likewise.
35132 * string/test-strcmp.c(TEST_NAME): Likewise.
35133 * string/test-strcpy.c (TEST_NAME): Likewise.
35134 * string/test-strcspn.c (TEST_NAME): Likewise.
35135 * string/test-strlen.c (TEST_NAME): Likewise.
35136 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35137 * string/test-strncmp.c (TEST_NAME): Likewise.
35138 * string/test-strncpy.c (TEST_NAME): Likewise.
35139 * string/test-strnlen.c (TEST_NAME): Likewise.
35140 * string/test-strpbrk.c (TEST_NAME): Likewise.
35141 * string/test-strrchr.c (TEST_NAME): Likewise.
35142 * string/test-strspn.c (TEST_NAME): Likewise.
35143 * string/test-strstr.c (TEST_NAME): Likewise.
35144 * string/test-bcopy-ifunc.c: New file.
35145 * string/test-bzero-ifunc.c: Likewise.
35146 * string/test-memccpy-ifunc.c: Likewise.
35147 * string/test-memchr-ifunc.c: Likewise.
35148 * string/test-memcmp-ifunc.c: Likewise.
35149 * string/test-memcpy-ifunc.c: Likewise.
35150 * string/test-memmem-ifunc.c: Likewise.
35151 * string/test-memmove-ifunc.c: Likewise.
35152 * string/test-mempcpy-ifunc.c: Likewise.
35153 * string/test-memset-ifunc.c: Likewise.
35154 * string/test-rawmemchr-ifunc.c: Likewise.
35155 * string/test-stpcpy-ifunc.c: Likewise.
35156 * string/test-stpncpy-ifunc.c: Likewise.
35157 * string/test-strcasecmp-ifunc.c: Likewise.
35158 * string/test-strcasestr-ifunc.c: Likewise.
35159 * string/test-strcat-ifunc.c: Likewise.
35160 * string/test-strchr-ifunc.c: Likewise.
35161 * string/test-strchrnul-ifunc.c: Likewise.
35162 * string/test-strcmp-ifunc.c: Likewise.
35163 * string/test-strcpy-ifunc.c: Likewise.
35164 * string/test-strcspn-ifunc.c: Likewise.
35165 * string/test-strlen-ifunc.c: Likewise.
35166 * string/test-strncasecmp-ifunc.c: Likewise.
35167 * string/test-strncat-ifunc.c: Likewise.
35168 * string/test-strncmp-ifunc.c: Likewise.
35169 * string/test-strncpy-ifunc.c: Likewise.
35170 * string/test-strnlen-ifunc.c: Likewise.
35171 * string/test-strpbrk-ifunc.c: Likewise.
35172 * string/test-strrchr-ifunc.c: Likewise.
35173 * string/test-strspn-ifunc.c: Likewise.
35174 * string/test-strstr-ifunc.c: Likewise.
35175
de54b33a
L
35176 * debug/Makefile (tests-ifunc): New variable.
35177 (tests): Add $(tests-ifunc).
35178 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35179 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35180 * debug/test-stpcpy_chk-ifunc.c: New file.
35181 * debug/test-strcpy_chk-ifunc.c: Likewise.
35182
88481c16
SP
351832012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35184
35185 [BZ #13601]
35186 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35187 header is not read in.
35188
135948bd
JM
351892012-10-19 Joseph Myers <joseph@codesourcery.com>
35190
89f1c388
JM
35191 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35192 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35193 directly. Pass built executable to script as
35194 $(built-program-cmd).
35195 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35196 $testprogram without using LD_LIBRARY_PATH and $ldso.
35197
e40a0d21
JM
35198 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35199 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35200 $(rtld-installed-name).
35201 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35202 (rtld_installed_name): Likewise.
35203 (library_path): Likewise.
35204 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35205 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35206 $(run-program-prefix) to tst-tables.sh.
35207 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35208 it to run tst-table-from and tst-table-to.
35209 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35210 Pass it to tst-table.sh.
35211 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35212 $(run-program-prefix) to tst-gettext.sh.
35213 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35214 tst-translit.sh.
35215 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35216 tst-gettext2.sh.
35217 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35218 to run tst-gettext.
35219 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35220 to run tst-gettext2.
35221 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35222 to run tst-translit.
35223 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35224 $(run-program-prefix) to tst-mtrace.sh.
35225 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35226 to run tst-mtrace.
35227 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35228 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35229 $(rtld-installed-name).
35230 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35231 (rtld_installed_name): Likewise.
35232 (run_program_prefix): New variable. Use it to run wordexp-test.
35233
728e272a
JM
35234 * Makeconfig (ARCH): Remove all definitions.
35235 (machine): Likewise.
35236 [ARCH]: Remove conditional code.
35237 [!objdir]: Give error.
35238 [!objdir] (objpfx): Remove.
35239 [!objdir] (common-objpfx): Likewise.
35240 [!objdir] (common-objdir): Likewise.
35241 * configure.in (config_makefile): Remove. Hardcode Makefile in
35242 AC_CONFIG_FILES call.
35243 * configure: Regenerated.
35244
d528cdcf
JM
35245 [BZ #13888]
35246 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35247 or TMPDIR.
35248 (testout): Likewise.
35249
135948bd
JM
35250 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35251 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35252 $(rtld-installed-name).
35253 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35254 (rtld_installed_name): Likwise.
35255 (runit): Remove function.
35256 (run_getconf): New variable, Use it for running getconf binary.
35257
38c78296
L
352582012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35259
35260 [BZ #14716]
35261 * string/test-memmem.c (check_result): New function.
35262 (do_one_test): Use it.
35263 (check1): New function.
35264 (test_main): Use it.
35265
d077f65f
MT
352662012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35267
35268 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35269
ced52c71
JM
352702012-10-18 Joseph Myers <joseph@codesourcery.com>
35271
35272 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35273 (_G_LSEEK64): Likewise.
35274 (_G_MMAP64): Likewise.
35275 (_G_FSTAT64): Likewise.
35276 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35277 (_G_LSEEK64): Likewise.
35278 (_G_MMAP64): Likewise.
35279 (_G_FSTAT64): Likewise.
35280 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35281 unconditional. Call __mmap64 directly.
35282 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35283 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35284 __lseek64 directly.
35285 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35286 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35287 __mmap64 directly.
35288 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35289 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35290 __lseek64 directly.
35291 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35292 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35293 __lseek64 directly.
35294 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35295 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35296 __lseek64 directly.
35297 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35298 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35299 __fxstat64 directly.
35300 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35301 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35302 unconditional.
35303 (freopen64) [!_G_OPEN64]: Remove conditional code.
35304 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35305 unconditional.
35306 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35307 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35308 unconditional.
35309 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35310 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35311 unconditional.
35312 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35313 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35314 unconditional.
35315 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35316 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35317 unconditional.
35318 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35319 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35320 unconditional.
35321 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35322 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35323 unconditional.
35324 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35325
b741de23
SP
353262012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35327
35328 [BZ #12140]
35329 * manual/memory.texi (Malloc Tunable Parameters): Add note
35330 about free list pointers overwriting some perturb bytes.
35331 Wording suggested by Roland McGrath.
35332
f9b9d9c9
JM
353332012-10-17 Joseph Myers <joseph@codesourcery.com>
35334
35335 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35336 (lgamma_test): Likewise.
35337 (tgamma_test): Likewise.
35338
172a631a
FW
353392012-10-16 Florian Weimer <fweimer@redhat.com>
35340
35341 [BZ #14700]
35342 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35343 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35344
e9f37252
MK
353452012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35346
35347 * NEWS: Mention BZ #14716.
35348 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35349 when removing AVAILABLE1_USES_J macro.
35350
d394eb74
L
353512012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35352
35353 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35354 (__bswap_64): __uint64_t for unsigned 64-bit int.
35355
ca38dc17
AS
353562012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35357
35358 * include/string.h (memmem): Declare libc hidden alias.
35359 * string/memmem.c (memmem): Define libc hidden alias.
35360 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35361 __read, __close instead of open, read, close.
35362
9a387d1f
L
353632012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35364
ac49ecaf
L
35365 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35366 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35367 global and hidden.
35368 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35369 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35370 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35371 Likewise.
35372 (__rawmemchr_sse2): Likewise.
35373 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35374 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35375 (__strchr_sse2): Likewise.
35376 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35377 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35378 (__strcasecmp_sse2): Likewise.
35379 (__strncasecmp_sse2): Likewise.
35380 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35381 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35382 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35383 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35384 (__strrchr_sse2): Likewise.
35385 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35386 ifunc-impl-list.c.
35387 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35388 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35389 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35390 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35391 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35392 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35393 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35394 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35395 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35396 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35397 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35398 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35399 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35400 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35401 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35402 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35403 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35404 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35405 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35406 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35407 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35408 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35409 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35410 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35411 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35412 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35413 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35414 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35415 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35416 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35417
b090e8ea
L
35418 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35419 global and hidden.
35420 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35421 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35422 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35423 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35424 Likewise.
35425 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35426 Likewise.
35427 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35428 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35429 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35430 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35431 ifunc-impl-list.c.
35432 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35433 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35434 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35435 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35436 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35437 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35438 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35439 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35440 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35441 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35442 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35443 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35444 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35445 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35446 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35447 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35448 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35449 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35450 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35451 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35452 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35453 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35454 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35455 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35456 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35457 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35458 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35459 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35460 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35461 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35462 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35463 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35464 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35465 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35466 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35467 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35468 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35469 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35470 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35471 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35472 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35473
11dd4af6
L
35474 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35475 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35476 * include/ifunc-impl-list.h: New file.
35477 * misc/ifunc-impl-list.c: Likewise.
35478 * misc/Makefile (routines): Add ifunc-impl-list.
35479 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35480 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
35481 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35482 TEST_NAME]: New variables.
11dd4af6
L
35483 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35484 are defined.
35485 (test_init): Call __libc_ifunc_impl_list to initialize
35486 func_list if TEST_IFUNC and TEST_NAME are defined.
35487
9a387d1f
L
35488 * string/Makefile (strop-tests): Add bcopy and bzero.
35489 * string/test-bcopy.c: New file.
35490 * string/test-bzero.c: Likewise.
35491 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35492 defined.
35493 * string/test-memset.c: Support bzero test if TEST_BZERO is
35494 defined.
35495 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35496 __libc_memmove.
35497 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35498 __libc_memset.
35499 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35500 of memset.
35501
472371b9
JM
355022012-10-10 Joseph Myers <joseph@codesourcery.com>
35503
1e4a9536
JM
35504 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35505 * configure: Regenerated.
35506
d173d12e
JM
35507 * Makeconfig (+link-static-before-libc): Don't include
35508 $(link-static-libc).
35509
472371b9
JM
35510 * libio/libio.h (_IO_pos_t): Remove.
35511
89a3ad0b
AO
355122012-10-10 Alexandre Oliva <aoliva@redhat.com>
35513
35514 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35515 McGrath.
35516
e7451425
AO
355172012-10-10 Alexandre Oliva <aoliva@redhat.com>
35518
35519 * crypt/crypt-entry.c: Include fips-private.h.
35520 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35521 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35522 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35523 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35524
4ba74a35
AO
355252012-10-10 Alexandre Oliva <aoliva@redhat.com>
35526
35527 * crypt/crypt-private.h: Include stdbool.h.
35528 (_ufc_setup_salt_r): Return bool.
35529 * crypt/crypt-entry.c: Include errno.h.
35530 (__crypt_r): Return NULL with EINVAL for bad salt.
35531 * crypt/crypt_util.c (bad_for_salt): New.
35532 (_ufc_setup_salt_r): Check that salt is long enough and within
35533 the specified alphabet.
35534 * crypt/badsalttest.c: New file.
35535 * crypt/Makefile (tests): Add it.
35536 ($(objpfx)badsalttest): New.
35537
f96f1242
MK
355382012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35539
35540 * NEWS: Add entry for BZ #14602.
35541
0e8e0c1c
JM
355422012-10-09 Joseph Myers <joseph@codesourcery.com>
35543
35544 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35545 type-generic.
35546 * math/libm-test.inc: Update comment listing what functions and
35547 macros are tested.
35548 (isgreater_test): New function.
35549 (isgreaterequal_test): Likewise.
35550 (isless_test): Likewise.
35551 (islessequal_test): Likewise.
35552 (islessgreater_test): Likewise.
35553 (isunordered_test): Likewise.
35554 (main): Call the new functions.
35555
273edc5e
RM
355562012-10-09 Roland McGrath <roland@hack.frob.com>
35557
b8493de0
RM
35558 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35559 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35560 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35561 * sysdeps/i386/configure: Regenerated.
35562 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35563 * sysdeps/mach/configure: Regenerated.
35564 * sysdeps/mach/hurd/configure: Regenerated.
35565 * sysdeps/powerpc/configure: Regenerated.
35566 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35567 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35568 * sysdeps/s390/s390-32/configure: Regenerated.
35569 * sysdeps/s390/s390-64/configure: Regenerated.
35570 * sysdeps/sh/configure: Regenerated.
35571 * sysdeps/sparc/configure: Regenerated.
35572 * sysdeps/unix/sysv/linux/configure: Regenerated.
35573 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35574 * sysdeps/x86_64/configure: Regenerated.
35575
273edc5e
RM
35576 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35577 defined. Don't check if MAP is NULL.
35578
c8450f70
JM
355792012-10-09 Joseph Myers <joseph@codesourcery.com>
35580
35581 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35582 (_G_stat64): Likewise.
35583 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35584 (_G_stat64): Likewise.
35585 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35586 instead of struct _G_stat64.
35587 * libio/fileops.c (mmap_remap_check): Likewise.
35588 (decide_maybe_mmap): Likewise.
35589 (_IO_new_file_seekoff): Likewise.
35590 (_IO_file_stat): Likewise.
35591 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35592 _G_off64_t.
35593 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35594 instead of struct _G_stat64.
35595 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35596
57e605ba
MK
355972012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35598
35599 [BZ #14602]
35600 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35601 Replace with ...
35602 (CHECK_EOL): New macro.
35603 (two_way_short_needle): Check beginning of haystack for EOL. Use
35604 CHECK_EOL.
35605 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35606 Replace with CHECK_EOL.
35607 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35608 Replace with CHECK_EOL.
35609
ef1bb361
JM
356102012-10-08 Joseph Myers <joseph@codesourcery.com>
35611
35612 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35613 type-generic.
35614 * math/libm-test.inc: Update comment listing what functions and
35615 macros are tested.
35616 (finite_test): New function.
35617 (isinf_test): Likewise.
35618 (isnan_test): Likewise.
35619 (fpclassify_test): Test subnormal input.
35620 (isfinite_test): Likewise.
35621 (isnormal_test): Likewise.
35622 (main): Call the new functions.
35623
55f11534
JN
356242012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35625
35626 [BZ #14660]
35627 * Makerules (%.dynsym): Force C locale when running
35628 $(OBJDUMP) --dynamic-syms.
35629
1ab29350
AS
356302012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35631
35632 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35633 <stdint.h>.
35634
f1ecb7ef
DM
356352012-10-06 David S. Miller <davem@davemloft.net>
35636
35637 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35638 upper 32-bits of the length value in %o2 since we use branch-on-register
35639 tests which consider the entire 64-bit register.
35640
5d41d91a
L
356412012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35642
35643 * string/test-strstr.c (check2): Add a test for page boundary.
35644
3baddb72
DM
356452012-10-05 David S. Miller <davem@davemloft.net>
35646
35647 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35648 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35649 file.
35650 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35651 sysdep_routines.
35652 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35653 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35654 and bzero when HWCAP_SPARC_CRYPTO is present.
35655
9cee5585
L
356562012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35657
d7e0dab9
L
35658 [BZ #14602]
35659 * string/test-strstr.c (check2): New function.
35660 (test_main): Call check2.
35661
03759f47
L
35662 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35663 and bug-strchr1.
35664 * string/bug-strcasestr1.c (do_test): Moved to ...
35665 * string/test-strcasestr.c (check1): Here. New function.
35666 (do_one_test): Break out result checking code into ...
35667 (check_result): This. New function.
35668 (do_one_test): Call check_result.
35669 (test_main): Call check1.
35670 * string/bug-strchr1.c (do_test): Moved to ...
35671 * string/test-strchr.c (check1): Here. New function.
35672 (do_one_test): Break out result checking code into ...
35673 (check_result): This. New function.
35674 (do_one_test): Call check_result.
35675 (test_main): Call check1.
35676 * string/bug-strstr1.c (main): Moved to ...
046f153e 35677 * string/test-strstr.c (check1): Here. New function.
03759f47
L
35678 (do_one_test): Break out result checking code into ...
35679 (check_result): This. New function.
35680 (do_one_test): Call check_result.
35681 (test_main): Call check1.
35682 * string/bug-strcasestr1.c: Removed.
35683 * string/bug-strchr1.c: Likewise.
35684 * string/bug-strstr1.c: Likewise.
35685
53cea63e
L
35686 * elf/Makefile (dl-routines): Add hwcaps.
35687 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35688 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35689 (_dl_important_hwcaps): Moved to ...
35690 * elf/dl-hwcaps.c: Here. New file.
35691 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35692
9cee5585 35693 [BZ #14557]
bb859b06
L
35694 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35695 if IS_IN_rtld isn't defined.
35696
9cee5585
L
35697 * elf/dl-support.c (_dl_sysinfo_map): New.
35698 Include "get-dynamic-info.h" and "setup-vdso.h".
35699 (_dl_non_dynamic_init): Call setup_vdso.
35700 * elf/dynamic-link.h: Don't include <assert.h>.
35701 (elf_get_dynamic_info): Moved to ...
35702 * elf/get-dynamic-info.h: Here. New file.
35703 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35704 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35705 * elf/setup-vdso.h: Here. New file.
35706 * elf/rtld.c: Include "setup-vdso.h".
35707 (dl_main): Call setup_vdso.
35708
23c31b76
JM
357092012-10-05 Joseph Myers <joseph@codesourcery.com>
35710
28234b07
JM
35711 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35712 creal in comment listing functions tested. List finite, isinf,
35713 isnan, isless, islessequal, isgreater, isgreaterequal,
35714 islessgreater, isunordered, lgamma_r and pow10 as functions and
35715 macros not tested. Mention which functions not tested are aliases
35716 for other functions. Fix typo. Note that signs of NaNs are not
35717 tested.
35718
23c31b76
JM
35719 * scripts/config.guess: Update from config.git.
35720 * scripts/config.sub: Likewise.
35721
9043e228
RM
357222012-10-04 Roland McGrath <roland@hack.frob.com>
35723
35724 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35725 * misc/madvise.c (madvise): Renamed to __madvise.
35726 Make madvise a weak alias.
35727 * include/sys/mman.h: Declare __madvise.
35728 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35729 * sysdeps/unix/syscalls.list
35730 (madvise): Make __madvise the strong name, and madvise a weak alias.
35731 * sysdeps/unix/sysv/linux/syscalls.list
35732 (madvise, mmap): Remove redundant entries.
35733 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35734 * malloc/malloc.c (mtrim): Likewise.
35735 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35736
f57f8055
RM
357372012-10-03 Roland McGrath <roland@hack.frob.com>
35738
35739 * sysdeps/mach/hurd/dl-cache.c: File removed.
35740 * config.h.in (USE_LDCONFIG): New #undef.
35741 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35742 * configure: Regenerated.
35743 * elf/Makefile (dl-routines): Add dl-cache only under
35744 [$(use-ldconfig) = yes].
35745 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35746 cache on [USE_LDCONFIG].
35747 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35748 [USE_LDCONFIG].
35749 * elf/rtld.c (dl_main): Likewise.
35750
5bb0c10a
PT
357512012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35752
35753 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35754 _SC_LEVEL4_CACHE_LINESIZE.
35755
010188c6
RM
357562012-10-03 Roland McGrath <roland@hack.frob.com>
35757
35758 * sysdeps/unix/bsd/confstr.h: File removed.
35759
b6c5ec07
AO
357602012-10-02 Alexandre Oliva <aoliva@redhat.com>
35761
35762 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35763 sys/sdt-config.h.
35764
408223d4
RM
357652012-10-02 Roland McGrath <roland@hack.frob.com>
35766
35767 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35768 Make 'mapoff' field ElfW(Off) rather than off_t.
35769
bb9510dc
DL
357702012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35771
fc997c6e
DL
35772 * nscd/Makefile: Remove nscd-cflags and all its users.
35773 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35774 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35775
bb9510dc
DL
35776 [BZ #10631]
35777 * malloc.c (malloc_printerr): Clarify error message.
35778
05699367
L
357792012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35780
35781 [BZ #14648]
35782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35783 Set bit_FMA_Usable if FMA is supported.
35784 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35785 macro.
35786 (bit_FMA4_Usable): Updated.
35787 (index_FMA_Usable): New macro.
35788 (CPUID_FMA): Likewise
35789 (HAS_FMA): Defined with bit_FMA_Usable.
35790
51367701
RM
357912012-10-01 Roland McGrath <roland@hack.frob.com>
35792
35793 * bits/types.h (__swblk_t): Type removed.
35794 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35795 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35796 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35797 (__SWBLK_T_TYPE): Likewise.
35798 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35799 (__SWBLK_T_TYPE): Likewise.
35800 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35801 (__SWBLK_T_TYPE): Likewise.
35802 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35803 (__SWBLK_T_TYPE): Likewise.
35804
4d57bf63 358052012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 35806 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
35807
35808 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35809 (xdr_mapname): Use YPMAXMAP as maxsize.
35810 (xdr_peername): Use YPMAXPEER as maxsize.
35811 (xdr_keydat): Use YPAXRECORD as maxsize.
35812 (xdr_valdat): Use YPMAXRECORD as maxsize.
35813
93c65d43
RM
358142012-10-01 Roland McGrath <roland@hack.frob.com>
35815
497a03d6
RM
35816 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35817
93c65d43
RM
35818 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35819 * csu/init-first.c: ... here.
35820 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35821 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35822 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35823 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35824 * sysdeps/i386/init-first.c: File removed.
35825 * sysdeps/sh/init-first.c: File removed.
35826
bec749fd
JM
358272012-10-01 Joseph Myers <joseph@codesourcery.com>
35828
35829 [BZ #14645]
35830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35831 if x * y might underflow to zero and z is zero.
35832 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35833 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35834 * math/libm-test.inc (min_subnorm_value): New variable.
35835 (fma_test): Add more tests.
35836 (fma_test_towardzero): Likewise.
35837 (fma_test_downward): Likewise
35838 (fma_test_upward): Likewise.
35839 (initialize): Set min_subnorm_value.
35840
8ec5b013
JM
358412012-09-29 Joseph Myers <joseph@codesourcery.com>
35842
35843 [BZ #14638]
35844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35845 0 + 0.
35846 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35847 mode for addition resulting in exact zero.
35848 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35849 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35850 exact 0 + 0.
35851 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35852 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35853 * math/libm-test.inc (fma_test): Add more tests.
35854 (fma_test_towardzero): New function.
35855 (fma_test_downward): Likewise.
35856 (fma_test_upward): Likewise.
35857 (main): Call the new functions.
35858
b1fa802e
DM
358592012-09-28 David S. Miller <davem@davemloft.net>
35860
35861 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35862
d3b9fd9e
RM
358632012-09-28 Roland McGrath <roland@hack.frob.com>
35864
ea4d37b3
RM
35865 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35866 instead of SIGALRM.
35867
ac51c949
RM
35868 * sysdeps/gnu/_G_config.h: Moved to ...
35869 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35870 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35871 * sysdeps/generic/_G_config.h: ... here.
35872
28c195f7
RM
35873 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35874
848917f9
RM
35875 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35876
6bacf05b
RM
35877 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35878 Conditionalize target on [libnss_test1.so-version].
35879
91363dbb
RM
35880 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35881
cc87f7d8
RM
35882 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35883 (elfobjdir): Move out of conditionals.
35884
b1c608fe
RM
35885 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35886 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35887 (__nss_lookup_function): Conditionalize label remove_from_tree on
35888 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 35889
1d9a6d96
DM
358902012-09-28 David S. Miller <davem@davemloft.net>
35891
35892 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35893 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35894 file.
35895 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35896 sysdep_routines.
35897 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35899 when HWCAP_SPARC_CRYPTO is present.
35900
72581615
PT
359012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35902
35903 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35904
715a900c
JL
359052012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35906
35907 [BZ #6530]
35908 * stdio-common/vfprintf.c (process_string_arg): Revert
35909 2000-07-22 change.
35910
359112011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35912
35913 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35914 for testcase.
35915 * stdio-common/tst-sprintf.c: Include <locale.h>
35916 (main): Test sprintf's handling of incomplete multibyte
35917 characters.
35918
9bac1d86
L
359192012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35920
35921 * elf/dl-runtime.c (VERSYMIDX): Removed.
35922 * elf/dl-version.c (VERSYMIDX): Likewise.
35923 * elf/do-rel.h (VERSYMIDX): Likewise.
35924 (VALIDX): Likewise.
35925 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35926 * elf/rtld.c (VALIDX): Likewise.
35927 (ADDRIDX): Likewise.
9bac1d86
L
35928 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35929 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35930 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
35931 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35932 (VALIDX): Likewise.
35933 (ADDRIDX): Likewise.
9bac1d86 35934
b31606c0
PT
359352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35936
35937 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35938
11541177
JL
359392012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35940
35941 [BZ #11438]
35942 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35943 to global scope.
35944 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35945 addresses are in the same scope as 192.0.2/24.
35946 * posix/gai.conf: Document new scope table defaults.
35947
adb26fae
SP
359482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35949
35950 [BZ #5298]
35951 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35952 for ftell. Compute offsets from write pointers instead.
35953 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35954
4573c6b0
SP
359552012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35956
35957 [BZ #14543]
35958 * libio/Makefile (tests): New test case tst-fseek.
35959 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35960 combination works in wide mode.
35961 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35962 state when the external buffer state changes.
35963
aa9bbfe6
DM
359642012-09-27 David S. Miller <davem@davemloft.net>
35965
35966 [BZ #14376]
35967 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35968 pass reloc->r_addend in as the 'high' argument to
35969 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35970
784421e7
DM
35971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35972
c39bc8b8
PT
359732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35974
35975 * rt/tst-aio2.c: Include <pthread.h>.
35976 * rt/tst-aio3.c: Likewise.
35977
1ccc2399
SE
359782012-09-27 Steve Ellcey <sellcey@mips.com>
35979
35980 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35981
31ed4153
L
359822012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35983
25f5f885
L
35984 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35985 contents on [SHARED].
31ed4153 35986
b7bfe116
MP
359872012-09-26 Marek Polacek <polacek@redhat.com>
35988
35989 [BZ #14530]
35990 [BZ #13741]
35991 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35992 for C++ and GCC <4.3 as well as for non GCC compilers.
35993
43c4edba
MT
359942012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35995
35996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35997
6a1bf82f
RM
359982012-09-25 Roland McGrath <roland@hack.frob.com>
35999
36000 * Makefile.in (all, install): Declare with .PHONY.
36001 Reported by Michael Hope <michael.hope@linaro.org>.
36002
8ad11b9a
TMQMF
360032012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36004
36005 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36006 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36007 system header.
36008 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36009 Likewise.
36010 (sydep_routines): Add the new and the internal functions.
36011 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36012 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36014 (GLIBC_2.17): Add the new function.
36015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36016 (GLIBC_2.17): Likewise.
36017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36018 (GLIBC_2.17): Likewise.
36019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36020 (GLIBC_2.17): Likewise.
36021 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36022
7e2fca8d
AM
360232012-09-25 Alan Modra <amodra@gmail.com>
36024
36025 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36026 Add release barrier before setting once_control to say
36027 initialisation is done. Add hints on lwarx. Use macro in
36028 place of isync.
36029 (clear_once_control): Add release barrier.
36030
b87c4b24
JM
360312012-09-25 Joseph Myers <joseph@codesourcery.com>
36032
d032e0d2
JM
36033 [BZ #13629]
36034 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36035 specially.
36036 * math/s_clog10.c (__clog10): Likewise.
36037 * math/s_clog10f.c (__clog10f): Likewise.
36038 * math/s_clog10l.c (__clog10l): Likewise.
36039 * math/s_clogf.c (__clogf): Likewise.
36040 * math/s_clogl.c (__clogl): Likewise.
36041 * math/Makefile (libm-calls): Add x2y2m1.
36042 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36043 (__x2y2m1): Likewise.
36044 (__x2y2m1l): Likewise.
36045 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36046 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36047 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36048 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36049 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36050 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36051 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36052 * sysdeps/i386/fpu/libm-test-ulps: Update.
36053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36054
b87c4b24
JM
36055 [BZ #14621]
36056 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36057 int as type of variable DEPTH.
36058 (glob): Use size_t instead of int as type of variables NEWCOUNT
36059 and OLD_PATHC.
36060
6d3bf199
LD
360612012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36062
22bf5c17
LD
36063 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36064 Add s_sincosf-sse2.
36065 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36066 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36067 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36068 macros for using routine as __sincosf_ia32.
36069 Use macro for function declaration and weak_alias.
36070 * sysdeps/i386/fpu/libm-test-ulps: Update.
36071
36072 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36074
36075 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
36076 subnormal argument.
36077 * math/s_cexpf.c (__cexpf): Likewise.
36078 * math/s_csinf.c (__csinf): Likewise.
36079 * math/s_csinhf.c (__csinhf): Likewise.
36080 * math/s_ctanf.c (__ctanf): Likewise.
36081 * math/s_ctanhf.c (__ctanhf): Likewise.
36082 * math/s_ccosh.c (__ccoshf): Likewise.
36083 * math/s_cexp.c (__cexpl): Likewise.
36084 * math/s_csin.c (__csin): Likewise.
36085 * math/s_csinh.c (__csinh): Likewise.
36086 * math/s_ctan.c (__ctan): Likewise.
36087 * math/s_ctanh.c (ctanh): Likewise.
36088 * math/s_ccoshl.c (__ccoshl): Likewise.
36089 * math/s_cexpl.c (__cexpl): Likewise.
36090 * math/s_csinl.c (__csinl): Likewise.
36091 * math/s_csinhl.c (__csinhl): Likewise.
36092 * math/s_ctanl.c (__ctanl): Likewise.
36093 * math/s_ctanhl.c (__ctanhl): Likewise.
36094
203e5603
JM
360952012-09-25 Joseph Myers <joseph@codesourcery.com>
36096
36097 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36098 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36099 (_IO_off_t): Define to __off_t, not _G_off_t.
36100 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36101 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36102 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36103 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36104 type of __dummy and __dummy2 fields.
36105 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36106 (_G_ssize_t): Likewise.
36107 (_G_off_t): Likewise.
36108 (_G_pid_t): Likewise.
36109 (_G_uid_t): Likewise.
36110 (_G_wchar_t): Likewise.
36111 (_G_wint_t): Likewise.
36112 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36113 (_G_ssize_t): Likewise.
36114 (_G_off_t): Likewise.
36115 (_G_pid_t): Likewise.
36116 (_G_uid_t): Likewise.
36117 (_G_wchar_t): Likewise.
36118 (_G_wint_t): Likewise.
36119 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36120 (_G_ssize_t): Likewise.
36121 (_G_off_t): Likewise.
36122 (_G_pid_t): Likewise.
36123 (_G_uid_t): Likewise.
36124 (_G_wchar_t): Likewise.
36125 (_G_wint_t): Likewise.
36126
9fab36eb
SP
361272012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36128
36129 * malloc/arena.c: Include malloc-sysdep.h.
36130 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36131 is sufficient to shrink the heap or an unmap is needed.
36132 * sysdeps/generic/malloc-sysdep.h: New file. Define
36133 new function check_may_shrink_heap.
36134 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36135 new function check_may_shrink_heap.
36136
2b4f00d1
SP
361372012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36138
36139 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36140 comments.
36141
9a9028b1
DL
361422012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36143
57c69bef
DL
36144 * catgets/test-gencat.sh: Add "set -e".
36145 * elf/tst-pathopt.sh: Likewise.
36146 * grp/tst_fgetgrent.sh: Likewise.
36147 * iconvdata/run-iconv-test.sh: Likewise.
36148 * intl/tst-gettext.sh: Likewise.
36149 * intl/tst-gettext2.sh: Likewise.
36150 * intl/tst-gettext4.sh: Likewise.
36151 * intl/tst-gettext6.sh: Likewise.
36152 * intl/tst-translit.sh: Likewise.
36153 * io/ftwtest-sh: Likewise.
36154 * libio/test-freopen.sh: Likewise.
36155 * malloc/tst-mtrace.sh: Likewise.
36156 * posix/globtest.sh: Likewise.
36157 * posix/tst-getconf.sh: Likewise.
36158 * posix/wordexp-tst.sh: Likewise.
36159 * stdio-common/tst-printf.sh: Likewise.
36160 * stdio-common/tst-unbputc.sh: Likewise.
36161 * stdlib/tst-fmtmsg.sh: Likewise.
36162 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36163 * catgets/Makefile: Do not specify -e option when running
36164 testsuite shell scripts.
36165 * elf/Makefile: Likewise.
36166 * grp/Makefile: Likewise.
36167 * iconvdata/Makefile: Likewise.
36168 * intl/Makefile: Likewise.
36169 * io/Makefile: Likewise.
36170 * libio/Makefile: Likewise.
36171 * malloc/Makefile: Likewise.
36172 * posix/Makefile: Likewise.
36173 * stdio-common/Makefile: Likewise.
36174 * stdlib/Makefile: Likewise.
36175 * sysdeps/x86_64/Makefile: Likewise.
36176
9a9028b1
DL
36177 * io/ftwtest-sh: Add copyright header.
36178 * posix/globtest.sh: Likewise.
36179 * posix/tst-getconf.sh: Likewise.
36180 * posix/wordexp-tst.sh: Likewise.
36181 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36182
ced6f16e
L
361832012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36184
94b32c39
L
36185 [BZ #13679]
36186 * Makeconfig (+link): Defined as $(+link-static) if
36187 $(build-shared) isn't yes.
36188 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36189 isn't yes.
36190 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36191
189e935b
L
36192 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36193
ced6f16e
L
36194 [BZ #14562]
36195 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36196 new chunk size with MALLOC_ALIGN_MASK.
36197
a9f8e53a
JM
361982012-09-24 Joseph Myers <joseph@codesourcery.com>
36199
36200 [BZ #5044]
36201 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36202 <rounding-mode.h>.
36203 (__printf_fphex): Determine rounding using get_rounding_mode and
36204 round_away.
36205 * stdio-common/tst-printf-round.c (struct hex_test): New
36206 structure.
36207 (hex_tests): New variable.
36208 (test_hex_in_one_mode): New function.
36209 (do_test): Also run tests for hex float output.
36210
43153109
JM
362112012-09-21 Joseph Myers <joseph@codesourcery.com>
36212
36213 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36214 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36215 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36216 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36217 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36218 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36219 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36220 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36221
8a26625d
JM
362222012-09-20 Joseph Myers <joseph@codesourcery.com>
36223
36224 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36225 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36226 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36227 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36228
f3fd569c
DL
362292012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36230
36231 [BZ #14579]
36232 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36233 mode only.
36234 * elf/tst-rtld-load-self.sh: New test.
36235 * elf/Makefile: Run it.
36236
63bbedd4
JM
362372012-09-18 Joseph Myers <joseph@codesourcery.com>
36238
36239 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36240 (tst-writev-ENV): Remove.
36241 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36242
626f8b6a
CM
362432012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36244
36245 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36246
b7aaa4d6
JM
362472012-09-17 Joseph Myers <joseph@codesourcery.com>
36248
36249 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36250 unconditional.
36251 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36252 Likewise.
36253 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36254 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36255 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36256 Likewise.
36257
65513990
L
362582012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36259
36260 [BZ #14587]
36261 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36262 * config.make.in (have-cpp-asm-debuginfo): Removed.
36263 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36264 * configure: Regenerated.
36265
784761be
JM
362662012-09-14 Joseph Myers <joseph@codesourcery.com>
36267
36268 [BZ #5044]
36269 * stdio-common/printf_fp.c: Include <stdbool.h> and
36270 <rounding-mode.h>.
36271 (___printf_fp): Determine rounding using get_rounding_mode and
36272 round_away.
36273 * stdio-common/tst-printf-round.c: New file.
36274 * stdio-common/Makefile (tests): Add tst-printf-round.
36275 (link-libm): New variable.
36276 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36277
9503345f
L
362782012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36279
36280 [BZ #14576]
36281 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36282 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36283 Likewise.
36284 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36285 Likewise.
36286
ad35fc00
JM
362872012-09-13 Joseph Myers <joseph@codesourcery.com>
36288
36289 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36290 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36291 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36292 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36293
6c9b0f68
JM
362942012-09-12 Joseph Myers <joseph@codesourcery.com>
36295
36296 [BZ #14518]
36297 * include/rounding-mode.h: New file.
36298 * sysdeps/generic/get-rounding-mode.h: Likewise.
36299 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36300 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36301 (MAX_VALUE): New macro.
36302 (MIN_VALUE): Likewise.
36303 (overflow_value): New function.
36304 (underflow_value): Likewise.
36305 (round_and_return): Use overflow_value and underflow_value to
36306 determine return values in overflow and underflow cases. Use
36307 round_away to determine rounding depending on rounding mode.
36308 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36309 determine return values in overflow and underflow cases.
36310 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36311 (struct test_results): New structure.
36312 (struct test): Use struct test_results to store expected results
36313 for all rounding modes.
36314 (TEST): Include expected results for all rounding modes.
36315 (test_in_one_mode): New function.
36316 (do_test): Use test_in_one_mode to compute and check results.
36317 Check results for all rounding modes.
36318 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36319 $(link-libm).
36320
19fcedd5
AM
363212012-12-09 Allan McRae <allan@archlinux.org>
36322
1e9d84cd 36323 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 36324
8bbfd2f1
JM
363252012-09-11 Joseph Myers <joseph@codesourcery.com>
36326
36327 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36328 (_G_int32_t): Likewise.
36329 (_G_uint16_t): Likewise.
36330 (_G_uint32_t): Likewise.
36331 (_G_HAVE_BOOL): Likewise.
36332 (_G_HAVE_ATEXIT): Likewise.
36333 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36334 (_G_HAVE_IO_FILE_OPEN): Likewise.
36335 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36336 (_G_int32_t): Likewise.
36337 (_G_uint16_t): Likewise.
36338 (_G_uint32_t): Likewise.
36339 (_G_HAVE_BOOL): Likewise.
36340 (_G_HAVE_ATEXIT): Likewise.
36341 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36342 (_G_HAVE_IO_FILE_OPEN): Likewise.
36343 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36344 (_G_int32_t): Likewise.
36345 (_G_uint16_t): Likewise.
36346 (_G_uint32_t): Likewise.
36347 (_G_HAVE_BOOL): Likewise.
36348 (_G_HAVE_ATEXIT): Likewise.
36349 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36350 (_G_HAVE_IO_FILE_OPEN): Likewise.
36351
b1dc5912
L
363522012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36353
36354 * csu/libc-tls.c: Update copyright years.
36355
0e886ef9
JM
363562012-09-10 Joseph Myers <joseph@codesourcery.com>
36357
28361c5e
JM
36358 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36359 [!_G_USING_THUNKS]: Remove conditional code.
36360 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36361 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36362
0e886ef9
JM
36363 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36364 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36365 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36366 (_G_VTABLE_LABEL_PREFIX): Likewise.
36367 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36368 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36369 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36370 (_G_VTABLE_LABEL_PREFIX): Likewise.
36371 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36372 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36373 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36374 (_G_VTABLE_LABEL_PREFIX): Likewise.
36375 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36376
bcba7aa2
L
363772012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36378
36379 * libio/Makefile: Include ../Makeconfig before tests.
36380 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36381 only if $(build-shared) is yes.
36382
06585ee8
L
36383 * iconv/gconv_db.c: Update copyright years.
36384
80ccd52c
LD
363852012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36386
36387 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36388 unwind info if defined PIC. Fix special cases description.
36389 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36390
36391 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36392 DP_HI_MASK entry.
36393 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36394
691bc9c1
L
363952012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36396
3d9b46b3
L
36397 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36398
de2139a9
L
36399 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36400 is NULL.
36401
5ca78dd0
L
36402 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36403 (LDLIBS-tst-chk4): This.
36404 (LDFLAGS-tst-chk5): Renamed to ...
36405 (LDLIBS-tst-chk5): This.
36406 (LDFLAGS-tst-chk6): Renamed to ...
36407 (LDLIBS-tst-chk6): This.
36408 (LDFLAGS-tst-lfschk4): Renamed to ...
36409 (LDLIBS-tst-lfschk4): This.
36410 (LDFLAGS-tst-lfschk5): Renamed to ...
36411 (LDLIBS-tst-lfschk5): This.
36412 (LDFLAGS-tst-lfschk6): Renamed to ...
36413 (LDLIBS-tst-lfschk6): This.
36414
691bc9c1
L
36415 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36416 on $(common-objpfx)soversions.mk.
36417
65cafb1c
JM
364182012-09-07 Joseph Myers <joseph@codesourcery.com>
36419
36420 [BZ #10014]
36421 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36422 example host name.
36423
c78ab094
SP
364242012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36425
36426 * malloc/arena.c (arena_get_retry): New function that gets
36427 another arena for the caller to try its request on.
36428 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36429 current arena cannot fulfill the request.
36430 (__libc_memalign): Likewise.
36431 (__libc_memalign): Likewise.
36432 (__libc_pvalloc): Likewise.
36433 (__libc_calloc): Likewise.
36434
01f49f59
JT
364352012-09-05 John Tobey <john.tobey@gmail.com>
36436
36437 [BZ #13542]
36438 * manual/arith.texi (Operations on Complex): Fix description
36439 of carg branch cut.
36440
4c23fed5
JM
364412012-09-06 Joseph Myers <joseph@codesourcery.com>
36442
1d3c8572
JM
36443 [BZ #10014]
36444 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36445 host name.
36446
4c23fed5
JM
36447 [BZ #10038]
36448 * manual/memory.texi (Memory): Make order of menu items match
36449 order of sections.
36450
04570aaa
L
364512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36452
36453 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36454 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36455 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36456
b80af2f4
L
364572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36458
36459 * csu/libc-tls.c (static_dtv): Renamed to ...
36460 (_dl_static_dtv): This. Make it global.
36461 (_dl_initial_dtv): Removed.
36462 (__libc_setup_tls): Updated.
36463 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36464 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36465 DL_INITIAL_DTV.
36466
2abe9f15
PM
364672012-09-06 Petr Machata <pmachata@redhat.com>
36468
36469 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36470 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36471 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36472 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36473
0948c3af
L
364742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36475
36476 [BZ #14545]
36477 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36478 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36479 freeing dtv[-1].
36480
a5055ad1
L
364812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36482
36483 [BZ #14544]
36484 * Makeconfig (link-static-before-libc): Replace $(+prector)
36485 with $(+prectorT).
36486 (link-static-after-libc): Replace $(+postctor) with
36487 $(+postctorT).
36488 (link-bounded): Replace $(+prector)/$(+postctor) with
36489 $(+prectorT)/$(+postctorT).
36490 (+prectorT): New macro.
36491 (+postctorT): Likewise.
36492
ed8c2ecd
JM
364932012-09-06 Joseph Myers <joseph@codesourcery.com>
36494
36495 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36496 (round_str): Handle values above the maximum for IBM long double
36497 as inexact.
36498 * stdlib/tst-strtod-round.c (tests): Regenerated.
36499
14c996c8
AK
365002012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36501
36502 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36503 assembler flag.
36504 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36505 zarch_nohighgprs around the zarch optimized routines.
36506 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36507 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36508 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36509 for zarch.
36510
430d6ce6
DM
365112012-09-05 David S. Miller <davem@davemloft.net>
36512
36513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36514
57f41c40
AS
36515 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36516 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
36517 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36518 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36519 entries.
36520
24d4e01b
AO
365212012-09-05 Alexandre Oliva <aoliva@redhat.com>
36522
36523 * malloc/arena.c: Fold copyright years.
36524 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36525
61d58174
AO
365262012-09-05 Alexandre Oliva <aoliva@redhat.com>
36527
36528 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36529
20196a5e
AO
365302012-09-05 Alexandre Oliva <aoliva@redhat.com>
36531
36532 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36533
5c447383
AO
365342012-09-05 Alexandre Oliva <aoliva@redhat.com>
36535
36536 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36537 change internal state upon failure.
36538
fad64255
AO
365392012-09-05 Alexandre Oliva <aoliva@redhat.com>
36540
36541 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36542 * malloc/memusage.c (mmap): Likewise.
36543 (mmap64, mremap): Likewise. Adjust name in comment.
36544
1ffb8c90
SP
365452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36546
36547 * libio/fileops.c: Fix typos in comments.
36548 * libio/oldfileops.c: Likewise.
36549 * libio/wfileops.c: Likewise.
36550
6ef9cc37
SP
365512012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36552
36553 [BZ #1349]
36554 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36555 (tst-malloc-usable-ENV): Set environment for test case.
36556 * malloc/hooks.c (malloc_check_get_size): New function to get
36557 requested size.
36558 * malloc/malloc.c (musable): Use malloc_check_get_size.
36559 * malloc/tst-malloc-usable.c: New test case.
36560
4d038ae3
AS
365612012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36562
36563 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36564
c4e85184
AM
365652012-09-05 Allan McRae <allan@archlinux.org>
36566
b9dafc56 36567 [BZ #13966]
c4e85184
AM
36568 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36569 determine header location.
36570 * configure: Regenerated.
36571
e1343020
AS
365722012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36573
36574 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36575 float format.
36576 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
36577 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36578 format.
e1343020
AS
36579 (test): Regenerate.
36580
0a9f1987
DM
365812012-09-04 David S. Miller <davem@davemloft.net>
36582
36583 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36584 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36585 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36586
29237804
FW
365872012-09-04 Florian Weimer <fweimer@redhat.com>
36588
36589 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36590 failures.
36591
edb3cb88
FW
36592 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36593
60160d83
JM
365942012-09-04 Joseph Myers <joseph@codesourcery.com>
36595
36596 [BZ #9914]
36597 * libio/iogetdelim.c: Include <limits.h>.
36598 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36599 + len + 1 would overflow.
36600
bcd6c8dc
AJ
366012012-09-03 Andreas Jaeger <aj@suse.de>
36602
36603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36604 * sysdeps/i386/fpu/libm-test-ulps: Update.
36605
4ffffbd2
LD
366062012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36607
36608 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36609 Add s_sinf-sse2, s_conf-sse2.
36610
36611 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36612 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36613 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36614 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36615
36616 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36617 for using routine as __sinf_ia32.
36618 Use macro for function declaration and weak_alias.
36619 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36620 for using routine as __cosf_ia32.
36621 Use macro for function declaration and weak_alias.
36622
36623 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36624 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36625
36626 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36627 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36629
36630 * math/libm-test.inc (cos_test): Add more test cases.
36631 (sin_test): Likewise.
36632 (sincos_test): Likewise.
36633
511fa286
AK
366342012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36635
36636 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36637 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36638 hidden.
36639 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36640
5f30cfec
L
366412012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36642
36643 [BZ #14538]
36644 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36645 first element of the GOT.
36646 (elf_machine_load_address): Return the difference between
36647 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36648
0786794f
AM
366492012-09-01 Allan McRae <allan@archlinux.org>
36650
5f30cfec
L
36651 [BZ #13412]
36652 * configure.in (AWK): Require gawk version 3.0 or later.
36653 * configure: Regenerated.
0786794f 36654
26889eac
JM
366552012-09-01 Joseph Myers <joseph@codesourcery.com>
36656
36657 * sysdeps/unix/sysv/linux/kernel-features.h
36658 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36659 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36660 [__NR_clock_getres]: Make code unconditional.
36661 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36662 (clock_getcpuclockid): Remove code left unreachable by removal of
36663 conditionals.
36664 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36665 code unconditional.
36666 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36667 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36668 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36669 Make code unconditional.
36670 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36671 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36672 * sysdeps/unix/sysv/linux/clock_settime.c
36673 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36674 conditional code.
36675 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36676 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36677
d22e28b0
L
366782012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36679
36680 [BZ #14476]
36681 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36682 scripts/test-installation.pl.
36683
36684 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36685 and $ld_so_version if it is set.
36686
050af9c4
SP
366872012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36688
36689 [BZ #14516]
36690 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36691 failure if reading from procfs failed.
36692 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36693
ad845c0b
JM
366942012-08-27 Joseph Myers <joseph@codesourcery.com>
36695
36696 * sysdeps/unix/sysv/linux/kernel-features.h
36697 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36698 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36699 Remove conditional code.
36700 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36701 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36702 Remove conditional code.
36703 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36704 * sysdeps/unix/sysv/linux/i386/fxstat.c
36705 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36706 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36707 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36708 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36709 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36710 * sysdeps/unix/sysv/linux/i386/lxstat.c
36711 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36712 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36713 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36714 Remove conditional code.
36715 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36716 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36717 Remove conditional code.
36718 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36719 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36720 <kernel-features.h>.
36721 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36722 Remove.
36723 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36724 Remove conditional code.
36725 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36726 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36727 Remove conditional.
36728
5dbf56af
MF
367292012-08-27 Mike Frysinger <vapier@gentoo.org>
36730
36731 [BZ #5400]
36732 * NEWS: Add fixed bug number.
36733
d6e70f43
JM
367342012-08-27 Joseph Myers <joseph@codesourcery.com>
36735
7efb4737
JM
36736 [BZ #14519]
36737 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36738 underflowing exponent in case of negative sign.
36739 * stdlib/tst-strtod-round-data: Add more tests.
36740 * stdlib/tst-strtod-round.c (tests): Regenerated.
36741
af92131a
JM
36742 [BZ #3479]
36743 * stdlib/strtod_l.c (NDIG): Remove.
36744 (HEXNDIG): Likewise.
36745 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36746 smallest representable value.
36747 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36748 lie within an exact representation of 1/2 ulp of the result.
36749 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36750 unconditionally.
36751 (TENS_P9_IDX): Define unconditionally.
36752 (TENS_P9_SIZE): Likewise.
36753 (TENS_P10_IDX): Likewise.
36754 (TENS_P10_SIZE): Likewise.
36755 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36756 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36757 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36758 entries for 10^2^13 and 10^2^14.
36759 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36760 (TENS_P13_IDX): Define.
36761 (TENS_P13_SIZE): Likewise.
36762 (TENS_P14_IDX): Likewise.
36763 (TENS_P14_SIZE): Likewise.
36764 (_fpioconst_pow10): Change array size to
36765 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36766 unconditional.
36767 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36768 1024]: Add entries for 10^2^13 and 10^2^14.
36769 [LAST_POW10 > _LAST_POW10]: Remove #error.
36770 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36771 (_fpioconst_pow10): Change array size to
36772 FPIOCONST_POW10_ARRAY_SIZE.
36773 * stdlib/gen-fpioconst.c: New file.
36774 * stdlib/gen-tst-strtod-round.c: Likewise.
36775 * stdlib/tst-strtod-round-data: Likewise.
36776 * stdlib/tst-strtod-round.c: Likewise.
36777 * stdlib/Makefile (tests): Add tst-strtod-round.
36778
d6e70f43
JM
36779 [BZ #14459]
36780 * stdlib/strtod_l.c: Include <stdint.h>.
36781 (NDEBUG): Do not define.
36782 (round_and_return): Change EXPONENT parameter to type intmax_t.
36783 Rearrange calculations to avoid internal overflow possibilities.
36784 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36785 Rearrange calculations to avoid internal overflow possibilities.
36786 Assert that number fits inside MPNSIZE limbs.
36787 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36788 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36789 calculations and add assertions to avoid internal overflow
36790 possibilities. Add casts to avoid signed/unsigned operations.
36791 * stdlib/tst-strtod-overflow.c: New file.
36792 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36793
1f529f7d
MP
367942012-08-25 Marek Polacek <polacek@redhat.com>
36795
36796 * time/time.h: Fix some typos in comments.
36797
59a629f1
RM
367982012-08-23 Roland McGrath <roland@hack.frob.com>
36799
36800 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36801 * posix/tst-rfc3484-2.c: Likewise.
36802 * posix/tst-rfc3484-3.c: Likewise.
36803
d3bafbc9
SM
368042012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36805
36806 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36807 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36808
4efcc022
JM
368092012-08-23 Joseph Myers <joseph@codesourcery.com>
36810
36811 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36812 #include of fxstatat64.c.
36813
3cc3ef96
RM
368142012-08-22 Roland McGrath <roland@hack.frob.com>
36815
f04e2132
RM
36816 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36817 * shadow/getspent_r.c: Likewise.
36818 * shadow/getspnam.c: Likewise.
36819 * shadow/getspnam_r.c: Likewise.
36820 * gshadow/getsgent.c: Likewise.
36821 * gshadow/getsgent_r.c: Likewise.
36822 * gshadow/getsgnam.c: Likewise.
36823 * gshadow/getsgnam_r.c: Likewise.
36824 * inet/getnetbyad.c: Likewise.
36825 * inet/getnetbyad_r.c: Likewise.
36826 * inet/getnetbynm.c: Likewise.
36827 * inet/getnetbynm_r.c: Likewise.
36828 * inet/getnetent.c: Likewise.
36829 * inet/getnetent_r.c: Likewise.
36830 * inet/getproto.c: Likewise.
36831 * inet/getproto_r.c: Likewise.
36832 * inet/getprtent.c: Likewise.
36833 * inet/getprtent_r.c: Likewise.
36834 * inet/getprtname.c: Likewise.
36835 * inet/getprtname_r.c: Likewise.
36836 * inet/getrpcbyname.c: Likewise.
36837 * inet/getrpcbyname_r.c: Likewise.
36838 * inet/getrpcbynumber.c: Likewise.
36839 * inet/getrpcbynumber_r.c: Likewise.
36840 * inet/getrpcent.c: Likewise.
36841 * inet/getrpcent_r.c: Likewise.
36842 * inet/getaliasent.c: Likewise.
36843 * inet/getaliasent_r.c: Likewise.
36844 * inet/getaliasname.c: Likewise.
36845 * inet/getaliasname_r.c: Likewise.
36846 * nscd/getgrgid_r.c: Likewise.
36847 * nscd/getgrnam_r.c: Likewise.
36848 * nscd/gethstbyad_r.c: Likewise.
36849 * nscd/gethstbynm3_r.c: Likewise.
36850 * nscd/getpwnam_r.c: Likewise.
36851 * nscd/getpwuid_r.c: Likewise.
36852 * nscd/getsrvbynm_r.c: Likewise.
36853 * nscd/getsrvbypt_r.c: Likewise.
36854 * nscd/gai.c: Likewise.
36855
c53d909c
RM
36856 * configure.in (build_nscd): New substituted variable, set
36857 by --disable-build-nscd and defaults to $use_nscd.
36858 * configure: Regenerated.
36859 * config.make.in (build-nscd): New substituted variable.
36860 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36861 Change conditional to require [$(build-nscd) = yes] as well.
36862 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36863
3cc3ef96
RM
36864 [BZ# 13696]
36865 * configure.in (use_nscd): New substituted variable, set by
36866 --disable-nscd. If enabled, define USE_NSCD.
36867 * configure: Regenerated.
36868 * config.h.in: Add USE_NSCD.
36869 * config.make.in (use-nscd): New substituted variable.
36870 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36871 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36872 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36873 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36874 (CFLAGS-getgrnam_r.c): Likewise.
36875 (CFLAGS-initgroups.c): Likewise.
36876 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36877 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36878 Variables removed.
36879 * inet/getnetgrent_r.c
36880 (nscd_setnetgrent): New function, broken out of ...
36881 (setnetgrent): ... here. Call it.
36882 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36883 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36884 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36885 * nscd/Makefile (routines, aux): Move definitions after include of
36886 Makeconfig. Conditionalize on [$(use-nscd) != no].
36887 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36888 Conditionalize on [USE_NSCD].
36889 (is_nscd, nscd_init_cb): Likewise.
36890 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36891 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36892 * nss/nss_db/db-init.c: Likewise.
36893 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36894 [USE_NSCD].
36895 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36896 (make_request): Use it.
36897 (cache_valid_p): New function.
36898 (__check_pf): Use it.
36899 * NEWS: Add item for --disable-nscd.
36900
07e51550
DL
369012012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36902
36903 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36904 to support sed >= 4.2.1-20-ga9bf076.
36905 * configure: Regenerated.
36906
35a5b08b
RM
369072012-08-22 Roland McGrath <roland@hack.frob.com>
36908
36909 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36910 Conditionalize whole body on [IREL].
36911
8479f23a
JL
369122012-08-22 Jeff Law <law@redhat.com>
36913
36914 [BZ #14505]
36915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36916 if the family is PF_UNSPEC.
36917
48da0b21
MF
369182012-08-22 Mike Frysinger <vapier@gentoo.org>
36919
36920 * Makerules (lib-version): Rename from V.
36921 (install-lib-nosubdir): Change V to lib-version.
36922
15d0da8c
WS
369232012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36924
36925 [BZ #14252]
36926 * powerpc32/power6/wcschr.c: New file.
36927 * powerpc32/power6/wcscpy.c: New file.
36928 * powerpc32/power6/wcsrchr.c: New file.
36929 * powerpc64/power6/wcschr.c: New file.
36930 * powerpc64/power6/wcscpy.c: New file.
36931 * powerpc64/power6/wcsrchr.c: New file.
36932
bcca0895
MK
369332012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36934
36935 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36936 (two_way_short_needle): Use it.
5a4aaa33
RM
36937 * string/strstr.c (AVAILABLE1_USES_J): Define.
36938 * string/strcasestr.c: Likewise.
99677e57
MK
36939
36940 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36941 array references.
36942 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36943
400726de
MK
36944 [BZ #11607]
36945 * NEWS: Add an entry.
36946 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36947 define their defaults.
36948 (two_way_short_needle): Detect end-of-string on-the-fly.
36949 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36950 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36951 * string/bug-strcasestr1.c: New test.
36952 * string/Makefile: Run it.
36953
20a71f2c
MK
369542012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36955
36956 [BZ #11607]
36957 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36958 the first character.
36959
21ad0558
RM
369602012-08-21 Roland McGrath <roland@hack.frob.com>
36961
36962 * csu/elf-init.c (__libc_csu_irel): Function removed.
36963 * csu/libc-start.c (apply_irel): New function.
36964 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36965
0e1d9911
JM
369662012-08-21 Joseph Myers <joseph@codesourcery.com>
36967
36968 * sysdeps/unix/sysv/linux/kernel-features.h
36969 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36970 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36971 <kernel-features.h>.
36972 [__NR_fadvise64_64]: Make code unconditional.
36973 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36974 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36975 !__NR_fadvise64_64)]: Likewise.
36976 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36977 !__NR_fadvise64_64))]: Likewise.
36978 [__NR_fadvise64]: Make code unconditional.
36979 [!__NR_fadvise64]: Remove conditional code.
36980 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36981 <kernel-features.h>.
36982 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36983 unconditional.
36984 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36985 conditional code.
36986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36987 not include <kernel-features.h>.
36988 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36989 unconditional.
36990 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36991 conditional code.
36992 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36993 include <kernel-features.h>.
36994 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36995 unconditional.
36996 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36997 conditional code.
36998
14a50c9d
WS
369992012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37000
37001 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37002 slight instruction rearrangements per scrollpipe analysis.
37003 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37004
c0f4faf0
RM
370052012-08-20 Roland McGrath <roland@hack.frob.com>
37006
696da859
RM
37007 * manual/syslog.texi (syslog; vsyslog, closelog):
37008 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37009 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37010
c0f4faf0
RM
37011 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37012 DSOCAPS to match condition on defining it.
37013
348363b2
JM
370142012-08-20 Joseph Myers <joseph@codesourcery.com>
37015
a35cbf28
JM
37016 * sysdeps/unix/sysv/linux/kernel-features.h
37017 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37019 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37020 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37022 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37023 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37025 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37026 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37027
445f7ecd
JM
37028 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37029 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37030
348363b2
JM
37031 * sysdeps/unix/sysv/linux/kernel-features.h
37032 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37033 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37034 unconditional.
37035 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37036 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37037 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37038 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37039 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37040 Make code unconditional.
37041 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37042 (__mmap64) [!__NR_mmap2]: Likewise.
37043 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37044 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37045 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37046 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37047 [__NR_mmap2]: Make code unconditional.
37048 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37049 (__mmap64) [!__NR_mmap2]: Likewise.
37050
bc5bc0e5
AK
370512012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37052
37053 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37054
88d506de
AJ
370552012-08-18 Andreas Jaeger <aj@suse.de>
37056
37057 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37058
493387d2
MF
370592012-08-18 Mike Frysinger <vapier@gentoo.org>
37060
37061 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37062 * include/unistd.h (__have_sock_cloexec): Likewise.
37063 (__have_pipe2): Likewise.
37064 (__have_dup3): Likewise.
37065
a277af22
MF
370662012-08-18 Mike Frysinger <vapier@gentoo.org>
37067
37068 [BZ #9685]
37069 * include/unistd.h (__have_pipe2): Change define into an extern int.
37070 (__have_dup3): Likewise.
37071 * socket/have_sock_cloexec.c: Include fcntl.h.
37072 (__have_pipe2): New variable.
37073 (__have_dup3): Likewise.
37074
fdab8fd3
MF
370752012-08-17 Mike Frysinger <vapier@gentoo.org>
37076
37077 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37078
31035e80
MP
370792012-08-17 Marek Polacek <polacek@redhat.com>
37080
37081 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37082 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37083
3bd9e993
RM
370842012-08-17 Roland McGrath <roland@hack.frob.com>
37085
c91c505f
RM
37086 * configure.in: Add AC_SUBST for sysheaders.
37087 * configure: Regenerated.
37088 * config.make.in (sysheaders): New substituted variable.
37089
7c6f9d53
RM
37090 * sysdeps/unix/mkfifo.c: Moved ...
37091 * sysdeps/posix/mkfifo.c: ... here.
37092 * sysdeps/unix/mkfifoat.c: Moved ...
37093 * sysdeps/posix/mkfifoat.c: ... here.
37094
37095 * sysdeps/unix/utime.c: Moved ...
37096 * sysdeps/posix/utime.c: ... here.
37097
37098 * sysdeps/unix/time.c: Moved ...
37099 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
37100 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37101 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
37102
37103 * sysdeps/unix/nice.c: Moved ...
37104 * sysdeps/posix/nice.c: ... here.
37105
37106 * sysdeps/unix/alarm.c: Moved ...
37107 * sysdeps/posix/alarm.c: ... here.
37108
3bd9e993
RM
37109 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37110
d1f09384
JL
371112012-08-17 Jeff Law <law@redhat.com>
37112
37113 * intl/Makefile (codeset_mo): New variable.
37114 ($(codeset_mo)): New target.
37115 (tst-codeset.out): Depend on that. Remove explicit rule.
37116 (tst-gettext3.out, tst-gettext5.out): Likewise.
37117 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37118 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37119 * intl/tst-codeset.sh: Remove.
37120 * intl/tst-gettext3.sh: Likewise.
37121 * intl/tst-gettext5.sh: Likewise.
37122
2ae1ae5c
RM
371232012-08-17 Roland McGrath <roland@hack.frob.com>
37124
c31fdb83
RM
37125 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37126 * sysdeps/unix/syscalls.list: ... here.
37127
a0844057
RM
37128 * sysdeps/posix/getaddrinfo.c
37129 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37130 (gaiconf_init, gaiconf_reload): Use them.
37131 [!_STATBUF_ST_NSEC]
37132 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37133 Define using time_t rather than struct timespec.
37134
750c1f2a
RM
37135 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37136 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37137 Macros removed.
37138 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37139 [!NO_THREADS].
37140 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37141 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37142 Likewise.
37143
2ae1ae5c
RM
37144 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37145 __libc_cleanup_push argument.
37146
e66a42f5
RM
37147 * bits/param.h: New file.
37148 * misc/sys/param.h: New file.
37149 * include/sys/param.h: New file.
37150 * misc/Makefile (headers): Add bits/param.h.
37151 * sysdeps/generic/sys/param.h: File removed.
37152 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37153 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37154 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 37155 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 37156
b7c08a66
RM
37157 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37158 last change.
37159
b2e1c562
RM
37160 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37161 [_IO_MTSAFE_IO].
37162 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37163 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37164 New macros.
37165
c75ccd4c
RM
37166 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37167 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37168 rather than -D_IO_MTSAFE_IO conditionally.
37169 * stdio-common/Makefile (CPPFLAGS): Likewise.
37170 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37171 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37172 Use $(libio-mtsafe).
37173 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37174 of -D_IO_MTSAFE_IO.
37175 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37176 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37177 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37178 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37179 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37180 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37181 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37182 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37183 (CFLAGS-fread_u_chk.c): Likewise.
37184 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37185 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37186 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37187 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37188 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37189 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37190 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37191 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37192 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37193
37194 * libio/Makefile: Test [$(libc-reentrant) = yes]
37195 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37196
37197 * Makeconfig
37198 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37199 * sysdeps/pthread/configure: File removed.
37200 * sysdeps/pthread/Makeconfig: New file.
37201 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37202 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37203
d9195db8
GB
372042012-08-16 Gary Benson <gbenson@redhat.com>
37205
37206 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37207 unmapping the first object in a namespace.
37208
86466cd9
RM
372092012-08-16 Roland McGrath <roland@hack.frob.com>
37210
37211 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37212 (__internal_setnetgrent): ... this. Add internal_function to
37213 definition. Add libc_hidden_def.
37214 (setnetgrent): Update caller.
37215 (internal_endnetgrent): Renamed to ...
37216 (__internal_endnetgrent): ... this. Add internal_function to
37217 definition. Add libc_hidden_def.
37218 (endnetgrent): Update caller.
37219 (internal_getnetgrent_r): Renamed to ...
37220 (__internal_getnetgrent_r): ... this. Add internal_function to
37221 definition. Add libc_hidden_def.
37222 (__getnetgrent_r): Update caller.
37223 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37224
c3c8283c
JM
372252012-08-16 Joseph Myers <joseph@codesourcery.com>
37226
37227 * stdlib/longlong.h: Update from GCC.
37228
db1ee0a8
RM
372292012-08-16 Roland McGrath <roland@hack.frob.com>
37230
37231 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37232 on _QL, which is set by umul_ppmm but never used.
37233 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37234 variables, which are set by GMP macros but never used.
37235 * stdio-common/_itowa.c (_itowa): Likewise.
37236 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37237 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37238
30f69637
CD
372392012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37240
37241 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37242 struct La_sh_regs is not constant.
37243 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37244 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37245 and struct La_sparc64_regs are not constant.
37246
93a78ac4
JM
372472012-08-16 Joseph Myers <joseph@codesourcery.com>
37248
37249 * sysdeps/unix/sysv/linux/kernel-features.h
37250 (__ASSUME_POSIX_TIMERS): Remove.
37251 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37252 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37253 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37254 Make code unconditional.
37255 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37256 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37257 Make code unconditional.
37258 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37259 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37260 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37261 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37262 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37263 Make code unconditional.
37264 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37265 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37266 (__libc_missing_posix_timers): Remove.
37267
dd924cd7
RM
372682012-08-15 Roland McGrath <roland@hack.frob.com>
37269
4b4f2771
RM
37270 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37271 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37272
601c888b
RM
37273 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37274
176790a7
RM
37275 * elf/dl-sym.c: Include <stdlib.h>.
37276
329bc018
RM
37277 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37278 constants, which avoids warnings in 32-bit builds.
37279
e04e272d
RM
37280 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37281 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37282
952bf94a
RM
37283 * misc/lseek.c: File moved to ...
37284 * io/lseek.c: ... here.
37285
7c99b50a
RM
37286 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37287
dd924cd7
RM
37288 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37289 shifting LEN more than 31 bits at once.
37290
b3f479a8
LD
372912012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37292
37293 [BZ #14195]
8c4ae0d4
RM
37294 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37295 segmentation fault for a case of two empty input strings.
b3f479a8
LD
37296 * string/test-strncasecmp.c (check1): Renamed to...
37297 (bz12205): ...this.
37298 (bz14195): Add new testcase for two empty input strings and N > 0.
37299 (test_main): Call new testcase, adapt for renamed function.
37300
9c55864e
AJ
373012012-08-15 Andreas Jaeger <aj@suse.de>
37302
37303 [BZ #14090]
37304 * crypt/md5test2.c: New test, based on test supplied by Serge
37305 Belyshev <belyshev@depni.sinp.msu.ru>.
37306 * crypt/Makefile (xtests): Add md5test-giant..
37307 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37308
02dcb6c5
PE
373092012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37310
37311 [BZ #14090]
37312 * crypt/md5.c (md5_process_block): Don't assume the buffer
37313 length is less than 2**32.
37314 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37315 length is less than 2**64.
37316
a3f95dcc
RM
373172012-08-15 Roland McGrath <roland@hack.frob.com>
37318
be75d758
RM
37319 * string/str-two-way.h: Include <sys/param.h>.
37320 (MAX): Macro removed.
37321
7312ca90
RM
37322 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37323 Move #define and #undef of memmove to just before and after
37324 including <string.h>.
37325
9a0a5486
RM
37326 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37327 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37328 and after including <string.h>. Move declarations of
37329 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37330 to before #include "string/memmove.c".
37331
67cc348d
RM
37332 * include/dirent.h: Declare __getdirentries.
37333
a3f95dcc
RM
37334 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37335 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37336
ca98e171
MF
373372012-08-14 Mike Frysinger <vapier@gentoo.org>
37338
37339 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37340 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37341 * sysdeps/i386/configure: Regenerated.
37342 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37343 STABS_CURRENT_FILE, and STABS_FUN.
37344 (END): Remove call to STABS_FUN_END.
37345 (STABS_CURRENT_FILE1): Delete.
37346 (STABS_CURRENT_FILE): Likewise.
37347 (STABS_FUN): Likewise.
37348 (STABS_FUN_END): Likewise.
37349 (STABS_FUN2): Likewise.
37350 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37351 * sysdeps/x86_64/configure: Regenerated.
37352
5908bf46
RM
373532012-08-14 Roland McGrath <roland@hack.frob.com>
37354
37355 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 37356 * elf/dl-lookup.c: Likewise.
5908bf46 37357
f2c05b9e
JM
373582012-08-14 Joseph Myers <joseph@codesourcery.com>
37359
37360 * sysdeps/unix/sysv/linux/kernel-features.h
37361 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37362 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37363 unconditionally.
37364 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37365 unconditionally.
37366 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37367 condition on __ASSUME_CLONE_THREAD_FLAGS.
37368
e11f5155
AJ
373692012-08-14 Andreas Jaeger <aj@suse.de>
37370
37371 * sysdeps/i386/fpu/libm-test-ulps: Update.
37372
51a9ba86
MK
373732012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37374
2fdd4f78
AJ
37375 * include/atomic.h (atomic_exchange_and_add): Split into ...
37376 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37377 New atomic macros.
51a9ba86 37378
ba6cba9e
MT
373792012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37380
37381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37382
42443a47
JL
373832012-08-13 Jeff Law <law@redhat.com>
37384
37385 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37386 null byte in the output string.
37387
121dce05
JM
373882012-08-10 Joseph Myers <joseph@codesourcery.com>
37389
37390 * sysdeps/unix/sysv/linux/kernel-features.h
37391 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37392 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37393 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37394 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37395 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37396 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37397 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37398
bf51f568
JL
373992012-08-09 Jeff Law <law@redhat.com>
37400
37401 [BZ #13939]
37402 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37403 When avoid_arena is set, don't retry in the that arena. Pick the
37404 next one, whatever it might be.
37405 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37406 (arena_lock): Pass in new parameter to arena_get2.
37407 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37408 arena_get2.
37409 (__libc_malloc): Unify retrying after main arena failure with
37410 __libc_memalign version.
37411 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37412
f85fa270
L
374132012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37414
37415 [BZ #14166]
37416 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37417 to __redirect_strstr.
37418 (__strstr_sse42): Use typeof __redirect_strstr.
37419 (__strstr_ia32): Likewise.
37420 (__libc_strstr): New prototype.
37421 (strstr): Renamed to ...
37422 (__libc_strstr): This.
37423 (strstr): New strong alias of __libc_strstr.
37424 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37425 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37426 __redirect_time.
37427 Include <time.h>.
37428 (__libc_time): New prototype.
37429 (time_ifunc): Replace time with __libc_time.
37430 (time): New strong alias and hidden definition of __libc_time.
37431 (__GI_time): Remove strong alias.
37432 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37433 Include <stddef.h>.
37434 (memmove): Redefined to __redirect_memmove.
37435 (__memmove_sse2): Use typeof __redirect_memmove.
37436 (__memmove_ssse3): Likewise.
37437 (__memmove_ssse3_back): Likewise.
37438 (__libc_memmove): New prototype.
37439 (memmove): Renamed to ...
37440 (__libc_memmove): This.
37441 (memmove): New strong alias of __libc_memmove.
37442
33b4a91e
MS
374432012-08-08 Mark Salter <msalter@redhat.com>
37444
37445 * elf/elf.h
37446 (R_MN10300_TLS_GD): Define.
37447 (R_MN10300_TLS_LD): Likewise.
37448 (R_MN10300_TLS_LDO): Likewise.
37449 (R_MN10300_TLS_GOTIE): Likewise.
37450 (R_MN10300_TLS_IE): Likewise.
37451 (R_MN10300_TLS_LE): Likewise.
37452 (R_MN10300_TLS_DTPMOD): Likewise.
37453 (R_MN10300_TLS_DTPOFF): Likewise.
37454 (R_MN10300_TLS_TPOFF): Likewise.
37455 (R_MN10300_SYM_DIFF): Likewise.
37456 (R_MN10300_ALIGN): Likewise.
37457 (R_MN10300_NUM): Update.
37458
b36137f1
JM
374592012-08-08 Joseph Myers <joseph@codesourcery.com>
37460
37461 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37462 Remove.
37463
cdd915fd
RM
374642012-08-08 Roland McGrath <roland@hack.frob.com>
37465
a2433aac
RM
37466 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37467
cdd915fd
RM
37468 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37469 sysdeps/unix -> sysdeps/posix move.
37470 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37471
bf9b740a
AM
374722012-08-07 Allan McRae <allan@archlinux.org>
37473
37474 [BZ #14303]
37475 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37476 (SUNOS_CPP): Likewise.
37477 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37478 not found.
37479 (open_input): Call CPP using execvp.
37480
93df14ee
JM
374812012-08-07 Joseph Myers <joseph@codesourcery.com>
37482
37483 * sysdeps/unix/sysv/linux/kernel-features.h
37484 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37485 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37486 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37487 (__ASSUME_WAITID_SYSCALL): Likewise.
37488 * sysdeps/unix/sysv/linux/dl-execstack.c
37489 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37490 code unconditional.
37491 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37492 conditional code.
37493 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37494 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37495 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37496 code.
37497 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37498 unconditional.
37499 [__ASSUME_WAITID_SYSCALL]: Likewise.
37500 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37501
d34689de
RM
375022012-08-07 Roland McGrath <roland@hack.frob.com>
37503
a281decc
RM
37504 * sysdeps/unix/closedir.c: Renamed to ...
37505 * sysdeps/posix/closedir.c: ... here.
37506 * sysdeps/unix/dirfd.c: Renamed to ...
37507 * sysdeps/posix/dirfd.c: ... here.
37508 * sysdeps/unix/dirstream.h: Renamed to ...
37509 * sysdeps/posix/dirstream.h: ... here.
37510 * sysdeps/unix/fdopendir.c: Renamed to ...
37511 * sysdeps/posix/fdopendir.c: ... here.
37512 * sysdeps/unix/opendir.c: Renamed to ...
37513 * sysdeps/posix/opendir.c: ... here.
37514 * sysdeps/unix/readdir.c: Renamed to ...
37515 * sysdeps/posix/readdir.c: ... here.
37516 * sysdeps/unix/readdir_r.c: Renamed to ...
37517 * sysdeps/posix/readdir_r.c: ... here.
37518 * sysdeps/unix/rewinddir.c: Renamed to ...
37519 * sysdeps/posix/rewinddir.c: ... here.
37520 * sysdeps/unix/seekdir.c: Renamed to ...
37521 * sysdeps/posix/seekdir.c: ... here.
37522 * sysdeps/unix/telldir.c: Renamed to ...
37523 * sysdeps/posix/telldir.c: ... here.
37524 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37525 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37526 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37527 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37528
22895b47
RM
37529 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37530 * bits/fcntl.h: ... here.
37531
707a53b6
RM
37532 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37533 not 0.
37534 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37535 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37536 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37537 (struct flock): Move l_start, l_len to the beginning.
37538 Use __pid_t for l_pid.
37539 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37540 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37541 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37542 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37543 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37544 [__USE_LARGEFILE64] (struct flock64): New type.
37545 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37546
f0bd3e25
RM
37547 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37548 * bits/dirent.h: ... here.
37549
d34689de
RM
37550 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37551 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37552
6dad2c06
JM
375532012-08-07 Joseph Myers <joseph@codesourcery.com>
37554
37555 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37556 Change from 2.6.0 to 2.6.16.
37557 * sysdeps/unix/sysv/linux/configure: Regenerated.
37558 * sysdeps/unix/sysv/linux/kernel-features.h
37559 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37560 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37561 version.
37562 (__ASSUME_UTIMES): Likewise.
37563 (__ASSUME_CLONE_STOPPED): Remove.
37564 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37565 architectures, not kernel version.
37566 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37567 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37568 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37569 (__ASSUME_WAITID_SYSCALL): Likewise.
37570 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37571 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37572 * README: State 2.6.16 as minimum Linux kernel version. Do not
37573 refer to older versions.
37574
03af9520
RM
375752012-08-06 Roland McGrath <roland@hack.frob.com>
37576
8e49df1d
RM
37577 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37578 Define alphasort64 as an alias.
37579 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37580 Define versionsort64 as an alias.
37581 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37582 Define scandir64 as an alias.
37583 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37584 Define scandirat64 as an alias.
37585 * dirent/alphasort64.c (alphasort64):
37586 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37587 * dirent/versionsort64.c: Likewise.
37588 * dirent/scandir64.c: Likewise.
37589 * dirent/scandirat64.c: Likewise.
37590 * sysdeps/wordsize-64/alphasort.c: File removed.
37591 * sysdeps/wordsize-64/alphasort64.c: File removed.
37592 * sysdeps/wordsize-64/scandir.c: File removed.
37593 * sysdeps/wordsize-64/scandir64.c: File removed.
37594 * sysdeps/wordsize-64/scandirat.c: File removed.
37595 * sysdeps/wordsize-64/scandirat64.c: File removed.
37596 * sysdeps/wordsize-64/versionsort.c: File removed.
37597 * sysdeps/wordsize-64/versionsort64.c: File removed.
37598 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37599 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37600 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37601 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37602 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37603 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37604 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37605 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37606
37607 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37608 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37609 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37610 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37611 [defined __arch64__ || defined __sparcv9]
37612 (__INO_T_MATCHES_INO64_T): New macro.
37613 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37614 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37615 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37616 * sysdeps/unix/sysv/linux/bits/dirent.h
37617 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37618 (_DIRENT_MATCHES_DIRENT64): New macro.
37619
03af9520
RM
37620 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37621 Define lockf64 as an alias.
37622 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37623 Define fseeko64 as an alias.
37624 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37625 Define ftello64 as an alias.
37626 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37627 Define _IO_fgetpos64 and fgetpos64 as aliases.
37628 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37629 Define _IO_fsetpos64 and fsetpos64 as aliases.
37630 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37631 Conditionalize body on this.
37632 * libio/fseeko64.c: Likewise.
37633 * libio/ftello64.c: Likewise.
37634 * libio/iofgetpos64.c: Likewise.
37635 * libio/iofsetpos64.c: Likewise.
37636 * sysdeps/wordsize-64/lockf.c: File removed.
37637 * sysdeps/wordsize-64/lockf64.c: File removed.
37638 * sysdeps/wordsize-64/fseeko.c: File removed.
37639 * sysdeps/wordsize-64/fseeko64.c: File removed.
37640 * sysdeps/wordsize-64/ftello.c: File removed.
37641 * sysdeps/wordsize-64/ftello64.c: File removed.
37642 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37643 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37644 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37645 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37646 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37647 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37648 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37649 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37650 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37651 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37652 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37653 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37654 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37655 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37656
37657 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37658 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37659 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37660 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37661 [defined __arch64__ || defined __sparcv9]
37662 (__OFF_T_MATCHES_OFF64_T): New macro.
37663 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37664 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37665 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37666 (__OFF_T_MATCHES_OFF64_T): New macro.
37667
c5757acd
L
376682012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37669
37670 * stdlib/secure-getenv.c (__secure_getenv): Replace
37671 GLIBC_2_16 with GLIBC_2_17.
37672
3a31811e
L
376732012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37674
37675 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37676 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37677
faa2bccb
DM
376782012-08-03 David S. Miller <davem@davemloft.net>
37679
37680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37681
85fe1997
JM
376822012-08-03 Joseph Myers <joseph@codesourcery.com>
37683
37684 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37685 Remove.
37686 (__ASSUME_CORRECT_SI_PID): Likewise.
37687 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37688 (__ASSUME_TMPFS_NAME): Likewise.
37689 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37690 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37691 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37692 (HAVE_AUX_SECURE): Make definition unconditional.
37693 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37694 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37695
4f75b7a0
RM
376962012-08-03 Roland McGrath <roland@hack.frob.com>
37697
37698 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37699 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37700 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37701 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37702 __eloop_threshold instead of SYMLOOP_MAX.
37703
37704 * sysdeps/generic/eloop-threshold.h: New file.
37705 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37706 of MAXSYMLINKS.
37707 * elf/chroot_canon.c (chroot_canon): Likewise.
37708
7aab07e4
JM
377092012-08-03 Joseph Myers <joseph@codesourcery.com>
37710
37711 [BZ #13717]
37712 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37713 Change to 2.6.0 everywhere.
37714 * sysdeps/unix/sysv/linux/configure: Regenerated.
37715 * sysdeps/unix/sysv/linux/kernel-features.h
37716 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37717 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37718 kernel versions.
37719 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37720 (__ASSUME_FUTEX_REQUEUE): Remove.
37721 (__ASSUME_STATFS64): Define unconditionally.
37722 (__ASSUME_AT_SECURE): Likewise.
37723 (__ASSUME_CORRECT_SI_PID): Likewise.
37724 (__ASSUME_TGKILL): Define without depending on kernel version for
37725 i386.
37726 (__ASSUME_UTIMES): Likewise.
37727 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37728 kernel version.
37729 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37730 (__ASSUME_TMPFS_NAME): Likewise.
37731 * README: Update reference to Linux kernel versions.
37732
b67e9372
MP
377332012-08-02 Marek Polacek <polacek@redhat.com>
37734
1f529f7d 37735 [BZ# 14150]
b67e9372
MP
37736 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37737 libc_cv_asm_type_prefix with %.
37738 * configure: Regenerated.
d2441631
RM
37739 * include/libc-symbols.h: Remove comment about
37740 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
37741 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37742 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37743 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37744 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37745 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37746 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37747 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37748 * elf/tst-unique2mod1.c: Likewise.
37749 * elf/tst-unique1mod2.c: Likewise.
37750 * elf/tst-unique1mod1.c: Likewise.
37751 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37752 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37753 Replace ASM_TYPE_DIRECTIVE with .type.
37754 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37755 * sysdeps/i386/sysdep.h: Likewise.
37756 * sysdeps/x86_64/sysdep.h: Likewise.
37757 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
37758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37759 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 37760 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
37761 * sysdeps/powerpc/powerpc32/sysdep.h:
37762 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
37763 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37764 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37765 * sysdeps/i386/fpu/e_powf.S: Likewise.
37766 * sysdeps/i386/fpu/e_expl.S: Likewise.
37767 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37768 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37769 * sysdeps/i386/fpu/e_pow.S: Likewise.
37770 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37771 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37772 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37773 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37774 * sysdeps/i386/fpu/e_log2.S: Likewise.
37775 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37776 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37777 * sysdeps/i386/fpu/e_powl.S: Likewise.
37778 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37779 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37780 * sysdeps/i386/fpu/e_logl.S: Likewise.
37781 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37782 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37783 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37784 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37785 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37786 * sysdeps/i386/fpu/e_log.S: Likewise.
37787 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37788 * sysdeps/i386/fpu/e_logf.S: Likewise.
37789 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37790 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37791 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37792 * sysdeps/i386/fpu/e_log10.S: Likewise.
37793 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37794 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37795 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37796 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37797 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37798 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37799 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37800 * sysdeps/i386/i686/strtok.S: Likewise.
37801 * sysdeps/i386/i386-mcount.S: Likewise.
37802 * sysdeps/i386/strtok.S: Likewise.
37803 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37804 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37805 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37806 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37807 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37808 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37809 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37810 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37811 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37812 * sysdeps/x86_64/_mcount.S: Likewise.
37813 * sysdeps/x86_64/strtok.S: Likewise.
37814 * sysdeps/sh/_mcount.S: Likewise.
37815
2747bf9a
RM
378162012-08-01 Roland McGrath <roland@hack.frob.com>
37817
37818 * libio/iofopen.c: Include <fcntl.h>.
37819 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37820 (_IO_fopen64, fopen64): Define as aliases.
37821 * libio/iofopen64.c: Include <fcntl.h>.
37822 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37823 Conditionalize body on this.
37824 * sysdeps/wordsize-64/iofopen.c: File removed.
37825 * sysdeps/wordsize-64/iofopen64.c: File removed.
37826
3fb791b8
MP
378272012-08-01 Marek Polacek <polacek@redhat.com>
37828
37829 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37830 Use dlfcn directly instead of a variable.
37831 (binfmt-subdir): Do not define.
37832 (dlfcn): Likewise.
37833
a9f1039f
JM
378342012-08-01 Joseph Myers <joseph@codesourcery.com>
37835
23bddc06
JM
37836 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37837 Remove all definitions.
37838 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37839 <kernel-features.h>.
37840 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37841 (miss_F_GETOWN_EX): Remove all definitions.
37842 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37843 macro definition.
37844 [!__ASSUME_FCNTL64]: Remove conditional code.
37845 [__ASSUME_FCNTL64]: Make code unconditional.
37846 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37847 <kernel-features.h>.
37848 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37849 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37850 (lockf64) [__NR_fcntl64]: Make code unconditional.
37851 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37852
a9f1039f
JM
37853 * sysdeps/unix/sysv/linux/kernel-features.h
37854 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37855 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37856 Make code unconditional.
37857 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37858 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37860 [__NR_vfork]: Make code unconditional.
37861 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37862 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37864 [__NR_vfork]: Make code unconditional.
37865 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37866 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37867
09c0ee5f
RM
378682012-08-01 Roland McGrath <roland@hack.frob.com>
37869
48aec5b9
RM
37870 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37871 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37872
cd97c966
RM
37873 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37874 Define mkstemp64 as an alias.
3f55550c
RM
37875 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37876 Define mkstemps64 as an alias.
cd97c966
RM
37877 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37878 Define mkostemp64 as an alias.
b8625cfc
RM
37879 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37880 Define mkostemps64 as an alias.
cd97c966
RM
37881 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37882 Conditionalize body on this.
37883 * misc/mkostemp64.c: Likewise.
b8625cfc 37884 * misc/mkostemps64.c: Likewise.
3f55550c 37885 * misc/mkstemps64.c: Likewise.
cd97c966
RM
37886 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37887 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37888 * sysdeps/wordsize-64/mkostemp.c: File removed.
37889 * sysdeps/wordsize-64/mkstemp.c: File removed.
37890 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37891 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37892 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37893 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37894
09c0ee5f
RM
37895 [BZ #14138]
37896 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37897 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37898 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37899 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37900
37901 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37902 compat_symbol macros from <shlib-compat.h> rather than the underlying
37903 default_symbol_version and symbol_version macros, so that DEFAULT
37904 lines in shlib-versions are respected.
37905 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37906
7e66ee51
FW
379072012-08-01 Florian Weimer <fweimer@redhat.com>
37908
37909 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37910 Declare with warn_unused_result.
37911 (setgid, setregid, setegid, setresgid): Likewise.
37912 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37913 Likewise.
37914 * WUR-REPORT: Remove set*id functions.
37915
d2a54255
PT
379162012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37917
37918 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37919
7ecdb005
RM
379202012-07-31 Roland McGrath <roland@hack.frob.com>
37921
b4180a5e 37922 [BZ #10191]
789bd351
RM
37923 * include/sys/socket.h (__libc_accept, __libc_accept4):
37924 Add attribute_hidden.
37925 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37926
40ce302d
RM
37927 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37928 use of PTR_MANGLE.
37929 * inet/getnetgrent_r.c (setup): Likewise.
37930
7ecdb005
RM
37931 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37932
e2eabb2c
DM
379332012-07-31 David S. Miller <davem@davemloft.net>
37934
37935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37936
d0419dbf
JM
379372012-07-31 Joseph Myers <joseph@codesourcery.com>
37938
37939 [BZ #13629]
37940 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37941 value between 1.0 and 2.0 and smaller part has absolute value less
37942 than 1.0.
37943 * math/s_clog10.c (__clog10): Likewise.
37944 * math/s_clog10f.c (__clog10f): Likewise.
37945 * math/s_clog10l.c (__clog10l): Likewise.
37946 * math/s_clogf.c (__clogf): Likewise.
37947 * math/s_clogl.c (__clogl): Likewise.
37948 * math/libm-test.inc (clog_test): Add more tests.
37949 (clog10_test): Likewise.
37950 * sysdeps/i386/fpu/libm-test-ulps: Update.
37951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37952
2bc13872
FW
379532012-07-31 Florian Weimer <fweimer@redhat.com>
37954
37955 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37956 Exit with zero in case no suitable GID is found, and write a
37957 message to standard error.
37958
bea9b193
RM
379592012-07-30 Roland McGrath <roland@hack.frob.com>
37960
37961 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37962 rather than to 1.
37963 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37964 (MAXPATHLEN): Removed.
37965 (NOGROUP, NODEV): New macros.
37966 (setbit, clrbit, isset, isclr): New macros.
37967 (howmany, roundup, powerof2): New macros.
37968 (DEV_BSIZE): New macro.
37969
37970 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37971 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37972
37973 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37974 definition on [!__NO_LONG_DOUBLE_MATH].
37975
37976 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37977 PTR_MANGLE and PTR_DEMANGLE.
37978
37979 * socket/accept4.c (accept4): Rename to __libc_accept4.
37980 Define accept4 as a weak alias.
37981
37982 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37983 on [_DIRENT_HAVE_D_TYPE].
37984 * io/ftw.c (ftw_dir): Likewise.
37985
37986 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37987
37988 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37989
37990 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37991 Use the BSD numbers rather than the arbitrary ones we had.
37992 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37993 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37994 (SIGXCPU, SIGXFSZ): New macros.
37995 (_NSIG): Now 32.
37996
37997 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37998 initializer on [_LIBC_REENTRANT].
37999
38000 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38001 definitions inside [_POSIX_MAPPED_FILES].
38002
38003 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38004
38005 * dirent/opendir.c: Include <fcntl.h>.
38006
38007 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38008 (__libc_getspecific): Likewise.
38009 (__libc_key_create): Likewise.
38010
38011 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38012 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38013 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38014 (tmpfile64): Define as alias.
38015 * sysdeps/wordsize-64/tmpfile.c: File removed.
38016 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38017 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38018 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38019
38020 * stdio-common/vfscanf.c: Include <stdbool.h>.
38021 * nss/makedb.c: Likewise.
38022 * stdio-common/_i18n_number.h: Likewise.
38023 * argp/argp-help.c: Likewise.
38024 * posix/wordexp.c: Likewise.
38025 * sysdeps/posix/spawni.c: Likewise.
38026 * nss/nss_files/files-initgroups.c: Likewise.
38027 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38028 * nss/nss_files/files-initgroups.c: Likewise.
38029 * nss/nss_db/db-netgrp.c: Likewise.
38030 * nss/nss_db/db-initgroups.c: Likewise.
38031 * io/fchmodat.c: Include <sys/stat.h>.
38032
38033 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38034 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38035
38036 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38037 [HAVE_MMAP].
38038
38039 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38040 Add multiple inclusion protection.
38041
e5abc686
DM
380422012-07-27 David S. Miller <davem@davemloft.net>
38043
38044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38045
815e6fa3
GB
380462012-07-27 Gary Benson <gbenson@redhat.com>
38047
38048 [BZ #14298]
38049 * elf/rtld.c: Include <stap-probe.h>.
38050 (dl_main): Added static probes "init_start" and "init_complete".
38051 * elf/dl-load.c: Include <stap-probe.h>.
38052 (lose): Take new parameter "nsid".
38053 Added static probe "map_failed".
38054 (_dl_map_object_from_fd): Pass namespace id to lose.
38055 Added static probe "map_start".
38056 (open_verify): Pass namespace id to lose.
38057 * elf/dl-open.c: Include <stap-probe.h>.
38058 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38059 and "reloc_complete".
38060 * elf/dl-close.c: Include <stap-probe.h>.
38061 (_dl_close_worker): Added static probes "unmap_start" and
38062 "unmap_complete".
38063 * elf/rtld-debugger-interface.txt: New file documenting the above.
38064
9f98c16c
RM
380652012-07-26 Roland McGrath <roland@hack.frob.com>
38066
38067 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38068 rather than a string variable.
38069 * sunrpc/rpc_main.c (h_output): Likewise.
38070 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38071
f3c22df3
PT
380722012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38073
38074 * inet/check_native.c: New file.
38075
3129cfc6
JM
380762012-07-26 Joseph Myers <joseph@codesourcery.com>
38077
da865e95
JM
38078 [BZ #13629]
38079 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38080 if larger part has absolute value 1.0.
38081 * math/s_clog10.c (__clog10): Likewise.
38082 * math/s_clog10f.c (__clog10f): Likewise.
38083 * math/s_clog10l.c (__clog10l): Likewise.
38084 * math/s_clogf.c (__clogf): Likewise.
38085 * math/s_clogl.c (__clogl): Likewise.
38086 * math/libm-test.inc (clog_test): Add more tests.
38087 (clog10_test): Likewise.
38088 * sysdeps/i386/fpu/libm-test-ulps: Update.
38089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38090
3129cfc6
JM
38091 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38092 (pltexit): Likewise.
38093 (La_regs): Likewise.
38094 (La_retval): Likewise.
38095 (int_retval): Likewise.
38096 Update #error for removed macros to refer only to definitions in
38097 tst-audit.h.
38098 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38099 macro.
38100 (pltexit): Likewise.
38101 (La_regs): Likewise.
38102 (La_retval): Likewise.
38103 (int_retval): Likewise.
38104 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38105 macro.
38106 (pltexit): Likewise.
38107 (La_regs): Likewise.
38108 (La_retval): Likewise.
38109 (int_retval): Likewise.
38110 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38111 macro.
38112 (pltexit): Likewise.
38113 (La_regs): Likewise.
38114 (La_retval): Likewise.
38115 (int_retval): Likewise.
38116 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38117 macro.
38118 (pltexit): Likewise.
38119 (La_regs): Likewise.
38120 (La_retval): Likewise.
38121 (int_retval): Likewise.
38122 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38123 macro.
38124 (pltexit): Likewise.
38125 (La_regs): Likewise.
38126 (La_retval): Likewise.
38127 (int_retval): Likewise.
38128 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38129 macro.
38130 (pltexit): Likewise.
38131 (La_regs): Likewise.
38132 (La_retval): Likewise.
38133 (int_retval): Likewise.
38134 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38135 macro definitions in tst-audit.h.
38136 * sysdeps/i386/tst-audit.h: New file.
38137 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38138 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38139 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38140 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38141 * sysdeps/sh/tst-audit.h: Likewise.
38142 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38143 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38144 * sysdeps/x86_64/tst-audit.h: Likewise.
38145
bfc07087
AJ
381462012-07-26 Andreas Jaeger <aj@suse.de>
38147
b1b2aaf8
AJ
38148 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38149 ptrace.
38150
38151 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38152 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38153 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38154 PTRACE_O_MASK.
38155 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38156 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38157 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38158
bfc07087
AJ
38159 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38160 value.
38161
38162 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38163 _sigsys.
38164 (si_call_addr, si_syscall, si_arch): Define new macro.
38165 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38166 _sigsys.
38167 (si_call_addr, si_syscall, si_arch): Define new marcro.
38168 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38169 _sigsys.
38170 (si_call_addr, si_syscall, si_arch): Define new macro.
38171 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38172 _sigsys.
38173 (si_call_addr, si_syscall, si_arch): Define new macro.
38174
89b4b02f
JM
381752012-07-25 Joseph Myers <joseph@codesourcery.com>
38176
38177 [BZ #13717]
38178 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38179 Change to 2.4.21 where previously 2.4.1.
38180 * sysdeps/unix/sysv/linux/configure: Regenerated.
38181 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38182 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38183 Linux kernel version.
38184 (__ASSUME_STD_AUXV): Remove.
38185 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38186 kernel version.
38187 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38188 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38189 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38190 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38191 (__ASSUME_NETLINK_SUPPORT): Likewise.
38192 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38193 (__no_netlink_support): Remove conditional definition.
38194 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38195 Remove.
38196 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38197 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38198 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38199 (if_nameindex_ioctl): Remove.
38200 (if_nameindex_netlink): Do not handle __no_netlink_support.
38201 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38202 code.
38203 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38204 Remove conditional code.
38205 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38206 code.
38207 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38208 unconditional.
38209 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38210 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38211 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38212 Remove.
38213 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38214 [!__ASSUME_STD_AUXV]: Remove conditional code.
38215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38216 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38217 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38219 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38220 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38221 code.
38222 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38224 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38225 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38226 conditional code.
38227 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38229 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38230 code.
38231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38232 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38233 conditional code.
38234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38235 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38236 code unconditional.
38237 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38238 conditional code.
38239 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38240 unconditional.
38241 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38242 conditional code.
38243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38244 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38245 unconditional.
38246 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38247 conditional code.
38248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38249 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38250 code unconditional.
38251 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38252 conditional code.
38253 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38254 unconditional.
38255 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38256 conditional code.
38257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38258 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38259 code unconditional.
38260 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38261 conditional code.
38262 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38263 unconditional.
38264 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38265 conditional code.
38266
842a39cd
AS
382672012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38268
38269 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38270 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38271 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38272 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38273 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38274 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38275 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38276 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38277 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38278 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38279 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38280 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38281 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38282 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38283 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38284 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38285 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38286 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38287 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38288 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38289 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38290 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38291 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38292
84b3fd84
FW
382932012-07-25 Florian Weimer <fweimer@redhat.com>
38294
38295 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
38296 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38297 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38298 Introduce __libc_secure_getenv.
0c7936d5
FW
38299 * stdlib/Versions (2.17): Add secure_getenv
38300 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38301 * stdlib/secure-getenv.c: Rename __secure_getenv to
38302 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38303 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
38304 * stdlib/tst-secure-getenv.c: New.
38305 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
38306 * manual/startup.texi (Environment Access): Document
38307 secure_getenv.
84b3fd84
FW
38308 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38309 __libc_secure_getenv.
38310 * inet/ruserpass.c (ruserpass): Likewise.
38311 * malloc/mtrace.c (mtrace): Likewise.
38312 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 38313 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
38314 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38315 * sysdeps/posix/tempname.c: Likewise. Evaluate
38316 HAVE_SECURE_GETENV.
38317 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 38318 __secure_getenv to __libc_secure_getenv.
84b3fd84 38319 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
38320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38321 Likewise.
38322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38323 Likewise.
38324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38326 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 38331
56e49b71
JM
383322012-07-25 Joseph Myers <joseph@codesourcery.com>
38333
38334 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38335 (struct La_i86_retval): Likewise.
38336 (struct La_x86_64_regs): Likewise.
38337 (struct La_x86_64_retval): Likewise.
38338 (struct La_x32_regs): Likewise.
38339 (struct La_x32_retval): Likewise.
38340 (struct La_ppc32_regs): Likewise.
38341 (struct La_ppc32_retval): Likewise.
38342 (struct La_ppc64_regs): Likewise.
38343 (struct La_ppc64_retval): Likewise.
38344 (struct La_sh_regs): Likewise.
38345 (struct La_sh_retval): Likewise.
38346 (struct La_s390_32_regs): Likewise.
38347 (struct La_s390_32_retval): Likewise.
38348 (struct La_s390_64_regs): Likewise.
38349 (struct La_s390_64_retval): Likewise.
38350 (struct La_sparc32_regs): Likewise.
38351 (struct La_sparc32_retval): Likewise.
38352 (struct La_sparc64_regs): Likewise.
38353 (struct La_sparc64_retval): Likewise.
38354 (struct audit_ifaces): Remove architecture-specific pltenter and
38355 pltexit members.
38356 * sysdeps/i386/ldsodefs.h: New file.
38357 * sysdeps/powerpc/ldsodefs.h: Likewise.
38358 * sysdeps/s390/ldsodefs.h: Likewise.
38359 * sysdeps/sh/ldsodefs.h: Likewise.
38360 * sysdeps/sparc/ldsodefs.h: Likewise.
38361 * sysdeps/x86_64/ldsodefs.h: Likewise.
38362
354691b7
MP
383632012-07-25 Marek Polacek <polacek@redhat.com>
38364
38365 [BZ #6808]
38366 * math/libm-test.inc (yn_test): Add another test.
38367 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38368 to ERANGE when the result is +-Inf.
38369 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38370 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38371 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38372 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38373
bf9e2071
JM
383742012-07-24 Joseph Myers <joseph@codesourcery.com>
38375
38376 * conform/data/time.h-data (NULL): Use macro-constant. Require
38377 equal to 0.
38378 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38379 clock_t.
38380 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38381
57633811
TS
383822012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38383
38384 * configure.in <sysdeps resolving>: Correct printing
38385 Implies_before.
38386 * configure: Regenerate.
38387
c23c33b0
TS
383882012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38389
38390 * math/w_ilogb.c: Include <limits.h>.
38391 * math/w_ilogbl.c: Likewise.
38392
b5982523
JM
383932012-07-20 Joseph Myers <joseph@codesourcery.com>
38394
38395 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38396 va_copy. Document allowing for unavailable va_copy only as
38397 pre-C99 compatibility.
38398 * manual/string.texi (Copying and Concatenation): Use va_copy
38399 instead of __va_copy in concat example.
38400
ac4ea442
PT
384012012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38402
38403 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38404 (__sendto): Use create_address_port. Initialize APORT and deallocate
38405 it if not null.
38406
f98eafbd
PT
38407 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38408 with O_NOLINK passed to __file_name_lookup.
38409
898c7aab
PT
38410 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38411 with O_NOLINK passed to __file_name_lookup.
38412
0ced335a
PT
38413 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38414 negative N or less than NGIDS.
38415
b3404dbd
PT
38416 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38417 type to string_t. Set ERANGE as errno and return it if NAME is not big
38418 enough. Use memcpy instead of strncpy.
38419
0f48659e
JM
384202012-07-20 Joseph Myers <joseph@codesourcery.com>
38421
38422 * elf/Makefile (check-data): Remove.
38423 (localplt.data): New vpath directive.
38424 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38425 instead of $(check-data).
38426 * scripts/data/localplt-generic.data: Move to ...
38427 * sysdeps/generic/localplt.data: ... here.
38428 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38429 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38430 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38432 ... here.
38433 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38435 ... here.
38436 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38438 ... here.
38439 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38441 ... here.
38442 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38444 ... here.
38445 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38447 ... here.
38448
d37cbdaa
AZ
384492012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38450
38451 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38452 PPC32 and PPC64 files.
38453 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38454 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38455
46f85fc2
AK
384562012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38457
38458 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38459 __makecontext_ret to ...
38460 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38461 ... here and call exit if uc_link is NULL. New file.
38462 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38463 __makecontext_ret.S.
38464 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38465 __makecontext_ret to ...
38466 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38467 ... here and call exit if uc_link is NULL. New file.
38468 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38469 __makecontext_ret.S.
38470
08f43f9b
AK
384712012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38472
38473 * elf/elf.h (R_390_IRELATIVE): New definition.
38474 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38475 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38476 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38477 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38478 (elf_machine_lazy_rel): Likewise.
38479 * sysdeps/s390/dl-irel.h: New file.
38480 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38481 * sysdeps/s390/s390-64/memset.S: New asm code.
38482 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38483 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38484 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38485 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38486 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38487 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38488 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38489 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38490 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38491 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38492 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38493 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38494 * sysdeps/s390/s390-32/memset.S: New asm code.
38495 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38496
3b05db33
MP
384972012-07-17 Marek Polacek <polacek@redhat.com>
38498
38499 [BZ #14349]
38500 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38501 * sysdeps/s390/s390-64/configure.in: Likewise.
38502 * sysdeps/sparc/configure.in: Likewise.
38503 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38504 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38505 * sysdeps/i386/configure.in: Likewise.
38506 * sysdeps/x86_64/configure.in: Likewise.
38507 * sysdeps/sh/configure.in: Likewise.
38508 * sysdeps/s390/s390-32/configure: Regenerated.
38509 * sysdeps/s390/s390-64/configure: Likewise.
38510 * sysdeps/x86_64/configure: Likewise.
38511 * sysdeps/sh/configure: Likewise.
38512 * sysdeps/powerpc/powerpc64/configure: Likewise.
38513 * sysdeps/powerpc/powerpc32/configure: Likewise.
38514 * sysdeps/sparc/configure: Likwise.
38515 * sysdeps/i386/configure: Likewise.
38516
a66877c6
MP
38517 * elf/dl-open.c: Comment fixes.
38518
cfc82fd8
JM
385192012-07-17 Joseph Myers <joseph@codesourcery.com>
38520
bd29910a
JM
38521 * Makefile [CXX] (check-data): Remove.
38522 [CXX] (c++-types.data): New vpath directive.
38523 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38524 vpath. Do not allow for C++ type data being missing.
38525 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38526 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38527 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38528 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38529 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38530 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38531 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38533 ... here.
38534 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38536 ... here.
38537 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38539 ... here.
38540 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38542 ... here.
38543 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38545 ... here.
38546 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38548 ... here.
38549 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38551 ... here.
38552 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38554
cfc82fd8
JM
38555 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38556 definitions to architecture-specific files.
38557 (TLS_IE): Likewise.
38558 (TLS_LD): Likewise.
38559 (TLS_GD): Likewise.
38560 * sysdeps/i386/tls-macros.h: New file.
38561 * sysdeps/powerpc/tls-macros.h: Likewise.
38562 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38563 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38564 * sysdeps/sh/tls-macros.h: Likewise.
38565 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38566 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38567 * sysdeps/x86_64/tls-macros.h: Likewise.
38568
f7db3170
TS
385692012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38570
07cbfc23
TS
38571 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38572 zero value for regular exit case.
38573
f7db3170
TS
38574 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38575 (__start_context): Preserve zero value for regular exit case.
38576
dc97c227
TS
385772012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38578 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38579
38580 * manual/setjmp.texi (setcontext): Clarify normal process
38581 termination when uc_link is the null pointer.
38582 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38583 exit call.
38584
d0cd7d02
AS
385852012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38586
38587 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38588 preprocessor. Test for each exception mask separately.
38589
dd318934
AJ
385902012-07-16 Andreas Jaeger <aj@suse.de>
38591
38592 * po/ru.po: Update from translation team.
38593
8048311a
JM
385942012-07-15 Joseph Myers <joseph@codesourcery.com>
38595
38596 * conform/data/string.h-data (NULL): Use macro-constant. Require
38597 equal to 0.
38598 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38599 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38600 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38601 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38602 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38603
b637d46e
AJ
386042012-07-13 Andreas Jaeger <aj@suse.de>
38605
38606 * po/fr.po: Update from translation team.
38607
541428fe
MP
386082012-07-12 Marek Polacek <polacek@redhat.com>
38609
38610 [BZ #14173]
38611 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38612 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38613 loop condition.
38614
ec332e94
JM
386152012-07-12 Joseph Myers <joseph@codesourcery.com>
38616
38617 [BZ #13717]
38618 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38619 Change to 2.4.1 where previously 2.4.0.
38620 * sysdeps/unix/sysv/linux/configure: Regenerated.
38621 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38622 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38623 version.
38624 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38625 (__ASSUME_AT_CLKTCK): Remove.
38626 (__ASSUME_AT_PAGESIZE): Likewise.
38627 (__ASSUME_AT_XID): Likewise.
38628 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38629 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38630 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38631 unconditionally.
38632 (HAVE_AUX_PAGESIZE): Likewise.
38633 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38634 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38635 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38636
7b6e99be
JB
386372012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38638
38639 [BZ #14307]
38640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38641 the temporary buffer used to invoke __gethostbyname2_r,
38642 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38643 host_data / struct gaih_addrtuple.
38644 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38645 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38646 header file nss/nsswitch.h.
38647 * nss/nsswitch.h (global scope): Add definition of implementation
38648 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38649 resolv/nss_dns/dns-host.c).
38650
608404eb
AJ
386512012-07-11 Andreas Jaeger <aj@suse.de>
38652
38653 * po/fr.po: Update from translation team.
38654
71220aca
AJ
38655 * po/sv.po: Update from translation team
38656 * po/fr.po: Another update from translation team.
38657
28cfe843
AZ
386582012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38659
38660 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38661 for subnormals or multiply small sinh result by itself.
38662 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38664
6b90f981
DM
386652012-07-11 David S. Miller <davem@davemloft.net>
38666
38667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38668
c6825772
AS
386692012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38670
38671 [BZ #14347]
38672 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38673 (INTERNAL_MARK): Shift it here.
38674
7b8e0d49
MP
386752012-07-10 Marek Polacek <polacek@redhat.com>
38676
38677 [BZ #14151]
38678 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38679 libc_cv_asm_global_directive with .globl.
38680 * configure: Regenerated.
38681 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38682 with .globl.
38683 * sysdeps/i386/configure: Regenerated.
38684 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38685 with .globl.
38686 * sysdeps/x86_64/configure: Regenerated.
38687 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38688 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38689 * elf/tst-unique2mod2.c: Likewise.
38690 * elf/tst-unique2mod1.c: Likewise.
38691 * elf/tst-unique1mod2.c: Likewise.
38692 * elf/tst-unique1mod1.c: Likewise.
38693 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38694 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38695 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38696 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38697 * sysdeps/mach/sysdep.h: Likewise.
38698 * sysdeps/i386/sysdep.h: Likewise.
38699 * sysdeps/i386/i386-mcount.S: Likewise.
38700 * sysdeps/x86_64/_mcount.S: Likewise.
38701 * sysdeps/x86_64/sysdep.h: Likewise.
38702 * sysdeps/sh/_mcount.S: Likewise.
38703 * sysdeps/sh/sysdep.h: Likewise.
38704 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38705 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38706 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38707 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38708 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38709 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38710 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38711 * locale/localeinfo.h: Likewise.
38712 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38713 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38714
6c55cda3
RM
387152012-07-09 Roland McGrath <roland@hack.frob.com>
38716
38717 [BZ #14336]
38718 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38719 system".
38720 * manual/message.texi (The Uniforum approach): Likewise.
38721 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38722 (glibc iconv Implementation): Likewise.
38723
638a572e
JM
387242012-07-09 Joseph Myers <joseph@codesourcery.com>
38725
38726 [BZ #14337]
38727 * math/s_clog.c (__clog): Avoid scaling a value down where that
38728 could result in underflow.
38729 * math/s_clog10.c (__clog10): Likewise.
38730 * math/s_clog10f.c (__clog10f): Likewise.
38731 * math/s_clog10l.c (__clog10l): Likewise.
38732 * math/s_clogf.c (__clogf): Likewise.
38733 * math/s_clogl.c (__clogl): Likewise.
38734 * math/libm-test.inc (clog_test): Add more tests.
38735 (clog10_test): Likewise.
38736 * sysdeps/i386/fpu/libm-test-ulps: Update.
38737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38738
261f4859
AS
387392012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38740
0abaf3e4
AS
38741 [BZ #14283]
38742 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38743 by 7 not 8 to examine high bit of fractional part.
38744
261f4859
AS
38745 [BZ #14042]
38746 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38747 for call to __mcount_internal.
38748 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38749 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38750 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38751
f17ac40d
JM
387522012-07-06 Joseph Myers <joseph@codesourcery.com>
38753
9ad63c23
JM
38754 [BZ #14154]
38755 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38756 approximation for values within 0x1p-13f of an odd multiple of
38757 pi/4.
38758 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38759 exception. Add more tests.
38760 * sysdeps/i386/fpu/libm-test-ulps: Update.
38761
f17ac40d
JM
38762 [BZ #6778]
38763 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38764 inputs and return -1 for them. Do not check for +Inf in case not
38765 reachable for +Inf.
38766 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38767 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38768 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38769 and return -1 for them. Do not check for +Inf in case not
38770 reachable for +Inf.
38771 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38772 define.
38773 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38774 and return -1 for them. Do not check for +Inf in case not
38775 reachable for +Inf.
38776 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38777 spurious underflow.
38778 * sysdeps/i386/fpu/libm-test-ulps: Update.
38779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38780
fb21f89b
MF
387812012-07-06 Mike Frysinger <vapier@gentoo.org>
38782
38783 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38784
cdfe2c5e
JM
387852012-07-05 Joseph Myers <joseph@codesourcery.com>
38786
38787 [BZ #14157]
38788 [BZ #14331]
38789 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38790 could result in spurious underflow. Scale down values above
38791 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38792 * math/s_csqrtf.c (__csqrtf): Likewise.
38793 * math/s_csqrtl.c (__csqrtl): Likewise.
38794 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38795 spurious underflow.
38796 * sysdeps/i386/fpu/libm-test-ulps: Update.
38797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38798
70d35b67
AS
387992012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38800
704bc459
AS
38801 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38802 xopen-msg.sed.
38803 * catgets/xopen-msg.awk: New file.
38804 * catgets/xopen-msg.sed: Removed.
38805
70d35b67
AS
38806 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38807 po2text.sed.
38808 * intl/po2test.awk: New file.
38809 * intl/po2test.sed: Removed.
38810
ca61cf32
JM
388112012-07-04 Joseph Myers <joseph@codesourcery.com>
38812
38813 [BZ #14328]
38814 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38815 or multiply small sinh result by itself.
38816 * math/s_ctanf.c (__ctanf): Likewise.
38817 * math/s_ctanh.c (__ctanh): Likewise.
38818 * math/s_ctanhf.c (__ctanhf): Likewise.
38819 * math/s_ctanhl.c (__ctanhl): Likewise.
38820 * math/s_ctanl.c (__ctanl): Likewise.
38821 * math/libm-test.inc (ctan_test_tonearest): New function.
38822 (ctan_test_towardzero): Likewise.
38823 (ctan_test_downward): Likewise.
38824 (ctan_test_upward): Likewise.
38825 (ctanh_test_tonearest): Likewise.
38826 (ctanh_test_towardzero): Likewise.
38827 (ctanh_test_downward): Likewise.
38828 (ctanh_test_upward): Likewise.
38829 (main): Call these new functions.
38830 * sysdeps/i386/fpu/libm-test-ulps: Update.
38831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38832
ca48a46a
MF
388332012-07-03 Mike Frysinger <vapier@gentoo.org>
38834
38835 * .gitignore: Delete /ports entry.
38836
9d63d37d
AJ
388372012-07-03 Andreas Jaeger <aj@suse.de>
38838
38839 * po/bg.po: Update from translation team.
38840 * po/cs.po: Likewise.
38841 * po/de.po: Likewise.
38842 * po/hr.po: Likewise.
38843 * po/nl.pl: Likewise.
38844 * po/pl.po: Likewise.
38845 * po/vi.po: Likewise.
38846
370ca3d2
JM
388472012-07-03 Joseph Myers <joseph@codesourcery.com>
38848
95f5a9a8
JM
38849 * Makeconfig [!+link] (+link-before-libc): New variable.
38850 [!+link] (+link-after-libc): Likewise.
38851 [!+link] (+link-tests): Likewise.
38852 [!+link] (+link): Define in terms of $(+link-before-libc) and
38853 $(+link-after-libc).
38854 [!+link-static] (+link-static-before-libc): New variable.
38855 [!+link-static] (+link-static-after-libc): Likewise.
38856 [!+link-static] (+link-static-tests): Likewise.
38857 [!+link-static] (+link-static): Define in terms of
38858 $(+link-static-before-libc) and $(+link-static-after-libc).
38859 [build-shared] (link-libc-before-gnulib): New variable.
38860 [build-shared] (link-libc-tests): Likewise.
38861 [build-shared] (link-libc): Define in terms of
38862 $(link-libc-before-gnulib).
38863 [!build-shared] (link-libc-tests): New variable.
38864 (link-libc-static-tests): New variable.
38865 [!gnulib] (gnulib-arch): New variable.
38866 [!gnulib] (gnulib-tests): Likewise.
38867 [!gnulib] (static-gnulib-arch): Likewise.
38868 [!gnulib] (static-gnulib-tests): Likewise.
38869 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38870 Define with "=" instead of ":=".
38871 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38872 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38873 * Rules (binaries-all-notests): New variable.
38874 (binaries-all-tests): Likewise.
38875 (binaries-static-notests): Likewise.
38876 (binaries-static-tests): Likewise.
38877 (binaries-all): Define using $(binaries-all-notests) and
38878 $(binaries-all-tests).
38879 (binaries-static): Define using $(binaries-static-notests) and
38880 $(binaries-static-tests).
38881 (binaries-shared-tests): New variable.
38882 (binaries-shared-notests): Likewise.
38883 (binaries-shared): Remove variable.
38884 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38885 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38886 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38887 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38888 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38889 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38890 * elf/Makefile (sln-modules): New variable.
38891 (extra-objs): Add $(sln-modules:=.o).
38892 (ldconfig-modules): Add static-stubs.
38893 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38894 * elf/static-stubs.c: New file.
38895
7a845b2c
JM
38896 [BZ #14283]
38897 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38898 by 7 not 8 to examine high bit of fractional part. Use volatile
38899 variables when splitting into final array of floats if
38900 __FLT_EVAL_METHOD__ != 0.
38901 * math/libm-test.inc (cos_test): Add another test.
38902 (sin_test): Likewise.
38903 * sysdeps/i386/fpu/libm-test-ulps: Update.
38904
e2283f38
JM
38905 [BZ #14273]
38906 * math/libm-test.inc (cosh_test): Add more tests.
38907
370ca3d2
JM
38908 * version.h (RELEASE): Set to "development".
38909 (VERSION): Set to "2.16.90".
38910
ee9247c3
CD
389112012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38912
38913 * NEWS: Update copyright. Remove last-updated date.
38914 Mention math library bug fixes and timezone data changes.
38915 * README: Mention GNU/Hurd, x32, and HPPA support status.
38916
4648c381
TS
389172012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38918
38919 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38920
aac78a43
AJ
389212012-06-27 Andreas Jaeger <aj@suse.de>
38922
38923 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38924
ed3dbfad
AJ
389252012-06-25 Andreas Jaeger <aj@suse.de>
38926
38927 * sysdeps/s390/fpu/libm-test-ulps: Update.
38928
4d0ee855
AS
389292012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38930 Thomas Schwinge <thomas@codesourcery.com>
38931
38932 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38933 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38934 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38935 fanotify_mark.
38936
af1bce34
TS
389372012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38938
a9fa33ba
TS
38939 * sysdeps/mach/start.c: Remove file.
38940 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38941 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38942 * sysdeps/sh/init-first.c: Likewise.
38943
58f902b8
TS
38944 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38945 registers for frame unwinding purposes, add CFI directives.
38946 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38947 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38948 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38949 Likewise.
38950
1518f58b
TS
38951 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38952 __fortify_fail returning.
38953 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38954
db9b5059
TS
38955 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38956 sysdeps/sh/____longjmp_chk.S.
38957 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38958 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38959 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38960 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38961
967705fe
TS
38962 * sysdeps/sh/abort-instr.h: New file.
38963 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38964 process in case exit returns.
38965
a9def8c4
TS
38966 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38967 initialize the GOT register before use.
38968
2a649725
TS
38969 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38970 calculation of ARGC > 4.
38971
af1bce34
TS
38972 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38973 meaningful names to some local labels.
38974
d230f50a
KK
389752012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38976 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38977
38978 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38979 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38980 (__arch_compare_and_exchange_val_16_acq): Likewise.
38981 (__arch_compare_and_exchange_val_32_acq): Likewise.
38982 (atomic_exchange_and_add): Fix gUSA sequence.
38983 (atomic_add): Likewise.
38984 (atomic_add_negative): Likewise.
38985 (atomic_add_zero): Likewise.
38986 (atomic_bit_test_set): Likewise.
38987
0479b305
AS
389882012-06-22 Andreas Schwab <schwab@redhat.com>
38989
38990 [BZ #13579]
38991 * include/link.h (struct link_map): Add l_free_initfini.
38992 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38993 l_initfini.
38994 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38995 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38996 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38997 set.
38998
0e3933b9
CD
389992012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39000
39001 * configure.in: Use AC_LANG_SOURCE.
39002 * configure: Regenerate.
39003
4248b1b1
RM
390042012-06-22 Roland McGrath <roland@hack.frob.com>
39005
39006 * configure.in (libc_cv_localstatedir): New substituted variable.
39007 * configure: Regenerated.
39008 * config.make.in (localstatedir): New variable, substituted from
39009 libc_cv_localstatedir.
39010 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39011 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39012 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39013 * sysdeps/gnu/configure: Regenerated.
39014
006dd861
JL
390152012-06-21 Jeff Law <law@redhat.com>
39016
39017 [BZ #14277]
39018 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39019 free. Simplify list management for _LIBC case.
39020
79662d42
JM
390212012-06-21 Joseph Myers <joseph@codesourcery.com>
39022
b7abb4bf
JM
39023 [BZ #14273]
39024 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39025 Clear sign bit of 64-bit integer value before comparing against
39026 overflow value.
39027
79662d42
JM
39028 * sysdeps/mach/configure: Regenerated.
39029
1f150908
L
390302012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39031
39032 [BZ #14278]
39033 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39034
28363bbf
JL
390352012-06-21 Jeff Law <law@redhat.com>
39036
39037 [BZ #13882]
39038 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39039 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 39040 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
39041 * elf/dl-open.c (dl_open_worker): Likewise.
39042
09615db4
CD
390432012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39044
39045 * scripts/list-sources.sh: Scan PORTS for translations.
39046 * po/libc.pot: Regenerated.
39047
2174c6dd
AJ
390482012-06-21 Andreas Jaeger <aj@suse.de>
39049
39050 [BZ #12194]
39051 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39052 warning.
39053 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39054 * bits/byteswap-16.h (__bswap_16): Likewise.
39055 * bits/byteswap.h (__bswap_constant_16): Likewise.
39056
3ee947b1
L
390572012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39058
39059 [BZ #14117]
a2f34833
L
39060 * sysdeps/i386/fpu_control.h: Removed.
39061 * sysdeps/x86_64/fpu_control.h: Moved to ...
39062 * sysdeps/x86/fpu_control.h: Here.
39063
3ee947b1
L
39064 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39065 (_FPU_SETCW): Likewise.
39066
ed1825f8
L
390672012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39068
25f1282a
L
39069 [BZ #14117]
39070 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39071 * sysdeps/x86/fpu/bits/mathinline.h: This.
39072 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39073
ed1825f8
L
39074 [BZ #14050]
39075 [BZ #14117]
39076 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39077 functions if __x86_64__ is defined.
39078
36d54b74
CLT
390792012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39080
39081 * string/endian.h: Add !__ASSEMBLER__ condition for including
39082 conversion interfaces.
39083
10285c21
JM
390842012-06-15 Joseph Myers <joseph@codesourcery.com>
39085
39086 [BZ #14241]
39087 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39088 of ABS(x) in calculating zero to negative powers other than odd
39089 integers.
39090 * math/libm-test.inc (pow_test): Add more tests.
39091
06c5abbd
AJ
390922012-06-15 Andreas Jaeger <aj@suse.de>
39093
39094 * manual/contrib.texi (Contributors): Update entry of Liubov
39095 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39096 Machado Filho.
39097
a3aeac40
CH
390982012-06-15 Cyril Hrubis <metan@ucw.cz>
39099
39100 * string/string.h: Add __wur to GNU version of strerror_r.
39101
49bdf4c1
L
391022012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39103
39104 [BZ #14229]
39105 * string/Makefile (tests): Add tst-strtok_r.
39106 * string/tst-strtok_r.c: New file.
39107 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39108 RAX_LP/RDX_LP on SAVE_PTR.
39109
834f9b8d
RM
391102012-06-14 Roland McGrath <roland@hack.frob.com>
39111
39112 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39113
75fa1921
JM
391142012-06-14 Joseph Myers <joseph@codesourcery.com>
39115
39116 * libm_test.inc (csqrt_test): Allow more spurious underflow
39117 exceptions.
39118 (j0_test): Likewise.
39119 (j1_test): Likewise.
39120 (y0_test): Likewise.
39121 (y1_test): Likewise.
39122
771766df
CD
391232012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39124
39125 * po/Makefile (libc.pot): Use UTF-8 charset.
39126
ceb9e56b
PP
391272012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39128
39129 [BZ #14210]
39130 Suppress sign-conversion warning from FD_SET.
39131 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39132 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39133 not unsigned long int.
39134 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39135
ddb28975
L
391362012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39137
39138 [BZ #14050]
39139 [BZ #14117]
39140 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39141 __extern_always_inline instead of __extern_inline.
39142 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39143 (__signbit): Likewise.
39144 (__signbitl): Support C++ namespace.
39145 (lrintf): New inline function.
39146 (lrint): Likewise.
39147 (llrintf): Likewise.
39148 (llrint): Likewise.
39149 (fmaxf): Likewise.
39150 (fmax): Likewise.
39151 (fminf): Likewise.
39152 (fmin): Likewise.
39153 (rint): Likewise.
39154 (rintf): Likewise.
39155 (ceil): Likewise.
39156 (ceilf): Likewise.
39157 (floor): Likewise.
39158 (floorf): Likewise.
39159 (nearbyint): Likewise.
39160 (nearbyintf): Likewise.
39161
d7b4fb26
TS
391622012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39163
39164 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39165 non-default versions.
39166
eb55f5c2
RM
391672012-06-11 Roland McGrath <roland@hack.frob.com>
39168
39169 [BZ #14218]
39170 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39171
366af02c
TS
391722012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39173
99ff6e5c
TS
39174 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39175 (FE_UPWARD, FE_DOWNWARD): Don't define.
39176 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39177 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39178
366af02c
TS
39179 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39180 reading it.
39181 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39182 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39183
793ea851
KK
391842012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39185
39186 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39187 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39188 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39189 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39190
a728a38f
L
391912012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39192
39193 [BZ #14117]
c08010c7
L
39194 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39195 * sysdeps/i386/fpu/Implies: New file.
39196 * sysdeps/x86_64/fpu/Implies: Likewise.
39197 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39198 * sysdeps/x86/fpu/bits/fenv.h: This.
39199
a728a38f
L
39200 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39201 __SSE_MATH__.
39202
6e230d11
SP
392032012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39204
39205 [BZ #14134]
39206 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39207 character 0xffff that matches the last element of the
39208 conversion table.
39209
1b671feb
AZ
392102012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39211
39212 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39213 fmodl commit.
39214
6043738b
AZ
392152012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39216
39217 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39218 values higher than 25.6283.
39219
34ae0b32
AZ
392202012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39221
39222 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39223 subnormal exponent extraction and add some __builtin_expect.
39224 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39225 Fix for subnormal mantissa calculation.
39226
1214ec8f
MF
392272012-06-04 Mike Frysinger <vapier@gentoo.org>
39228
39229 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39230 cpu2 is -1 and errno is not ENOSYS.
39231
f3d1f93c
L
392322012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39233
39234 [BZ #14117]
0e4a3cd7
L
39235 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39236 * sysdeps/x86/bits/string.h: This.
39237 * sysdeps/x86_64/bits/string.h: Removed.
39238
6704c645
L
39239 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39240 if not compiling for x86-64, but compiling for >= i486.
39241
48495318
L
39242 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39243 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39244
14adcbfc
L
39245 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39246 New macro from Linux kernel 3.4.0.
39247 (FP_XSTATE_MAGIC2): Likewise.
39248 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39249 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39250 (struct _fpx_sw_bytes): New struct.
39251 (struct _xsave_hdr): Likewise.
39252 (struct _ymmh_state): Likewise.
39253 (struct _xstate): Likewise.
39254
68e408ab
L
39255 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39256 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39257 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39258 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39259 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39260 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39261
f3d1f93c
L
39262 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39263 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39264 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39265 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39266 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39267 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39268
d9dc34cd
TMQMF
392692012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39270
39271 [BZ #13743]
39272 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39273 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39274 (sysdep_headers): Include sys/platform/ppc.h.
39275 * sysdeps/powerpc/test-gettimebase.c: Test for
39276 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39277 * manual/Makefile (appendices): Include platform.texi.
39278 * manual/contrib.texi (Contributors): Update @node pointers.
39279 * manual/maint.texi (Maintenance): Likewise.
39280 (Platform): New node.
39281 * manual/platform.texi: New file. Document the new features.
39282
4af3879c
SP
392832012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39284 Jakub Jelinek <jakub@redhat.com>
39285
39286 [BZ #14188]
39287 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39288 where __builtin_expect is unavailable.
39289
2fd6ff13
DM
392902012-06-03 David S. Miller <davem@davemloft.net>
39291
39292 * stdlib/longlong.h: Updated from GCC.
39293
173f7220
AS
392942012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39295
39296 [BZ #14042]
39297 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39298 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39299 __mcount_internal.
39300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39301 (GLIBC_2.16): Likewise.
39302
f34a1c6f
L
393032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39304
39305 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39306
88a4576f
JM
393072012-06-01 Joseph Myers <joseph@codesourcery.com>
39308
ea32bcdd
JM
39309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39310 (default-abi): New variable.
39311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39312 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39313 variable.
39314 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39315 Likewise.
39316 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39317 Likewise.
39318 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39319 Likewise.
39320
88a4576f
JM
39321 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39322 definition. Document in comment.
39323
402fe938
DM
393242012-06-01 David S. Miller <davem@davemloft.net>
39325
39326 * stdlib/longlong.h: Updated from GCC.
39327
3553723f
L
393282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39329
39330 [BZ #14117]
3bd872c4
L
39331 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39332 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39333 sys/debugreg.h sys/io.h here.
39334 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39335 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39336 sys/io.h.
39337 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39338 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39339 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39340 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39341 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39342 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39343
3553723f
L
39344 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39345 Define only if __x86_64__ is defined.
39346
4842e4fe
JM
393472012-06-01 Joseph Myers <joseph@codesourcery.com>
39348
c5bfe3d5
JM
39349 [BZ #14048]
39350 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39351 Use int64_t for variable i.
39352 * math/libm-test.inc (fmod_test): Add more tests.
39353
4842e4fe
JM
39354 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39355 z computation is not scheduled after fetestexcept.
39356 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39357 Use math_force_eval instead of asm to ensure calculation scheduled
39358 before exception test.
39359 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39360 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39361
efb73488
AJ
393622012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39363
39364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39365 computation is not scheduled after fetestexcept.
39366
29bcce7c
L
393672012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39368
39369 [BZ #14117]
39370 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39371 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39372
73a68f94
AZ
393732012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39374
39375 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39376 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39377
67b6df78
L
393782012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39379
edf2933a 39380 [BZ #14117]
ebc64a18
L
39381 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39382 <bits/wordsize.h>.
39383 (__WCHAR_MIN): Support __WORDSIZE == 64.
39384 (__WCHAR_MAX): Likewise.
39385
edf2933a
L
39386 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39387 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39388
57c6cf40
L
39389 [BZ #14183]
39390 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39391 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39392
67b6df78 39393 [BZ #14117]
8eb6281e
L
39394 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39395 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39396
aac639f4
L
39397 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39398 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39399
67b6df78
L
39400 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39401 Defined to 1 if __x86_64__ isn't defined.
39402 (_STAT_VER_LINUX_OLD): New.
39403 (st_atime): Remove duplicate.
39404 (st_mtime): Likewise.
39405 (st_ctime): Likewise.
39406
1c2cfe81
DM
394072012-05-31 David S. Miller <davem@davemloft.net>
39408
39409 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39410 entries.
39411
5be8418c
AS
394122012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39413
e7725326
AS
39414 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39415 gen-libm-test.pl.
39416
5be8418c
AS
39417 [BZ #14132]
39418 * elf/dl-reloc.c: Include <_itoa.h>.
39419 (_dl_reloc_bad_type): Remove use of INTUSE.
39420 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39421 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39422 * stdio-common/psiginfo.c (psiginfo): Likewise.
39423 * stdio-common/psignal.c (psignal): Likewise.
39424 * string/strsignal.c (strsignal): Likewise.
39425 * include/signal.h (_sys_siglist): Declare hidden proto.
39426 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39427 INTVARDEF with libc_hidden_data_def.
39428 * stdio-common/itoa-udigits.c: Likewise.
39429 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39430 (_itoa_lower_digits_internal): Remove declaration.
39431 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39432 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39433 (_sys_sigabbrev_internal): Remove aliases.
39434 (_sys_siglist): Define hidden alias.
39435
507352f1
MT
394362012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39437
39438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39439 bits/sysctl.h.
39440
42bbb1c3
L
394412012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39442
39443 [BZ #14117]
6bd784b6
L
39444 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39445 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39446
8bca20f0
L
39447 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39448 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39449 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39450 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39451 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39452 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39453
f9e890a9
L
39454 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39455 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39456 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39457
471101a1
L
39458 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39459 with __addr.
39460 (insw): Likewise.
39461 (insl): Likewise.
39462 (outsb): Likewise.
39463 (outsw): Likewise.
39464 (outsl): Likewise.
39465
6451c862
L
39466 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39467 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39468 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39469
a254b8c9
L
39470 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39471 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39472 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39473 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39474 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39475 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39476
b8dfdd92
L
39477 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39478 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39479
578cd270
L
39480 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39481 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39482
de662f5f
L
39483 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39484 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39485 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39486
25653439
L
39487 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39488 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39489 to ...
39490 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39491
6bad24a0
L
39492 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39493 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39494 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39495
42bbb1c3
L
39496 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39497 for x86-64.
39498 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39499
2d10d547
JM
395002012-05-31 Joseph Myers <joseph@codesourcery.com>
39501
39502 * math/math.h (M_El): Use two more decimal places.
39503 (M_LOG2El): Likewise.
39504 (M_LOG10El): Likewise.
39505 (M_LN2l): Likewise.
39506 (M_LN10l): Likewise.
39507 (M_PIl): Likewise.
39508 (M_PI_2l): Likewise.
39509 (M_PI_4l): Likewise.
39510 (M_1_PIl): Likewise.
39511 (M_2_PIl): Likewise.
39512 (M_2_SQRTPIl): Likewise.
39513 (M_SQRT2l): Likewise.
39514 (M_SQRT1_2l): Likewise.
39515
f230c29b
DM
395162012-05-31 David S. Miller <davem@davemloft.net>
39517
39518 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39519 values between float registers.
39520 * sysdeps/sparc/sparc64/memset.S: Likewise.
39521 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39522
fed806c3
MF
395232012-05-31 Mike Frysinger <vapier@gentoo.org>
39524
39525 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39526 -D_FORTIFY_SOURCE=1.
39527 (CPPFLAGS-tst-longjmp_chk.c): Define.
39528 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39529 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39530 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39531 CFLAGS-tst-wchar-h.c.
39532
30917259
MP
395332012-05-31 Marek Polacek <polacek@redhat.com>
39534
39535 [BZ #14132]
39536 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39537 __endmntent_internal): Remove declaration.
39538 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39539 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39540 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39541
1c58d5dc
DM
395422012-05-30 David S. Miller <davem@davemloft.net>
39543
39544 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39545 (___Q_simulate_exceptions): Use real FP ops rather than writing
39546 into the %fsr.
39547 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39548 Likewise.
39549
7dc00e0d
L
395502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39551
39552 [BZ #14117]
0bd53985
L
39553 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39554 * sysdeps/x86/bits/xtitypes.h: This.
39555
3a257e66
L
39556 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39557 * sysdeps/x86/bits/wordsize.h: This.
39558
62f62904
L
39559 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39560 * sysdeps/x86/bits/huge_vall.h: This.
39561
404fe9d9
L
39562 * sysdeps/i386/bits/select.h: Removed.
39563 * sysdeps/x86_64/bits/select.h: Renamed to ...
39564 * sysdeps/x86/bits/select.h: This.
39565
d48d0446
L
39566 * sysdeps/i386/bits/setjmp.h: Removed.
39567 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39568 * sysdeps/x86/bits/setjmp.h: This.
39569
7dc00e0d
L
39570 * sysdeps/i386/bits/mathdef.h: Removed.
39571 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39572 * sysdeps/x86/bits/mathdef.h: This.
39573
03277f8f
AS
395742012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39575
39576 [BZ #14132]
39577 * include/sys/socket.h (__connect_internal)
39578 (__libc_sa_len_internal): Remove declaration.
39579 (__connect, __libc_sa_len): Declare hidden_proto.
39580 (SA_LEN): Remove use of INTUSE.
39581 * socket/connect.c: Add libc_hidden_def.
39582 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39583 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39584 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39585 alias.
39586 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39587 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39588 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39589 of adding _internal alias.
39590
13764867
L
395912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39592
39593 [BZ #14117]
6bd97696
L
39594 * sysdeps/i386/bits/link.h: Removed.
39595 * sysdeps/i386/bits/linkmap.h: Likewise.
39596 * sysdeps/x86_64/bits/link.h: Renamed to ...
39597 * sysdeps/x86/bits/link.h: This.
39598 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39599 * sysdeps/x86/bits/linkmap.h: This.
39600
f726f0bb
L
39601 * sysdeps/i386/bits/endian.h: Removed.
39602 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39603 * sysdeps/x86/bits/endian.h: This.
39604
13764867
L
39605 * sysdeps/i386/bits/byteswap.h: Removed.
39606 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39607 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39608 * sysdeps/x86/bits/byteswap.h: This.
39609 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39610 * sysdeps/x86/bits/byteswap-16.h: This.
39611 * sysdeps/i386/Implies: Add x86.
39612 * sysdeps/x86_64/Implies: Likewise.
39613
ae251b0b
DM
396142012-05-30 David S. Miller <davem@davemloft.net>
39615
39616 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39617 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39618 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39619 (FP_TRAPPING_EXCEPTIONS): Define.
39620 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39621 (FP_TRAPPING_EXCEPTIONS): Define.
39622 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39623 subnormals only when inexact has been signalled or underflow
39624 exceptions are enabled.
39625 (_FP_PACK_CANONICAL): Likewise.
39626
d5c90867
L
396272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39628
39629 [BZ #14183]
39630 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39631 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39632
63f1549e
RH
396332012-05-30 Richard Henderson <rth@twiddle.net>
39634
8d8f2279
RH
39635 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39636 with #ifndef NOT_IN_libc.
39637
63f1549e
RH
39638 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39639 marked to avoid plt entry.
39640
0ab0291b
L
396412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39642
39643 [BZ #14112]
39644 * Makeconfig (default-abi): New macro.
39645 (abi-includes): Likewise.
39646 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39647 $(abi-$(default-abi)-lib-soname) for soname if defined.
39648 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39649 abi-variants.
39650 * Makefile (installed-stubs): Likewise.
39651 * include/stubs-biarch.h: Removed.
39652 * scripts/lib-names.awk: Only handle one library at a time.
39653 * scripts/soversions.awk: Remove WORDSIZE support.
39654 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39655 entries.
39656 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39657 Removed.
39658 (syscall-list-default-condition): Likewise.
39659 (syscall-list-default-condition): Likewise.
39660 (syscall-list-includes): Likewise.
39661 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39662 syscall-list-* with abi-*. Handle undefined abi-variants.
39663 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39664 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39665 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39666 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39667 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39668 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39669 Removed.
39670 (syscall-list-32-options): Likewise.
39671 (syscall-list-32-condition): Likewise.
39672 (syscall-list-64-options): Likewise.
39673 (syscall-list-64-condition): Likewise.
39674 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39675 macro.
39676 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39677 Renamed to ...
39678 (abi-*): This.
39679 (abi-64-ld-soname): New macro.
39680 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39681 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39682 Renamed to ...
39683 (abi-*): This.
39684 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39685 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39686
4da0431d
JM
396872012-05-30 Joseph Myers <joseph@codesourcery.com>
39688
3a85279c
JM
39689 * sysdeps/unix/sysv/linux/kernel-features.h
39690 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39691 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39692 include <kernel-features.h>.
39693 [!__NR_ftruncate64]: Remove conditional code.
39694 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39695 [__NR_ftruncate64]: Make code unconditional.
39696 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39697 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39698 include <kernel-features.h>.
39699 [!__NR_ftruncate64]: Remove conditional code.
39700 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39701 [__NR_ftruncate64]: Make code unconditional.
39702 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39704 include <kernel-features.h>.
39705 [!__NR_ftruncate64]: Remove conditional code.
39706 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39707 [__NR_ftruncate64]: Make code unconditional.
39708 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39710 include <kernel-features.h>.
39711 [!__NR_ftruncate64]: Remove conditional code.
39712 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39713 [__NR_ftruncate64]: Make code unconditional.
39714 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39715
4da0431d
JM
39716 * configure.in (libc_cv_fpie): Weaken to a compile test using
39717 LIBC_TRY_CC_OPTION.
39718 * configure: Regenerated.
39719
11ef492c
AK
397202012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39721
39722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39726 Refreshed.
39727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39733 Refreshed.
39734
d66ef399
DM
397352012-05-27 David S. Miller <davem@davemloft.net>
39736
39737 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39738 (___Q_zero): New.
39739 (__Q_simulate_exceptions): Return void. Change to simulate
39740 exceptions by writing into the %fsr.
39741 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39742 (__Qp_handle_exceptions): Likewise.
39743 (numbers): Delete.
39744 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39745 __Qp_handle_exceptions.
39746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39747 __Qp_handle_exceptions.
39748 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39749 as unused and give dummy FP_RND_NEAREST initializer.
39750 (FP_INHIBIT_RESULTS): Define.
39751 (___Q_simulate_exceptions): Update declaration.
39752 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39753 formatting.
39754 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39755 as unused and give dummy FP_RND_NEAREST initializer.
39756 (__Qp_handle_exceptions): Update declaration.
39757 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39758 formatting.
39759
04fb54b5
TS
397602012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39761
39762 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39763 the temporary FPU control word.
39764 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39765 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39766 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39767 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39768 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39769 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39770 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39771 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39772 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39773 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39774 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39775
3f99608f
KK
397762012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39777
39778 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39779 fields.
39780
65a4de4e
CLT
397812012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39782
39783 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39784 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39785 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39786 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39787 Likewise.
39788 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39789 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39790 Likewise.
39791
15749d40
UD
397922012-05-27 Ulrich Drepper <drepper@gmail.com>
39793
39794 * po/h.po: Update from translation team.
39795
25dbcb27
AS
397962012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39797
3d3f8e55
AS
39798 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39799
25dbcb27
AS
39800 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39801 handling of denormals.
39802 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39803 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39804 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39805 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39806 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39807 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39809 Likewise.
39810
7ad47a80 398112012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
39812
39813 [BZ #14152]
39814 * math/libm-test.inc (fma_test): Don't always expect underflow
39815 exception.
39816
9c6ea9fa
SP
398172012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39818
39819 [BZ #12416]
39820 * elf/tst-execstack.c: Include stackinfo.h.
39821 (do_test): Adjust test case to ensure that pthread_getattr_np
39822 behaviour remains the same after marking stack executable.
39823
a8239222
JM
398242012-05-25 Joseph Myers <joseph@codesourcery.com>
39825
39826 * sysdeps/unix/sysv/linux/kernel-features.h
39827 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39828 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39829 kernel-features.h.
39830 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39831 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39832 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39833 kernel-features.h.
39834 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39835 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39836
918b5606
L
398372012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39838
39839 * configure.in: Define the default includes to being none.
39840 * configure: Regenerated.
39841
3a097cc7
RM
398422012-05-25 Roland McGrath <roland@hack.frob.com>
39843
8422c9a5
RM
39844 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39845 * sysdeps/x86_64/setjmp.S: Likewise.
39846 * sysdeps/i386/bsd-setjmp.S: Likewise.
39847 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39848 * sysdeps/i386/setjmp.S: Likewise.
39849 * sysdeps/i386/__longjmp.S: Likewise.
39850 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39851 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39852
3a097cc7
RM
39853 * include/stap-probe.h: New file.
39854 * configure.in: Handle --enable-systemtap.
39855 * configure: Regenerated.
39856 * config.h.in (USE_STAP_PROBE): New #undef.
39857 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39858 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39859 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39860
21708942
JM
398612012-05-25 Joseph Myers <joseph@codesourcery.com>
39862
39863 [BZ #13717]
39864 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39865 to 2.4.0 where earlier.
39866 * sysdeps/unix/sysv/linux/configure: Regenerated.
39867 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
39876 [__ASSUME_32BITUIDS]: Make code unconditional.
39877 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39878 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39879 <kernel-features.h>.
39880 [__ASSUME_32BITUIDS]: Make code unconditional.
39881 [!__ASSUME_32BITUIDS]: Remove conditional code.
39882 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39883 <kernel-features.h>.
39884 [__ASSUME_32BITUIDS]: Make code unconditional.
39885 [!__ASSUME_32BITUIDS]: Remove conditional code.
39886 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39887 <kernel-features.h>.
39888 [__ASSUME_32BITUIDS]: Make code unconditional.
39889 [!__ASSUME_32BITUIDS]: Remove conditional code.
39890 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39891 <kernel-features.h>.
39892 [__ASSUME_32BITUIDS]: Make code unconditional.
39893 [!__ASSUME_32BITUIDS]: Remove conditional code.
39894 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39895 <kernel-features.h>.
39896 [__ASSUME_32BITUIDS]: Make code unconditional.
39897 [!__ASSUME_32BITUIDS]: Remove conditional code.
39898 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39899 <kernel-features.h>.
39900 [__ASSUME_32BITUIDS]: Make code unconditional.
39901 [!__ASSUME_32BITUIDS]: Remove conditional code.
39902 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39903 <kernel-features.h>.
39904 [__ASSUME_32BITUIDS]: Make code unconditional.
39905 [!__ASSUME_32BITUIDS]: Remove conditional code.
39906 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39907 <kernel-features.h>.
39908 [__ASSUME_32BITUIDS]: Make code unconditional.
39909 [!__ASSUME_32BITUIDS]: Remove conditional code.
39910 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39911 <kernel-features.h>.
39912 [__ASSUME_32BITUIDS]: Make code unconditional.
39913 [!__ASSUME_32BITUIDS]: Remove conditional code.
39914 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39915 <kernel-features.h>.
39916 [__ASSUME_32BITUIDS]: Make code unconditional.
39917 [!__ASSUME_32BITUIDS]: Remove conditional code.
39918 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39919 <kernel-features.h>.
39920 [__NR_setresgid] (__setresgid): Do not declare.
39921 [__ASSUME_32BITUIDS]: Make code unconditional.
39922 [!__ASSUME_32BITUIDS]: Remove conditional code.
39923 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39924 <kernel-features.h>.
39925 [__NR_setresuid] (__setresuid): Do not declare.
39926 [__ASSUME_32BITUIDS]: Make code unconditional.
39927 [!__ASSUME_32BITUIDS]: Remove conditional code.
39928 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39929 <kernel-features.h>.
39930 [__ASSUME_32BITUIDS]: Make code unconditional.
39931 [!__ASSUME_32BITUIDS]: Remove conditional code.
39932 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39933 <kernel-features.h>.
39934 [__ASSUME_32BITUIDS]: Make code unconditional.
39935 [!__ASSUME_32BITUIDS]: Remove conditional code.
39936 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39937 <kernel-features.h>.
39938 [__ASSUME_32BITUIDS]: Make code unconditional.
39939 [!__ASSUME_32BITUIDS]: Remove conditional code.
39940 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39941 <kernel-features.h>.
39942 [__ASSUME_32BITUIDS]: Make code unconditional.
39943 [!__ASSUME_32BITUIDS]: Remove conditional code.
39944 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39945 <kernel-features.h>.
39946 [__ASSUME_32BITUIDS]: Make code unconditional.
39947 [!__ASSUME_32BITUIDS]: Remove conditional code.
39948 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39949 <kernel-features.h>.
39950 [__ASSUME_32BITUIDS]: Make code unconditional.
39951 [!__ASSUME_32BITUIDS]: Remove conditional code.
39952 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39953 <kernel-features.h>.
39954 [__ASSUME_32BITUIDS]: Make code unconditional.
39955 [!__ASSUME_32BITUIDS]: Remove conditional code.
39956 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39957 <kernel-features.h>.
39958 [__ASSUME_32BITUIDS]: Make code unconditional.
39959 [!__ASSUME_32BITUIDS]: Remove conditional code.
39960 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39961 <kernel-features.h>.
39962 [__ASSUME_32BITUIDS]: Make code unconditional.
39963 [!__ASSUME_32BITUIDS]: Remove conditional code.
39964 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39965 <kernel-features.h>.
39966 [__ASSUME_32BITUIDS]: Make code unconditional.
39967 [!__ASSUME_32BITUIDS]: Remove conditional code.
39968 * sysdeps/unix/sysv/linux/kernel-features.h
39969 (__ASSUME_SETRESUID_SYSCALL): Remove.
39970 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39971 (__ASSUME_32BITUIDS): Likewise.
39972 (__ASSUME_LDT_WORKS): Likewise.
39973 (__ASSUME_O_DIRECTORY): Likewise.
39974 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39975 architecture but not kernel version.
39976 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39977 (__ASSUME_MMAP2_SYSCALL): Likewise.
39978 (__ASSUME_STAT64_SYSCALL): Likewise.
39979 (__ASSUME_IPC64): Likewise.
39980 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39981 <kernel-features.h>.
39982 [__ASSUME_32BITUIDS]: Make code unconditional.
39983 [!__ASSUME_32BITUIDS]: Remove conditional code.
39984 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39985 <kernel-features.h>.
39986 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39987 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39988 132096]: Remove conditional code.
39989 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39990 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39991 <kernel-features.h>.
39992 [__ASSUME_32BITUIDS]: Make code unconditional.
39993 [!__ASSUME_32BITUIDS]: Remove conditional code.
39994 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39995 <kernel-features.h>.
39996 [__ASSUME_32BITUIDS]: Make code unconditional.
39997 [!__ASSUME_32BITUIDS]: Remove conditional code.
39998 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39999 <kernel-features.h>.
40000 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40001 unconditional.
40002 (__setresgid): Do not declare.
40003 [__ASSUME_32BITUIDS]: Make code unconditional.
40004 [!__ASSUME_32BITUIDS]: Remove conditional code.
40005 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40006 <kernel-features.h>.
40007 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40008 unconditional.
40009 (__setresuid): Do not declare.
40010 [__ASSUME_32BITUIDS]: Make code unconditional.
40011 [!__ASSUME_32BITUIDS]: Remove conditional code.
40012 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40013 <kernel-features.h>.
40014 [__ASSUME_32BITUIDS]: Make code unconditional.
40015 [!__ASSUME_32BITUIDS]: Remove conditional code.
40016 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40017 <kernel-features.h>.
40018 [__ASSUME_32BITUIDS]: Make code unconditional.
40019 [!__ASSUME_32BITUIDS]: Remove conditional code.
40020
a386f1cc
RH
400212012-05-25 Richard Henderson <rth@twiddle.net>
40022
40023 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40024 dl_hwcap to ifunc resolver.
40025 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40026 elf_ifunc_invoke.
40027 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40028 dl_hwcap to ifunc resolver.
40029 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40030
b6550497
JM
400312012-05-24 Joseph Myers <joseph@codesourcery.com>
40032
40033 [BZ #14153]
40034 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40035 for |x| <= 2**-26, not 2**-57.
40036 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40037 exception.
40038
b0bc23a1
JL
400392012-05-24 Jeff Law <law@redhat.com>
40040
40041 * stdio-common/Makefile (tests): Add bug25.
40042 * stdio-common/bug25.c: New test.
40043
347c92e9
L
400442012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40045
40046 [BZ #13576]
40047 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40048 multiple of MALLOC_ALIGNMENT in size.
40049 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40050
6bcc8b3f
JM
400512012-05-24 Joseph Myers <joseph@codesourcery.com>
40052
40053 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40054 Require >= 256.
40055 (FILENAME_MAX): Use macro-int-constant.
40056 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40057 (_IOFBF): Use macro-int-constant.
40058 (_IOLBF): Likewise.
40059 (_IONBF): Likewise.
40060 (SEEK_CUR): Likewise.
40061 (SEEK_END): Likewise.
40062 (SEEK_SET): Likewise.
40063 (TMP_MAX): Likewise.
40064 (EOF): Use macro-int-constant. Require < 0.
40065 (NULL): Use macro-constant. Require == 0.
40066 (stdin): Require type to be FILE *.
40067 (stdout): Likewise.
40068 (stderr): Likewise.
40069 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40070 macro-int-constant.
40071 (EXIT_SUCCESS): Likewise.
40072 (NULL): Use macro-constant. Require == 0.
40073 (RAND_MAX): Use macro-int-constant.
40074 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40075 [C99-based standards] (strtof): Require function.
40076 [C99-based standards] (strtold): Likewise.
40077 [C99-based standards] (strtoll): Likewise.
40078 [C99-based standards] (strtoull): Likewise.
40079 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40080 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40081 [ISO || ISO99 || ISO11] (math.h): Likewise.
40082 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40083 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40084 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40085
d18ea0c5
AS
400862012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40087
40088 [BZ #14132]
56d25bb8
AS
40089 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40090 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40091 * intl/dgettext.c (DCGETTEXT): Likewise.
40092 * intl/gettext.c (DCGETTEXT): Likewise.
40093 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40094 * posix/regex_internal.h (gettext): Likewise.
40095 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40096 Remove declaration.
40097 * include/argz.h (__argz_count_internal)
40098 (__argz_stringify_internal): Remove declaration.
40099 (__argz_count, __argz_stringify): Declare hidden proto.
40100 * intl/dcgettext.c: Remove use of INTDEF.
40101 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40102 * string/argz-stringify.c: Likewise.
40103 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40104 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40105 Declare hidden proto.
d18ea0c5
AS
40106 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40107 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40108 Declare hidden proto.
40109 * include/stdio.h (__asprintf_internal): Don't declare.
40110 (__asprintf): Don't define as macro. Declare hidden proto.
40111 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40112 (__fsetlocking): Declare hidden proto.
40113 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40114 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40115 hidden proto.
40116 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40117 (_IO_setlinebuf): Remove use of INTUSE.
40118 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40119 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40120 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40121 Remove declaration.
40122 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40123 (_IO_do_flush): Remove use of INTUSE.
40124 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40125 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40126 (_IO_adjust_column, _IO_least_wmarker)
40127 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40128 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40129 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40130 (_IO_default_doallocate, _IO_wdefault_doallocate)
40131 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40132 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40133 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40134 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40135 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40136 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40137 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40138 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40139 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40140 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40141 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40142 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40143 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40144 proto.
40145 (_IO_flush_all_internal, _IO_adjust_column_internal)
40146 (_IO_default_uflow_internal, _IO_default_finish_internal)
40147 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40148 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40149 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40150 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40151 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40152 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40153 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40154 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40155 (_IO_file_close_internal, _IO_file_close_it_internal)
40156 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40157 (_IO_file_init_internal, _IO_file_attach_internal)
40158 (_IO_file_fopen_internal, _IO_file_read_internal)
40159 (_IO_file_sync_internal, _IO_file_seek_internal)
40160 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40161 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40162 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40163 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40164 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40165 (_IO_list_all_internal, _IO_link_in_internal)
40166 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40167 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40168 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40169 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40170 (_IO_do_write_internal, _IO_padn_internal)
40171 (_IO_getline_info_internal, _IO_getline_internal)
40172 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40173 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40174 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40175 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40176 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40177 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40178 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40179 with libc_hidden_ver, remove use of INTUSE.
40180 * libio/genops.c: Likewise.
40181 * libio/freopen.c: Likewise.
40182 * libio/freopen64.c: Likewise.
40183 * libio/iofclose.c: Likewise.
40184 * libio/iofdopen.c: Likewise.
40185 * libio/iofflush.c: Likewise.
40186 * libio/iofflush_u.c: Likewise.
40187 * libio/iofgets.c: Likewise.
40188 * libio/iofgets_u.c: Likewise.
40189 * libio/iofopen.c: Likewise.
40190 * libio/iofopncook.c: Likewise.
40191 * libio/iofread.c: Likewise.
40192 * libio/iofread_u.c: Likewise.
40193 * libio/ioftell.c: Likewise.
40194 * libio/iofwrite.c: Likewise.
40195 * libio/iogetline.c: Likewise.
40196 * libio/iogets.c: Likewise.
40197 * libio/iogetwline.c: Likewise.
40198 * libio/iopadn.c: Likewise.
40199 * libio/iopopen.c: Likewise.
40200 * libio/ioseekoff.c: Likewise.
40201 * libio/ioseekpos.c: Likewise.
40202 * libio/iosetbuffer.c: Likewise.
40203 * libio/iosetvbuf.c: Likewise.
40204 * libio/ioungetc.c: Likewise.
40205 * libio/ioungetwc.c: Likewise.
40206 * libio/iovdprintf.c: Likewise.
40207 * libio/iovsprintf.c: Likewise.
40208 * libio/iovsscanf.c: Likewise.
40209 * libio/memstream.c: Likewise.
40210 * libio/obprintf.c: Likewise.
40211 * libio/oldfileops.c: Likewise.
40212 * libio/oldiofclose.c: Likewise.
40213 * libio/oldiofdopen.c: Likewise.
40214 * libio/oldiofopen.c: Likewise.
40215 * libio/oldiopopen.c: Likewise.
40216 * libio/oldstdfiles.c: Likewise.
40217 * libio/putc.c: Likewise.
40218 * libio/setbuf.c: Likewise.
40219 * libio/setlinebuf.c: Likewise.
40220 * libio/stdfiles.c: Likewise.
40221 * libio/strops.c: Likewise.
40222 * libio/vasprintf.c: Likewise.
40223 * libio/vscanf.c: Likewise.
40224 * libio/vsnprintf.c: Likewise.
40225 * libio/vswprintf.c: Likewise.
40226 * libio/wfiledoalloc.c: Likewise.
40227 * libio/wfileops.c: Likewise.
40228 * libio/wgenops.c: Likewise.
40229 * libio/wmemstream.c: Likewise.
40230 * libio/wstrops.c: Likewise.
40231 * libio/__fpurge.c: Likewise.
40232 * libio/__fsetlocking.c: Likewise.
40233 * assert/assert.c: Likewise.
40234 * debug/fgets_chk.c: Likewise.
40235 * debug/fgets_u_chk.c: Likewise.
40236 * debug/fread_chk.c: Likewise.
40237 * debug/fread_u_chk.c: Likewise.
40238 * debug/gets_chk.c: Likewise.
40239 * debug/obprintf_chk.c: Likewise.
40240 * debug/vasprintf_chk.c: Likewise.
40241 * debug/vdprintf_chk.c: Likewise.
40242 * debug/vsnprintf_chk.c: Likewise.
40243 * debug/vsprintf_chk.c: Likewise.
40244 * malloc/mtrace.c: Likewise.
40245 * misc/error.c: Likewise.
40246 * misc/syslog.c: Likewise.
40247 * stdio-common/asprintf.c: Likewise.
40248 * stdio-common/fxprintf.c: Likewise.
40249 * stdio-common/getw.c: Likewise.
40250 * stdio-common/isoc99_fscanf.c: Likewise.
40251 * stdio-common/isoc99_scanf.c: Likewise.
40252 * stdio-common/isoc99_vfscanf.c: Likewise.
40253 * stdio-common/isoc99_vscanf.c: Likewise.
40254 * stdio-common/isoc99_vsscanf.c: Likewise.
40255 * stdio-common/printf-prs.c: Likewise.
40256 * stdio-common/printf_fp.c: Likewise.
40257 * stdio-common/printf_fphex.c: Likewise.
40258 * stdio-common/printf_size.c: Likewise.
40259 * stdio-common/putw.c: Likewise.
40260 * stdio-common/scanf.c: Likewise.
40261 * stdio-common/sprintf.c: Likewise.
40262 * stdio-common/tmpfile.c: Likewise.
40263 * stdio-common/vfprintf.c: Likewise.
40264 * stdio-common/vfscanf.c: Likewise.
40265 * stdlib/strfmon_l.c: Likewise.
40266 * sunrpc/openchild.c: Likewise.
40267 * sunrpc/xdr_stdio.c: Likewise.
40268 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40269 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40270
d6c33fda
RM
402712012-05-24 Roland McGrath <roland@hack.frob.com>
40272
c1487492
RM
40273 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40274
40275 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40276 in the third column, to generate for the shared library an IFUNC
40277 that uses _dl_vdso_vsym.
40278 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40279 * Makeconfig (object-suffixes-noshared): New variable.
40280
40281 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40282 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40283 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40284 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40285
d6c33fda
RM
40286 [BZ #14132]
40287 * include/sys/time.h (__gettimeofday): Remove macro.
40288 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40289 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40290 Remove INTDEF.
40291 (__gettimeofday): Add libc_hidden_def.
40292 (gettimeofday): Add libc_hidden_weak.
40293 * sysdeps/mach/gettimeofday.c: Likewise.
40294 * sysdeps/posix/gettimeofday.c: Likewise.
40295 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40296 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40297 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40298 (__gettimeofday_internal): Remove strong_alias.
40299 (__gettimeofday): Add libc_hidden_def.
40300 (gettimeofday): Add libc_hidden_weak.
40301 * sysdeps/unix/syscalls.list (gettimeofday):
40302 Remove __gettimeofday_internal alias.
40303
b5a2bbe6
L
403042012-05-24 Daniel Jacobowitz <drow@false.org>
40305 H.J. Lu <hongjiu.lu@intel.com>
40306
40307 [BZ #12495]
40308 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40309 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40310 (largebin_index_32_big): New.
40311 (largebin_index): Use it for 16-byte alignment.
40312 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40313 correction with front_misalign.
40314
cfba4fda
L
403152012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40316
7f907421
L
40317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40319 Likewise.
40320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40321 Likewise.
40322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40323 Likewise.
40324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40325 Likewise.
40326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40327 Likewise.
40328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40329 Likewise.
40330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40331 Likewise.
40332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40333 Likewise.
40334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40335 Likewise.
40336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40337 Likewise.
40338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40339 Likewise.
40340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40341 Likewise.
40342
cfba4fda
L
40343 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40344 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40345
80bad0cc
JM
403462012-05-24 Joseph Myers <joseph@codesourcery.com>
40347
7a25eb06
JM
40348 [BZ #10846]
40349 [BZ #14036]
40350 * math/libm-test.inc (exp_test): Add test from bug 14036.
40351 (pow_test): Add test from bug 10846.
40352
795405f9
JM
40353 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40354 and other flags.
40355 (special_function): Do not include flags in test name.
40356 (parse_args): Likewise.
40357 * sysdeps/i386/fpu/libm-test-ulps: Update.
40358 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40359 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40360 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40362
80bad0cc
JM
40363 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40364 exceptions.
40365 * math/libm-test.inc ("Philosophy"): Update comment about
40366 exception testing.
40367 (UNDERFLOW_EXCEPTION): New macro.
40368 (UNDERFLOW_EXCEPTION_OK): Likewise.
40369 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40370 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40371 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40372 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40373 (INVALID_EXCEPTION_OK): Update value.
40374 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40375 (OVERFLOW_EXCEPTION_OK): Likewise.
40376 (IGNORE_ZERO_INF_SIGN): Likewise.
40377 (test_exceptions): Handle underflow exceptions.
40378 (acos_test): Update for underflow exception expectations.
40379 (cexp_test): Likewise.
40380 (clog_test): Likewise.
40381 (clog10_test): Likewise.
40382 (csqrt_test): Likewise.
40383 (ctan_test): Likewise.
40384 (ctanh_test): Likewise.
40385 (exp_test): Likewise.
40386 (exp10_test): Likewise.
40387 (exp2_test): Likewise.
40388 (expm1_test): Likewise.
40389 (fma_test): Likewise.
40390 (j0_test): Likewise.
40391 (jn_test): Likewise.
40392 (nexttoward_test): Likewise.
40393 (pow_test): Likewise.
40394 (scalbn_test): Likewise.
40395 (scalbln_test): Likewise.
40396 (tan_test): Likewise.
40397 (y1_test): Likewise.
40398 * sysdeps/i386/fpu/libm-test-ulps: Update.
40399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40400
9e0e3d0b
DM
404012012-05-23 David S. Miller <davem@davemloft.net>
40402
40403 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40404 (__libc_sigaction): Remove unused local variables.
40405
ccd0a08f
L
404062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40407
40408 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40409
62bdf9a6
PE
404102012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40411
f8591f80
PE
40412 mktime: avoid signed integer overflow
40413 * time/mktime.c (__mktime_internal): Do not mishandle the case
40414 where diff == INT_MIN.
40415
94c7d826
PE
40416 mktime: simplify computation of average
40417 * time/mktime.c (ranged_convert): Use new time_t_avg function
40418 instead of rolling our own (probably-slower) code.
40419
ce73d683
PE
40420 mktime: do not assume signed right shift propagates sign bit
40421 * time/mktime.c (isdst_differ): New static function.
40422 (__mktime_internal): No need to normalize tm_isdst now.
40423 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40424 tm_isdst values.
40425
72a22e59
PE
40426 mktime: merge another wrapv change from gnulib
40427 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40428 from some compilers.
40429
68605433
PE
40430 mktime: remove incorrect attempt at unusual arithmetics
40431 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40432 The code didn't really work on such machines anyway.
40433 (TYPE_MINIMUM): Assume two's complement.
40434 (twos_complement_arithmetic): Verify that long_int and time_t
40435 are two's complement (or unsigned, in the latter case).
40436
03cf7fe3
PE
40437 mktime: check signed shifts on long_int and time_t, too
40438 * time/mktime.c (SHR): Check that shifts work as desired
40439 on the types long_int and time_t too, as SHR is used on
40440 such types.
40441
f04dfbc2
PE
40442 mktime: do not assume 'long' is wide enough
40443 * time/mktime.c (verify): Move decl up.
40444 (long_int): New type.
40445 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40446 to remove assumption in the code that 'long' is wide enough to
40447 store year values. This assumption is not true on x32 and on
40448 some non-glibc platforms.
40449
62bdf9a6
PE
40450 mktime: merge wrapv change from gnulib
40451 * time/mktime.c (WRAPV): New macro.
40452 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40453 (guess_time_tm, __mktime_internal): Do not assume that signed
40454 integer overflow wraps around; modern compilers generate code
40455 where this assumption is no longer valid.
40456
5e292e4f
L
404572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40458
40459 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40460 Replace "jmp L(pseudo_end)" with "ret".
40461 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40462 Likewise.
40463
8caf8c87
AJ
404642012-05-23 Andreas Jaeger <aj@suse.de>
40465
40466 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40467 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40468
1a09dc56
AJ
404692012-05-23 Andreas Jaeger <aj@suse.de>
40470 Maximilian Attems <max@stro.at>
40471
40472 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40473 New macros.
40474
1c87aba0
L
404752012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40476
40477 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40478 code so that pseudo_end is just ret and the stack pointer is
40479 correct also for static library in error case.
40480
40e45bd5
JM
404812012-05-23 Joseph Myers <joseph@codesourcery.com>
40482
c2670533
JM
40483 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40484 move to syscalls.list.
40485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40489
40e45bd5
JM
40490 * manual/install.texi (Running make install): Do not mention Linux
40491 kernel version for which pt_chown is not needed.
40492 (Linux): Do not mention problems with nscd with 2.0 kernels.
40493 * INSTALL: Regenerated.
40494
be08eda5
AJ
404952012-05-23 Andreas Jaeger <aj@suse.de>
40496
40497 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40498 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40499 macro.
40500 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40501 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40502 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40503 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40504 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40505 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40506 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40507 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40508 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40509 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40510 * sysdeps/unix/sysv/linux/bits/in.h
40511 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40512
a6a056bb
RM
405132012-05-22 Roland McGrath <roland@hack.frob.com>
40514
40515 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40516 (PREPARE_VERSION): Just use assert instead, it will be elided
40517 under [NDEBUG] anyway.
40518
c9009328
L
405192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40520
40521 * sysdeps/unix/sysv/linux/Makefile: Include
40522 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 40523 (sysdep_routines): Remove sysctl.
c9009328
L
40524 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40525 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40526 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40527 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40528 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40529
73338355
AJ
405302012-05-22 Andreas Jaeger <aj@suse.de>
40531
40532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40533 that pseudo_end is just ret and the stack pointer is correct also
40534 for static library in error case.
40535
d44638b0
PP
405362012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40537
40538 [BZ #14122]
40539 * nss/nsswitch.c (defconfig_entries): New variable.
40540 (__nss_database_lookup): Don't leak defconfig entries.
40541 (nss_parse_service_list): Don't leak on error paths.
40542 (free_database_entries): New function.
40543 (free_defconfig): New function.
40544 (free_mem): Move common code to free_database_entries.
40545
31a39bd8
L
405462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40547
da0331a8
L
40548 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40549 Add arch_prctl.
40550 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40551
31a39bd8
L
40552 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40553 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40554 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40555 New macro.
40556 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40557 (INTERNAL_SYSCALL_TYPES): Likewise.
40558 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40559 (LOAD_REGS_TYPES_[1-6]): Likewise.
40560 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40561 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40562
45470df3
AZ
405632012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40564
40565 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40566 copysignl for GLIBC_2_0.
40567 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40568 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40569 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40570 logbl for GLIBC_2_0.
40571 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40572 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40573
98a61bcb
L
405742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40575
a4f6e481
L
40576 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40577 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40578
f63d5db6
L
40579 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40580 Use "neg %eax".
40581
98a61bcb
L
40582 * time/mktime.c: Update copyright years.
40583
95770f14
PE
405842012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40585
6226efbd
PE
40586 mktime: merge comment-quoting-style change from gnulib
40587 * time/mktime.c: Quote 'like this' in comments.
40588 The GNU coding standards suggest that we no longer quote `like this',
40589 as "`" and "'" are typically rendered asymmetrically nowadays.
40590 The typical gnulib style is to quote 'like this' when quoting
40591 code, and "like this" when quoting English.
40592
b99e4f78
PE
40593 * time/mktime.c (compile-command): Add "-I.".
40594
643e01e6
PE
40595 mktime: merge mktime-internal.h change from gnulib
40596 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40597
2554247d
PE
40598 mktime: merge time_r change from gnulib
40599 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40600
826dd0ab
PE
40601 mktime: merge DEBUG change from gnulib
40602 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40603 case system <time.h> has a #define.
40604
bd83aabe
PE
40605 mktime: merge <sys/types.h> change from gnulib
40606 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40607 since <time.t> is now guaranteed to define time_t.
40608
95770f14
PE
40609 mktime: merge HAVE_CONFIG_H change from gnulib
40610 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40611
5e1a27a9
L
406122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40613
0e44a77e
L
40614 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40615 Use "neg %eax".
40616
5e1a27a9
L
40617 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40618 __rlim_t cast.
40619 (struct rusage): Use anonymous union to pad each field to
40620 __syscall_slong_t.
40621
46259bec
DM
406222012-05-21 David S. Miller <davem@davemloft.net>
40623
40624 * Makefules (o-iterator): Remove .s cases.
40625 (compile-command.s): Delete.
40626 (COMPILE.s): Delete.
40627 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40628
59f0c22e
JM
406292012-05-21 Joseph Myers <joseph@codesourcery.com>
40630
40631 * configure.in (libc_cv_predef_stack_protector): Only consider
40632 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40633 * configure: Regenerated.
40634
20c07380
L
406352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40636
bbb3154b
L
40637 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40638 New macro. Use R*LP on int and pointer.
40639 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
40640 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40641 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
40642 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40643
20c07380
L
40644 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40645 [__WORDSIZE_TIME64_COMPAT32] instead of
40646 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40647 (struct utmp): Likewise.
40648 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40649 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40650 Renamed to ...
40651 (__WORDSIZE_TIME64_COMPAT32): This.
40652 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40653 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40654 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40655 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40656 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40657 (__WORDSIZE_TIME64_COMPAT32): New macro.
40658
d8d1017e
AJ
406592012-05-21 Andreas Jaeger <aj@suse.de>
40660
40661 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40662 only if [SHARED]. Add prototype for __wcschr_ia32.
40663
6c7fb145
RM
406642012-05-21 Roland McGrath <roland@hack.frob.com>
40665
40666 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40667 of %rbp unmolested in the jmp_buf while mangling the low bits.
40668 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40669 unmolested high bits of %rbp while demangling the low bits.
40670 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40671
66274218
AJ
406722012-05-21 Andreas Jaeger <aj@suse.de>
40673
07c58f8f
AJ
40674 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40675 * sunrpc/svc_simple.c: Use it for registerrpc.
40676 * sunrpc/xcrypt.c: Use it for passwd2des.
40677
66274218
AJ
40678 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40679
61f65140
L
406802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40681
40682 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40683 Don't define if [__SYSCALL_WORDSIZE != 32].
40684 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40685 New macro.
40686
5fefb436
AJ
406872012-05-21 Bruno Haible <bruno@clisp.org>
40688 Andreas Jaeger <aj@suse.de>
40689
40690 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40691 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40692 inptr and inend for must_buffer_ch.
40693 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40694 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40695 * stdio-common/Makefile (tests): Remove bug15.
40696 (bug15-ENV): Remove macro.
40697 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40698 anymore.
40699
d8e272ab
AJ
407002012-05-19 Andreas Jaeger <aj@suse.de>
40701 Roland McGrath <roland@hack.frob.com>
40702
40703 * manual/contrib.texi: Completely rewritten. It contains now an
40704 alphabetical list of contributors and their contributions.
40705
4a56a162
RH
407062012-05-21 Richard Henderson <rth@twiddle.net>
40707
40708 * misc/getauxval.c (__getauxval): Use unsigned long int.
40709 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40710 (getauxval): Use unsigned long int.
40711
d024d23c
L
407122012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40713
40714 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40715
cbc00a03
RM
407162012-05-21 Roland McGrath <roland@hack.frob.com>
40717
40718 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40719 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40720 __alignof__ (long double).
40721
478143fa
AZ
407222012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40723
40724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40725
c7683a6d
RH
407262012-05-20 Richard Henderson <rth@twiddle.net>
40727
40728 * misc/getauxval.c: New file.
40729 * misc/sys/auxv.h: New file.
40730 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40731 (routines): Add getauxval.
40732 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40733 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40734 * elf/dl-sysdep.c (_dl_auxv): Remove.
40735 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40736 * elf/dl-support.c (_dl_auxv): New variable.
40737 (_dl_aux_init): Initialize it.
40738 * manual/startup.texi (Auxiliary Vector): New node.
40739 * sysdeps/generic/bits/hwcap.h: New file.
40740 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40741 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40742 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40743 * sysdeps/sparc/sysdep.h: ... here. Include it.
40744 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40745 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
40746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40747 Update.
c7683a6d
RH
40748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40751 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40756
a6f1845d
AZ
407572012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40758
40759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40760
cbcbe830
DM
407612012-05-19 David S. Miller <davem@davemloft.net>
40762
40763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40764
e0b16cc2
JM
407652012-05-19 Joseph Myers <joseph@codesourcery.com>
40766
40767 [BZ #14123]
40768 * math/s_ccosh.c: Include <float.h>
40769 (__ccosh): Avoid internal overflow calculating sinh and cosh
40770 values before multiplying by sin and cos values.
40771 * math/s_ccoshf.c: Likewise.
40772 * math/s_ccoshl.c: Likewise.
40773 * math/s_csin.c: Likewise.
40774 * math/s_csinf.c: Likewise.
40775 * math/s_csinl.c: Likewise.
40776 * math/s_csinh.c: Likewise.
40777 * math/s_csinhf.c: Likewise.
40778 * math/s_csinhl.c: Likewise.
40779 * math/libm-test.inc (ccos_test): Add more tests.
40780 (ccosh_test): Likewise.
40781 (csin_test): Likewise.
40782 (csinh_test): Likewise.
40783 * sysdeps/i386/fpu/libm-test-ulps: Update.
40784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40785
6ad13e08
L
407862012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40787
f66f0ce8
L
40788 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40789 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40790
6ad13e08
L
40791 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40792
b1d072a7
JM
407932012-05-19 Joseph Myers <joseph@codesourcery.com>
40794
40795 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40796 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40797 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40798 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40799 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40800 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40801 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40802 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40803 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40804 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40805 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40806 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40807 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40808 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40809 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40810 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40811 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40812 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40813 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40814 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40815 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40816 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40817 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40818 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40819 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40820 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40821 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40822 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40823 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40824 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40825 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40826
9eae47cb
AJ
408272012-05-18 Andreas Jaeger <aj@suse.de>
40828
40829 * csu/.gitignore: Delete.
40830
bb07f69f
L
408312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40832
40833 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40834 (timex): Use __syscall_slong_t.
40835
e6bdb741
AJ
408362012-05-18 Andreas Jaeger <aj@suse.de>
40837 Carlos O'Donell <carlos_odonell@mentor.com>
40838
40839 * manual/install.texi (Configuring and compiling): Update
40840 description about files modified in the source directory.
d6c33fda 40841 * INSTALL: Regenerated.
e6bdb741 40842
1b74487e
L
408432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40844
40845 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40846 value. Use "or" to set return value to -1.
40847 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40848 negate return value.
40849
a88b64b9
TMQMF
408502012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40851
57f41c40
AS
40852 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40853 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
40854 failure if the compiler has Graphite support disabled.
40855 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40856 Likewise.
57f41c40
AS
40857 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40858 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
40859 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40860 Likewise.
40861
3707636e
L
408622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40863
610b8622
L
40864 * sysdeps/x86_64/x32/_itoa.h: New file.
40865
7cd195df
L
40866 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40867 getdents system call only if kernel and user dirents have the
40868 same d_ino and d_off.
40869
94b07d20
L
40870 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40871 LLONG_MAX != LONG_MAX.
40872 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40873 (_fitoa_word): Likewise.
40874
18298070
L
40875 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40876 years.
40877 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40878 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40879 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40880
553c7ea4
L
40881 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40882 include <bits/wordsize.h>. Check __x86_64__ instead of
40883 __WORDSIZE.
40884 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40885 if __x86_64__ is defined. Use anonymous union on fpstate.
40886
3707636e
L
40887 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40888 anonymous union.
40889
b53ef01a
AS
408902012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40891
37fb1dc0
AS
40892 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40893 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40894 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40895 Refer to _rtld_local_ro instead of _rtld_global_ro.
40896 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40897 Likewise.
40898 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40899 Likewise.
40900 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40901 Likewise.
40902 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40903 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40904 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40905
b53ef01a
AS
40906 * sysdeps/powerpc/powerpc32/dl-machine.c
40907 (__elf_machine_runtime_setup) [PROF]: Don't reference
40908 _dl_prof_resolve.
40909
7a185db2
AJ
409102012-05-18 Andreas Jaeger <aj@suse.de>
40911
40912 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40913 function only available for GCCs before 3.4 since GCC 3.4
40914 introduced a builtin.
40915 (lrint): Likewise.
40916 (llrintf): Likewise.
40917 (llrint): Likewise.
40918 (fmaxf): Likewise.
40919 (fmax): Likewise.
40920 (fminf): Likewise.
40921 (fmin): Likewise.
40922 (rint): Likewise.
40923 (rintf): Likewise.
40924 (nearbyint): Likewise.
40925 (nearbyintf): Likewise.
40926 (ceil): Likewise.
40927 (ceilf): Likewise.
40928 (floor): Likewise.
40929 (floorf): Likewise.
40930
3e5aef87
L
409312012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40932
428bd707
L
40933 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40934 on both fields and cast pointer to __syscall_ulong_t.
40935
3e5aef87
L
40936 * bits/types.h (__fsword_t): New type.
40937 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40938 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40939 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40940 (__FSWORD_T_TYPE): Likewise.
40941 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40942 (__FSWORD_T_TYPE): Likewise.
40943 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40944 (__FSWORD_T_TYPE): Likewise.
40945 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40946 (__FSWORD_T_TYPE): Likewise.
40947 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40948 __SWORD_TYPE with __fsword_t.
40949 (statfs64): Likewise.
40950
1ba7c3dc
DM
409512012-05-17 David S. Miller <davem@davemloft.net>
40952
40953 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40954
59910343
AJ
409552012-05-17 Andreas Jaeger <aj@suse.de>
40956
40957 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40958 warning.
40959
2e4c1e9e
L
409602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40961
40962 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40963
de7f5ce7
AJ
409642012-05-17 Andreas Jaeger <aj@suse.de>
40965
40966 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40967 when it is used.
40968
286abc3d
CM
409692012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40970
40971 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40972
477cc68e
L
409732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40974
40975 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40976 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40977
1a0994f5
CD
409782012-05-17 Andreas Jaeger <aj@suse.de>
40979 Carlos O'Donell <carlos_odonell@mentor.com>
40980
40981 [BZ #14059]
40982 * sysdeps/x86_64/multiarch/init-arch.h
40983 (bit_YMM_Usable): Rename to...
40984 (bit_AVX_Usable): ... this.
40985 (bit_FMA4_Usable): New macro.
40986 (bit_XMM_state): New macro.
40987 (bit_YMM_state): New macro.
40988 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40989 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40990 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40991 (CPUID_OSXSAVE): New macro.
40992 (CPUID_AVX): New macro.
40993 (CPUID_FMA4): New macro.
40994 (index_YMM_Usable): Rename to...
40995 (index_AVX_Usable): ... this.
40996 (HAS_AVX): Use HAS_ARCH_FEATURE.
40997 (HAS_FMA4): Likewise.
40998 (HAS_YMM_USABLE): Remove.
40999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41000 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41001 are present.
41002 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41003 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41004 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41005 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41006 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41007
0af797de
CM
410082012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41009
41010 * math/libm-test.c: Support platforms without multiple rounding modes.
41011 * math/bug-nextafter.c: Support platforms without FP exceptions.
41012 * math/bug-nexttoward.c: Likewise.
41013 * math/test-fenv.c: Likewise.
41014 * math/test-misc.c: Likewise.
41015 * stdlib/bug-getcontext.c: Likewise.
41016
e39745ff
AJ
410172012-05-17 Andreas Jaeger <aj@suse.de>
41018
41019 * manual/examples/search.c (critter_cmp): Change signature to
41020 avoid warnings.
41021 * manual/string.texi (Collation Functions): Likewise.
41022
48970aba
L
410232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41024
41025 * bits/types.h: Fold copyright years.
41026 * bits/typesizes.h: Likewise.
41027 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41028 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41029 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41030 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41031 * time/time.h: Likewise.
41032
bedee953
PP
410332012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41034
41035 [BZ #208]
41036 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41037 in instead of returning them. Return void.
41038 (__libc_mallinfo): Accumulate over all arenas.
41039 (__malloc_stats): Adjust for change in int_mallinfo interface.
41040
61653dfb
RM
410412012-05-16 Roland McGrath <roland@hack.frob.com>
41042
30b99d79
RM
41043 [BZ #10375]
41044 * configure.in (NM): Add AC_CHECK_TOOL for it.
41045 (libc_extra_cflags): New substituted variable.
41046 Check for -fstack-protector being used implicitly.
41047 * configure: Regenerated.
41048 * config.make.in (config-extra-cflags): New variable,
41049 gets @libc_extra_cflags@.
41050 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41051
61653dfb
RM
41052 [BZ #10375]
41053 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41054 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41055 * configure: Regenerated.
41056 * config.make.in (CPPUNDEFS): New substituted variable.
41057 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41058 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41059 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41060
661768bb
L
410612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41062
41063 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41064 (mq_attr): Use __syscall_slong_t.
41065
d4261567
L
410662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41067
41068 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41069 Check __x86_64__ instead of __WORDSIZE.
41070 (_STAT_VER_LINUX): Likewise.
41071 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41072 __syscall_ulong_t and __syscall_slong_t.
41073 (stat64): Likewise.
41074
cf3ff365
L
410752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41076
41077 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41078
76cf3e4d
L
410792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41080
41081 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41082
a637753a
L
410832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41084
41085 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41086 __syscall_ulong_t.
41087
d5e05119
L
41088 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41089 include <bits/wordsize.h>. Check __x86_64__ instead of
41090 __WORDSIZE.
41091 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41092 defined.
41093 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41094
f62ee380
L
41095 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41096 include <bits/wordsize.h>. Check __x86_64__ instead of
41097 __WORDSIZE.
41098 (user_regs_struct): Use "__extension__ unsigned long long"
41099 instead of "unsigned long" if __x86_64__ is defined.
41100 (user): Likewise. Pad after pointer field if __ILP32__ is
41101 defined.
41102
4e124ced
JM
411032012-05-16 Joseph Myers <joseph@codesourcery.com>
41104
6a3951a0
JM
41105 * configure.in (makeinfo): Require version 4.5 or later. Allow
41106 versions 5 to 9.
41107 * configure: Regenerated.
41108 * manual/install.texi (texinfo): Increase version requirement to
41109 4.5 or later.
41110 * INSTALL: Regenerated.
41111
4e124ced
JM
41112 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41113
953ca31a
L
411142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41115
41116 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41117
617aca05
L
41118 * sysdeps/x86_64/x32/ffs.c: New file.
41119
5762f7ae
L
41120 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41121 __syscall_ulong_t.
41122 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41123 defined. Use __syscall_ulong_t.
41124 (shminfo): Use __syscall_ulong_t.
41125 (shm_info): Likewise.
41126
a26b6856
L
41127 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41128 __syscall_ulong_t.
41129
cb2b9ef7
L
41130 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41131 <bits/wordsize.h>.
41132 (msgqnum_t): Use __syscall_ulong_t.
41133 (msglen_t): Likewise.
41134 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41135 __syscall_ulong_t.
41136
34683bb0
L
41137 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41138 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41139
84a68786
L
41140 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41141
48baa5f1
L
41142 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41143 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41144
180be88b
L
41145 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41146 __syscall_slong_t.
41147
5e90c8ad
L
41148 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41149 include <bits/wordsize.h>. Check __x86_64__ instead of
41150 __WORDSIZE.
41151
23dfb58b
L
41152 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41153 "unsigned long long int" if __x86_64__ is defined.
41154 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41155
ce5d54b0
L
41156 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41157 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41158 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41159
13dc9eac
L
41160 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41161 <stdint.h>.
41162 (GET_PC): Cast to uintptr_t first.
41163 (GET_FRAME): Likewise.
41164 (GET_STACK): Likewise.
41165
a7895d15
L
41166 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41167 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41168 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41169 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41170 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41171 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41172 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41173 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41174 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41175 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41176 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41177 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41178 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41179 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41180 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41181 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41182 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41183 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41184 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41185 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41186 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41187 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41188 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41189 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41190 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41191 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41192 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41193 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41194 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41195
656416c9
AS
411962012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41197
5bd66283
AS
41198 * Makerules (+depfiles): Also collect depfiles from .oS in
41199 $(extra-objs).
41200 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41201 .oS, $(libnldbl-routines)).
41202
656416c9
AS
41203 * Makerules (native-compile-mkdep-flags): Define.
41204 * sunrpc/Makefile (extra-objs): Add $(addprefix
41205 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41206 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41207 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41208 calling $(make-target-directory).
41209
a46f2169
L
412102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41211
41212 * bits/types.h (__snseconds_t): Removed.
41213 * time/time.h (struct timespec): Replace __snseconds_t with
41214 __syscall_slong_t.
41215 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41216 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41217 Likewise.
41218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41219 (__SNSECONDS_T_TYPE): Likewise.
41220 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41221 (__SNSECONDS_T_TYPE): Likewise.
41222 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41223 (__SNSECONDS_T_TYPE): Likewise.
41224
6af6528b
L
412252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41226
41227 * sysdeps/mach/hurd/bits/typesizes.h
41228 (__SYSCALL_SLONG_TYPE): New macro.
41229 (__SYSCALL_ULONG_TYPE): Likewise.
41230
de986b56
L
412312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41232
41233 * bits/types.h (__syscall_slong_t): New type.
41234 (__syscall_ulong_t): Likewise.
41235
41236 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41237 (__SYSCALL_ULONG_TYPE): Likewise.
41238 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41239 (__SYSCALL_SLONG_TYPE): Likewise.
41240 (__SYSCALL_ULONG_TYPE): Likewise.
41241 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41242 (__SYSCALL_SLONG_TYPE): Likewise.
41243 (__SYSCALL_ULONG_TYPE): Likewise.
41244 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41245 (__SYSCALL_SLONG_TYPE): Likewise.
41246 (__SYSCALL_ULONG_TYPE): Likewise.
41247
85736dc7
L
412482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41249
41250 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41251 Add sigaltstack-offsets.sym.
41252 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41253 <sigaltstack-offsets.h>.
41254 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41255 longjmp_msg pointer.
41256 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41257 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41258 signal stack.
41259 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41260
cc03b296
JM
412612012-05-15 Joseph Myers <joseph@codesourcery.com>
41262
a9538892
JM
41263 * elf/stackguard-macros.h: Remove file.
41264 * sysdeps/generic/stackguard-macros.h: New file.
41265 * sysdeps/i386/stackguard-macros.h: Likewise.
41266 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41267 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41268 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41269 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41270 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41271 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41272 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41273 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41274 <elf/stackguard-macros.h>.
41275
cc03b296
JM
41276 [BZ #14109]
41277 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41278 __aligned__ in attribute.
41279 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41280 (gregset_t): Likewise.
41281
93171016
L
412822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41283
41284 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41285 * sysdeps/x86_64/64/Implies-after: Here. New file.
41286 * sysdeps/x86_64/x32/Implies-after: New file.
41287
d86813a0
L
412882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41289
41290 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41291 and access return value for _dl_profile_fixup. Use R10_LP to
41292 load frame size.
41293
2953ec75
L
412942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41295
41296 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41297
3b550e9e
L
412982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41299
41300 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41301 * sysdeps/x86_64/x32/sysdep.h: New file.
41302
eda41706
L
413032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41304
41305 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41306 * sysdeps/x86_64/setjmp.S: Likewise.
41307
9ea01d93
AZ
413082012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41309
41310 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41311 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41312 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41313 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41314 remove unused global constant.
41315
02a91938
CM
413162012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41317
41318 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41319 include of <not-cancel.h>.
41320
6540185f
RM
413212012-05-15 Roland McGrath <roland@hack.frob.com>
41322
41323 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41324
509072a0
AJ
413252012-05-15 Jeff Law <law@redhat.com>
41326 Andreas Jaeger <aj@suse.de>
41327
41328 [BZ #13594]
41329 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41330 out from...
41331 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41332 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41333 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41334 code changing __hst_map_handle.map.
41335
ba75122d
RM
413362012-05-15 Roland McGrath <roland@hack.frob.com>
41337
41338 * configure.in (sysnames): Look for Implies-before and Implies-after
41339 files.
41340 * configure: Regenerated.
41341
890d8bd8
L
413422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41343
41344 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41345 8-byte data alignment with LP_SIZE alignment.
41346
f6ee6623
L
413472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41348
41349 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41350 into R10_LP.
41351
ea2626f6
L
413522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41353
41354 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41355
085f715e
L
413562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41357
41358 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41359 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41360 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41361 Likewise.
41362 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41363
be8498fc
L
413642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41365
41366 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41367 (stackinfo_sub_sp): Likewise.
41368
70bc83b9
L
413692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41370
41371 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41372 RAX_LP.
41373
9bc0b730
L
413742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41375
41376 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41377 into R*_LP.
41378
6d2850e7
L
413792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41380
41381 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41382 sizes into R*_LP.
41383
3cb84561
L
413842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41385
41386 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41387
54e2ed81
L
413882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41389
41390 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41391 into R11_LP and load __x86_64_shared_cache_size_half into
41392 R8_LP.
41393
8a17f349
L
413942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41395
41396 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41397 R8_LP.
41398
777b1eea
AZ
413992012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41400
41401 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41402 logb for POWER7.
41403 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41404 logbf for POWER7.
41405 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41406 logbl for POWER7.
41407 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41408 powerpc32/power7/fpu/s_logb.c via #include.
41409 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41410 powerpc32/power7/fpu/s_logbf.c via #include.
41411 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41412 powerpc32/power7/fpu/s_logbl.c via #include.
41413
d20d4ac2
JM
414142012-05-15 Joseph Myers <joseph@codesourcery.com>
41415
41416 * README.libm: Remove file.
41417
6cdef1ab
L
414182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41419
41420 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41421 count for x32. Use R*_LP and omit operand-size suffix.
41422
0b254d8f
L
414232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41424
41425 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41426 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41427 * sysdeps/x86_64/x32/shlib-versions: New file.
41428
ceb809dc
RM
414292012-05-14 Roland McGrath <roland@hack.frob.com>
41430
41431 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41432 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41433 Use _dl_fatal_printf instead.
41434
37f1abd4
JM
414352012-05-14 Joseph Myers <joseph@codesourcery.com>
41436
41437 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41438 set if not set by the user. Do not allow for being unset.
41439 * sysdeps/unix/sysv/linux/configure: Regenerated.
41440
11de3a33
L
414412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41442
41443 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41444 the `q' suffix from lea and replace .quad with ASM_ADDR.
41445
e02f153a
L
414462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41447
41448 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41449 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41450 instead of $17.
41451 (PTR_DEMANGLE): Likewise.
41452
520ae0fd
L
414532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41454
41455 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41456 (LP_OP): Likewise.
41457 (ASM_ADDR): Likewise.
41458 (RAX_LP): Likewise.
41459 (RBP_LP): Likewise.
41460 (RBX_LP): Likewise.
41461 (RCX_LP): Likewise.
41462 (RDI_LP): Likewise.
41463 (RSI_LP): Likewise.
41464 (RSP_LP): Likewise.
41465 (R8_LP): Likewise.
41466 (R9_LP): Likewise.
41467 (R10_LP): Likewise.
41468 (R10_LP): Likewise.
41469 (R11_LP): Likewise.
41470 (R12_LP): Likewise.
41471 (R13_LP): Likewise.
41472 (R14_LP): Likewise.
41473 (R15_LP): Likewise.
41474
b985be81
L
414752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41476
41477 * sysdeps/x86_64/x32/dl-machine.h: New file.
41478
6a4888ff
AJ
414792012-05-14 Andreas Jaeger <aj@suse.de>
41480
41481 * manual/Makefile (subdir): Remove export of subdir.
41482 (all): Remove target.
41483 (.PHONY): Remove all from list.
41484 (mkinstalldirs): Remove.
41485 (.PHONY): Remove installdirs from list.
41486 ($(inst_infodir)/libc.info): Use make-target-directory.
41487 (installdirs): Remove.
41488 (subdir_%): Remove.
41489 (glibc-targets): Remove.
41490 (lib): Remove.
41491 (stubs): Remove.
41492 ($(objpfx)stubs ../po/manual.pot): Remove.
41493 ($(objpfx)stamp%): Remove.
41494 (make-target-directory): Remove.
41495 (subdir_install): Remove.
41496 (routines): Remove.
41497 (aux): Remove.
41498 (sources): Remove.
41499 (objects): Remove.
41500 (headers): Remove.
41501
41502 [BZ #13750]
41503 * manual/.gitignore: Remove, it's not needed anymore.
41504 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41505 all files in it.
41506 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41507 directory.
41508 (texis): Renamed to $(objpfx)texis.
41509 (texis-path): New, contains path to generated files.
41510 (chapters.%): Use texis-path for complete path, add extra argument
41511 libc-texinfo.sh.
41512 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41513 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41514 (summary,texi, stamp-summary): Use complete path of
41515 files. Generate files in build dir.
41516 (dir-add.texi): Build in build dir.
41517 (libm-err.texi,stamp-libm-err): Likewise.
41518 (version.texi, stamp-version): Likewise.
41519 (.%c.texi): Likewise.
41520 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41521 (mostlyclean): Remove target.
41522 (realclean): Remove target.
41523 (generated): Add new variable with contents from mostlyclean and
41524 realclean, remove entries duplicated in common-mostlyclean, add
41525 stamp-libm-err and stamp-version.
41526 (generated-dirs): Add libc directory.
41527 ($(inst_infodir)/libc.info): Install files from build dir.
41528
41529 * manual/install.texi (Configuring and compiling): Adjust since
41530 the info files are not part of the tar ball anymore.
41531
7ac77294
AJ
415322012-05-14 Andreas Jaeger <aj@suse.de>
41533
41534 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41535 variable.
41536
ffb7875d
JM
415372012-05-14 Joseph Myers <joseph@codesourcery.com>
41538
41539 [BZ #13717]
41540 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41541 to 2.2.0 where earlier.
41542 * sysdeps/unix/sysv/linux/configure: Regenerated.
41543 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41544 Remove conditional code.
41545 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41546 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41547 Remove conditional code.
41548 [!__NR_lchown]: Likewise.
41549 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41550 [__NR_lchown]: Likewise.
41551 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41552 comment referencing __ASSUME_LCHOWN_SYSCALL.
41553 * sysdeps/unix/sysv/linux/i386/sigaction.c
41554 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41555 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41556 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41557 Remove conditional code.
41558 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41559 (__protocol_available): Remove #if 0 code.
41560 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41561 conditional code.
41562 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41563 * sysdeps/unix/sysv/linux/kernel-features.h
41564 (__ASSUME_GETCWD_SYSCALL): Don't define.
41565 (__ASSUME_REALTIME_SIGNALS): Likewise.
41566 (__ASSUME_PREAD_SYSCALL): Likewise.
41567 (__ASSUME_PWRITE_SYSCALL): Likewise.
41568 (__ASSUME_POLL_SYSCALL): Likewise.
41569 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41570 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41571 non-SPARC.
41572 (__ASSUME_SIOCGIFNAME): Don't define.
41573 (__ASSUME_MSG_NOSIGNAL): Likewise.
41574 (__ASSUME_SENDFILE): Define unconditionally.
41575 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41576 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41577 conditional code.
41578 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41579 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41580 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41581 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41582 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41583 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41584 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41586 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41587 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41589 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41590 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41592 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41593 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41595 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41596 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41598 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41599 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41601 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41602 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41604 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41605 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41607 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41608 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41609 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41610 Remove conditional code.
41611 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41612 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41613 Remove conditional code.
41614 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41615 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41616 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41617 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41618 Remove conditional code.
41619 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41620 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41621 Remove conditional code.
41622 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41623 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41624 Remove conditional code.
41625 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41626 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41627 Remove conditional code.
41628 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41629 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41630 Remove conditional code.
41631 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41632 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41633 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41634 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41635 * sysdeps/unix/sysv/linux/sigaction.c
41636 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41637 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41638 * sysdeps/unix/sysv/linux/sigpending.c
41639 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41640 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41641 * sysdeps/unix/sysv/linux/sigprocmask.c
41642 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41643 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41644 * sysdeps/unix/sysv/linux/sigsuspend.c
41645 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41646 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41647 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41648 (__libc_missing_rt_sigs): Remove.
41649 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41650 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41651 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41652 Remove conditional code.
41653 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41654 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41655 return 1.
41656 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41657 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41658 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41659 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41660
1bfb7291
AJ
416612012-05-14 Andreas Jaeger <aj@suse.de>
41662
caae5a81
AJ
41663 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41664 it's not used in glibc.
41665 (__coshm1): Likewise.
41666 (__acosh1p): Likewise.
41667 (__sgn): Likewise.
41668
1bfb7291
AJ
41669 * manual/string.texi (Copying and Concatenation): Add missing
41670 variable in concat example.
41671 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41672
c044d724
L
416732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41674
144c5467 41675 [BZ #14103]
c044d724
L
41676 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41677 __builtin_clzl with __builtin_clzll.
41678
2523c62b
L
416792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41680
41681 [BZ #14104]
41682 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41683 libc_freeres_ptr.
41684
d7bb4c42
LD
416852012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41686
41687 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41688 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41689 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41690 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41691
9dc4e1fb
MF
416922012-05-14 Mike Frysinger <vapier@gentoo.org>
41693
41694 * NEWS: Update ia64 info.
41695
c7df0112
AS
416962012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41697
41698 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41699 used as bcopy.
41700
dc70356c
TS
417012012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41702
41703 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41704 * sysdeps/unix/syscalls.list (dup3): Likewise.
41705 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41706 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41707
9fb1a21f
L
417082012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41709
41710 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41711 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41712
4822a2a5
L
417132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41714
41715 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41716 thread pointer.
41717 (TLS_IE): Use mov/add instead of movq/addq to load thread
41718 pointer.
41719 (TLS_GD_PREFIX): New.
41720 (TLS_GD): Use it.
41721
842b81d6
DM
417222012-05-11 David S. Miller <davem@davemloft.net>
41723
41724 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41725 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41726 (_FPU_SETCW): Likewise.
41727
1cf463cd
L
417282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41729
41730 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41731 is 32-byte aligned.
41732
60cc4a18
AS
417332012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41734
41735 [BZ #11837]
41736 * iconvdata/gb18030.c: Update tables.
41737 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41738 characters specially.
41739 (BODY for TO_LOOP): Add encoding of missing ranges.
41740
febb44a4
TS
417412012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41742
41743 [BZ #13673]
41744 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41745 * sysdeps/mach/hurd/dup3.c: Likewise.
41746 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41747 * sysdeps/powerpc/memmove.c:: Likewise.
41748
0a10fb9e
L
417492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41750
41751 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41752 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41753
df8a552f
L
417542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41755
41756 * elf/elf.h (R_X86_64_RELATIVE64): New.
41757 (R_X86_64_NUM): Updated.
41758 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41759 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41760 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41761 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41762 tst-quad1pie tst-quad2pie
41763 (modules-names): Add tst-quadmod1 tst-quadmod2.
41764 ($(objpfx)tst-quad1): New dependency.
41765 ($(objpfx)tst-quad2): Likewise.
41766 ($(objpfx)tst-quad1pie): Likewise.
41767 ($(objpfx)tst-quad2pie): Likewise.
41768 * sysdeps/x86_64/tst-quad1.c: New file.
41769 * sysdeps/x86_64/tst-quad1pie.c: New file.
41770 * sysdeps/x86_64/tst-quad2.c: Likewise.
41771 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41772 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41773 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41774 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41775 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41776
f34d6f84
ST
417772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41778
f42d41d1
ST
41779 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41780 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41781 * streams/stropts.h (t_scalar_t): Define type.
41782
3c3571fc
ST
41783 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41784 (_PATH_PRESERVE): Set to "/var/lib".
41785 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41786
61f06bd3
ST
41787 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41788 instead of int.
41789
918d4d71
ST
41790 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41791 if __dir_mkfile succeeded.
41792
f34d6f84
ST
41793 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41794 checking for _hurd_dtablesize. Unlock it right after having
41795 finished _hurd_dtable allocation.
41796
10589b4a
TS
417972012-05-10 Thomas Schwinge <thomas@schwinge.name>
41798
674cdbc7
TS
41799 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41800 * sysdeps/mach/hurd/configure: Regenerated.
41801 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41802 special-casing to...
41803 * sysdeps/gnu/configure.in: ... this new file.
41804 * sysdeps/unix/sysv/linux/configure: Regenerated.
41805 * sysdeps/gnu/configure: New generated file.
41806
8e41b99f
TS
41807 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41808 for Linux: use nsec instead of usec, as well as:
41809 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41810 members of type struct timespec.
41811 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41812 New macros.
41813 (struct stat64): Likewise.
41814 (_STATBUF_ST_NSEC): New macro.
41815 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41816
10589b4a
TS
41817 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41818 __strtoul_internal rather than strtoul.
41819
63643c85
PT
418202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41821
41822 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41823 and reject them.
41824
3faebe6a
ST
418252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41826
41827 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41828 which preserves existing values.
41829 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41830
c6474b07
PT
418312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41832
41833 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41834 TIMEOUT values. Return EINVAL for NFDS values either negative or
41835 greater than FD_SETSIZE.
41836
1043890b
ST
418372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41838
41839 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41840 allocated, call __vm_protect to finish enabling the existing space, and
41841 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41842 allocate the remainder.
41843
37ed8b9b
PT
418442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41845
41846 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41847 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41848
db653660
ST
418492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41850
37ed8b9b
PT
41851 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41852 sysdeps/mach/hurd/readlink.c.
b29d4053 41853
db653660
ST
41854 * posix/tst-sysconf.c (posix_options): Only use
41855 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41856 _POSIX_SYNCHRONIZED_IO when they are defined
41857 * sysdeps/mach/hurd/bits/posix_opt.h:
41858 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41859 (_XOPEN_REALTIME): Undefine macro.
41860 (_XOPEN_REALTIME_THREADS): Undefine macro.
41861 (_XOPEN_SHM): Undefine macro.
41862 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41863 macro to -1.
41864 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41865 macro to -1.
41866 (_POSIX_ASYNC_IO): Undefine macro.
41867 (_POSIX_PRIORITIZED_IO): Undefine macro.
41868 (_POSIX_SPIN_LOCKS): Define macro to -1.
41869
ee16e894
ST
41870 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41871 SA_NODEFER, SA_RESETHAND.
41872 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41873 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41874 F_DUPFD_CLOEXEC.
41875
6103ae3b
TS
418762012-05-10 Thomas Schwinge <thomas@schwinge.name>
41877
41878 * elf/Makefile (pldd-modules): Define unconditionally.
41879
80b4e5f3
TS
418802012-05-10 Thomas Schwinge <thomas@schwinge.name>
41881
41882 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41883
edadcbd6
ST
418842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41885
41886 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41887 Return ENOENT when name is empty.
41888 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41889
80694780
TS
418902012-05-10 Thomas Schwinge <thomas@schwinge.name>
41891
1792c087
TS
41892 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41893
80694780
TS
41894 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41895
6b645f0d
ST
418962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41897
80694780
TS
41898 Fix mlock in all cases except non-readable pages.
41899 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41900 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 41901
6b645f0d
ST
41902 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41903 (__mkdir): When path is `/', just fail with EEXIST.
41904 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41905
e468f8a3
TS
419062012-05-10 Thomas Schwinge <thomas@schwinge.name>
41907
41908 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41909 <sys/uio.h> (for writev).
41910 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41911 and <sys/param.h> (for MIN).
41912
a4186cff
PT
419132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41914
41915 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41916 REQUESTED_TIME. Properly set the remaining time and return EINTR
41917 if interrupted.
41918
510bbf14
TS
419192012-05-10 Thomas Schwinge <thomas@schwinge.name>
41920
41921 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41922 Depend on against $(link-rpcuserlibs).
41923
5d5722e8
ST
419242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41925
a4186cff
PT
41926 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41927 (__libc_stack_end): Do not use attribute_relro.
41928 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41929 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 41930 to libthread-provided value.
a4186cff
PT
41931 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41932 attribute_relro.
5d5722e8 41933
37233df9
TS
419342012-05-10 Thomas Schwinge <thomas@schwinge.name>
41935
be971a2b
TS
41936 [BZ #3748]
41937 * bits/libc-lock.h (__libc_once_get): New macro.
41938 * sysdeps/mach/bits/libc-lock.h: Likewise.
41939 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41940 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41941 instead of using implementation details.
41942
37233df9
TS
41943 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41944 * libio/freopen.c: Likewise.
41945 * libio/freopen64.c: Likewise.
41946 * misc/syslog.c: Likewise.
41947 * nscd/connections.c: Likewise.
41948 * nscd/netgroupcache.c: Likewise.
41949 * sysdeps/posix/getcwd.c: Likewise.
41950
38de94a5
RM
419512012-05-10 Roland McGrath <roland@hack.frob.com>
41952
41953 * math/w_ilogbf.c: Add #include <limits.h>.
41954
67530489
ST
419552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41956
a4186cff 41957 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
41958 path instead of returning without unlocking.
41959
67530489
ST
41960 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41961 immediate-write ioctls.
41962 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41963
5aa3a74a
TS
419642012-05-10 Thomas Schwinge <thomas@schwinge.name>
41965
18bad2ae
TS
41966 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41967 __builtin_frame_address instead of making assumptions about the
41968 location of the return address relative to DATA. Force early load of
41969 the return address.
41970 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41971 __builtin_frame_address.
41972
5aa3a74a
TS
41973 dup3 for GNU Hurd.
41974 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41975 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41976 implement dup3 and do some further code clean-ups.
41977 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41978 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41979
ecd0de9a
ST
419802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41981
cd9fa985
ST
41982 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41983
a4186cff
PT
41984 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41985 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41986 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41987 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41988 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41989 d->port.lock.
802ca5a5 41990
a4186cff
PT
41991 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41992 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41993 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 41994
bcf55240
TS
419952012-05-10 Thomas Schwinge <thomas@schwinge.name>
41996
6960eb42
TS
41997 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41998 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41999 definitions.
42000
eb43375f
TS
42001 accept4 for GNU Hurd.
42002 * include/sys/socket.h (__libc_accept4): New prototype.
42003 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42004 to implement __libc_accept4.
42005 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42006 __libc_accept4.
42007 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42008
bcf55240
TS
42009 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42010 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42011 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42012 signal-defines.sym.
42013
6178c55b
ST
420142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42015
a4186cff 42016 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 42017
6f080c2f
TS
420182012-05-10 Thomas Schwinge <thomas@schwinge.name>
42019
42020 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42021 assertion on O_CLOEXEC flag.
42022 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42023 * hurd/intern-fd.c: Likewise.
42024 * hurd/port2fd.c: Likewise.
42025
bcfe3a54
ST
420262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42027
42028 [BZ #3906]
42029 * bits/in.h (IPV6_PKTINFO): Define new macro.
42030 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42031
89c9aa49
AZ
420322012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42033
42034 [BZ #13954]
42035 [BZ #13955]
42036 [BZ #13956]
42037 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42038 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42039 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42040 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42041 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42042 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42043 * math/libm-test.inc (logb_test) : Additional logb tests.
42044
021db4be
AJ
420452012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42046 Andreas Jaeger <aj@suse.de>
42047
42048 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42049 * configure: Regenerated.
42050 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42051 * config.make.in (link-obsolete-rpc): New substituted variable.
42052 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42053 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42054 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42055 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42056 so that libc.a contains the symbols.
42057 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42058 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42059 * sunrpc/auth_none.c: Likewise.
42060 * sunrpc/auth_unix.c: Likewise.
42061 * sunrpc/authdes_prot.c: Likewise.
42062 * sunrpc/authuxprot.c: Likewise.
42063 * sunrpc/clnt_gen.c: Likewise.
42064 * sunrpc/clnt_perr.c: Likewise.
42065 * sunrpc/clnt_raw.c: Likewise.
42066 * sunrpc/clnt_simp.c: Likewise.
42067 * sunrpc/clnt_tcp.c: Likewise.
42068 * sunrpc/clnt_udp.c: Likewise.
42069 * sunrpc/clnt_unix.c: Likewise.
42070 * sunrpc/des_crypt.c: Likewise.
42071 * sunrpc/des_soft.c: Likewise.
42072 * sunrpc/get_myaddr.c: Likewise.
42073 * sunrpc/key_call.c: Likewise.
42074 * sunrpc/key_prot.c: Likewise.
42075 * sunrpc/netname.c: Likewise.
42076 * sunrpc/pm_getmaps.c: Likewise.
42077 * sunrpc/pm_getport.c: Likewise.
42078 * sunrpc/pmap_clnt.c: Likewise.
42079 * sunrpc/pmap_prot.c: Likewise.
42080 * sunrpc/pmap_prot2.c: Likewise.
42081 * sunrpc/pmap_rmt.c: Likewise.
42082 * sunrpc/publickey.c: Likewise.
42083 * sunrpc/rpc_cmsg.c: Likewise.
42084 * sunrpc/rpc_common.c: Likewise.
42085 * sunrpc/rpc_dtable.c: Likewise.
42086 * sunrpc/rpc_prot.c: Likewise.
42087 * sunrpc/rpc_thread.c: Likewise.
42088 * sunrpc/rtime.c: Likewise.
42089 * sunrpc/svc.c: Likewise.
42090 * sunrpc/svc_auth.c: Likewise.
42091 * sunrpc/svc_raw.c: Likewise.
42092 * sunrpc/svc_run.c: Likewise.
42093 * sunrpc/svc_tcp.c: Likewise.
42094 * sunrpc/svc_udp.c: Likewise.
42095 * sunrpc/svc_unix.c: Likewise.
42096 * sunrpc/svcauth_des.c: Likewise.
42097 * sunrpc/xcrypt.c: Likewise.
42098 * sunrpc/xdr.c: Likewise.
42099 * sunrpc/xdr_array.c: Likewise.
42100 * sunrpc/xdr_float.c: Likewise.
42101 * sunrpc/xdr_intXX_t.c: Likewise.
42102 * sunrpc/xdr_mem.c: Likewise.
42103 * sunrpc/xdr_rec.c: Likewise.
42104 * sunrpc/xdr_ref.c: Likewise.
42105 * sunrpc/xdr_sizeof.c: Likewise.
42106 * sunrpc/xdr_stdio.c: Likewise.
42107
b5c086a2
RM
421082012-05-10 Roland McGrath <roland@hack.frob.com>
42109
42110 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42111 change. Update copyright years.
42112
6d74dd09
JM
421132012-05-10 Joseph Myers <joseph@codesourcery.com>
42114
42115 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42116
28e72501
MK
421172012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42118 Joseph Myers <joseph@codesourcery.com>
42119 Paul Pluzhnikov <ppluzhnikov@google.com>
42120
42121 [BZ #14012]
42122 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42123 requiring rpcgen.
42124 [cross-compiling] (extra-libs): Likewise.
42125 [cross-compiling] (extra-libs-others): Likewise.
42126 [cross-compiling] (librpcsvc-routines): Likewise.
42127 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42128 [cross-compiling] (omit-deps): Likewise.
42129 (sunrpc-CPPFLAGS): New variable.
42130 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42131 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42132 (cross-rpcgen-objs): New variable.
42133 (extra-objs): Append $(cross-rpcgen-objs).
42134 ($(cross-rpcgen-objs)): New rule.
42135 ($(objpfx)cross-rpcgen): Likewise.
42136 (rpcgen-cmd): Define to use $(built-program-file). Expand
42137 comment.
42138 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42139 ($(objpfx)x%.stmp): Likewise.
42140 * sunrpc/proto.h [IS_IN_build] (_): Define.
42141 [IS_IN_build] (_libc_intl_domainname): Likewise.
42142
c8c59454
L
421432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42144
42145 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42146 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42147 and R_X86_64_TPOFF64.
42148
6f27cd16
JM
421492012-05-10 Joseph Myers <joseph@codesourcery.com>
42150
42151 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42152 sysdeps/unix/sysv/syscalls.list.
42153 (stime): Likewise.
42154 (utime): Likewise.
42155 * sysdeps/unix/sysv/syscalls.list: Remove file.
42156
02467e1c
PE
421572012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42158
42159 [BZ #3440]
42160 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42161 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42162 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42163 (__LC_IDENTIFICATION): Make these macros useful in #if
42164 expressions, as required by C99.
42165
da392631
AS
421662012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42167
42168 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42169 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42170 after this.
42171
8115f29b
L
421722012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42173
42174 * stdlib/longlong.h: Updated from GCC.
42175
bdd74070
AJ
421762012-05-09 Andreas Jaeger <aj@suse.de>
42177
edfe0dbe
AJ
42178 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42179 default is first entry.
42180 (run_mode): Set type.
42181 (main): Remove informal message about syslog.
42182 (options): Fix typo.
42183
bcfe3a54
ST
42184 [BZ #14053]
42185 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 42186 to asm.
bcfe3a54
ST
42187 (lrint): Likewise.
42188 (llrintf): Likewise.
42189 (llrint): Likewise.
42190 (rint): Likewise.
42191 (rintf): Likewise.
42192 (nearbyint): Likewise.
42193 (nearbyintf): Likewise.
bdd74070 42194
91d8d69e
AJ
421952012-05-09 Andreas Jaeger <aj@suse.de>
42196 Pedro Alves <palves@redhat.com>
42197
42198 * nscd/nscd.c (run_mode): Use enum.
42199 (main): Cleanup coding style issue.
42200
bb90b80b
AJ
422012012-05-09 Alexandre Oliva <aoliva@redhat.com>
42202 Andreas Jaeger <aj@suse.de>
42203
bcfe3a54
ST
42204 * nscd/nscd.c (go_background): Replaced with...
42205 (run_mode): ... this.
bb90b80b 42206 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
42207 (options): Add -F --foreground.
42208 (main): Implement it.
42209 (parse_opt): Parse it.
bb90b80b 42210
1a4b75a1
AJ
422112012-05-09 Andreas Jaeger <aj@suse.de>
42212
42213 [BZ #14083]
42214 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42215 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42216 -Wconversion warning.
42217 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42218 Likewise.
42219
b1cc2472
JM
422202012-05-09 Joseph Myers <joseph@codesourcery.com>
42221
42222 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42223 == 0.
42224 (LC_ALL): Use macro-int-constant.
42225 (LC_COLLATE): Likewise.
42226 (LC_CTYPE): Likewise.
42227 (LC_MESSAGES): Likewise.
42228 (LC_MONETARY): Likewise.
42229 (LC_NUMERIC): Likewise.
42230 (LC_TIME): Likewise.
42231 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42232 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42233 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42234 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42235 Specify type.
42236 [C99-based standards] (float_t): Expect type.
42237 [C99-based standards] (double_t): Expect type.
42238 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42239 type.
42240 [C99-based standards] (HUGE_VALL): Likewise.
42241 [C99-based standards] (INFINITY): Likewise.
42242 [C99-based standards] (NAN): Likewise.
42243 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42244 [C99-based standards] (FP_NAN): Likewise.
42245 [C99-based standards] (FP_NORMAL): Likewise.
42246 [C99-based standards] (FP_SUBNORMAL): Likewise.
42247 [C99-based standards] (FP_ZERO): Likewise.
42248 [C99-based standards] (FP_FAST_FMA): Use
42249 optional-macro-int-constant. Specify type. Require == 1.
42250 [C99-based standards] (FP_FAST_FMAF): Likewise.
42251 [C99-based standards] (FP_FAST_FMAL): Likewise.
42252 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42253 [C99-based standards] (FP_ILOGBNAN): Likewise.
42254 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42255 Specify type.
42256 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42257 [C99-based standards] (math_errhandling): Specify type.
42258 [ISO99 || ISO11] (signgam): Do not allow.
42259 [non-C99-based standards] (copysignf): Do not allow.
42260 [non-C99-based standards] (exp2f): Likewise.
42261 [non-C99-based standards] (log2f): Likewise.
42262 [non-C99-based standards] (modff): Allow.
42263 [non-C99-based standards] (erff): Do not allow.
42264 [non-C99-based standards] (erfcf): Likewise.
42265 [non-C99-based standards] (gammaf): Likewise.
42266 [non-C99-based standards] (hypotf): Likewise.
42267 [non-C99-based standards] (j0f): Likewise.
42268 [non-C99-based standards] (j1f): Likewise.
42269 [non-C99-based standards] (jnf): Likewise.
42270 [non-C99-based standards] (lgammaf): Likewise.
42271 [non-C99-based standards] (tgammaf): Likewise.
42272 [non-C99-based standards] (y0f): Likewise.
42273 [non-C99-based standards] (y1f): Likewise.
42274 [non-C99-based standards] (ynf): Likewise.
42275 [non-C99-based standards] (isnanf): Likewise.
42276 [non-C99-based standards] (acoshf): Likewise.
42277 [non-C99-based standards] (asinhf): Likewise.
42278 [non-C99-based standards] (atanhf): Likewise.
42279 [non-C99-based standards] (cbrtf): Likewise.
42280 [non-C99-based standards] (expm1f): Likewise.
42281 [non-C99-based standards] (ilogbf): Likewise.
42282 [non-C99-based standards] (log1pf): Likewise.
42283 [non-C99-based standards] (logbf): Likewise.
42284 [non-C99-based standards] (nextafterf): Likewise.
42285 [non-C99-based standards] (remainderf): Likewise.
42286 [non-C99-based standards] (rintf): Likewise.
42287 [non-C99-based standards] (scalbf): Likewise.
42288 [non-C99-based standards] (copysignl): Likewise.
42289 [non-C99-based standards] (exp2l): Likewise.
42290 [non-C99-based standards] (log2l): Likewise.
42291 [non-C99-based standards] (modfl): Allow.
42292 [non-C99-based standards] (erfl): Do not allow.
42293 [non-C99-based standards] (erfcl): Likewise.
42294 [non-C99-based standards] (gammal): Likewise.
42295 [non-C99-based standards] (hypotl): Likewise.
42296 [non-C99-based standards] (j0l): Likewise.
42297 [non-C99-based standards] (j1l): Likewise.
42298 [non-C99-based standards] (jnl): Likewise.
42299 [non-C99-based standards] (lgammal): Likewise.
42300 [non-C99-based standards] (tgammal): Likewise.
42301 [non-C99-based standards] (y0l): Likewise.
42302 [non-C99-based standards] (y1l): Likewise.
42303 [non-C99-based standards] (ynl): Likewise.
42304 [non-C99-based standards] (isnanl): Likewise.
42305 [non-C99-based standards] (acoshl): Likewise.
42306 [non-C99-based standards] (asinhl): Likewise.
42307 [non-C99-based standards] (atanhl): Likewise.
42308 [non-C99-based standards] (cbrtl): Likewise.
42309 [non-C99-based standards] (expm1l): Likewise.
42310 [non-C99-based standards] (ilogbl): Likewise.
42311 [non-C99-based standards] (log1pl): Likewise.
42312 [non-C99-based standards] (logbl): Likewise.
42313 [non-C99-based standards] (nextafterl): Likewise.
42314 [non-C99-based standards] (remainderl): Likewise.
42315 [non-C99-based standards] (rintl): Likewise.
42316 [non-C99-based standards] (scalbl): Likewise.
42317 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42318 [non-C99-based standards] (FP_*): Do not allow.
42319 [C99-based standards] (FP_*): Change to
42320 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42321 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42322 allow.
42323 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42324 (SIG_ERR): Likewise.
42325 [X/Open-based standards] (SIG_HOLD): Likewise.
42326 (SIG_IGN): Likewise.
42327 (SIGABRT): Use macro-int-constant. Specify type. Require
42328 positive value.
42329 (SIGFPE): Likewise.
42330 (SIGILL): Likewise.
42331 (SIGINT): Likewise.
42332 (SIGSEGV): Likewise.
42333 (SIGTER): Likewise.
42334 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42335 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42336 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42337 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42338 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42339 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42340 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42341 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42342 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42343 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42344 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42345 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42346 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42347 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42348 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42349 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42350 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42351 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42352 [X/Open-based standards] (SIGTRAP): Likewise.
42353 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42354 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42355 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42356 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42357 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42358 allow.
42359
b9f1922d
IW
423602012-05-08 Ian Wienand <ianw@vmware.com>
42361
42362 [BZ #14080]
42363 * time/tzset.c (__tzset_parse_tz): Update default rules for
42364 daylight time changes in the Energy Policy Act of 2005.
42365
1db86e88
AJ
423662012-05-09 Andreas Jaeger <aj@suse.de>
42367
42368 [BZ #13983]
42369 * elf/ldconfig.c (parse_conf): Change string to make clear that
42370 ldconfig only issued a warning if ld.so.conf does not exist.
42371
dee4a4e3
DM
423722012-05-08 David S. Miller <davem@davemloft.net>
42373
ee0db190
DM
42374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42375 movxtod instead of popping the value on the stack.
42376
dee4a4e3
DM
42377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42378
6a43ec98
CD
423792012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42380
42381 * config.h.in: Add HAVE_ARM_PCS_VFP.
42382
05c2c961
RMG
423832012-05-08 Roland Mc Grath <roland@hack.frob.com>
42384
bcfe3a54
ST
42385 [BZ #13979]
42386 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42387 checking but the checks are disabled for any reason.
05c2c961 42388
4b30f61a
L
423892012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42390
42391 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42392 and ELF64_R_TYPE with ELFW(R_TYPE).
42393
eee2bc67
JM
423942012-05-08 Joseph Myers <joseph@codesourcery.com>
42395
7ea5391a
JM
42396 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42397 (ulimit): Likewise.
42398
eee2bc67
JM
42399 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42400 (settimeofday): Likewise.
42401
abb66a67
MF
424022012-05-08 Mike Frysinger <vapier@gentoo.org>
42403
42404 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42405 a struct th_u2 inside the union, and move tu_block/tu_code into
42406 a new th_u3 union of tu_block/tu_code inside of that. Move
42407 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42408 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42409 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42410 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42411 (th_stuff): Change to th_u1.tu_stuff.
42412 (th_data): Define.
42413 (th_msg): Change to th_u1.th_u2.tu_data.
42414
7f18b530
DM
424152012-05-07 David S. Miller <davem@davemloft.net>
42416
05760585
DM
42417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42418
7f18b530
DM
42419 [BZ #14074]
42420 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42421 (SETUP_PIC_REG): Use it.
42422 (SETUP_PIC_REG_LEAF): Use it.
42423
495fd99f
JM
424242012-05-07 Joseph Myers <joseph@codesourcery.com>
42425
42426 [BZ #13885]
42427 [BZ #13923]
42428 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42429 USE_AS_EXPM1L.
42430 (EXPL_FINITE): Likewise.
42431 (FLDLOG): Likewise.
42432 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42433 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42434 e_expl.S.
42435 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42436 USE_AS_EXPM1L.
42437 (EXPL_FINITE): Likewise.
42438 (FLDLOG): Likewise.
42439 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42440 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42441 e_expl.S.
42442 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42443 test of -max_value argument for long double.
42444 * sysdeps/i386/fpu/libm-test-ulps: Update.
42445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42446
6693d694
DM
424472012-05-06 David S. Miller <davem@davemloft.net>
42448
42449 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42450 quad soft-float symbols whose references which are compiler
42451 generated.
42452 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42453
6c23e11c
JM
424542012-05-06 Joseph Myers <joseph@codesourcery.com>
42455
d8b82cad
JM
42456 [BZ #13884]
42457 [BZ #13914]
42458 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42459 USE_AS_EXP10L.
42460 (EXPL_FINITE): Likewise.
42461 (FLDLOG): Likewise.
42462 (c0): Likewise.
42463 (c1): Likewise.
42464 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42465 Adjust comments for base varying.
42466 (__expl_finite): Change alias to EXPL_FINITE.
42467 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42468 e_expl.S.
42469 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42470 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42471 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42472 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42473 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42474 USE_AS_EXP10L.
42475 (EXPL_FINITE): Likewise.
42476 (FLDLOG): Likewise.
42477 (c0): Likewise.
42478 (c1): Likewise.
42479 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42480 Adjust comments for base varying.
42481 (__expl_finite): Change alias to EXPL_FINITE.
42482 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42483 tests for bugs.
42484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42485
6c23e11c
JM
42486 [BZ #14064]
42487 * math/libm-test.inc (check_float_internal): Correct ulp
42488 calculation for subnormal expected results.
42489
29ba805c
AJ
424902012-05-06 Andreas Jaeger <aj@suse.de>
42491
42492 * Makeconfig (+math-flags): New, set to -frounding-math.
42493 (+cflags): Add +math-flags so that all of glibc gets compiled with
42494 it.
42495
42496 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42497
7b17aeda
JM
424982012-05-05 Joseph Myers <joseph@codesourcery.com>
42499
5779f134
JM
42500 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42501 Disable one test.
42502
41498f4d
JM
42503 [BZ #13787]
42504 [BZ #13922]
42505 [BZ #14036]
42506 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42507 (__ieee754_expl): Allow for and saturate large arguments.
42508 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42509 (u_threshold): Likewise.
42510 (__exp): Call __ieee754_exp before checking for overflow and
42511 underflow.
42512 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42513 (u_threshold): Likewise.
42514 (__expf): Call __ieee754_expf before checking for overflow and
42515 underflow.
42516 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42517 (u_threshold): Likewise.
42518 (__expl): Call __ieee754_expl before checking for overflow and
42519 underflow.
42520 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42521 (__ieee754_expl): Allow for and saturate large arguments.
42522 * math/libm-test.inc (exp_test): Add another test. Do not allow
42523 missing overflow exception on overflow.
42524 (expm1_test): Do not allow missing overflow exception on overflow.
42525
6698b8bf
JM
42526 * sysdeps/i386/fpu/e_expl.c: Move to ...
42527 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42528 rather than using inline asm.
42529 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42530 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42531 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42532
7b17aeda
JM
42533 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42534 (nice): Likewise.
42535 (poll): Likewise.
42536 (signal): Likewise.
42537 (time): Likewise.
42538 (times): Likewise.
42539
f7c85819
JM
425402012-05-04 Joseph Myers <joseph@codesourcery.com>
42541
42542 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42543 sysdeps/unix/common/syscalls.list.
42544 (fchmod): Likewise.
42545 (fchown): Likewise.
42546 (ftruncate): Likewise.
42547 (getrusage): Likewise.
42548 (gettimeofday): Likewise.
42549 (setpgid): Likewise.
42550 (setregid): Likewise.
42551 (setreuid): Likewise.
42552 (sigaction): Likewise.
42553 (truncate): Likewise.
42554 (vhangup): Likewise.
42555 * sysdeps/unix/common/syscalls.list: Remove file.
42556 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42557 * sysdeps/unix/sysv/linux/Implies: Likewise.
42558
336270d0
L
425592012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42560
42561 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42563 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42564 Moved to ...
42565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42566 Here.
42567 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42568 to ...
42569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42570 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42571 to ...
42572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42573 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42574 to ...
42575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42576 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42577 to ...
42578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42579 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42580 to ...
42581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42582 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42583 to ...
42584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42585 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42586 to ...
42587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42588 Here.
42589 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42590 to ...
42591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42592 Here.
42593 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42594 to ...
42595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42596 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42597 Moved to ...
42598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42599 Here.
42600 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42601 to ...
42602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42603
d128e450
JM
426042012-05-04 Joseph Myers <joseph@codesourcery.com>
42605
fa8ee516
JM
42606 * sysdeps/unix/common/bits/dirent.h: Remove file.
42607 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42608
d128e450
JM
42609 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42610 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42611 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42612 * sysdeps/unix/bsd/isatty.c: Likewise.
42613 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42614 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42615 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42616
ff8faaf0 426172012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 42618
62881be4 42619 [BZ #13563]
31dc8730
AZ
42620 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42621 long double comparison inaccuracies.
42622 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42624
6fef930c
AS
426252012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42626
42627 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42628 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42629
8f203e6c
JM
426302012-05-04 Joseph Myers <joseph@codesourcery.com>
42631
42632 [BZ #14049]
42633 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42634 nonzero digits before rounding a hex value.
42635 * stdlib/tst-strtod.c (tests): Add another test.
42636
5197d9c2
AK
426372012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42638
42639 * sysdeps/s390/fpu/libm-test-ulps: Update.
42640
f0c1dedf
AJ
426412012-05-03 Andreas Jaeger <aj@suse.de>
42642
42643 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42644 does not get optimized out.
42645 (malloc_opt_barrier): New.
42646
a65ef2ae 426472012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 42648 Roland McGrath <roland@hack.frob.com>
a65ef2ae 42649
2b942cb7 42650 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 42651 intermediate file deletion.
2b942cb7 42652 (generated): Add .symlist files.
a65ef2ae 42653
54b71e02
JM
426542012-05-03 Joseph Myers <joseph@codesourcery.com>
42655
42656 [BZ #13775]
42657 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42658 Redirect under this condition.
42659 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42660 [__USE_GNU] (__dprintf_chk): Not under this condition.
42661 [__USE_GNU] (__vdprintf_chk): Likewise.
42662 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42663 under this condition.
42664 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42665 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42666 [__USE_XOPEN2K8] (vdprintf): Likewise.
42667 [__USE_GNU] (__dprintf_chk): Not under this condition.
42668 [__USE_GNU] (__vdprintf_chk): Likewise.
42669 [__USE_GNU] (dprintf): Likewise.
42670 [__USE_GNU] (vdprintf): Likewise.
42671
d3dfcc41
RM
426722012-05-03 Roland McGrath <roland@hack.frob.com>
42673
42674 * elf/Makefile (common-generated): Set this instead of generated for
42675 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42676 $(all-built-dso)-derived lists.
42677
7ac30cc5
AJ
426782012-05-03 Andreas Jaeger <aj@suse.de>
42679
0c51e550
AJ
42680 * sysdeps/i386/fpu/libm-test-ulps: Update.
42681
7ac30cc5
AJ
42682 * FAQ: Removed.
42683 * FAQ.in: Likewise.
42684 * scripts/gen-FAQ.pl: Likewise.
42685 * manual/install.texi (Installation): Point to online location of
42686 FAQ.
42687 * Makefile (files-for-dist): Remove FAQ.
42688 (FAQ): Remove.
42689
d4c2917f
AM
426902012-05-02 Allan McRae <allan@archlinux.org>
42691
42692 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42693 (LDFLAGS-reldepmod5.so): Likewise.
42694 (LDFLAGS-reldep6mod1.so): Likewise.
42695 (LDFLAGS-reldep6mod4.so): Likewise.
42696 (LDFLAGS-reldep8mod3.so): Likewise.
42697 (LDFLAGS-unload4mod1.so): Likewise.
42698 (LDFLAGS-unload4mod2.so): Likewise.
42699 (LDFLAGS-tst-initorder): Likewise.
42700 (LDFLAGS-tst-initordera2.so): Likewise.
42701 (LDFLAGS-tst-initordera3.so): Likewise.
42702 (LDFLAGS-tst-initordera4.so): Likewise.
42703 (LDFLAGS-tst-initorderb2.so): Likewise.
42704 (LDFLAGS-noload): Likewise.
42705 (LDFLAGS-next): Likewise.
42706 (LDFLAGS-order2mod1.so): Likewise.
42707 (LDFLAGS-order2mod2.so): Likewise.
42708 (LDFLAGS-tst-initorder2): Likewise.
42709 (LDFLAGS-tst-initorder2a.so): Likewise.
42710 (LDFLAGS-tst-initorder2b.so): Likewise.
42711 (LDFLAGS-tst-initorder2c.so): Likewise.
42712 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42713
d77f993f
DM
427142012-05-02 David S. Miller <davem@davemloft.net>
42715
42716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42717
171a70b4
PP
427182012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42719
42720 [BZ #14055]
42721 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42722
0be196ad
AJ
427232012-05-02 Andreas Jaeger <aj@suse.de>
42724
42725 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42726 since we manipulate rounding mode.
42727 (CPPFLAGS-test-idouble.c): Likewise.
42728 (CPPFLAGS-test-ifloat.c): Likewise.
42729 (CFLAGS-test-ldouble.c): Likewise.
42730 (CFLAGS-test-double.c): Likewise.
42731 (CFLAGS-test-float.c): Likewise.
42732 (CFLAGS-test-misc.c): Likewise.
42733 (CFLAGS-test-test-fenv.c): Likewise.
42734
4f9d04aa
AZ
427352012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42736
2b942cb7
RM
42737 [BZ #2550]
42738 [BZ #2570]
42739 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42740 comparisons to determine direction to adjust input.
4f9d04aa 42741
82a79e7d
RM
427422012-05-01 Roland McGrath <roland@hack.frob.com>
42743
f5a01ca9
RM
42744 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42745 output to the target.
42746
90fe4186
RM
42747 * scripts/localplt.awk: New file.
42748 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42749 (check-localplt-CFLAGS): Variable removed.
42750 ($(all-built-dso:=.jmprel)): New static pattern rule.
42751 (generated): Add those targets.
42752 (localplt-built-dso): New variable.
42753 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42754
42755 * elf/check-localplt.c: File removed.
42756
82397ed6
RM
42757 * scripts/check-execstack.awk: New file.
42758 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42759 (check-execstack-CFLAGS): Variable removed.
42760 ($(objpfx)check-execstack.h): Target removed.
42761 ($(objpfx)execstack-default): New target.
42762 (generated): Add that instead of check-execstack.h.
42763 ($(all-built-dso:=.phdr)): New static pattern rule.
42764 (generated): Add those targets.
42765 * elf/check-execstack.c: File removed.
42766
82a79e7d
RM
42767 * scripts/check-textrel.awk: New file.
42768 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42769 (check-textrel-CFLAGS): Variable removed.
42770 (all-built-dso): Use := to define.o
42771 ($(all-built-dso:=.dyn)): New static pattern rule.
42772 (generated): Add those targets.
42773 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42774 * config.make.in (READELF): New substituted variable.
42775 * elf/check-textrel.c: File removed.
42776
62fde54f 427772012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 42778
615605c9
JM
42779 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42780 allow.
42781 * conform/data/ctype.h-data [C99-based standards] (isblank):
42782 Expect function.
42783 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42784 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42785 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42786 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42787 Specify type. Require positive value.
42788 (EILSEQ): Likewise.
42789 (ERANGE): Likewise.
42790 [ISO || POSIX] (EILSEQ): Do not expect.
42791 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42792 Specify type. Require positive value.
42793 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42794 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42795 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42796 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42797 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42798 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42799 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42800 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42801 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42802 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42803 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42804 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42805 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42806 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42807 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42808 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42809 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42810 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42811 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42812 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42813 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42814 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42815 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42816 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42817 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42818 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42819 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42820 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42821 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42822 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42823 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42824 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42825 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42826 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42827 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42828 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42829 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42830 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42831 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42832 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42833 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42834 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42835 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42836 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42837 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42838 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42839 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42840 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42841 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42842 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42843 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42844 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42845 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42846 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42847 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42848 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42849 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42850 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42851 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42852 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42853 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42854 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42855 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42856 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42857 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42858 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42859 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42860 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42861 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42862 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42863 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42864 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42865 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42866 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42867 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42868 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42869 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42870 Require >= 2.
42871 (FLT_ROUNDS): Expect as macro, not constant.
42872 (FLT_MANT_DIG): Use macro-int-constant.
42873 (DBL_MANT_DIG): Likewise.
42874 (LDBL_MANT_DIG): Likewise.
42875 (FLT_DIG): Likewise.
42876 (DBL_DIG): Likewise.
42877 (LDBL_DIG): Likewise.
42878 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42879 (DBL_MIN_EXP): Likewise.
42880 (LDBL_MIN_EXP): Likewise.
42881 (FLT_MAX_EXP): Use macro-int-constant.
42882 (DBL_MAX_EXP): Likewise.
42883 (LDBL_MAX_EXP): Likewise.
42884 (FLT_MAX_10_EXP): Likewise.
42885 (DBL_MAX_10_EXP): Likewise.
42886 (LDBL_MAX_10_EXP): Likewise.
42887 (FLT_MAX): Use macro-constant.
42888 (DBL_MAX): Likewise.
42889 (LDBL_MAX): Likewise.
42890 (FLT_EPSILON): Use macro-constant. Give upper bound.
42891 (DBL_EPSILON): Likewise.
42892 (LDBL_EPSILON): Likewise.
42893 (FLT_MIN): Likewise.
42894 (DBL_MIN): Likewise.
42895 (LDBL_MIN): Likewise.
42896 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42897 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42898 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42899 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42900 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42901 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42902 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42903 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42904 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42905 [ISO11] (FLT_TRUE_MIN): Likewise.
42906 [ISO11] (LDBL_TRUE_MIN): Likewise.
42907 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42908 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42909 (SCHAR_MIN): Use macro-int-constant. Specify type.
42910 (SCHAR_MAX): Likewise.
42911 (UCHAR_MAX): Likewise.
42912 (CHAR_MIN): Likewise.
42913 (CHAR_MAX): Likewise.
42914 (MB_LEN_MAX): Use macro-int-constant.
42915 (SHRT_MIN): Use macro-int-constant. Specify type.
42916 (SHRT_MAX): Likewise.
42917 (USHRT_MAX): Likewise.
42918 (INT_MAX): Likewise.
42919 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42920 bound negative.
42921 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42922 bound with "U".
42923 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42924 bound with "L".
42925 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42926 bound negative. Suffix upper bound with "L".
42927 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42928 bound with "UL".
42929 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42930 Specify type.
42931 [C99-based standards] (LLONG_MAX): Likewise.
42932 [C99-based standards] (ULLONG_MAX): Likewise.
42933 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42934 == 0.
42935 [ISO11] (max_align_t): Require type.
42936 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42937
c9140a62
JM
42938 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42939 from $CFLAGS, without defining away __attribute__ calls.
42940 (checknamespace): Use $CFLAGS_namespace.
42941
9af0bf29
JM
42942 * conform/conformtest.pl (@keywords): Only include C99 keywords
42943 for standards based on C99 or C11.
42944
343222a2
JM
42945 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42946 Disable tests.
42947 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42948 UNIX98]: Likewise.
42949
661f8cf0
JM
42950 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42951 usability of symbols in #if.
42952
ee74b9cb
JM
42953 * conform/conformtest.pl: If macro or constant types start
42954 "promoted:", expect the symbol to be of the following type
42955 promoted by the integer promotions.
62fde54f 42956
aafc49b3
JM
42957 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42958 in one place. Also handle "macro-constant".
42959
fefdf574
JM
42960 * conform/conformtest.pl: Only accept expected macro values with
42961 "==". Parse all "macro" lines in one place.
42962 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42963
f2d922fe
JM
42964 * conform/conformtest.pl: Handle braced types on "constant" lines
42965 instead of handling "typed-constant".
42966 * conform/data/signal.h-data: Use "constant" instead of
42967 "typed-constant".
42968
d22956c9
JM
42969 * conform/conformtest.pl: Handle "optional-" at start of lines in
42970 one place rather than duplicating several cases. Handle each
42971 format of "macro" line with initial "optional-".
42972
028e2e38
JM
42973 * conform/conformtest.pl: Only accept expected constant or
42974 optional-constant values with "==". Parse all "constant" lines in
42975 one place. Parse all "optional-constant" lines in one place.
42976 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42977 * conform/data/fmtmsg.h-data: Likewise.
42978 * conform/data/netinet/in.h-data: Likewise.
42979 * conform/data/tar.h-data: Likewise.
42980 * conform/data/limits.h-data: Use "==" form on "constant" and
42981 "optional-constant" lines.
42982
1b8f2850
JM
42983 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42984 Use -std=c99 for XOPEN2K.
42985 (@knownproblems): Remove.
42986 (newtoken): Don't check %isknown.
42987
a05a144b
JM
42988 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42989 Do not expect macro.
42990 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42991 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42992 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42993 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42994 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42995 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42996 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42997 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42998 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42999 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43000 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43001 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43002 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43003 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43004 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43005 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43006 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43007 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43008 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43009 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43010 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43011 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43012 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43013 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43014 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43015 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43016 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43017 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43018 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43019 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43020 [XPG3] (acosh): Likewise.
43021 [XPG3] (asinh): Likewise.
43022 [XPG3] (atanh): Likewise.
43023 [XPG3] (cbrt): Likewise.
43024 [XPG3] (expm1): Likewise.
43025 [XPG3] (ilogb): Likewise.
43026 [XPG3] (log1p): Likewise.
43027 [XPG3] (logb): Likewise.
43028 [XPG3] (nextafter): Likewise.
43029 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43030 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43031 [XPG3] (remainder): Likewise.
43032 [XPG3] (rint): Likewise.
43033 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43034 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43035 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43036 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43037 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43038 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43039 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43040 [UNIX98 || XOPEN2K] (scalb): Expect.
43041 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43042 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43043 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43044 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43045 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43046 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43047 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43048 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43049 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43050 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43051 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43052 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43053 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43054 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43055 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43056 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43057 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43058 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43059 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43060 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43061 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43062 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43063 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43064 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43065 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43066 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43067 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43068 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43069 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43070 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43071 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43072 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43073 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43074 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43075 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43076 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43077 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43078 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43079 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43080 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43081 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43082 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43083 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43084 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43085 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43086 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43087 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43088 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43089 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43090 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43091 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43092 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43093 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43094 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43095 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43096 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43097 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43098 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43099 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43100 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43101 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43102 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43103 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43104 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43105 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43106 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43107 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43108 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43109 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43110 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43111 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43112 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43113 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43114 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43115 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43116 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43117 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43118 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43119 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43120 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43121 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43122 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43123 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43124 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43125 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43126 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43127 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43128 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43129 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43130 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43131 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43132 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43133 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43134 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43135 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43136 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43137 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43138 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43139 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43140 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43141 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43142 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43143 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43144 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43145 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43146 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43147 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43148 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43149 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43150 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43151 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43152 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43153 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43154 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43155 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43156 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43157 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43158 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43159 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43160 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43161 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43162 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43163 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43164 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43165 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43166 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43167 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43168 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43169 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43170 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43171 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43172 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43173 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43174 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43175 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43176 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43177 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43178
73c5ebe3
JM
43179 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43180 _XOPEN_SOURCE_EXTENDED for XPG4.
43181
39c33b6c
JM
43182 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43183
62fde54f
JM
43184 * Makeconfig (localtime): Remove variable.
43185 (inst_localtime-file): Likewise.
43186
0741d64c
AS
431872012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43188
43189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43190 Update.
43191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43192 Update.
43193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43194 Update.
43195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43196 Update.
43197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43198 Update.
43199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43200 Update.
43201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43202 Update.
43203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43204 Update.
43205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43206 Update.
43207
7cb029ee
JM
432082012-05-01 Joseph Myers <joseph@codesourcery.com>
43209
43210 [BZ #2550]
43211 [BZ #2570]
43212 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43213 comparisons to determine direction to adjust input.
43214 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43215 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43216 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43217 Likewise.
43218 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43219 Likewise.
43220 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43221 Likewise.
43222 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43223 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43224 Likewise.
43225 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43226 Likewise.
43227 * math/libm-test.inc (nexttoward_test): Add more tests.
43228
412bd966
AS
432292012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43230
43231 [BZ #14040]
43232 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43233 in version GLIBC_2.1, not GLIBC_2.0.
43234 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43235 Likewise.
43236
9568c0c2
JM
432372012-04-30 Joseph Myers <joseph@codesourcery.com>
43238
adfbc8ac
JM
43239 [BZ #13942]
43240 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43241 (1 - x) * (1 + x).
43242 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43243 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43244 * math/libm-test.inc (acos_test): Add more tests.
43245 (asin_test): Likewise.
43246 * sysdeps/i386/fpu/libm-test-ulps: Update.
43247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43248
5ba3cc69
JM
43249 [BZ #14034]
43250 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43251 of square root.
43252 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43253 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43254 * math/libm-test.inc (acos_test_tonearest): New function.
43255 (acos_test_towardzero): Likewise.
43256 (acos_test_downward): Likewise.
43257 (acos_test_upward): Likewise.
43258 (asin_test_tonearest): Likewise.
43259 (asin_test_towardzero): Likewise.
43260 (asin_test_downward): Likewise.
43261 (asin_test_upward): Likewise.
43262 (main): Call the new functions.
43263 * sysdeps/i386/fpu/libm-test-ulps: Update.
43264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43265
9568c0c2
JM
43266 [BZ #13884]
43267 [BZ #13924]
43268 * math/e_exp10.c: Include <float.h>.
43269 (__ieee754_exp10): Handle underflow here rather than multiplying
43270 large negative argument by M_LN10.
43271 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43272 of __ieee754_expf.
43273 * math/e_exp10l.c: Include <float.h>.
43274 (__ieee754_exp10l): Handle underflow here rather than multiplying
43275 large negative argument by M_LN10l.
43276 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43277 spurious overflow exception on underflow.
43278
5ac3ea17
MP
432792012-04-29 Marek Polacek <polacek@redhat.com>
43280
43281 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43282 (__fortify_function): New macro.
43283 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43284 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43285 __extern_always_inline.
43286 * libio/bits/stdio2.h: Likewise.
43287 * libio/bits/stdio.h: Likewise.
43288 * string/string.h: Likewise.
43289 * string/bits/string3.h: Likewise.
43290 * include/stdio.h: Likewise.
43291 * stdlib/bits/stdlib.h: Likewise.
43292 * stdlib/stdlib.h: Likewise.
43293 * rt/bits/mqueue2.h: Likewise.
43294 * rt/mqueue.h: Likewise.
43295 * posix/bits/unistd.h: Likewise.
43296 * posix/unistd.h: Likewise.
43297 * io/bits/poll2.h: Likewise.
43298 * io/bits/fcntl2.h: Likewise.
43299 * io/fcntl.h: Likewise.
43300 * io/sys/poll.h: Likewise.
43301 * misc/bits/syslog.h: Likewise.
43302 * misc/bits/syslog-ldbl.h: Likewise.
43303 * misc/sys/syslog.h: Likewise.
43304 * socket/bits/socket2.h: Likewise.
43305 * socket/sys/socket.h: Likewise.
43306 * debug/tst-chk1.c: Likewise.
43307 * wcsmbs/bits/wchar2.h: Likewise.
43308 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43309 * wcsmbs/wchar.h: Likewise.
43310
ecf0ebfb
AJ
433112012-04-29 Andreas Jaeger <aj@suse.de>
43312
43313 * Makerules (tests): Remove enable-check-abi protection.
43314 (check-abi-warn): Remove.
43315 (check-abi-%): Remove check-abi-warn usage.
43316
43317 * configure.in: Remove check-abi configure option.
43318 * configure: Regenerated.
43319 * config.make.in (enable-check-abi): Remove.
43320
6d5c57fa
AS
433212012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43322
24c5d07e 43323 [BZ #14033]
ded5180a
AS
43324 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43325 double functions to double *_finite functions.
43326
7e0d315d
AS
43327 [BZ #13941]
43328 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43329 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43330 LDBL_MIN_EXP.
43331 * stdio-common/Makefile (tests): Add tst-sprintf3.
43332 * stdio-common/tst-sprintf3.c: New file.
43333
6d5c57fa
AS
43334 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43335 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43336
0749ff8b
JM
433372012-04-28 Joseph Myers <joseph@codesourcery.com>
43338
43339 * conform/conformtest.pl: Remove duplicate typed-constant
43340 handling.
43341
8dbd5d7b
DM
433422012-04-28 David S. Miller <davem@davemloft.net>
43343
43344 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43345 (check-abi-%): Remove AWK script prerequisite and explicit
43346 abilist directory.
43347 (check-abi): Rewrite to just diff the symlist with the abilist.
43348 (config-tls, config-abi-config): Delete, no longer used.
43349 (update-abi-%): Remove AWK script and explicit abilist directory.
43350 (update-abi): Rewrite to simply compare and conditionally copy the
43351 symlist and the sysdep abilist file. Remove update-abi-config
43352 checks.
43353 * abilist/ld.abilist: Remove.
43354 * abilist/libBrokenLocale.abilist: Remove.
43355 * abilist/libanl.abilist: Remove.
43356 * abilist/libcrypt.abilist: Remove.
43357 * abilist/libdl.abilist: Remove.
43358 * abilist/librt.abilist: Remove.
43359 * abilist/libthread_db.abilist: Remove.
43360 * abilist/libutil.abilist: Remove.
43361 * scripts/extract-abilist.awk: Remove.
43362 * scripts/merge-abilist.awk: Remove.
43363 * sysdeps/generic/libcidn.abilist: New file.
43364 * sysdeps/generic/libnss_compat.abilist: New file.
43365 * sysdeps/generic/libnss_db.abilist: New file.
43366 * sysdeps/generic/libnss_dns.abilist: New file.
43367 * sysdeps/generic/libnss_files.abilist: New file.
43368 * sysdeps/generic/libnss_hesiod.abilist: New file.
43369 * sysdeps/generic/libnss_nis.abilist: New file.
43370 * sysdeps/generic/libnss_nisplus.abilist: New file.
43371 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43372 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43373 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43374 file.
43375 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43376 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43377 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43378 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43379 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43380 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43381 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43382 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43383 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43384 file.
43385 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43386 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43387 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43388 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43389 file.
43390 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43391 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43392 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43393 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43394 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43395 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43396 file.
43397 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43398 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43399 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43400 file.
43401 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43402 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43403 New file.
43404 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43405 New file.
43406 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43407 New file.
43408 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43409 New file.
43410 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43411 New file.
43412 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43413 New file.
43414 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43415 New file.
43416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43417 New file.
43418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43419 New file.
43420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43421 New file.
43422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43423 New file.
43424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43425 New file.
43426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43427 New file.
43428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43429 file.
43430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43431 New file.
43432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43433 New file.
43434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43435 file.
43436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43437 New file.
43438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43439 New file.
43440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43441 file.
43442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43443 New file.
43444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43445 New file.
43446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43447 New file.
43448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43449 New file.
43450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43451 New file.
43452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43453 New file.
43454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43456 file.
43457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43458 New file.
43459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43460 file.
43461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43462 file.
43463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43464 file.
43465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43466 file.
43467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43468 file.
43469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43470 New file.
43471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43472 file.
43473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43474 file.
43475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43476 New file.
43477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43478 file.
43479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43481 file.
43482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43483 New file.
43484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43485 file.
43486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43487 file.
43488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43489 file.
43490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43491 file.
43492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43493 file.
43494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43495 New file.
43496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43497 file.
43498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43499 file.
43500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43501 New file.
43502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43503 file.
43504 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43505 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43506 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43507 file.
43508 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43509 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43510 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43511 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43512 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43513 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43514 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43515 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43516 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43517 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43520 file.
43521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43522 New file.
43523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43524 file.
43525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43526 file.
43527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43528 file.
43529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43530 file.
43531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43532 file.
43533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43534 New file.
43535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43536 New file.
43537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43538 file.
43539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43540 New file.
43541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43542 file.
43543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43545 file.
43546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43547 New file.
43548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43549 file.
43550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43551 file.
43552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43553 file.
43554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43555 file.
43556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43557 file.
43558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43559 New file.
43560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43561 New file.
43562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43563 file.
43564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43565 New file.
43566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43567 file.
43568
41d73a1b
JM
435692012-04-28 Joseph Myers <joseph@codesourcery.com>
43570
43571 * conform/conformtest.pl: Fix typo in handling typed-constant from
43572 allow-header.
43573
28aeeda4
JM
435742012-04-27 Joseph Myers <joseph@codesourcery.com>
43575
adae8f5e
JM
43576 * README: Cut down references to pre-2.6 Linux kernels and
43577 Linuxthreads. Update lists of configurations in libc and ports
43578 and sort alphabetically. Say "or newer" with Linux kernel version
43579 requirements.
43580
28aeeda4
JM
43581 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43582
a462cb63
RA
435832012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43584
43585 [BZ #887]
43586 * math/libm-test.inc (logb_test_downward): New test to expose
43587 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43588 rounding mode.
43589
6ad3493e
JM
435902012-04-27 Joseph Myers <joseph@codesourcery.com>
43591
43592 [BZ #14027]
43593 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43594 to be done.
43595 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43596 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43597
2ce4f015
JM
435982012-04-26 Joseph Myers <joseph@codesourcery.com>
43599
5aeb141a
JM
43600 * sysdeps/unix/i386/brk.S: Remove file.
43601 * sysdeps/unix/i386/dl-brk.S: Likewise.
43602 * sysdeps/unix/i386/pipe.S: Likewise.
43603 * sysdeps/unix/i386/sigreturn.S: Likewise.
43604 * sysdeps/unix/i386/syscall.S: Likewise.
43605 * sysdeps/unix/i386/vfork.S: Likewise.
43606 * sysdeps/unix/i386/wait.S: Likewise.
43607
7143acae
JM
43608 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43609 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43610
2ce4f015
JM
43611 * configure.in (arm*-none*): Do not allow without
43612 --enable-hacker-mode.
43613 (netbsd*): Remove case setting base_os.
43614 (386bsd*): Likewise.
43615 (freebsd*): Likewise.
43616 (bsdi*): Likewise.
43617 (osf*): Likewise.
43618 (sunos*): Likewise.
43619 (ultrix*): Likewise.
43620 (newsos*): Likewise.
43621 (dynix*): Likewise.
43622 (*bsd*): Likewise.
43623 (sysv*): Likewise.
43624 (isc*): Likewise.
43625 (esix*): Likewise.
43626 (sco*): Likewise.
43627 (minix*): Likewise.
43628 (irix4*): Likewise.
43629 (irix6*): Likewise.
43630 (solaris[2-9]*): Likewise.
43631 (none): Likewise.
43632 * configure: Regenerated.
43633
0ac229c8
AZ
436342012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43635
43636 [BZ #11521]
43637 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43638 overflow or cancellation in calculating denominator.
43639 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43640 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43641 down expression to avoid unexpected rounding in newer GCCs.
43642 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43643
33f244f4
DM
436442012-04-26 David S. Miller <davem@davemloft.net>
43645
43646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43647 long-double compat symbols.
43648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43661
cfa1f3e8
DM
436622012-04-25 David S. Miller <davem@davemloft.net>
43663
43664 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43665 HWCAP_* values only after the memory barriers have been defined.
43666 (atomic_full_barrier): Define.
43667 (atomic_read_barrier): Define.
43668 (atomic_write_barrier): Define.
43669
6e236b92
SP
436702012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43671
43672 * shlib-versions: Add libgcc_s version information.
43673 * sysdeps/generic/libgcc_s.h: Remove.
43674 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43675 libgcc_s.h.
43676 * sysdeps/gnu/unwind-resume.c: Likewise.
43677 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43678
aab39a09
DM
436792012-04-25 David S. Miller <davem@davemloft.net>
43680
43681 * sysdeps/unix/sparc/brk.S: Delete.
43682 * sysdeps/unix/sparc/dl-brk.S: Delete.
43683 * sysdeps/unix/sparc/pipe.S: Delete.
43684 * sysdeps/unix/sparc/sysdep.S: Delete.
43685 * sysdeps/unix/sparc/sysdep.h: Delete.
43686 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
43687 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43688 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43689 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43690 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
43691 (JUMPTARGET): Remove.
43692 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43693 sysdeps/unix/sparc/sysdep.h
43694 (ENTRY, END): Remove.
43695 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43696
a3cc4f48
JM
436972012-04-25 Joseph Myers <joseph@codesourcery.com>
43698
2ed8cda2
JM
43699 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43700 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43701 -DIS_IN_build.
43702
35d76d59
JM
43703 * timezone/README: Update upstream location and email address for
43704 tzcode and tzdata.
43705 * timezone/zdump.c: Update from tzcode 2012b.
43706 * timezone/zic.c: Likewise.
43707
a3cc4f48
JM
43708 * configure.in (libc_cv_as_needed): Remove test.
43709 * configure: Regenerated.
43710 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43711 conditional definition.
43712 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43713 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43714 * config.make.in (have-as-needed): Remove variable.
43715
ceab42c3
SP
437162012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43717 Paul Pluzhnikov <ppluzhnikov@google.com>
43718
43719 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43720 strings correctly.
43721
3ce2865f
CLT
437222012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43723
43724 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43725 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43726 * sysdeps/sh/strlen.S: Likewise.
43727
f37e0d68
JM
437282012-04-24 Joseph Myers <joseph@codesourcery.com>
43729
ae186e9a
JM
43730 * sysdeps/unix/fork.S: Remove file.
43731 * sysdeps/unix/i386/fork.S: Likewise.
43732 * sysdeps/unix/sparc/fork.S: Likewise.
43733
b96914af
JM
43734 * sysdeps/unix/system.c: Remove file.
43735 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43736
f37e0d68
JM
43737 * sysdeps/unix/getegid.S: Remove file.
43738 * sysdeps/unix/geteuid.S: Likewise.
43739
87ef29ca
RM
437402012-04-24 Roland McGrath <roland@hack.frob.com>
43741
83bcd236
RM
43742 * scripts/check-localplt.awk: New file.
43743 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43744 of diff.
43745 * scripts/data/localplt-generic.data: Add a comment.
43746
87ef29ca
RM
43747 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43748 NODE when __dir_mkfile failed.
43749 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43750 Reported by Ludovic Courtès <ludo@gnu.org>.
43751
e5a6e567
AJ
437522012-04-24 Andreas Jaeger <aj@suse.de>
43753
43754 * Makerules (common-clean): Also remove gen-as-const-headers
43755 files.
43756
c1820385
JM
437572012-04-24 Joseph Myers <joseph@codesourcery.com>
43758
43759 * Makerules (native-compile): Do not change working directory for
43760 build. Use $(OUTPUT_OPTION) in command.
43761 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43762
94e02fc4
AZ
437632012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43764
43765 [BZ #13886]
43766 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43767 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43768 * math/libm-test.inc (floor_test): Add more tests.
43769 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43770
3a533ca3
JM
437712012-04-24 Joseph Myers <joseph@codesourcery.com>
43772
940ab4b3
JM
43773 * sysdeps/unix/getdents.c: Remove file.
43774 * sysdeps/unix/sysv/getdents.c: Likewise.
43775 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43776
90e037bd
JM
43777 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43778 sysdeps/unix/mman/syscalls.list.
43779 (mmap): Likewise.
43780 (mprotect): Likewise.
43781 (msync): Likewise.
43782 (munmap): Likewise.
43783 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43784 * sysdeps/unix/mman/syscalls.list: Remove.
43785 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43786
3a533ca3
JM
43787 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43788 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43789 * configure: Regenerated.
43790 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43791 $(libgcc_s_suffix).
43792 * config.make.in (libgcc_s_suffix): Remove variable.
43793
1ad743de
JM
437942012-04-23 Joseph Myers <joseph@codesourcery.com>
43795
4ad451e2
JM
43796 * sysdeps/unix/sysv/gethostname.c: Move to ...
43797 * sysdeps/posix/gethostname.c: ... here.
43798
5e37ce39
JM
43799 * sysdeps/unix/execve.S: Remove file.
43800
1ad743de
JM
43801 * sysdeps/unix/_exit.S: Remove file.
43802
4e681b5b
AJ
438032012-04-23 Andreas Jaeger <aj@suse.de>
43804
43805 [BZ #13739]
43806 * manual/Makefile: Remove make dist support, there's no
43807 need for a stand-alone documentation tar ball.
43808 (TEXI2DVI): Define always, it's not in Makeconfig.
43809 (dist): Removed.
43810 (tar-it): Removed.
43811 (edition): Removed.
43812 (glibc-doc-$(edition).tar): Removed
43813 (%.Z): Removed.
43814 (%.gz): Removed.
43815 (%.uu): Removed.
43816 (ETAGS): Remove, it's in Makeconfig.
43817 (move-if-change): Remove, it's in Makeconfig.
43818
38686a03 438192012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
43820
43821 [BZ #13970]
43822 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43823 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43824 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43825 (strtod_l, strtof_l, strtold_l): Remove __wur.
43826 It is not necessarily an error to ignore strtol's return value.
43827 One can reliably look at the stored endptr to decide whether
43828 the number had valid syntax.
43829
7c0616fa
AJ
438302012-04-21 Andreas Jaeger <aj@suse.de>
43831
803cb6b7 43832 [BZ #13739]
7c0616fa
AJ
43833 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43834
b0fe253f
JM
438352012-04-21 Joseph Myers <joseph@codesourcery.com>
43836
43837 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43838 * sysdeps/unix/sysv/Versions: Remove file.
43839
8280f22d
MT
438402012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43841
43842 [BZ #13927]
43843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43844
75ce411f 438452012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
43846
43847 [BZ #7064]
43848 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43849 version from __vm86.
43850
097d59fa
JM
438512012-04-20 Joseph Myers <joseph@codesourcery.com>
43852
a90f3bcb
JM
43853 * sysdeps/unix/common/lxstat.c: Remove file.
43854 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43855
edc7ea78
JM
43856 * sysdeps/unix/sysv/Makefile: Remove file.
43857
cb78c221
JM
43858 * sysdeps/unix/sysv/direct.h: Remove file.
43859
efa6a45f
JM
43860 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43861 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43862 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43863 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43864 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43865 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43866 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43867
9c9f2d0c
JM
43868 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43869
4541c83b
JM
43870 * sysdeps/unix/xmknod.c: Remove file.
43871 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43872
f5d153a0
JM
43873 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43874
aa746595
JM
43875 * sysdeps/unix/sysv/i386/time.S: Remove file.
43876
cce5905e
JM
43877 * sysdeps/unix/fxstat.c: Remove file.
43878 * sysdeps/unix/xstat.c: Likewise.
43879 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43880
37fa3841
JM
43881 * sysdeps/unix/sysv/sigaction.c: Remove file.
43882
ff1962a3
JM
43883 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43884 (sysdep_headers): Remove variable.
43885 [termio.h not in sysdep_headers] (generated): Likewise.
43886 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43887 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43888 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43889 * sysdeps/unix/sysv/tcflow.c: Likewise.
43890 * sysdeps/unix/sysv/tcflush.c: Likewise.
43891 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43892 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43893 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43894 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43895 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43896
e7740d31
JM
43897 * sysdeps/unix/siglist.c: Remove file.
43898
ee06f18b
JM
43899 * sysdeps/unix/getppid.S: Remove file.
43900
097d59fa
JM
43901 * sysdeps/unix/mkdir.c: Remove file.
43902 * sysdeps/unix/rmdir.c: Likewise.
43903
ff3d51ec
AS
439042012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43905
43906 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43907 ERR_MAX value.
43908 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43909 errlist-compat value.
43910
50f81fd7
DM
439112012-04-18 David S. Miller <davem@davemloft.net>
43912
43913 * sysdeps/generic/memcopy.h (reg_char): Delete.
43914 * debug/strcat_chk.c: Use char, not reg_char.
43915 * debug/strcpy_chk.c: Likewise.
43916 * debug/strncat_chk.c: Likewise.
43917 * debug/strncpy_chk.c: Likewise.
43918 * string/memchr.c: Likewise.
43919 * string/memrchr.c: Likewise.
43920 * string/rawmemchr.c: Likewise.
43921 * string/strcat.c: Likewise.
43922 * string/strchr.c: Likewise.
43923 * string/strchrnul.c: Likewise.
43924 * string/strcmp.c: Likewise.
43925 * string/strcpy.c: Likewise.
43926 * string/strncat.c: Likewise.
43927 * string/strncmp.c: Likewise.
43928 * string/strncpy.c: Likewise.
43929
8ff41c46
WS
439302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43931
43932 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43933 __builtin_memcopy is called when src and dest ranges are known to not
43934 overlap.
43935
6b652f46
WS
439362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43937
43938 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43939 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43940 fwd_align_merge macro call.
43941 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43942 bwd_align_merge macro call.
43943 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43944
b282631e
WS
439452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43946
43947 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43948 bwd_align_merge macros.
43949 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43950 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43951 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43952
95aa737c
DM
439532012-04-18 David S. Miller <davem@davemloft.net>
43954
43955 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43956
7a99a614
AJ
439572012-04-18 Andreas Jaeger <aj@suse.de>
43958
43959 [BZ# 6794]
43960 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43961 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43962 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43963
43964 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43965 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43966 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43967
43968 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43969 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43970 Adjust for changed ldbl-128 files.
43971
43972 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43973 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43974 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43975
e5270c23
DM
439762012-04-17 David S. Miller <davem@davemloft.net>
43977
43978 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43979
fb5e92c9
AS
439802012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43981
43982 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43983 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43984 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43985 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43986 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43987 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43988
76da7265
AZ
439892012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43990
43991 [BZ #6794]
43992 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43993 * math/libm-test.inc: Add ilogb errno and exception tests.
43994 * math/w_ilogb.c: New file: ilogb wrapper.
43995 * math/w_ilogbf.c: New file: ilogbf wrapper.
43996 * math/w_ilogbl.c: New file: ilogbl wrapper.
43997 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43998 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43999 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44000 exception being thrown with 0.0 as argument.
44001 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44002 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44003 exception being thrown with 0.0 as argument.
44004 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44005 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44006 exception being thrown with 0.0 as argument.
44007 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44008 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44009 exception being thrown with 0.0 as argument.
44010 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44011 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 44012 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
44013 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44014 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44015 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44016 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44017 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44018 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44019
0396e69d
PB
440202012-04-17 Petr Baudis <pasky@ucw.cz>
44021
44022 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44023 with altivec.
44024
750b5926
MP
440252012-04-16 Marek Polacek <polacek@redhat.com>
44026
44027 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44028
751728a1
MP
440292012-04-16 Marek Polacek <polacek@redhat.com>
44030
44031 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44032 operands of fdivp instruction.
44033
34a27407
L
440342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44035
44036 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44037 * elf/tst-auditmod3b.c: Likewise.
44038 * elf/tst-auditmod4b.c: Likewise.
44039 * elf/tst-auditmod5b.c: Likewise.
44040 * elf/tst-auditmod6b.c: Likewise.
44041 * elf/tst-auditmod6c.c: Likewise.
44042 * elf/tst-auditmod7b.c: Likewise.
44043 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44044 * sysdeps/x86_64/preconfigure.in: Likewise.
44045 * sysdeps/x86_64/preconfigure: Regenerated.
44046
7e73e17d
L
440472012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44048
44049 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44050 __ILP32__.
44051
c7a6ab72
AB
440522012-04-13 Antoine Balestrat <merkil33@gmail.com>
44053
44054 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44055 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44056
a9e8e0e0
CL
440572012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44058
44059 [BZ #13973]
44060 * locale/iso-639.def: Fix gl language name. Spotted by
44061 Yaron Shahrabani.
44062
ec98af7d
RM
440632012-04-12 Roland McGrath <roland@hack.frob.com>
44064
44065 [BZ #2074]
44066 * libio/libio.h (__io_write_fn): Update comment.
44067
247c3ede
PB
440682012-04-12 Petr Baudis <pasky@ucw.cz>
44069
44070 [BZ #2074]
44071 * stdio.texi (Hook Functions): The user provided writer function
44072 is not allowed to return -1.
44073
55939d6d
DM
440742012-04-11 David S. Miller <davem@davemloft.net>
44075
44076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44077
90020f5a
MF
440782012-04-11 Mike Frysinger <vapier@gentoo.org>
44079
44080 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44081 Add a leading slash to rtkaio.
44082
288f9098
JM
440832012-04-11 Jim Meyering <meyering@redhat.com>
44084
90020f5a
MF
44085 [BZ #11959]
44086 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44087 It is not necessarily an error to ignore fwrite's return
44088 value. One can reliably use ferror to test for errors after
44089 the fact.
288f9098 44090
4be2b570
L
440912012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44092
44093 * bits/types.h (__snseconds_t): New type.
44094 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44095
44096 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44097 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44098 (__SNSECONDS_T_TYPE): Likewise.
44099 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44100 (__SNSECONDS_T_TYPE): Likewise.
44101 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44102 (__SNSECONDS_T_TYPE): Likewise.
44103
288f9098 441042012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
44105
44106 [BZ #2636]
44107 * manual/time.texi (Processor Time): Return type of times is
44108 elapsed real time since an arbitrary point in the past.
44109 (CPU Time): Move CLK_TCK from here...
44110 (Processor Time): ...to here. Correct description.
44111 * manual/conf.texi (Constants for Sysconf): Correct description of
44112 _SC_CLK_TCK.
44113
d7dd4413
DM
441142012-04-10 David S. Miller <davem@davemloft.net>
44115
44116 [BZ #13967]
44117 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44118 where the is a gap between DT_REL(A) and DT_JMPREL.
44119
b46068fc
L
441202012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44121
44122 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44123 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44124 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44125
73d65cc3
SP
441262012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44127
44128 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44129 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44130 (dl_main): Handle --inhibit-cache.
44131 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44132 _dl_inhibit_cache.
44133 * elf/dl-load.c (_dl_map_object): Use it.
44134 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44135
bcc8d661
JM
441362012-04-09 Joseph Myers <joseph@codesourcery.com>
44137
8f9a2fae
JM
44138 [BZ #13872]
44139 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44140 (__ieee754_powl): Saturate large exponents rather than testing for
44141 overflow of y*log2(x).
44142 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44143 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44144 exceptions.
44145
bcc8d661
JM
44146 [BZ #11521]
44147 * math/s_ctan.c: Include <float.h>.
44148 (__ctan): Avoid internal overflow or cancellation in calculating
44149 denominator.
44150 * math/s_ctanf.c: Likewise.
44151 * math/s_ctanl.c: Likewise.
44152 * math/s_ctanh.c: Likewise.
44153 * math/s_ctanhf.c: Likewise.
44154 * math/s_ctanhl.c: Likewise.
44155 * math/libm-test.inc (ctan_test): Add more tests.
44156 (ctanh_test): Likewise.
44157 * sysdeps/i386/fpu/libm-test-ulps: Update.
44158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44159
823fbbb4
AJ
441602012-04-09 Andreas Jaeger <aj@suse.de>
44161
03879793
AJ
44162 [BZ #6894]
44163 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44164 is an optional BSD extension.
44165
823fbbb4
AJ
44166 [BZ #10254]
44167 * manual/stdio.texi (Opening Streams): Document additional fopen
44168 parameters.
44169
8de131cb
RM
441702012-04-09 Roland McGrath <roland@hack.frob.com>
44171
44172 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44173 %eax without telling the compiler.
44174
c0ed9d7d
CD
441752012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44176
44177 [BZ # 13963]
44178 * manual/install.texi: Use sourceware.org.
44179
c483f6b4
JM
441802012-04-09 Joseph Myers <joseph@codesourcery.com>
44181
d7dd9453
JM
44182 [BZ #13873]
44183 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44184 (__ieee754_pow): Generate overflow and underflow using huge*huge
44185 and tiny*tiny rather than just returning constant infinity or zero
44186 for large exponents.
44187 * math/libm-test.inc (pow_test): Require overflow exceptions for
44188 applicable cases of large exponents.
44189
c483f6b4
JM
44190 [BZ #706]
44191 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44192 (__ieee754_pow): Use iterative multiplication algorithm only for
44193 integer exponents with absolute value below 1024. Check for odd
44194 integer exponents when using algorithm for real exponents.
44195 * math/libm-test.inc (pow_test): Add more tests.
44196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44197
d2de7579
JM
441982012-04-08 Joseph Myers <joseph@codesourcery.com>
44199
44200 [BZ #13705]
44201 * math/libm-test.inc (exp_test): Do not allow overflow exception
44202 on underflow test.
44203
f77f1232
AJ
442042012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44205
44206 [BZ #13705]
44207 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44208 instead of __kernel_standard_f.
44209
3884932b
MF
442102012-04-08 Mike Frysinger <vapier@gentoo.org>
44211
44212 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44213 * sysdeps/x86_64/memset_chk.S: Likewise.
44214
54472e9c
AJ
442152012-04-08 Andreas Jaeger <aj@suse.de>
44216
6ab0fbfc
AJ
44217 [BZ #10153]
44218 * manual/startup.texi (Environment Access): Describe return value
44219 for putenv and setenv.
44220
61efba8c
AJ
44221 [BZ #6895]
44222 * manual/filesys.texi (Directory Entries): Add description for
44223 DT_LNK.
44224
95c3f29a
AJ
44225 [BZ #6890]
44226 * manual/filesys.texi (Directory Entries): Clarify that it's file
44227 system not operating system in the description of DT_UNKNOWN.
44228
54472e9c
AJ
44229 [BZ #6578]
44230 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44231
624254b1
SC
442322012-04-08 Stephen Compall <s11@member.fsf.org>
44233
44234 [BZ #6649]
44235 * manual/llio.texi (Opening and Closing Files): Add cross
44236 reference to explain mode argument.
44237
1e4920e0
MF
442382012-04-07 Mike Frysinger <vapier@gentoo.org>
44239
44240 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44241 * sysdeps/x86_64/memset_chk.S: Likewise.
44242
5ed848f3
DM
442432012-04-07 David S. Miller <davem@davemloft.net>
44244
44245 * elf/elf.h (R_SPARC_WDISP10): Define.
44246 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44247 R_SPARC_SIZE32.
44248 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44249 R_SPARC_SIZE64 and R_SPARC_H34.
44250
96154cd8
CD
442512012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44252
44253 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44254 conditions and remove no longer applicable assertion.
44255
9904dc47
L
442562012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44257
44258 * bits/byteswap.h: Include <features.h>.
44259 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44260 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44261
f8887d0a
L
442622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44263
44264 * bits/byteswap.h (__bswap_16): Removed.
44265 Include <bits/byteswap-16.h> to get __bswap_16.
44266 * sysdeps/i386/bits/byteswap.h: Likewise.
44267 * sysdeps/s390/bits/byteswap.h: Likewise.
44268 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44269 * bits/byteswap-16.h: New file.
44270 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44271 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44272 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44273 * string/Makefile (headers): Add bits/byteswap-16.h.
44274
62470f60
PP
442752012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44276
44277 [BZ #13895]
44278 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44279 extra indirection.
44280 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44281 * nss/tst-nss-static.c: New.
44282
4dad7bab
RM
442832012-04-06 Robert Millan <rmh@gnu.org>
44284
44285 [BZ #6486]
44286 * manual/llio.texi (File Position Primitive): lseek
44287 refers to WHENCE when it really means OFFSET.
44288
e9142a17
AJ
442892012-04-06 Andreas Jaeger <aj@suse.de>
44290
2c040eff
AJ
44291 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44292 strncmp declarations.
44293
e9142a17
AJ
44294 * abilist/libc.abilist: Add __poll and __ppoll.
44295
ff9f1c5f
DM
442962012-04-05 David S. Miller <davem@davemloft.net>
44297
dcd2ae90
DM
44298 * scripts/check-local-headers.sh: Accept a host triplet in the
44299 path matched by the exclude regexp.
44300
993eb054
DM
44301 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44302 definition.
44303 * sysdeps/powerpc/powerpc32/dl-machine.h
44304 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44305 * sysdeps/s390/s390-32/dl-machine.h
44306 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44307 * sysdeps/sparc/sparc32/dl-machine.h
44308 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44309 * sysdeps/sparc/sparc64/dl-machine.h
44310 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44311
ff9f1c5f
DM
44312 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44313 lazy binding.
48e2e132 44314 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
44315 undefined symbol errors.
44316
48e2e132 44317 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
44318 DT_NEEDED entries.
44319
e80d6f94
MM
443202012-04-05 Michael Matz <matz@suse.de>
44321
44322 [BZ #13592]
44323 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44324
349fa79f
AJ
443252012-04-05 Andreas Jaeger <aj@suse.de>
44326
44327 [BZ #13908]
44328 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44329 comment.
44330
f402708f
KK
443312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44332
44333 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44334 which ROUND is no valid rounding mode.
44335
2ecccfc9
KK
443362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44337
44338 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44339 read again.
44340 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44341
8a53f50f
KK
443422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44343
44344 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44345 an exception using FPU order intentionally.
44346
443472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44348
44349 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44350 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44351 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44352 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44353
d653abb7
SJ
443542012-04-05 Simon Josefsson <simon@josefsson.org>
44355
44356 [BZ #12340]
44357 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44358 EINVAL when BUFLEN is too smal.
44359
c3b1bf7d
TS
443602012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44361
44362 [BZ #13553]
44363 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44364 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44365
b1aa60f3
AJ
443662012-04-03 Andreas Jaeger <aj@suse.de>
44367
c3b1bf7d 44368 [BZ #13938]
67f60a26
AJ
44369 * manual/setjmp.texi (System V contexts): Fix sentence.
44370
b1aa60f3
AJ
44371 [BZ #13926]
44372 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44373 New macro for this case.
44374 [!__GNUC__] (__bswap_64): New inline function for this case.
44375 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44376 * bits/byteswap.h: Likewise.
44377 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44378 ull, guard with __GLIBC_HAVE_LONG_LONG.
44379
44380 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44381 __GLIBC_HAVE_LONG_LONG.
44382
44383 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44384 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44385
39c59c35
TMQMF
443862012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44387
44388 [BZ #13691]
44389 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44390 inptr and inend, rather than using last_ch.
44391
135ffda8
DM
443922012-04-02 David S. Miller <davem@davemloft.net>
44393
44394 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44395 * stdio-common/printf-parse.h (read_int): Change return type to
44396 'int', return -1 on INT_MAX overflow.
44397 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44398 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44399 overflows INT_MAX. Check for overflow of in-format-string precision
44400 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44401 SIZE_MAX not INT_MAX for integer overflow test.
44402 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44403 skip the construct in the format string but do not record anything.
44404 * stdio-common/bug22.c: Adjust to test both width/prevision
44405 INT_MAX overflow as well as total length INT_MAX overflow. Check
44406 explicitly for proper errno values.
44407
228c019e
TS
444082012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44409
302cadd3
TS
44410 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44411 CHAR_MAX.
44412 * string/test-strcmp.c [! WIDE]: Likewise.
44413 * time/tst-mktime2.c: Likewise for INT_MAX.
44414 * string/test-string.h: #include <sys/param.h> for MIN.
44415
228c019e
TS
44416 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44417 * sysdeps/i386/init-first.c (init): Likewise.
44418 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44419 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44420 * sysdeps/sh/init-first.c (init): Likewise.
44421
cfa633f5
UD
444222012-04-01 Ulrich Drepper <drepper@gmail.com>
44423
44424 * po/ru.po: Update from translation team.
d1635ef8 44425 * po/vi.po: Likewise.
cfa633f5 44426
6cd0a5ea
SP
444272012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44428
44429 * resolv/nss_dns/dns-host.c: Merge copyright years.
44430
4b43400f
LD
444312012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44432
44433 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44434 Optimize memcpy with prefetch if
44435 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44436 src, dst pointers have unequal 16 byte alignments.
44437
48c41d04
SP
444382012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44439
44440 [BZ #13928]
44441 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44442 from a CNAME entry and return the minimum ttl for the query.
44443 (gaih_getanswer_slice): Likewise.
44444
b8dc394d
JL
444452012-03-30 Jeff Law <law@redhat.com>
44446
44447 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44448 due to long keys.
44449 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44450 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44451
2f5a5ed0
JL
44452 * resolv/nss_dns/dns-host.c: Update copyright year.
44453
1d39e359
UD
444542012-03-30 Ulrich Drepper <drepper@gmail.com>
44455
c030f70c 44456 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 44457 requests to save a system call. Fix check that all bytes are sent.
c030f70c 44458
1d39e359
UD
44459 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44460 comments for sendmmsg.
44461
444622012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
44463
44464 [BZ #13691]
44465 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44466 with only 1 character between 0x0041 and 0x01b0.
44467 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44468 * wcsmbs/tst-mbsnrtowcs.c: New file.
44469
20fde227
DM
444702012-03-29 David S. Miller <davem@davemloft.net>
44471
44472 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44473 small copies by hand.
44474
984a4237
JL
444752012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44476
44477 [BZ #13761]
57f41c40
AS
44478 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44479 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44480 group memberships.
984a4237 44481
18c9d62b
DM
444822012-03-28 David S. Miller <davem@davemloft.net>
44483
88d85d4f
DM
44484 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44485 that branches into memcpy.
44486 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44487 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44488 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44489 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44490 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44491 bits.
44492 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44493 implementation too.
44494 * sysdeps/sparc/mempcpy.S: New file.
44495
e5aa83e1
DM
44496 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44497 the IFUNC routine in the libc case.
44498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44499
88570753
DM
44500 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44501 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44502 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44503 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44504 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44505 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44506 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44507 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44508
249d7567
DM
44509 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44510 loop to 256 bytes instead of 64 bytes and fix test signedness.
44511
18c9d62b
DM
44512 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44513 * sysdeps/sparc/sparc32/Makefile: rather than here...
44514 * sysdeps/sparc/sparc64/Makefile: and here.
44515
05f3d1f6
UD
445162012-03-28 Ulrich Drepper <drepper@gmail.com>
44517
44518 * malloc/mallocbug.c: Avoid warnings about unused variables.
44519
86ae07a8
JL
445202012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44521
44522 [BZ #13760]
44523 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44524 in the right place. Discard and retry query if response is
44525 larger than input buffer size.
44526
41bf21a1
JM
445272012-03-28 Joseph Myers <joseph@codesourcery.com>
44528
d6270972
JM
44529 [BZ #369]
44530 [BZ #2678]
44531 [BZ #3866]
44532 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44533 x for large integer exponent.
44534 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44535 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44536 sign of result as needed afterwards.
44537 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44538 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44539 result for underflowing pow the same as for overflow.
44540 (__kernel_standard_l): Handle powl overflow and underflow here
44541 rather than calling __kernel_standard.
44542 * math/libm-test.inc (pow_test): Add more tests.
44543
414fca03 44544 [BZ #3868]
41bf21a1
JM
44545 [BZ #13879]
44546 [BZ #13910]
44547 [BZ #13911]
44548 [BZ #13912]
44549 [BZ #13913]
44550 [BZ #13915]
44551 [BZ #13916]
44552 [BZ #13917]
44553 [BZ #13918]
44554 [BZ #13919]
44555 [BZ #13920]
44556 [BZ #13921]
44557 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44558 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44559 (__kernel_standard_l): New function.
44560 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44561 __kernel_standard.
44562 * math/w_acosl.c (__acosl): Likewise.
44563 * math/w_asinl.c (__asinl): Likewise.
44564 * math/w_atan2l.c (__atan2l): Likewise.
44565 * math/w_atanhl.c (__atanhl): Likewise.
44566 * math/w_coshl.c (__coshl): Likewise.
44567 * math/w_exp10l.c (__exp10l): Likewise.
44568 * math/w_exp2l.c (__exp2l): Likewise.
44569 * math/w_fmodl.c (__fmodl): Likewise.
44570 * math/w_hypotl.c (__hypotl): Likewise.
44571 * math/w_j0l.c (__j0l, __y0l): Likewise.
44572 * math/w_j1l.c (__j1l, __y1l): Likewise.
44573 * math/w_jnl.c (__jnl, __ynl): Likewise.
44574 * math/w_lgammal.c (__lgammal): Likewise.
44575 * math/w_log10l.c (__log10l): Likewise.
44576 * math/w_log2l.c (__log2l): Likewise.
44577 * math/w_logl.c (__logl): Likewise.
44578 * math/w_powl.c (__powl): Likewise.
44579 * math/w_remainderl.c (__remainderl): Likewise.
44580 * math/w_scalbl.c (sysv_scalbl): Likewise.
44581 * math/w_sinhl.c (__sinhl): Likewise.
44582 * math/w_sqrtl.c (__sqrtl): Likewise.
44583 * math/w_tgammal.c (__tgammal): Likewise.
44584 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44585 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44586 * math/libm-test.inc (acos_test): Add more tests.
44587 (acosh_test): Likewise.
44588 (asin_test): Likewise.
44589 (atanh_test): Likewise.
44590 (exp_test): Likewise.
44591 (exp10_test): Likewise.
44592 (exp2_test): Likewise.
44593 (expm1_test): Likewise.
44594 (lgamma_test): Likewise.
44595 (log_test): Likewise.
44596 (log10_test): Likewise.
44597 (log1p_test): Likewise.
44598 (log2_test): Likewise.
44599 (pow_test): Do not allow some spurious overflow exceptions.
44600 (sqrt_test): Add more tests.
44601 (tgamma_test): Likewise.
44602 (y0_test): Likewise.
44603 (y1_test): Likewise.
44604 (yn_test): Likewise.
44605
dd62fda6
AB
446062012-03-27 Anton Blanchard <anton@samba.org>
44607
44608 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44609 MAP_HUGETLB.
44610 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44611 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44612 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44613
1e3cdfda
AJ
446142012-03-27 David S. Miller <davem@davemloft.net>
44615
b855ab85
DM
44616 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44617
1e3cdfda
AJ
44618 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44619 have-as-vis3 check.
44620
446212012-03-27 Andreas Jaeger <aj@suse.de>
44622
44623 * sysdeps/x86_64/elf/configure.in: Moved to ...
44624 * sysdeps/x86_64/configure.in: ... here.
44625 * sysdeps/x86_64/elf/start.S: Moved to ...
44626 * sysdeps/x86_64/start.S: ... here.
44627 * sysdeps/x86_64/elf/configure: Delete.
44628
44629 * sysdeps/x86_64/configure.in: Merge contents from
44630 sysdeps/i386/configure.in (without i686 check).
44631
44632 * sysdeps/i386/elf/Versions: Merge into ...
44633 * sysdeps/i386/Versions: ... this.
44634 * sysdeps/i386/elf/Versions: Delete file.
44635 * sysdeps/i386/elf/start.S: Moved to ...
44636 * sysdeps/i386/start.S: ...here.
44637 * sysdeps/i386/elf/configure.in: Merge into...
44638 * sysdeps/i386/configure.in: ...here.
44639 * sysdeps/i386/elf/configure.in: Delete file.
44640 * sysdeps/i386/elf/configure: Delete file.
44641
44642 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44643 * debug/backtracesyms.c: ... here.
44644 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44645 * debug/backtracesymsfd.c: ... here.
44646 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44647 * sysdeps/generic/ifunc-sel.h: ... here.
44648
44649 * sysdeps/unix/i386/start.c: Delete file.
44650 * sysdeps/unix/sparc/start.c: Delete file.
44651 * sysdeps/unix/start.c: Delete file.
44652
44653 * sysdeps/sh/elf/configure.in: Moved to ...
44654 * sysdeps/sh/configure.in: ... here.
44655 * sysdeps/sh/elf/start.S: Moved to ...
44656 * sysdeps/sh/start.S: ... here.
44657 * sysdeps/sh/elf/configure: Delete file.
44658
44659 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44660 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44661 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44662 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44663 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44664 * sysdeps/powerpc/powerpc64/start.S: here.
44665 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44666 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44667 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44668 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44669 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44670
44671 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44672 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44673 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44674 * sysdeps/powerpc/powerpc32/start.S: ... here.
44675 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44676 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44677 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44678
44679 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44680 * sysdeps/powerpc/ifunc-sel.h: ... here.
44681 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44682 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44683
44684 * sysdeps/sparc/elf/configure.in: Moved to ...
44685 * sysdeps/sparc/configure.in: ... here.
44686 * sysdeps/sparc/elf/configure: Delete file.
44687 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44688 * sysdeps/sparc/sparc32/start.S: ... here.
44689 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44690 * sysdeps/sparc/sparc64/start.S: ... here.
44691 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44692 * sysdeps/sparc/sparc32/Makefile: ... this.
44693 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44694 * sysdeps/sparc/sparc64/Makefile: ... this.
44695
44696 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44697 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44698 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44699 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44700 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44701 * sysdeps/s390/s390-32/setjmp.S: ... here.
44702 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44703 * sysdeps/s390/s390-32/configure.in: ... here.
44704 * sysdeps/s390/s390-32/elf/configure: Delete file.
44705 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44706 * sysdeps/s390/s390-32/start.S: ... here.
44707
44708 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44709 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44710 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44711 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44712 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44713 * sysdeps/s390/s390-64/setjmp.S: ... here.
44714 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44715 * sysdeps/s390/s390-64/configure.in: ... here
44716 * sysdeps/s390/s390-64/elf/configure: Delete file.
44717 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44718 * sysdeps/s390/s390-64/start.S: ... here.
44719 * sysdeps/s390/s390-64/elf/configure: Delete.
44720
44721 * configure.in: Remove support for elf directories in sysdeps.
44722
44723 * configure: Regenerated.
44724 * sysdeps/i386/configure: Regenerated.
44725 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44726 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44727 * sysdeps/s390/s390-32/configure: Regenerated.
44728 * sysdeps/s390/s390-64/configure: Regenerated.
44729 * sysdeps/sh/configure: Regenerated.
44730 * sysdeps/sparc/configure: Regenerated.
44731 * sysdeps/x86_64/configure: Regenerated.
44732
a3f61311
AS
447332012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44734
c876e002
AS
44735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44736
a3f61311
AS
44737 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44738 denormal result into account.
44739
ac4c54f0
RM
447402012-03-25 Roland McGrath <roland@hack.frob.com>
44741
44742 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44743 Reported by Allan McRae <allan@archlinux.org>.
44744
6a9b9c02
JL
447452012-03-23 Jeff Law <law@redhat.com>
44746
44747 * nss/getnssent.c (__nss_getent): Fix typo.
44748
4c42a0c1
DM
447492012-03-23 David S. Miller <davem@davemloft.net>
44750
44751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44752
1532c7ac
L
447532012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44754
44755 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44756 to pad to uint64_t for each field.
44757 (dl_tls_index): Replace unsigned long with uint64_t.
44758
3ff42526
PP
447592012-03-23 Daniel Jacobowitz <dmj@google.com>
44760 Paul Pluzhnikov <ppluzhnikov@google.com>
44761
44762 [BZ #6528]
44763 * grp/Makefile (otherlibs): Don't set it.
44764 * inet/Makefile (otherlibs): Likewise.
44765 * login/Makefile (otherlibs): Likewise.
44766 * nscd/Makefile (otherlibs): Likewise.
44767 * posix/Makefile (otherlibs): Likewise.
44768 * pwd/Makefile (otherlibs): Likewise.
44769 * rt/Makefile (otherlibs): Likewise.
44770 * sunrpc/Makefile (otherlibs): Likewise.
44771 * nss/Makefile (otherlibs): Likewise.
44772 Add libnss_files to routines and static-only-routines.
44773 ($(objpfx)getent): Remove rule.
44774 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44775 static-only-routines.
44776
7c69cd14
JM
447772012-03-22 Joseph Myers <joseph@codesourcery.com>
44778
44779 [BZ #13892]
44780 * math/s_cexp.c: Include <float.h>.
44781 (__cexp): Handle exp result overflowing not necessarily
44782 overflowing both real and imaginary parts of result.
44783 * math/s_cexpf.c: Likewise.
44784 * math/s_cexpl.c: Likewise.
44785 * math/libm-test.inc (cexp_test): Add more tests.
44786 * sysdeps/i386/fpu/libm-test-ulps: Update.
44787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44788
81b035fe
L
447892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44790
44791 * include/link.h (ELFW): New macro.
44792 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44793 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44794
1da7940c
L
447952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44796
44797 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44798 with uint64_t.
44799
b749dbb9
L
448002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44801
44802 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44803 declaration.
44804 (struct La_x32_retval): Likewise.
44805
2ff87f3f
L
448062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44807
44808 * sysdeps/x86_64/preconfigure.in: New file.
44809 * sysdeps/x86_64/preconfigure: New generated file.
44810
c0df8e69
JM
448112012-03-22 Joseph Myers <joseph@codesourcery.com>
44812
48e44791
JM
44813 [BZ #13824]
44814 * math/e_exp2l.c: Include <float.h>.
44815 (__ieee754_exp2l): Handle overflow and underflow cases
44816 separately. Only pass fractional part of argument to
44817 __ieee754_expl.
44818 * math/libm-test.inc (exp2_test): Add more tests.
44819
c0df8e69
JM
44820 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44821 negating x to take absolute value.
44822 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44823 Likewise.
44824 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44825 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44826 Likewise.
44827 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44828 computing low part if x was negated.
44829 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44830
c8e43ba7
L
448312012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44832
44833 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44834 la_x32_gnu_pltexit.
44835 (pltexit): Cast int_retval to ptrdiff_t.
44836 * elf/tst-auditmod3b.c: Likewise.
44837 * elf/tst-auditmod4b.c: Likewise.
44838 * elf/tst-auditmod5b.c: Likewise.
44839 * elf/tst-auditmod6b.c: Likewise.
44840 * elf/tst-auditmod6c.c: Likewise.
44841 * elf/tst-auditmod7b.c: Likewise.
44842
44843 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44844 and x32_gnu_pltexit.
44845
44846 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44847 __ELF_NATIVE_CLASS.
44848 (La_x32_regs): New macro.
44849 (La_x32_retval): Likewise.
44850 (la_x32_gnu_pltenter): New function prototype.
44851 (la_x32_gnu_pltexit): Likewise.
44852
7998fa78
AS
448532012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44854
dcb33988
AS
44855 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44856 exponent.
44857
233fc563
AS
44858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44859
7998fa78
AS
44860 * configure.in (libc_cv_cc_nofma): Check for option to disable
44861 generation of FMA instructions.
44862 * configure: Regenerate.
44863 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44864 * sysdeps/ieee754/dbl-64/Makefile: New file.
44865 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44866 Remove brandred-fma4.
44867 (CFLAGS-brandred-fma4.c): Remove.
44868 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44869 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44870 define.
44871 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44872 define.
44873
8e95c99a
L
448742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44875
44876 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44877 LLONG_MAX != LONG_MAX.
44878 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44879 (_fitoa_word): Likewise.
44880 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44881 LLONG_MAX != LONG_MAX.
44882 * stdio-common/_itowa.h: Include <_itoa.h>.
44883 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44884 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44885 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44886 only if not defined.
44887 (_ITOA_WORD_TYPE): Likewise.
44888 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44889 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44890
6f4db457
DM
448912012-03-21 David S. Miller <davem@davemloft.net>
44892
44893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44894
7785fe5a
L
448952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44896
44897 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44898 of x86_64 when setting libc_cv_slibdir, libdir and
44899 libc_cv_localedir.
44900 * sysdeps/unix/sysv/linux/configure: Regenerated.
44901
4535cd55
JM
449022012-03-21 Joseph Myers <joseph@codesourcery.com>
44903
44904 * manual/lang.texi (Old Varargs): Remove section.
44905 (How Variadic): Update menu.
44906 (va_start): Do not mention varargs.h.
44907
17228132
TS
449082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44909 Joseph Myers <joseph@codesourcery.com>
44910
44911 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44912 link test.
44913 * configure: Regenerated.
44914
8149f976
TS
449152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44916
05f3d1f6
UD
44917 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44918 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44919 conformtest.pl
8149f976 44920
1a4ac776
JM
449212012-03-21 Joseph Myers <joseph@codesourcery.com>
44922
be22ce65
JM
44923 * NOTES: Remove.
44924 * Makefile (files-for-dist): Remove NOTES.
44925 (NOTES): Remove rule.
44926 * README: Don't refer to NOTES.
44927 * manual/creature.texi: Don't include macros.texi.
44928 * manual/intro.texi (creature.texi): Remove comment referring to
44929 NOTES.
44930
40b601fb
JM
44931 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44932 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44933 * configure: Regenerated.
44934 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44935 LIBC_TRY_CC_OPTION.
44936 (libc_cv_as_i686): Likewise.
44937 (libc_cv_cc_avx): Likewise.
44938 (libc_cv_cc_sse2avx): Likewise.
44939 (libc_cv_cc_fma4): Likewise.
44940 (libc_cv_cc_novzeroupper): Likewise.
44941 * sysdeps/i386/configure: Regenerated.
44942
1a4ac776
JM
44943 [BZ #13883]
44944 * sysdeps/i386/fpu/s_cexp.S: Remove.
44945 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44946 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44947 * math/libm-test.inc (cexp_test): Add more tests.
44948 * sysdeps/i386/fpu/libm-test-ulps: Update.
44949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44950
a458e7fe
AM
449512012-03-21 Allan McRae <allan@archlinux.org>
44952
44953 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44954
0cb7efc5
JM
449552012-03-21 Joseph Myers <joseph@codesourcery.com>
44956
44957 [BZ #13871]
44958 * math/w_exp2.c: Do not include <float.h>.
44959 (o_threshold, u_threshold): Remove.
44960 (__exp2): Calculate result before checking finiteness and calling
44961 __kernel_standard.
44962 * math/w_exp2f.c: Likewise.
44963 * math/w_exp2l.c: Likewise.
44964 * math/libm-test.inc (exp2_test): Require overflow exception for
44965 1e6 input.
2460d3aa
JM
44966
44967 [BZ #3866]
44968 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44969 range of signed 64-bit integers before using fistpll. Remove
44970 checks for whether integers fit in mantissa bits.
44971 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44972 the range of signed 32-bit integers before using fistpl. Remove
44973 checks for whether integers fit in mantissa bits.
44974 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44975 (__ieee754_powl): Test for y outside the range of signed 64-bit
44976 integers before using fistpll. Reduce 64-bit values to 63-bit
44977 ones as needed.
44978 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44979 divide-by-zero is raised for zero to large negative powers.
44980 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44981 (__ieee754_powl): Test for y outside the range of signed 64-bit
44982 integers before using fistpll. Reduce 64-bit values to 63-bit
44983 ones as needed.
44984 * math/libm-test.inc (pow_test): Add more tests.
44985
eb96ffb0
L
449862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44987
44988 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44989 <stdio-common/_itoa.h>.
44990 * debug/segfault.c: Likewise.
44991 * elf/dl-cache.c: Likewise.
44992 * elf/dl-minimal.c: Likewise.
44993 * elf/dl-misc.c: Likewise.
44994 * elf/dl-sysdep.c: Likewise.
44995 * elf/dl-version.c: Likewise.
44996 * elf/rtld.c: Likewise.
44997 * hurd/hurdsock.c: Likewise.
44998 * hurd/lookup-retry.c: Likewise.
44999 * malloc/malloc.c: Likewise.
45000 * malloc/mtrace.c: Likewise.
45001 * nscd/nscd_getgr_r.c: Likewise.
45002 * nscd/nscd_getpw_r.c: Likewise.
45003 * nscd/nscd_getserv_r.c: Likewise.
45004 * posix/getopt_init.c: Likewise.
45005 * posix/wordexp.c: Likewise.
45006 * stdio-common/_itoa.c: Likewise.
45007 * stdio-common/printf_fphex.c: Likewise.
45008 * stdio-common/vfprintf.c: Likewise.
45009 * string/_strerror.c: Likewise.
45010 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45011 * sysdeps/i386/i686/hp-timing.h: Likewise.
45012 * sysdeps/mach/_strerror.c: Likewise.
45013 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45014 * sysdeps/mach/hurd/sethostid.c: Likewise.
45015 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45016 * sysdeps/mach/xpg-strerror.c: Likewise.
45017 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45018 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45019 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45020 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45021 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45022 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45023 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45024 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45025 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45026 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45027 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45028 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45029 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45030 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45031 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45032 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45033 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45034 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45035 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45036 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45037 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45038
45039 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45040
45041 * stdio-common/_itoa.h: Moved to ...
45042 * sysdeps/generic/_itoa.h: Here.
45043
45044 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45045
45046 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45047 instead of "_itoa.h" and "_itowa.h".
45048 * stdio-common/vfprintf.: Likewise.
45049
d1af992d
L
450502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45051
45052 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45053 <bits/wordsize.h>.
45054 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45055 (__signbit): Likwise.
45056 (llrintf): Likwise.
45057 (llrint): Likwise.
45058
114883e0
L
450592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45060
45061 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45062 __WORDSIZE != 64.
45063
c135cc1b
JM
450642012-03-20 Joseph Myers <joseph@codesourcery.com>
45065
45066 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45067 OVERFLOW_EXCEPTION_OK.
45068 * math/libm-test.inc ("Philosophy"): Update comment about
45069 exception testing.
45070 (OVERFLOW_EXCEPTION): Define.
45071 (OVERFLOW_EXCEPTION_OK): Likewise.
45072 (INVALID_EXCEPTION_OK): Renumber.
45073 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45074 (IGNORE_ZERO_INF_SIGN): Likewise.
45075 (test_exceptions): Handle FE_OVERFLOW.
45076 (exp10_test): Expect overflow exceptions.
45077 (exp2_test): Likewise.
45078 (expm1_test): Likewise.
45079 (nextafter_test): Likewise.
45080 (pow_test): Likewise.
45081 (scalbn_test): Likewise.
45082 (scalbln_test): Likewise.
45083
95443d88
L
450842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45085
45086 * sysdeps/x86_64/bits/atomic.h
45087 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45088 64bit integer.
45089 (atomic_exchange_acq): Likewise.
45090 (__arch_exchange_and_add_body): Likewise.
45091 (__arch_add_body): Likewise.
45092 (atomic_add_negative): Likewise.
45093 (atomic_add_zero): Likewise.
45094
490df6c4
L
450952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45096
c2722551 45097 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
45098 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45099
5e52b189
L
451002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45101
45102 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45103 Check __x86_64__ instead of __WORDSIZE.
45104
a9879d4c
L
451052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45106
45107 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45108
5df98260
DM
451092012-03-19 David S. Miller <davem@davemloft.net>
45110
e1497744
DM
45111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45112
5df98260
DM
45113 * sysdeps/sparc/fpu/fenv_private.h: New file.
45114 * sysdeps/sparc/fpu/math_private.h: Use it.
45115 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45116 Remove.
57f41c40 45117 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
45118 (libc_feholdexcept_setroundl): Remove.
45119 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45120 Remove.
45121 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45122 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45123
b4c35121
L
451242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45125
45126 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45127 int64_t instead of long int.
45128 (INSERT_WORDS64): Likwise.
45129
56965fd7
L
451302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45131
45132 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45133 _Unwind_GetCFA return to _Unwind_Ptr first.
45134
83d1aec8
JM
451352012-03-19 Joseph Myers <joseph@codesourcery.com>
45136
1897ad44
JM
45137 [BZ #13629]
45138 * math/s_clog.c: Include <float.h>.
45139 (__clog): Scale large or subnormal inputs.
45140 * math/s_clogf.c: Likewise.
45141 * math/s_clogl.c: Likewise.
45142 * math/s_clog10.c: Include <float.h>.
45143 (M_LOG10_2): Define.
45144 (__clog10): Scale large or subnormal inputs.
45145 * math/s_clog10f.c: Likewise.
45146 * math/s_clog10l.c: Likewise.
45147 * math/libm-test.inc (clog_test): Add more tests.
45148 (clog10_test): Likewise.
45149 * sysdeps/i386/fpu/libm-test-ulps: Update.
45150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45151
7726d6a9
JM
45152 [BZ #11451]
45153 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45154 x and y.
45155 * math/libm-test.inc (atan2_test): Add another test.
45156
83d1aec8
JM
45157 * Makerules (common-objdir-compile): Remove.
45158 * sysdeps/unix/Makefile (config-generated): Do not add
45159 $(unix-generated) to variable.
45160 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45161 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45162 Remove rule.
45163 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45164 Likewise.
45165 [generic bits/local_lim.h] (before-compile): Do not append to
45166 variable.
45167 [generic bits/local_lim.h] (common-generated): Likewise.
45168 [generic sys/param.h] (before-compile): Do not append to variable.
45169 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45170 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45171 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45172 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45173 include.
45174 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45175 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45176 [generic sys/param.h] ($(addprefix
45177 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45178 [generic sys/param.h] (common-generated): Do not append to
45179 variable.
45180 [generic sys/param.h] (sysdep_headers): Likewise.
45181 [generic bits/errno.h] (before-compile): Do not append to
45182 variable.
45183 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45184 rule.
45185 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45186 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45187 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45188 [generic bits/errno.h] (common-generated): Do not append to
45189 variable.
45190 [generic bits/ioctls.h] (before-compile): Do not append to
45191 variable.
45192 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45193 rule.
45194 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45195 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45196 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45197 rule.
45198 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45199 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45200 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45201 [generic bits/ioctls.h] (common-generated): Do not append to
45202 variable.
45203 [generic sys/syscall.h] (syscall.h): Remove variable.
45204 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45205 rule.
45206 [generic sys/syscall.h] (before-compile): Do not append to
45207 variable.
45208 [generic sys/syscall.h] (common-generated): Likewise.
45209 * sysdeps/unix/errnos-tmpl.c: Remove file.
45210 * sysdeps/unix/errnos.awk: Likewise.
45211 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45212 * sysdeps/unix/ioctls.awk: Likewise.
45213 * sysdeps/unix/mk-local_lim.c: Likewise.
45214 * sysdeps/unix/snarf-ioctls: Likewise.
45215
4851a949
RH
452162012-03-19 Richard Henderson <rth@twiddle.net>
45217
bd37f2ee
RH
45218 * sysdeps/i386/fpu/fenv_private.h: New file.
45219 * sysdeps/i386/fpu/math_private.h: Use it.
45220 (math_opt_barrier, math_force_eval): Remove.
45221 (libc_feholdexcept_setround_53bit): Remove.
45222 (libc_feupdateenv_53bit): Remove.
45223 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45224 (math_opt_barrier, math_force_eval): Remove.
45225 (libc_feholdexcept): Remove.
45226 (libc_feholdexcept_setround): Remove.
45227 (libc_fetestexcept, libc_fesetenv): Remove.
45228 (libc_feupdateenv_test): Remove.
45229 (libc_feupdateenv, libc_feholdsetround): Remove.
45230 (libc_feresetround): Remove.
45231
d0adc922
RH
45232 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45233 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45234
0fe0f1f8
RH
45235 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45236 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45237 (libc_feupdateenv_testl): New.
45238 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45239 (libc_feupdateenv_testf): New.
45240 (libc_feupdateenv): Use libc_feupdateenv_test.
45241 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45242 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45243
eb92c487
RH
45244 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45245 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45246 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45247 (libc_feresetround_noex): New.
45248 (libc_feresetround_noexf): New.
45249 (libc_feresetround_noexl): New.
45250 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45251 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45252 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45253 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45254 SET_RESTORE_ROUND.
45255 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45256 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45257 (__cos): Likewise.
45258 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45259 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45260 SET_RESTORE_ROUND_NOEX.
45261 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45262 SET_RESTORE_ROUND_NOEXF.
45263 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45264 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45265 (libc_feholdsetroundf): New.
45266 (libc_feresetround, libc_feresetroundf): New.
45267
7d2e8012
RH
45268 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45269 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45270 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45271
b4dabbb4
RH
45272 * sysdeps/generic/math_private.h: Include <fenv.h>.
45273 (default_libc_feholdexcept): New.
45274 (default_libc_feholdexcept_setround): New.
45275 (default_libc_fesetenv, default_libc_feupdateenv): New.
45276 (libc_feholdexcept): Only define if undefined.
45277 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45278 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45279 (libc_feholdexcept_setroundl): Likewise.
45280 (libc_feholdexcept_setround_53bit): Likewise.
45281 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45282 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45283 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45284 (libc_feupdateenv_53bit): Likewise.
45285 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45286 (libc_feholdexcept): Convert from macro to inline function.
45287 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45288 (libc_fesetenv, libc_feupdateenv): Likewise.
45289
4851a949
RH
45290 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45291 not previously defined.
45292 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45293 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45294 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45295 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45296 * sysdeps/ieee754/flt-32/math_private.h: New file.
45297 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45298 math_private.h below SET_FLOAT_WORD.
45299 (__isnan, __isinf_ns, __finite): Remove.
45300 (__isnanf, __isinf_nsf, __finitef): Remove.
45301
e79d442e
AS
453022012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45303
45304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45305
90b80344
DM
453062012-03-17 David S. Miller <davem@davemloft.net>
45307
45308 [BZ #6471]
45309 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45310 for 2.16.
45311
edc21804
DM
453122012-03-16 David S. Miller <davem@davemloft.net>
45313
77e927af
DM
45314 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45315 warnings.
45316
374976dd
DM
45317 [BZ #6471]
45318 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45319 properly.
45320 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45321 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45322 sysdep_routines when subdir is sysvipc.
45323 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45324 __getshmlba helper.
45325
edc21804
DM
45326 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45327
473c3ef3
L
453282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45329
45330 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45331 [__LP64__].
45332
eb0f39b6
L
453332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45334
45335 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45336 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45337 (__lround): Renamed to ...
45338 (__llround): This. Replace long int with long long int.
45339 Define lround functions as aliases of llround functions.
45340 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45341
6b6cd74b
L
453422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45343
45344 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45345 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45346 adresses to uintptr_t. Replace "long int" and "unsigned long
45347 int" with "greg_t" on va_arg.
45348
f1a77b01
L
453492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45350
45351 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45352 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45353
45354 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45355 Move e_machine check before EI_CLASS check. Handle x32
45356 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45357 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45358 SKIP_EM_IA_64 and include
45359 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45360
45361 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45362 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45363 (add_system_dir): New macro.
45364
45365 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45366 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45367
11b90b9f
JM
453682012-03-16 Joseph Myers <joseph@codesourcery.com>
45369
c36e1d23
JM
45370 [BZ #2551]
45371 [BZ #2552]
45372 [BZ #2553]
45373 [BZ #2554]
45374 [BZ #2562]
45375 [BZ #2563]
45376 [BZ #2565]
45377 [BZ #2566]
45378 [BZ #2576]
45379 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45380 (y0): Likewise.
45381 * math/w_j0f.c (j0f): Likewise.
45382 (y0f): Likewise.
45383 * math/w_j0l.c (__j0l): Likewise.
45384 (__y0l): Likewise.
45385 * math/w_j1.c (j1): Likewise.
45386 (y1): Likewise.
45387 * math/w_j1f.c (j1f): Likewise.
45388 (y1f): Likewise.
45389 * math/w_j1l.c (__j1l): Likewise.
45390 (__y1l): Likewise.
45391 * math/w_jn.c (jn): Likewise.
45392 (yn): Likewise.
45393 * math/w_jnf.c (jnf): Likewise.
45394 (ynf): Likewise.
45395 * math/w_jnl.c (__jnl): Likewise.
45396 (__ynl): Likewise.
45397 * math/libm-test.inc (j0_test): Add more tests.
45398 (j1_test): Likewise.
45399 (jn_test): Likewise. Add trailing semicolon to existing test.
45400 (y0_test): Likewise.
45401 (y1_test): Likewise.
45402 * sysdeps/i386/fpu/libm-test-ulps: Update.
45403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45404
11b90b9f
JM
45405 [BZ #13851]
45406 [BZ #13854]
45407 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45408 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45409 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45410 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45411 (__tanl): Set errno for infinite argument.
45412 * sysdeps/i386/fpu/mptan.c: Remove.
45413 * sysdeps/i386/fpu/s_tan.S: Likewise.
45414 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45415 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45416 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45417 * math/libm-test.inc (tan_test): Add more tests and enable more
45418 tests for double and long double.
45419 * sysdeps/i386/fpu/libm-test-ulps: Update.
45420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45421
6a1bd2a1
JK
454222012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45423
45424 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45425 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45426
10a803e0
RM
454272012-03-16 Roland McGrath <roland@hack.frob.com>
45428
45429 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45430 * configure.in: Use it for both main tree and add-ons.
45431 * configure: Regenerated.
45432
f196c7f7
L
454332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45434
45435 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45436
8848d99d
JM
454372012-03-16 Joseph Myers <joseph@codesourcery.com>
45438
96cbe7f4
JM
45439 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45440 in comment.
45441
8848d99d
JM
45442 [BZ #13851]
45443 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45444 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45445 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45446 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45447 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45448 infinite argument.
45449 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45450 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45451 != 0 for prec == 2.
45452 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45453 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45454 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45455 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45456 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45457 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45458 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45459 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45460 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45461 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45462 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45463 * math/libm-test.inc (cos_test): Add more tests and enable more
45464 tests for long double.
45465 (sin_test): Likewise.
45466 (sincos_test): Likewise.
45467 * sysdeps/i386/fpu/libm-test-ulps: Update.
45468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45469
dd7f4703
DM
454702012-03-16 David S. Miller <davem@davemloft.net>
45471
45472 * sysdeps/sparc/fpu/math_private.h: New file.
45473
006f1daa
DM
454742012-03-15 David S. Miller <davem@davemloft.net>
45475
c0c83bc8
DM
45476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45477 file.
e6a62e18 45478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
45479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45480 file.
e6a62e18
DM
45481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45482 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45486 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45487 sysdep routines.
45488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45489
88cb87d9
DM
45490 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45491 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45492
006f1daa 45493 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
45494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45495 sparc-ifunc.h
006f1daa 45496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
45497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45498 Likewise.
45499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45500 Likewise.
006f1daa
DM
45501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
45504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45505 Likewise.
006f1daa
DM
45506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
45510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45511 Likewise.
45512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45513 Likewise.
006f1daa
DM
45514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45518 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45519 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45520 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45521 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45522 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45532 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45533 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45534 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45535 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45536 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45537 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45538
11e0098e
AS
455392012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45540
45541 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45542 scaling.
45543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45544
e85b09d0
AJ
455452012-03-15 Andreas Jaeger <aj@suse.de>
45546
45547 [BZ #13852]
45548 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45549 ieee754/flt-32 implementation for sin, cos and sincos.
45550 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45551 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45552 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45553 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45554 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45555 ieee754/flt-32 implementation for tan.
45556
45557 * math/libm-test.inc (cos_test): Enable some large input tests for
45558 float as well
45559 (sin_test): Likewise.
45560 (sincos_test): Likewise.
45561 (tan_test): Add tests for large input.
45562
45563 * sysdeps/i386/fpu/libm-test-ulps: Update.
45564
81c64153
AJ
455652012-03-15 Andreas Jaeger <aj@suse.de>
45566
45567 [BZ #13658]
45568 * math/libm-test.inc (cos_test): Add more test cases.
45569 (sin_test): Likewise.
45570 (sincos_test): Likewise.
45571
7bbfa5c6
AJ
455722012-03-15 Andreas Jaeger <aj@suse.de>
45573
45574 [BZ #13837]
45575 * math/libm-test.inc (cos_test): Add a test case for large input
45576 value.
45577 (sin_test): Likewise.
45578 (sincos_test): Likewise.
45579
57f41c40
AS
455802012-03-15 Andreas Jaeger <aj@suse.de>
45581 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
45582
45583 [BZ #13658]
0671f479 45584 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
45585 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45586 * sysdeps/i386/fpu/branred.c: Likewise.
45587 * sysdeps/i386/fpu/dosincos.c: Likewise.
45588 * sysdeps/i386/fpu/mpa.c: Likewise.
45589 * sysdeps/i386/fpu/s_cos.S: Likewise.
45590 * sysdeps/i386/fpu/s_sin.S: Likewise.
45591 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45592 * sysdeps/i386/fpu/sincos32.c: Likewise.
45593
45594 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45595 Define.
45596 (libc_feupdateenv_53bit): Define.
45597 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45598 Define.
45599 (libc_feupdateenv_53bit): Define.
45600
45601 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45602 53 bit (without extend i386 double precision).
45603
45604 * math/libm-test.inc (sincos_test): Add tests for large input.
45605 (sin): Likewise.
45606 (cos): Likewise.
45607
45608 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45609
9cad04ea
AS
456102012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45611
45612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45613
f7062b9a
DM
456142012-03-15 David S. Miller <davem@davemloft.net>
45615
45616 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45617 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45618 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45619 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
45631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45632 file.
f7062b9a 45633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
45634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45635 file.
f7062b9a 45636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
45637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45638 file.
f7062b9a 45639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
45640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45641 file.
f7062b9a
DM
45642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45643 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45644 fmin/fmax sysdep routines.
45645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45646
7bd951ff
DM
456472012-03-14 David S. Miller <davem@davemloft.net>
45648
559398ab
DM
45649 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45650 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45651 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45652 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45653 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45654 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45655 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45656 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45657 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45658 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45659 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45660 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45661 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45662 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45663 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45664 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45665 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45666 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45669 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45670 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45671 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45672 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45673 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45674 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45675 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45676 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
45677 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45678 routines.
45679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45680 file.
559398ab 45681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
45682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45683 file.
559398ab 45684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
45685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45686 file.
559398ab 45687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
45688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45689 file.
559398ab 45690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
45691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45692 file.
559398ab 45693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
45694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45695 file.
45696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45697 file.
45698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45699 file.
45700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45701 file.
45702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45703 New file.
45704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45705 file.
45706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45707 file.
559398ab 45708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
45709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45710 file.
559398ab 45711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
45712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45713 file.
559398ab 45714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
45715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45716 file.
559398ab 45717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
45718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45719 VIS3 routines.
559398ab
DM
45720
45721 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45722 New file.
45723
5a1c1e32
DM
45724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45725
eae47a36
DM
45726 * sysdeps/sparc/configure.in: New file.
45727 * sysdeps/sparc/configure: Generate.
45728 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45729 * configure: Regenerate.
45730 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45731 * config.make.in (have-as-vis3): New.
45732 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45733 available use -Av9d instead of -Av9a.
45734 * sysdeps/sparc/sparc64/Makefile: Likewise.
45735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
45736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45737 New file.
45738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45739 file.
45740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45741 New file.
45742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45743 file.
eae47a36
DM
45744 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45745 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45746 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45747 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45748 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45749
c0c83bc8
DM
45750 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45751 fzeros/fnegs to load 0x80000000 into a float register instead of
45752 using the stack.
7bd951ff
DM
45753 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45754
bd951ccb
JM
457552012-03-14 Joseph Myers <joseph@codesourcery.com>
45756
45757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45758 bits/syscall.h.
45759 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45760 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45761 ($(inst_includedir)/bits/syscall.h): Remove rule.
45762 ($(objpfx)bits/syscall.d): Include instead of
45763 $(objpfx)syscall-list.d.
45764 (generated): Change syscall-list.h and syscall-list.d to
45765 bits/syscall.h and bits/syscall.d.
45766
bb4e6db2
RM
457672012-03-14 Roland McGrath <roland@hack.frob.com>
45768
45769 [BZ #13846]
45770 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45771
aa4a2ae1
JM
457722012-03-14 Joseph Myers <joseph@codesourcery.com>
45773
e456826d
JM
45774 [BZ #13841]
45775 * math/s_csqrt.c: Include <float.h>.
45776 (__csqrt): Scale large or subnormal inputs.
45777 * math/s_csqrtf.c: Likewise.
45778 * math/s_csqrtl.c: Likewise.
45779 * math/libm-test.inc (csqrt_test): Add more tests.
45780 * sysdeps/i386/fpu/libm-test-ulps: Update.
45781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45782
aa4a2ae1
JM
45783 [BZ #13840]
45784 * math/libm-test.inc (hypot_test): Add more tests.
45785
7c10fd35
DM
457862012-03-13 David S. Miller <davem@davemloft.net>
45787
45788 [BZ #13840]
45789 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45790 double-precision for the calculation instead of scaling.
45791
f453b98b
JM
457922012-03-13 Joseph Myers <joseph@codesourcery.com>
45793
45794 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45795 manipulate bits before adding and subtracting TWO52[sx].
45796 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45797 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45798 Likewise.
45799 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45800
09a3453f
DM
458012012-03-13 David S. Miller <davem@davemloft.net>
45802
8e59da90
DM
45803 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45804 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45805 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45806 rtld-global-offsets.h
45807 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45808
2a8ab7f2
DM
45809 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45810 large parameters.
45811
10f62770
DM
45812 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45813
5f0bdb18
DM
45814 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45815 'err' in the ifdef scope in which it is actually used.
45816
09a3453f
DM
45817 * nss/nss_db/db-init.c: Include string.h
45818
b4b2eb5e
DM
458192012-03-12 David S. Miller <davem@davemloft.net>
45820
98bb2f1c
DM
45821 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45822 masking out of the most significant byte of random value used.
45823 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45824 Fix coding style in previous change.
45825
b4b2eb5e
DM
45826 * sysdeps/unix/sysv/linux/kernel-features.h
45827 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45828 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45829 expression.
45830 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45831 later.
45832
6e226b09
DM
458332012-03-11 David S. Miller <davem@davemloft.net>
45834
a1bcbd40
DM
45835 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45836 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45837 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45838 for 'resultvar' otherwise things get truncated on 64-bit.
45839
cb9d6174
DM
45840 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45841 Fix masking out of the most significant byte of random value used.
45842
6e226b09
DM
45843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45844
058c132d
AS
458452012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45846
45847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45848
2d2cd515
DM
458492012-03-09 David S. Miller <davem@davemloft.net>
45850
45851 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45852 variables with appropriate CPP guards.
57f41c40
AS
45853 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45854 from the frame pointer, not the stack pointer. Correct layout
45855 comments. Fix test on resulting framesize and the management of
45856 the outregs buffer for pltexit. Preserve floating point return
45857 values across _dl_call_pltexit call.
2d2cd515
DM
45858 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45859 framesize and the management of the outregs buffer for pltexit.
45860 Preserve floating point return values across _dl_call_pltexit
45861 call.
57f41c40
AS
45862 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45863 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45864 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
45865 (print_exit): Fix format string for return register value.
45866
9a07f9d0
JM
458672012-03-10 Joseph Myers <joseph@codesourcery.com>
45868
45869 * sunrpc/Makefile (others): Add rpcgen.
45870 ($(objpfx)rpcgen): Remove special build rule and dependency on
45871 libc.
45872 * sunrpc/rpcgen.c: New file.
45873
547b5e30
PE
458742012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45875
c524201a
PE
45876 [BZ #13673]
45877 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45878 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45879 * sysdeps/i386/crti.S: Likewise.
45880 * sysdeps/i386/crtn.S: Likewise.
45881 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45882 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45883 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45884 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45885 * sysdeps/sh/crti.S: Likewise.
45886 * sysdeps/sh/crtn.S: Likewise.
45887 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45888
7b6235f2
PE
45889 [BZ #13673]
45890 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45891 with URL.
45892 * locale/programs/locfile-kw.gperf: Likewise.
45893 * locale/programs/charmap-kw.h: Regenerated.
45894 * locale/programs/locfile-kw.h: Likewise.
45895
547b5e30
PE
45896 [BZ #13673]
45897 * intl/plural.y: Replace FSF snail mail address with URL.
45898 * intl/plural.c: Regenerated.
45899
5f0a5dae
RH
459002012-03-09 Richard Henderson <rth@twiddle.net>
45901
45902 * include/math_private.h: Remove file.
45903 * math/math_private.h: Move file ...
45904 * sysdeps/generic/math_private.h: ... here.
45905
b8c03620
RH
45906 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45907 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45908 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45909
4e234f5d 45910 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
45911 and <math_private.h>.
45912 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45913 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45914 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45915 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45916 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45917 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45918 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45919 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45920 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45921 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45923 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45924 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45925 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45926 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45927 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45928 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45929 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45930 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45931 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45932 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45933 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45934 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45935 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45936 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45937 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45938 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45939 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45940 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45941 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45942 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45943 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45944 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45945 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45946 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45947 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45948 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45949 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45950 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45951 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45952 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45953 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45954 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45955 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45956 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45957 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45958 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45959 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45960 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45961 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45962 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45963 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45964 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45965 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45966 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45967 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45968 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45969 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45970 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45971 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45972 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45973 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45974 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45975 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45976 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45977 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45978 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45979 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45980 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45981 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45982 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45983 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45984 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45985 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45986 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45987 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45988 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45989 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45990 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45991 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45992 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45993 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45994 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45995 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45996 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45997 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45998 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45999 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46000 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46001 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46002 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46003 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46004 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46005 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46006 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46007 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46008 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46009 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46010 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46011 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46012 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46013 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46014 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46015 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46016 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46017 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46018 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46019 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46020 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46021 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46022 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46023 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46024 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46025 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46026 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46027 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46028 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46029 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46030 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46031 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46032 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46033 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46034 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46035 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46036 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46037 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46038 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46039 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46040 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46041 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46042 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46043 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46044 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46045 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46046 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46047 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46048 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46049 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46050 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46051 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46052 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46053 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46054 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46055 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46056 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46057 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46058 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46059 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46060 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46061 * sysdeps/ieee754/k_standard.c: Likewise.
46062 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46063 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46064 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46065 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46066 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46067 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46068 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46069 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46070 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46071 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46072 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46073 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46074 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46075 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46076 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46077 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46078 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46079 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46080 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46081 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46082 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46083 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46084 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46085 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46086 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46087 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46088 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46089 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46090 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46091 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46092 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46093 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46094 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46095 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46096 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46097 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46098 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46099 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46100 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46101 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46102 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46103 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46104 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46105 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46106 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46107 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46108 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46109 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46110 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46111 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46112 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46113 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46114 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46115 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46116 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46117 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46118 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46119 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46120 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46121 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46122 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46123 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46124 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46125 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46126 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46127 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46128 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46129 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46130 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46131 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46132 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46133 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46134 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46135 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46136 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46137 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46138 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46139 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46140 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46141 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46142 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46143 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46144 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46145 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46146 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46147 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46148 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46149 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46150 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46151 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46152 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46153 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46154 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46155 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46156 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46157 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46158 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46159 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46160 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46161 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46162 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46163 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46164 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46165 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46166 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46167 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46168 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46169 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46170 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46171 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46172 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46173 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46174 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46175 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46176 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46177 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46178 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46179 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46180 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46181 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46182 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46183 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46184 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46185 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46186 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46187 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46188 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46189 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46190 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46191 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46192 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46193 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46194 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46195 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46196 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46197 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46198 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46199 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46200 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46201 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46202 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46203 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46204 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46205 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46206 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46207 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46208 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46209 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46210 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46211 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46212 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46213 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46214 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46215 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46216 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46217 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46218 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46219 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46220 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46221 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46222 * sysdeps/ieee754/s_lib_version.c: Likewise.
46223 * sysdeps/ieee754/s_matherr.c: Likewise.
46224 * sysdeps/ieee754/s_signgam.c: Likewise.
46225 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46226 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46227 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46228 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46229 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46230 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46231 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46232 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46233 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46234 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46235 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46236 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46237 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46238 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46239 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46240 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46241 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46242 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46243 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46244 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46245 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 46246
1991fa03
JM
462472012-03-09 Joseph Myers <joseph@codesourcery.com>
46248
46249 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46250 * sunrpc/rpc_main.c: Likewise.
46251 * sunrpc/rpc_svcout.c: Likewise.
46252
60d6f5a6
DM
462532012-03-09 David S. Miller <davem@davemloft.net>
46254
46255 * include/math_private.h: New file.
46256
4962050e
JM
462572012-03-09 Joseph Myers <joseph@codesourcery.com>
46258
02a6f887
JM
46259 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46260 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46261 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46262 from <bits/socket_type.h>.
46263 (enum __socket_type): Don't define here.
46264 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46266 bits/socket_type.h.
46267
c6e013c1
JM
46268 [BZ #13566]
46269 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46270 checking __USE_GNU.
46271
4962050e
JM
46272 * Makerules ($(inst_includedir)/%.h): New rule.
46273 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46274 (install-others): Remove variable setting.
46275 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46276
38842f45
RH
462772012-03-08 Richard Henderson <rth@twiddle.net>
46278
67bb6da6
RH
46279 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46280 from macro to inline function; merge with the
46281 !__LIBC_INTERNAL_MATH_INLINES version.
46282 (__ieee754_sqrtf): Likewise.
46283
15194b4b
RH
46284 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46285 to inline function.
46286 (__rintf, __floor, __floorf): Likewise.
46287
64e21ede
RH
46288 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46289 macro to inline function.
46290 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46291
38842f45
RH
46292 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46293 not <math/math_private.h>.
46294
c64bf5fe
DM
462952012-03-08 David S. Miller <davem@davemloft.net>
46296
46297 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46298 copyright year.
46299 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46300
82d86f28
TS
463012012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46302
46303 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46304 normalization.
46305 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46306 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46307
aea5d727
UD
463082012-03-08 Ulrich Drepper <drepper@gmail.com>
46309
46310 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46311 be defined individually, they must be defined as a block. Define
46312 S for printing a string instead of hidint the different by using a
46313 macro for adding the 'l'.
46314 * stdio-common/tst-fphex-wide.c: Adjust.
46315
70bca0a3
MP
463162012-03-07 Marek Polacek <polacek@redhat.com>
46317
46318 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46319
65b81130
MP
463202012-03-08 Marek Polacek <polacek@redhat.com>
46321
46322 [BZ #13806]
46323 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46324 * stdio-common/tst-fphex.c: Define a few macros to make the
46325 test reusable. Use them.
46326 * stdio-common/tst-fphex-wide.c: New file.
46327
07037eeb
JM
463282012-03-08 Joseph Myers <joseph@codesourcery.com>
46329
a7a93d50
JM
46330 [BZ #6911]
46331 * manual/macros.texi (gnusystems): New macro.
46332 (nongnusystems): Likewise.
46333 (gnulinuxhurdsystems): Likewise.
46334 (gnuhurdsystems): Likewise..
46335 (gnulinuxsystems): Likewise.
46336 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46337 variants of the GNU system, not "GNU system".
46338 * manual/conf.texi: Likewise.
46339 * manual/errno.texi: Likewise. Update example of errno macro
46340 expansion.
46341 * manual/filesys.texi: Likewise.
46342 (getumask): Document as specific to GNU/Hurd.
46343 * manual/install.texi: Likewise. Reword some references to
46344 GNU/Linux.
46345 * manual/intro.texi: Likewise.
46346 * manual/io.texi: Likewise.
46347 (File Name Portability): Detail which constraints are inapplicable
46348 to all GNU systems and which are only inapplicable to GNU/Hurd.
46349 * manual/job.texi: Likewise.
46350 * manual/llio.texi: Likewise.
46351 (O_NOCTTY): Document as present on GNU/Linux.
46352 * manual/maint.texi: Likewise.
46353 * manual/memory.texi: Likewise.
46354 * manual/pattern.texi: Likewise.
46355 * manual/pipe.texi: Likewise.
46356 * manual/process.texi: Likewise.
46357 * manual/resource.texi: Likewise.
46358 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46359 child on GNU/Hurd.
46360 * manual/setjmp.texi: Likewise.
46361 * manual/signal.texi: Likewise.
46362 * manual/startup.texi: Likewise.
46363 * manual/stdio.texi: Likewise.
46364 * manual/terminal.texi: Likewise.
46365 (ONLCR): Document as POSIX.
46366 (OXTABS): Document availability on GNU/Linux as XTABS.
46367 (ONOEOT): Document availability separately from other bits.
46368 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46369 * manual/time.texi: Likewise.
46370 * manual/users.texi: Likewise.
46371 * INSTALL: Regenerated.
46372 * sysdeps/gnu/errlist.c: Regenerated.
46373
07037eeb
JM
46374 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46375 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46376 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46377 puts.
46378 * configure: Regenerated.
46379
d1d3431a
JM
463802012-03-07 Joseph Myers <joseph@codesourcery.com>
46381
af6a1e37
JM
46382 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46383 default includes instead of AC_HEADER_CHECK.
46384 * sysdeps/i386/configure: Regenerated.
46385
d1d3431a
JM
46386 [BZ #10716]
46387 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46388 * math/s_cacoshf.c (__cacoshf): Likewise.
46389 * math/s_cacoshl.c (__cacoshl): Likewise.
46390 * math/s_casinh.c (__casinh): Set signs of result from argument.
46391 * math/s_casinhf.c (__casinhf): Likewise.
46392 * math/s_casinhl.c (__casinhl): Likewise.
46393 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46394 (casinh_test): Add more tests.
46395 * sysdeps/i386/fpu/libm-test-ulps: Update.
46396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46397
482ff4da
UD
463982012-03-07 Ulrich Drepper <drepper@gmail.com>
46399
872fda05
UD
46400 * po/zh_TW.po: Update from translation team.
46401
a4300c7a
UD
46402 * login/Makefile (distribute): Remove variable.
46403 * catgets/Makefile: Likewise.
46404 * mach/Makefile: Likewise.
46405 * malloc/Makefile: Likewise.
46406 * misc/Makefile: Likewise.
46407 * iconv/Makefile: Likewise.
46408 * nscd/Makefile: Likewise.
46409 * hurd/Makefile: Likewise.
46410 * manual/Makefile: Likewise.
46411 * locale/Makefile: Likewise.
46412 * intl/Makefile: Likewise.
46413 * conform/Makefile: Likewise.
46414 * nss/Makefile: Likewise.
46415 * time/Makefile: Likewise.
46416 * soft-fp/Makefile: Likewise.
46417 * dirent/Makefile: Likewise.
46418 * gmon/Makefile: Likewise.
46419 * po/Makefile: Likewise.
46420 * rt/Makefile: Likewise.
46421 * socket/Makefile: Likewise.
46422 * math/Makefile: Likewise.
46423 * signal/Makefile: Likewise.
46424 * debug/Makefile: Likewise.
46425 * elf/Makefile: Likewise.
46426 * timezone/Makefile: Likewise.
46427 * stdlib/Makefile: Likewise.
46428 * iconvdata/Makefile: Likewise.
46429 * sunrpc/Makefile: Likewise.
46430 * io/Makefile: Likewise.
46431 * argp/Makefile: Likewise.
46432 * inet/Makefile: Likewise.
46433 * hesiod/Makefile: Likewise.
46434 * grp/Makefile: Likewise.
46435 * csu/Makefile: Likewise.
46436 * wctype/Makefile: Likewise.
46437 * crypt/Makefile: Likewise.
46438 * libio/Makefile: Likewise.
46439 * string/Makefile: Likewise.
46440 * nis/Makefile: Likewise.
46441 * resolv/Makefile: Likewise.
46442 * stdio-common/Makefile: Likewise.
46443 * wcsmbs/Makefile: Likewise.
46444 * dlfcn/Makefile: Likewise.
46445 * posix/Makefile: Likewise.
46446
3b7c4e74 46447 [BZ #6959]
482ff4da
UD
46448 * timezone/Makefile: Don't install timezone files, just the programs
46449 and scripts.
46450
f72ed77d
UD
464512012-03-06 Ulrich Drepper <drepper@gmail.com>
46452
a000466f
UD
46453 * nss/databases.def: Add missing gshadow entry.
46454
f72ed77d
UD
46455 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46456
a53b7a4e
MP
464572012-03-06 Marek Polacek <polacek@redhat.com>
46458
46459 [BZ #13726]
46460 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46461 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46462 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46463 * stdio-common/tst-long-dbl-fphex.c: New file.
46464
e9258400
DM
464652012-03-06 David S. Miller <davem@davemloft.net>
46466
46467 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46468 (set_obp_int): New function.
46469 (get_obp_int): New function.
46470 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
46471 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46472 Avoid unused variable warnings on 'val' and use builtin_expect.
46473 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46474 __builtin_expect.
e9258400
DM
46475 (INLINE_CLONE_SYSCALL): Likewise.
46476
3bd2c723
DM
464772012-03-05 David S. Miller <davem@davemloft.net>
46478
46479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46480
bbb78d03
AS
464812012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46482
884c5db4
AS
46483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46484
bbb78d03
AS
46485 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46486 only for |x| >= 40.
46487 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46488
1c9f702a 464892012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
46490
46491 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46492 Replace gettimeofday with __vdso_gettimeofday.
46493
7be16f82
RM
46494 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46495 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46496 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
46497
46498 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46499 time with __vdso_time.
46500
ed58a00f
JM
465012012-03-05 Joseph Myers <joseph@codesourcery.com>
46502
46503 * manual/lang.texi (size_t): Note types to which size_t may be
46504 equivalent with the GNU C Library, but do not describe when
46505 differences between them are significant.
46506
30ee4ced
AJ
465072012-03-05 Andreas Jaeger <aj@suse.de>
46508
46509 * sysdeps/i386/fpu/libm-test-ulps: Update.
46510
b7cd39e8
JM
465112012-03-05 Joseph Myers <joseph@codesourcery.com>
46512
46513 [BZ #3976]
46514 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46515 (__ieee754_pow): Save and restore rounding mode and use
46516 round-to-nearest for main computations.
46517 * math/libm-test.inc (pow_test_tonearest): New function.
46518 (pow_test_towardzero): Likewise.
46519 (pow_test_downward): Likewise.
46520 (pow_test_upward): Likewise.
46521 (main): Call the new functions.
46522 * sysdeps/i386/fpu/libm-test-ulps: Update.
46523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
46524
46525 [BZ #3976]
46526 * math/libm-test.inc (cosh_test_tonearest): New function.
46527 (cosh_test_towardzero): Likewise.
46528 (cosh_test_downward): Likewise.
46529 (cosh_test_upward): Likewise.
46530 (sinh_test_tonearest): Likewise.
46531 (sinh_test_towardzero): Likewise.
46532 (sinh_test_downward): Likewise.
46533 (sinh_test_upward): Likewise.
46534 (main): Call the new functions.
46535 * sysdeps/i386/fpu/libm-test-ulps: Update.
46536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46537
6c6a98c9
TV
465382012-03-05 Tom de Vries <tom@codesourcery.com>
46539
46540 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46541 default stack guard is set in last bytes.
46542 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46543
21bb2d2e 465442012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 46545
21bb2d2e 46546 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 46547
21bb2d2e
AJ
46548 [BZ #13656]
46549 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46550 possibly allocate from heap instead of stack.
46551 * stdio-common/bug-vfprintf-nargs.c: New file.
46552 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 46553
c6922934
AS
465542012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46555
46556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46557
bc957d53
MP
465582012-03-03 Marek Polacek <polacek@redhat.com>
46559
46560 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46561 * math/math_private.h: Likewise.
46562 * stdlib/tst-strtod.c: Likewise.
46563 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46564 * sysdeps/x86_64/bits/atomic.h: Likewise.
46565
6358490d
DM
465662012-03-02 David S. Miller <davem@davemloft.net>
46567
46568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46572 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46573 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46574 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46575 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46576
01ae168d
RM
465772012-03-02 Roland McGrath <roland@hack.frob.com>
46578
d9a17c07
RM
46579 [BZ #13792]
46580 * manual/examples/README: New file, says the example source files
46581 can be used under GPL>=2.
46582 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46583 line containing just "*/".
46584 * manual/examples/add.c: Add copyright header (GPL>=2).
46585 * manual/examples/argp-ex1.c: Likewise.
46586 * manual/examples/argp-ex2.c: Likewise.
46587 * manual/examples/argp-ex3.c: Likewise.
46588 * manual/examples/argp-ex4.c: Likewise.
46589 * manual/examples/atexit.c: Likewise.
46590 * manual/examples/db.c: Likewise.
46591 * manual/examples/dir.c: Likewise.
46592 * manual/examples/dir2.c: Likewise.
46593 * manual/examples/execinfo.c: Likewise.
46594 * manual/examples/filecli.c: Likewise.
46595 * manual/examples/filesrv.c: Likewise.
46596 * manual/examples/fmtmsgexpl.c: Likewise.
46597 * manual/examples/genpass.c: Likewise.
46598 * manual/examples/inetcli.c: Likewise.
46599 * manual/examples/inetsrv.c: Likewise.
46600 * manual/examples/isockad.c: Likewise.
46601 * manual/examples/longopt.c: Likewise.
46602 * manual/examples/memopen.c: Likewise.
46603 * manual/examples/memstrm.c: Likewise.
46604 * manual/examples/mkfsock.c: Likewise.
46605 * manual/examples/mkisock.c: Likewise.
46606 * manual/examples/mygetpass.c: Likewise.
46607 * manual/examples/pipe.c: Likewise.
46608 * manual/examples/popen.c: Likewise.
46609 * manual/examples/rprintf.c: Likewise.
46610 * manual/examples/search.c: Likewise.
46611 * manual/examples/select.c: Likewise.
46612 * manual/examples/setjmp.c: Likewise.
46613 * manual/examples/sigh1.c: Likewise.
46614 * manual/examples/sigusr.c: Likewise.
46615 * manual/examples/stpcpy.c: Likewise.
46616 * manual/examples/strdupa.c: Likewise.
46617 * manual/examples/strftim.c: Likewise.
46618 * manual/examples/strncat.c: Likewise.
46619 * manual/examples/subopt.c: Likewise.
46620 * manual/examples/swapcontext.c: Likewise.
46621 * manual/examples/termios.c: Likewise.
46622 * manual/examples/testopt.c: Likewise.
46623 * manual/examples/testpass.c: Likewise.
46624 * manual/examples/timeval_subtract.c: Likewise.
46625
01ae168d
RM
46626 [BZ #13792]
46627 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46628 function to ...
46629 * manual/timeval_subtract.c.texi: ... here, new file.
46630
49efa33d
DM
466312012-03-02 David S. Miller <davem@davemloft.net>
46632
46633 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46634
28afd92d
JM
466352012-03-02 Joseph Myers <joseph@codesourcery.com>
46636
804360ed
JM
46637 [BZ #3976]
46638 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46639 (__sin): Save and restore rounding mode and use round-to-nearest
46640 for all computations.
46641 (__cos): Save and restore rounding mode and use round-to-nearest
46642 for all computations.
46643 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46644 <fenv.h>.
46645 (tan): Save and restore rounding mode and use round-to-nearest for
46646 all computations.
46647 * math/libm-test.inc (cos_test_tonearest): New function.
46648 (cos_test_towardzero): Likewise.
46649 (cos_test_downward): Likewise.
46650 (cos_test_upward): Likewise.
46651 (sin_test_tonearest): Likewise.
46652 (sin_test_towardzero): Likewise.
46653 (sin_test_downward): Likewise.
46654 (sin_test_upward): Likewise.
46655 (tan_test_tonearest): Likewise.
46656 (tan_test_towardzero): Likewise.
46657 (tan_test_downward): Likewise.
46658 (tan_test_upward): Likewise.
46659 (main): Call the new functions.
46660 * sysdeps/i386/fpu/libm-test-ulps: Update.
46661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46662
a6d06d7b
JM
46663 [BZ #10135]
46664 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46665 small n, then large n, before computing and testing k+n.
46666 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46667 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46668 Likewise.
46669 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46670 Likewise.
46671 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46672 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46673 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46674 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46675 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46676 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46677 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46678 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46679 * math/libm-test.inc (scalbn_test): Add more tests.
46680 (scalbln_test): Likewise.
46681
07e12bb3
JM
46682 * manual/filesys.texi (mode_t): Describe constraints on size and
46683 signedness, not exact equivalence to a particular type.
46684 (ino_t): Likewise.
46685 (ino64_t): Likewise.
46686 (dev_t): Likewise.
46687 (nlink_t): Likewise.
46688 (blkcnt_t): Likewise.
46689 (blkcnt64_t): Likewise.
46690 * manual/llio.texi (off_t): Likewise.
46691
28afd92d
JM
46692 [BZ #3976]
46693 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46694 (__ieee754_exp): Save and restore rounding mode and use
46695 round-to-nearest for all computations.
46696 * math/libm-test.inc (exp_test_tonearest): New function.
46697 (exp_test_towardzero): Likewise.
46698 (exp_test_downward): Likewise.
46699 (exp_test_upward): Likewise.
46700 (main): Call the new functions.
46701 * sysdeps/i386/fpu/libm-test-ulps: Update.
46702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46703
b1eeb65d
CD
467042012-03-01 Chris Demetriou <cgd@google.com>
46705
46706 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46707 have predictable order.
46708
53362a4b
DM
467092012-03-01 David S. Miller <davem@davemloft.net>
46710
3c969083
DM
46711 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46712
759707de
DM
46713 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46714 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46715 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46716 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46717
dfdb8ff2
DM
46718 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46719 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46720 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46722 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46723 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46724 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46725 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46726 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46727
ead89f96
DM
46728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46729
7f66bd07
DM
46730 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46731 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46732 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46733
53362a4b
DM
46734 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46735 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46736 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46737 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46738 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46739 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46740 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46741 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46742 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46743 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46744 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46745 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46747 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46748 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46749 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46750 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46751 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46752 * sysdeps/sparc/elf/configure: Regenerated.
46753
7b1902cb
JM
467542012-03-01 Joseph Myers <joseph@codesourcery.com>
46755
bec039bc
JM
46756 * configure.in (AS, LD): Require binutils 2.20 or later.
46757 * configure: Regenerated.
46758 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46759 as required minimum version.
46760 * INSTALL: Regenerated.
46761
7b1902cb
JM
46762 [BZ #2541]
46763 [BZ #4108]
46764 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46765 before squaring exponent.
46766 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46767 bottom long double and 27 bits of top long double before squaring
46768 exponent.
46769 * math/libm-test.inc (erfc_test): Add more tests.
46770 * sysdeps/i386/fpu/libm-test-ulps: Update.
46771 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46773
f775c276
KT
467742012-03-01 Kai Tietz <ktietz@redhat.com>
46775
46776 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46777 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46778 containing bit-fields.
46779 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46780 * soft-fp/single.h (_FP_UNION_S): Likewise.
46781 * soft-fp/double.h (_FP_UNION_D): Likewise.
46782
5b8a4d4a
JM
467832012-02-29 Joseph Myers <joseph@codesourcery.com>
46784
0bab47b6
JM
46785 [BZ #13786]
46786 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46787 not include ../strcmp.S.
46788 [USE_AS_STRNCASECMP_L]: Likewise.
46789 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46790 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46791 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46792 (__strncasecmp_l_ia32): Define as alias to
46793 __strncasecmp_l_nonascii.
46794
0fcad3e2
JM
46795 [BZ #5794]
46796 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46797 * sysdeps/i386/fpu/libm-test-ulps: Update.
46798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46799
5b8a4d4a
JM
46800 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46802
8fdceb2e
JL
468032012-02-29 Jeff Law <law@redhat.com>
46804
46805 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46806 out of bounds read.
46807
1f393a11
MP
468082012-02-29 Marek Polacek <polacek@redhat.com>
46809
46810 [BZ #13706]
46811 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46812 * elf/Makefile: Add rules to run tst-unused-dep.out.
46813
8847f037
DM
468142012-02-28 David S. Miller <davem@davemloft.net>
46815
46816 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46817 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46818 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46819 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46820 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46821 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46822
169d7f11
JM
468232012-02-29 Joseph Myers <joseph@codesourcery.com>
46824
46825 * math/libm-test.inc (llround_test): Move one test from
46826 lround_test. Use TEST_f_L in moved test.
46827 (lround_test): Move misplaced test to llround_test. Add testcase
46828 from bug 2561.
46829
39adf059
UD
468302012-02-28 Ulrich Drepper <drepper@gmail.com>
46831
46832 * sysdeps/x86_64/fpu/e_expf.S: New file.
46833 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46834
71b5d1c5
SB
468352012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46836
46837 [BZ #13637]
46838 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46839 of remain_len that may cause incomplete multi-byte character and
46840 false match.
46841 * posix/bug-regex33.c: New file.
46842 * posix/Makefile (tests): Add bug-regex33.
46843
1f77f049
JM
468442012-02-28 Joseph Myers <joseph@codesourcery.com>
46845
46846 * manual/macros.texi: New file.
46847 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46848 * manual/libc.texinfo: Include macros.texi.
46849 * manual/creatute.texi: Likewise.
46850 * manual/install.texi: Likewise.
46851 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46852 @glibcadj{} in references to the GNU C Library.
46853 * manual/charset.texi: Likewise.
46854 * manual/conf.texi: Likewise.
46855 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46856 when not using those macros.
46857 * manual/creature.texi: Likewise.
46858 * manual/crypt.texi: Likewise.
46859 * manual/errno.texi: Likewise.
46860 * manual/filesys.texi: Likewise.
46861 * manual/header.texi: Likewise.
46862 * manual/install.texi: Likewise.
46863 * manual/intro.texi: Likewise.
46864 * manual/io.texi: Likewise.
46865 * manual/job.texi: Likewise.
46866 * manual/lang.texi: Likewise.
46867 * manual/libc.texiinfo: Likewise.
46868 * manual/llio.texi: Likewise.
46869 * manual/locale.texi: Likewise.
46870 * manual/maint.texi: Likewise.
46871 * manual/math.texi: Likewise.
46872 * manual/memory.texi: Likewise.
46873 * manual/message.texi: Likewise.
46874 * manual/nss.texi: Likewise.
46875 * manual/pattern.texi: Likewise.
46876 * manual/process.texi: Likewise.
46877 * manual/resource.texi: Likewise.
46878 * manual/search.texi: Likewise.
46879 * manual/setjmp.texi: Likewise.
46880 * manual/signal.texi: Likewise.
46881 * manual/socket.texi: Likewise.
46882 * manual/startup.texi: Likewise.
46883 * manual/stdio.texi: Likewise.
46884 * manual/string.texi: Likewise.
46885 * manual/sysinfo.texi: Likewise.
46886 * manual/syslog.texi: Likewise.
46887 * manual/terminal.texi: Likewise.
46888 * manual/time.texi: Likewise.
46889 * manual/users.texi: Likewise.
46890 * INSTALL: Regenerated.
46891 * NOTES: Regenerated.
d40c5d54 46892 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 46893
450bf206
AS
468942012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46895
46896 * include/dirent.h: Include <dirstream.h> before
46897 <dirent/dirent.h>.
46898
741a235b
DM
468992012-02-28 David S. Miller <davem@davemloft.net>
46900
46901 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46902 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46903 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46904 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46905
d6b5aa58
DM
469062012-02-27 David S. Miller <davem@davemloft.net>
46907
1aff59a3
DM
46908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46910 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46911 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46912
d6b5aa58
DM
46913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46914 frame pointer instead of stack pointer relative arg slot.
46915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46916 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46917 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46918
433f48bf
CD
469192012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46920
46921 [BZ #3992]
46922 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46923
d674b76d
DM
469242012-02-27 David S. Miller <davem@davemloft.net>
46925
46926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46930 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46931 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46932 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46933 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46934
0e7727f7
JM
469352012-02-27 Joseph Myers <joseph@codesourcery.com>
46936
46937 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46938 later. Allow versions 5-9.
43be4ca2 46939 * configure: Regenerated.
0e7727f7
JM
46940 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46941 required minimum version and 4.6 as recommended version. Do not
46942 mention bugs in GCC 2.7 and 2.8.
43be4ca2 46943 * INSTALL: Regenerated.
0e7727f7 46944
a78bc654
DM
469452012-02-27 David S. Miller <davem@davemloft.net>
46946
428d5830
DM
46947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46951 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46952 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46953 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46954 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46955
a78bc654
DM
46956 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46957 manipulate bits before adding and subtracting TWO112[sx].
46958 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46959
4579f81c
RM
469602012-02-27 Roland McGrath <roland@hack.frob.com>
46961
36c8acb4
RM
46962 [BZ #13775]
46963 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46964 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46965 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46966 being in POSIX, because they are in 1003.1-2008.
46967
84ad622b
RM
46968 * rt/tst-aio.c: Include <fcntl.h>.
46969 * rt/tst-aio7.c: Likewise.
46970 * rt/tst-aio64.c: Likewise.
46971
4579f81c
RM
46972 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46973
abd923db
JM
469742012-02-27 Joseph Myers <joseph@codesourcery.com>
46975
46976 * manual/install.texi (--with-headers): Describe headers as
46977 interface headers, not private headers.
46978 (Specific advice for GNU/Linux systems): Describe use of headers
46979 from "make headers_install", not private headers from older
46980 kernels.
43be4ca2 46981 * INSTALL: Regenerated.
abd923db
JM
46982 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46983 Change to 2.6.19.
46984 * sysdeps/unix/sysv/linux/configure: Regenerated.
46985
6664049b
JM
46986 * manual/llio.texi (fclean): Remove documentation.
46987
bb8b6697
JM
46988 * manual/Makefile (libc-texi-generated): New variable. Include
46989 version.texi.
46990 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46991 $(libc-texi-generated), not duplicated list of files.
46992 (version.texi, stamp-version): New rules.
46993 (realclean): Remove $(libc-texi-generated), not individual files
46994 from that list. Do not remove dir-add.texinfo.
46995 * manual/libc.texinfo: Comment out uses of edition numbers and
46996 references to printed manual. Remove last-updated dates.
46997 (EDITION): Comment out.
46998 (ISBN): Likewise.
46999 (VERSION, UPDATED): Remove.
47000 (version.texi): Include.
47001
12e5c3b9
AS
470022012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47003
47004 * sysdeps/posix/spawni.c: Include <signal.h>.
47005 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47006 * sysdeps/pthread/aio_fsync.c: Likewise.
47007
4efeffc1 470082012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 47009
ba63ba08
UD
47010 * conform/Makefile (tests): Run only when not cross-compiling and
47011 when fast-check is not defined.
47012
d94a4670
UD
47013 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47014 * conform/data/limits.h-data: Fixes for POSIX2008.
47015 * conform/run-conformtest.sh: Run all tests.
47016 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47017 headers.
47018 * include/bits/dlfcn.h: Likewise.
47019 * include/langinfo.h: Likewise.
47020 * include/monetary.h: Likewise.
47021 * include/sys/poll.h: Likewise.
47022
47023 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47024 for __USE_GNU.
47025 * posix/spawn.h: Define __need_sigset_t.
47026 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47027 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47028 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47029 to get sigevent_t only.
47030 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47031 only for __USE_GNU.
47032 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47033 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47034 process_vm_writev only for __USE_GNU.
47035 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
47036
47037 * conform/Makefile: For now ignore errors from run-conformtest.
47038 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47039 POSIX to avoid namespace pollution. Don't prepend headers.
47040 * conform/data/aio.h-data: Fixes for POSIX testing.
47041 * conform/data/fcntl.h-data: Likewise.
47042 * conform/data/glob.h-data: Likewise.
47043 * conform/data/grp.h-data: Likewise.
47044 * conform/data/pthread.h-data: Likewise.
47045 * conform/data/pwd.h-data: Likewise.
47046 * conform/data/signal.h-data: Likewise.
47047 * conform/data/spawn.h-data: Likewise.
47048 * conform/data/stdio.h-data: Likewise.
47049 * conform/data/stdlib.h-data: Likewise.
47050 * conform/data/stropts.h-data: Likewise.
47051 * conform/data/sys/mman.h-data: Likewise.
47052 * conform/data/sys/stat.h-data: Likewise.
47053 * conform/data/sys/types.h-data: Likewise.
47054 * conform/data/sys/wait.h-data: Likewise.
47055 * conform/data/time.h-data: Likewise.
47056 * conform/data/unistd.h-data: Likewise.
47057 * conform/data/utime.h-data: Likewise.
47058
47059 * io/sys/stat.h: fchmod was always in POSIX.
47060 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47061 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47062 * rt/aio.h: Define __need_timespec before including <time.h>.
47063 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47064 struct. Add forward declaration of pthread_attr_t and use it in
47065 sigevent.
47066 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47067 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47068 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47069 always remove CLK_TCK definition.
47070
c20105c3
AS
470712012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47072
47073 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47074
7a270350
UD
470752012-02-25 Ulrich Drepper <drepper@gmail.com>
47076
31341567
UD
47077 * conform/run-conformtest.sh: New file.
47078 * conform/Makefile: Run run-conformtest for tests.
47079 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47080 support.
47081
47082 * conform/data/uchar.h-data: New file.
47083 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47084 * conform/data/arpa/inet.h-data: Likewise.
47085 * conform/data/assert.h-data: Likewise.
47086 * conform/data/complex.h-data: Likewise.
47087 * conform/data/cpio.h-data: Likewise.
47088 * conform/data/ctype.h-data: Likewise.
47089 * conform/data/dirent.h-data: Likewise.
47090 * conform/data/dlfcn.h-data: Likewise.
47091 * conform/data/errno.h-data: Likewise.
47092 * conform/data/fcntl.h-data: Likewise.
47093 * conform/data/float.h-data: Likewise.
47094 * conform/data/fmtmsg.h-data: Likewise.
47095 * conform/data/fnmatch.h-data: Likewise.
47096 * conform/data/ftw.h-data: Likewise.
47097 * conform/data/glob.h-data: Likewise.
47098 * conform/data/grp.h-data: Likewise.
47099 * conform/data/iconv.h-data: Likewise.
47100 * conform/data/inttypes.h-data: Likewise.
47101 * conform/data/langinfo.h-data: Likewise.
47102 * conform/data/libgen.h-data: Likewise.
47103 * conform/data/limits.h-data: Likewise.
47104 * conform/data/locale.h-data: Likewise.
47105 * conform/data/math.h-data: Likewise.
47106 * conform/data/monetary.h-data: Likewise.
47107 * conform/data/mqueue.h-data: Likewise.
47108 * conform/data/ndbm.h-data: Likewise.
47109 * conform/data/net/if.h-data: Likewise.
47110 * conform/data/netdb.h-data: Likewise.
47111 * conform/data/netinet/in.h-data: Likewise.
47112 * conform/data/nl_types.h-data: Likewise.
47113 * conform/data/poll.h-data: Likewise.
47114 * conform/data/pthread.h-data: Likewise.
47115 * conform/data/pwd.h-data: Likewise.
47116 * conform/data/regex.h-data: Likewise.
47117 * conform/data/sched.h-data: Likewise.
47118 * conform/data/search.h-data: Likewise.
47119 * conform/data/semaphore.h-data: Likewise.
47120 * conform/data/setjmp.h-data: Likewise.
47121 * conform/data/signal.h-data: Likewise.
47122 * conform/data/spawn.h-data: Likewise.
47123 * conform/data/stdarg.h-data: Likewise.
47124 * conform/data/stdio.h-data: Likewise.
47125 * conform/data/stdlib.h-data: Likewise.
47126 * conform/data/string.h-data: Likewise.
47127 * conform/data/strings.h-data: Likewise.
47128 * conform/data/stropts.h-data: Likewise.
47129 * conform/data/sys/ipc.h-data: Likewise.
47130 * conform/data/sys/mman.h-data: Likewise.
47131 * conform/data/sys/msg.h-data: Likewise.
47132 * conform/data/sys/resource.h-data: Likewise.
47133 * conform/data/sys/select.h-data: Likewise.
47134 * conform/data/sys/sem.h-data: Likewise.
47135 * conform/data/sys/shm.h-data: Likewise.
47136 * conform/data/sys/socket.h-data: Likewise.
47137 * conform/data/sys/stat.h-data: Likewise.
47138 * conform/data/sys/statvfs.h-data: Likewise.
47139 * conform/data/sys/time.h-data: Likewise.
47140 * conform/data/sys/timeb.h-data: Likewise.
47141 * conform/data/sys/times.h-data: Likewise.
47142 * conform/data/sys/types.h-data: Likewise.
47143 * conform/data/sys/uio.h-data: Likewise.
47144 * conform/data/sys/un.h-data: Likewise.
47145 * conform/data/sys/utsname.h-data: Likewise.
47146 * conform/data/sys/wait.h-data: Likewise.
47147 * conform/data/syslog.h-data: Likewise.
47148 * conform/data/tar.h-data: Likewise.
47149 * conform/data/termios.h-data: Likewise.
47150 * conform/data/utime.h-data: Likewise.
47151 * conform/data/utmpx.h-data: Likewise.
47152 * conform/data/varargs.h-data: Likewise.
47153 * conform/data/wchar.h-data: Likewise.
47154 * conform/data/wctype.h-data: Likewise.
47155 * conform/data/wordexp.h-data: Likewise.
47156
47157 * include/stropts.h: New file.
47158 * include/uchar.h: New file.
47159 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47160 * include/assert.h: Likewise.
47161 * include/ctype.h: Likewise.
47162 * include/dirent.h: Likewise.
47163 * include/dlfcn.h: Likewise.
47164 * include/fcntl.h: Likewise.
47165 * include/fnmatch.h: Likewise.
47166 * include/glob.h: Likewise.
47167 * include/grp.h: Likewise.
47168 * include/libio.h: Likewise.
47169 * include/locale.h: Likewise.
47170 * include/math.h: Likewise.
47171 * include/net/if.h: Likewise.
47172 * include/netdb.h: Likewise.
47173 * include/netinet/in.h: Likewise.
47174 * include/pthread.h: Likewise.
47175 * include/pwd.h: Likewise.
47176 * include/regex.h: Likewise.
47177 * include/sched.h: Likewise.
47178 * include/search.h: Likewise.
47179 * include/setjmp.h: Likewise.
47180 * include/signal.h: Likewise.
47181 * include/stdio.h: Likewise.
47182 * include/stdlib.h: Likewise.
47183 * include/string.h: Likewise.
47184 * include/sys/cdefs.h: Likewise.
47185 * include/sys/mman.h: Likewise.
47186 * include/sys/msg.h: Likewise.
47187 * include/sys/resource.h: Likewise.
47188 * include/sys/select.h: Likewise.
47189 * include/sys/socket.h: Likewise.
47190 * include/sys/stat.h: Likewise.
47191 * include/sys/statvfs.h: Likewise.
47192 * include/sys/time.h: Likewise.
47193 * include/sys/times.h: Likewise.
47194 * include/sys/uio.h: Likewise.
47195 * include/sys/utsname.h: Likewise.
47196 * include/sys/wait.h: Likewise.
47197 * include/termios.h: Likewise.
47198 * include/time.h: Likewise.
47199 * include/ulimit.h: Likewise.
47200 * include/unistd.h: Likewise.
47201 * include/utime.h: Likewise.
47202 * include/wchar.h: Likewise.
47203 * include/wctype.h: Likewise.
47204 * include/wordexp.h: Likewise.
47205
47206 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47207
7a270350
UD
47208 * time/time.h: TIME_UTC must be a macro.
47209 Make timespec_get available for ISO C11 only as well.
47210
7724defc
UD
472112012-02-24 Ulrich Drepper <drepper@gmail.com>
47212
47213 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47214 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47215
6b1d1d46
JM
472162012-02-24 Joseph Myers <joseph@codesourcery.com>
47217
47218 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 47219
0f8bbd69
JM
472202012-02-24 Joseph Myers <joseph@codesourcery.com>
47221
47222 * manual/texinfo.tex: Update to version 2012-01-19.16.
47223
66ab80bc
JM
472242012-02-24 Joseph Myers <joseph@codesourcery.com>
47225
47226 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47227
74981cc5
RM
472282012-02-24 Roland McGrath <roland@hack.frob.com>
47229
ee968201
RM
47230 [BZ #13738]
47231 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47232 * manual/fdl-1.3.texi: New file.
47233 * manual/fdl-1.1.texi: File removed.
47234
74981cc5
RM
47235 [BZ #13738]
47236 * manual/libc.texinfo (FDL_VERSION): New @set.
47237 Use it for mention of FDL in cover text.
47238 (Documentation License): Use it in @include file name.
47239
7bb764bc
JM
472402012-02-22 Joseph Myers <joseph@codesourcery.com>
47241 Roland McGrath <roland@hack.frob.com>
47242
47243 [BZ #5461]
57f41c40
AS
47244 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47245 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
47246 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47247 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47248 name.
47249 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47250
6cbeae47
JM
472512012-02-22 Joseph Myers <joseph@codesourcery.com>
47252
47253 [BZ #2547]
47254 [BZ #11365]
47255 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47256 manipulate bits before adding and subtracting TWO23[sx].
47257 * math/libm-test.inc (nearbyint_test): Add more tests.
47258
fe45ce09
JM
472592012-02-22 Joseph Myers <joseph@codesourcery.com>
47260
47261 [BZ #2548]
47262 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47263 bits before adding and subtracting TWO23[sx].
47264 * math/libm-test.inc (rint_test): Add more tests.
47265 (rint_test_tonearest): Likewise.
47266 (rint_test_towardzero): Likewise.
47267 (rint_test_downward): Likewise.
47268 (rint_test_upward: Likewise.
47269
ff3b3d82
JM
472702012-02-22 Joseph Myers <joseph@codesourcery.com>
47271
47272 [BZ #10110]
47273 * include/stdc-predef.h: New file. Extracted from features.h.
47274 * include/features.h: Include stdc-predef.h.
47275 * Makefile (headers): Add stdc-predef.h.
47276 * CONFORMANCE (Compiler limitations): Update.
47277
ef0aab35
JM
472782012-02-22 Joseph Myers <joseph@codesourcery.com>
47279
47280 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47281
58639409
DM
472822012-02-21 David S. Miller <davem@davemloft.net>
47283
47284 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47285 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47286
c0e70b25
DM
472872012-02-20 David S. Miller <davem@davemloft.net>
47288
47289 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47290 using a normal save/restore sequence, rather than allocating a
47291 dummy stack frame just to store a frame pointer and restore.
47292 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47293
fb06851d
JM
472942012-02-21 Joseph Myers <joseph@codesourcery.com>
47295
47296 * manual/install.texi: Fix stray word in line-wrapped comment.
47297
7a8b71c3
DM
472982012-02-20 David S. Miller <davem@davemloft.net>
47299
d510c123
DM
47300 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47301 both binutils and gcc support GOTDATA.
47302
0722d7c2
DM
47303 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47304 "rd %pc" in the PIC register setup sequences.
47305
3d2b3019
DM
47306 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47307 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47308 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47309 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47310 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47311 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47312 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47313 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47314 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47315 (SYSCALL_ERROR_HANDLER): Likewise.
47316 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47317 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47319 (SYSCALL_ERROR_HANDLER): Likewise.
47320
c80098a9
DM
47321 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47322 (HAVE_GCC_GOTDATA): New.
47323 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47324 relocation support in both binutils and gcc.
47325 * sysdeps/sparc/elf/configure: Regenerate.
47326
3a2545a0
DM
47327 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47328 * sysdeps/sparc/sparc32/elf/configure: Delete.
47329 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47330 * sysdeps/sparc/sparc64/elf/configure: Delete.
47331 * sysdeps/sparc/elf/configure.in: New file.
47332 * sysdeps/sparc/elf/configure: Generate.
47333
7a8b71c3
DM
47334 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47335 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47336 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47337 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47338 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47339
f1e86fca
JM
473402012-02-21 Joseph Myers <joseph@codesourcery.com>
47341
47342 * manual/install.texi: Do not mention specific glibc version
47343 numbers.
47344 * manual/libc.texinfo (VERSION, UPDATED): Update.
47345 (@copying): Use @copyright{} and range of years.
47346
0e7dfaef
JM
473472012-02-21 Joseph Myers <joseph@codesourcery.com>
47348
47349 [BZ #13695]
47350 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47351 [crti.S not in sysdirs] (generated): Do not append.
47352 [crti.S not in sysdirs] (omit-deps): Likewise.
47353 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47354 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47355 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47356 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47357 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47358 Likewise.
47359 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47360 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47361 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47362 * csu/defs.awk: Remove file.
47363 * sysdeps/generic/initfini.c: Likewise.
47364 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47365 variable.
47366 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47367 Likewise.
47368
599af3ca
JM
473692012-02-20 Joseph Myers <joseph@codesourcery.com>
47370
47371 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47372 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47373 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47374 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47375 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47376 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47377 <bits/epoll.h>.
47378 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47379 (__EPOLL_PACKED): Define to empty if not defined by
47380 <bits/epoll.h>.
47381 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47383 bits/epoll.h.
47384
0e499750
JM
473852012-02-20 Joseph Myers <joseph@codesourcery.com>
47386
47387 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47388 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47389 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47390 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47391 <bits/timerfd.h>.
47392 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47394 bits/timerfd.h.
47395
5ad91f6e
JM
473962012-02-20 Joseph Myers <joseph@codesourcery.com>
47397
47398 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47399 in C locale.
47400 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47401 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47402 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47404
06b99b02
AJ
474052012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47406
47407 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47408 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47409
7638c0fd
AS
474102012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47411
47412 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47413 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47414 defined.
47415 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47416 Likewise.
47417 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47418 entry for 2.16.
47419
92221550
AJ
474202012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47421
47422 * math/w_acos.c: Use non-signaling floating-point comparisons.
47423 * math/w_acosf.c: Likewise.
47424 * math/w_acosh.c: Likewise.
47425 * math/w_acoshf.c: Likewise.
47426 * math/w_acoshl.c: Likewise.
47427 * math/w_acosl.c: Likewise.
47428 * math/w_asin.c: Likewise.
47429 * math/w_asinf.c: Likewise.
47430 * math/w_asinl.c: Likewise.
47431 * math/w_atanh.c: Likewise.
47432 * math/w_atanhf.c: Likewise.
47433 * math/w_atanhl.c: Likewise.
47434 * math/w_exp2.c: Likewise.
47435 * math/w_exp2f.c: Likewise.
47436 * math/w_exp2l.c: Likewise.
47437 * math/w_j0.c: Likewise.
47438 * math/w_j0f.c: Likewise.
47439 * math/w_j0l.c: Likewise.
47440 * math/w_j1.c: Likewise.
47441 * math/w_j1f.c: Likewise.
47442 * math/w_j1l.c: Likewise.
47443 * math/w_jn.c: Likewise.
47444 * math/w_jnf.c: Likewise.
47445 * math/w_log.c: Likewise.
47446 * math/w_log10.c: Likewise.
47447 * math/w_log10f.c: Likewise.
47448 * math/w_log10l.c: Likewise.
47449 * math/w_log2.c: Likewise.
47450 * math/w_log2f.c: Likewise.
47451 * math/w_log2l.c: Likewise.
47452 * math/w_logf.c: Likewise.
47453 * math/w_logl.c: Likewise.
47454 * math/w_sqrt.c: Likewise.
47455 * math/w_sqrtf.c: Likewise.
47456 * math/w_sqrtl.c: Likewise.
47457 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47458 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47459 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47460 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47461 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47462
ebaf36eb
JM
474632012-02-19 Joseph Myers <joseph@codesourcery.com>
47464
47465 [BZ #9739]
47466 * manual/string.texi (strnlen): Use correct parameter name in
47467 equivalent expression.
47468
71c254a6
JM
474692012-02-19 Joseph Myers <joseph@codesourcery.com>
47470
47471 [BZ #11174]
47472 * manual/users.texi (seteuid): Consistently use neweuid for
47473 argument name.
47474
16d2c631
JM
474752012-02-19 Joseph Myers <joseph@codesourcery.com>
47476
47477 [BZ #13704]
47478 * manual/nss.texi (Services in the NSS configuration): Correct
47479 list of services in example configuration file.
47480
cd837b09
NB
474812012-02-19 Nick Bowler <nbowler@draconx.ca>
47482
47483 [BZ #11322]
47484 * manual/arith.texi: Remove statements about negative zero
47485 behaving identically to zero.
47486
02c4bbad
JM
474872012-02-18 Joseph Myers <joseph@codesourcery.com>
47488
47489 [BZ #5993]
47490 * manual/install.texi: Do not document upgrading from libc5.
47491
366842e7
JM
474922012-02-18 Joseph Myers <joseph@codesourcery.com>
47493
47494 [BZ #4596]
47495 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47496
dd54084d
DM
474972012-02-18 David S. Miller <davem@davemloft.net>
47498
47499 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47500 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47501 %o7 across the call.
47502 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47503 instead.
47504 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47505 SETUP_PIC_REG_LEAF.
47506 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47507 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47508 * sysdeps/sparc/crtn.S: Likewise.
47509
2bcc53a3
UD
475102012-02-17 Ulrich Drepper <drepper@gmail.com>
47511
47512 * aout/Makefile: Remove.
47513
09c093b5
RK
475142012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47515
47516 [BZ #13058]
47517 * manual/examples/argp-ex1.c (main): Format definition in GNU
47518 style.
47519 * manual/examples/argp-ex2.c (main): Likewise.
47520 * manual/examples/argp-ex3.c (main): Likewise.
47521 * manual/examples/argp-ex4.c (main): Likewise.
47522 * manual/examples/longopt.c (main): Use new-style prototype
47523 definition.
47524 * manual/examples/strncat.c (main): Specify return type and use
47525 (void) for arguments.
47526 * manual/examples/subopt.c (main): Use char **argv argument.
47527
2ee633a2
JM
475282012-02-17 Joseph Myers <joseph@codesourcery.com>
47529
47530 [BZ #5077]
47531 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47532 rounding modes.
47533
0520adde
FB
475342012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47535
47536 [BZ #6907]
47537 * manual/string.texi (strchr): Change when strchrnul is
47538 recommended.
47539
3f4081cd
DGM
475402012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47541
47542 [BZ #174]
47543 * manual/locale.texi (setlocale): Document LOCPATH.
47544
d1b10e78
JM
475452012-02-17 Joseph Myers <joseph@codesourcery.com>
47546
47547 [BZ #10210]
47548 * manual/process.texi (execle): Move @dots{} before last argument.
47549
79c6869c
PB
475502012-02-17 Paul Bolle <pebolle@tiscali.nl>
47551
47552 [BZ #12047]
47553 * manual/charset.texi (Generic Charset Conversion): Fix typo
47554 (LC_TYPE -> LC_CTYPE).
47555
cc6e48bc
NB
475562012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47557
47558 [BZ #5805]
47559 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47560 (scalbnf): Likewise.
47561 (scalbnl): Likewise.
47562 (scalbln): Likewise.
47563 (scalblnf): Likewise.
47564 (scalblnl): Likewise.
47565 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47566 (vwarnx): Likewise.
47567 (verr): Likewise.
47568 (verrx): Likewise.
47569 * manual/filesys.texi (telldir): Use braces around return type.
47570 * manual/llio.texi (mmap): Add space after comma.
47571 (mmap64): Likewise.
47572 * manual/math.texi (jn): Use @var{} on parameter names.
47573 (jnf): Likewise.
47574 (jnl): Likewise.
47575 (yn): Likewise.
47576 (ynf): Likewise.
47577 (ynl): Likewise.
47578 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47579 line.
47580 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47581 "...".
47582 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47583 (sched_get_priority_max): Likewise.
47584 * manual/signal.texi (sigvec): Add space after comma.
47585 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47586 names.
47587 (if_indextoname): Likewise.
47588 (if_freenameindex): Likewise.
47589 (sendto): Use ',' instead of '.' in prototype.
47590 * manual/startup.texi (syscall): Use @dots{} instead of literal
47591 "...".
47592 * manual/stdio.texi (__fpending): Separate initial words of
47593 paragraph from @deftypefun line.
47594 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47595 "...".
47596 (vsyslog): Use @var{} on parameter names.
47597 * manual/terminal.texi (stty): Use @var{} on parameter names.
47598 * manual/users.texi (getutmp): Use @var{} on parameter names.
47599 (getutmpx): Likewise.
47600
5b23062f
JM
476012012-02-17 Joseph Myers <joseph@codesourcery.com>
47602
47603 [BZ #6884]
47604 * manual/stdio.texi (fopen): Fix typos in description of
47605 ",ccs=STRING".
47606
8dee4833
AJ
476072012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47608
47609 [BZ #4026]
47610 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47611 get clock_id definition.
47612
9078ce93
TS
476132012-02-17 Thomas Schwinge <thomas@schwinge.name>
47614
47615 [BZ #4822]
47616 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47617 (madvise): Cast every argument to void on its own.
47618
3835c55f
JM
476192012-02-17 Joseph Myers <joseph@codesourcery.com>
47620
47621 [BZ #9902]
47622 * manual/startup.texi (Exit Status): Fix typo.
47623
35c47e37
JM
476242012-02-17 Joseph Myers <joseph@codesourcery.com>
47625
47626 [BZ #10140]
47627 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47628 * manual/examples/argp-ex2.c: Likewise.
47629 * manual/examples/argp-ex3.c: Likewise.
47630
e3b69ca7
RH
476312012-02-16 Richard Henderson <rth@redhat.com>
47632
47633 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47634 * sysdeps/s390/s390-32/initfini.c: Remove.
47635 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47636 * sysdeps/s390/s390-64/initfini.c: Remove.
47637
df83af67
KK
476382012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47639
47640 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47641 compiler output for sysdeps/generic/initfini.c.
47642 * sysdeps/sh/elf/initfini.c: Remove file.
47643
f63f3380
DM
476442012-02-16 David S. Miller <davem@davemloft.net>
47645
fb59b3a4
DM
47646 [BZ #11494]
47647 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47648
f63f3380
DM
47649 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47650 * sysdeps/sparc/crti.S: New file.
47651 * sysdeps/sparc/crtn.S: New file.
47652 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47653 * sysdeps/sparc/sparc64/Makefile: Likewise.
47654
df6a4a4a
MF
476552012-02-15 Mike Frysinger <vapier@gentoo.org>
47656
6dd8f3dc 47657 [BZ #3335]
df6a4a4a
MF
47658 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47659
1cac7236
RM
476602012-02-15 Roland McGrath <roland@hack.frob.com>
47661
d2c736f8
RM
47662 [BZ #4822]
47663 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47664
1cac7236
RM
47665 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47666 (write, read, close): Likewise.
47667 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47668
8e475601
JM
476692012-02-15 Joseph Myers <joseph@codesourcery.com>
47670
47671 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47672 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47673 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47674 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47675 <bits/signalfd.h>.
47676 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47677 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47678 bits/signalfd.h.
47679
ed656b40
MP
476802012-02-14 Marek Polacek <polacek@redhat.com>
47681
47682 * sysdeps/x86_64/crti.S: New file.
47683 * sysdeps/x86_64/crtn.S: New file.
47684 * sysdeps/x86_64/elf/initfini.c: Remove file.
47685
2a979d3a
JM
476862012-02-13 Joseph Myers <joseph@codesourcery.com>
47687
47688 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47689 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47690 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47691 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47692 <bits/inotify.h>.
47693 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47695 bits/inotify.h.
47696
2a418ac3
JM
476972012-02-13 Joseph Myers <joseph@codesourcery.com>
47698
47699 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47700 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47701 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47702 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47703 <bits/eventfd.h>.
47704 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47706 bits/eventfd.h.
47707
fb779be7
TS
477082012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47709
e19e83c5
RM
47710 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47711 __feraiseexcept instead of feraiseexcept.
7c35ffed 47712
fb779be7
TS
47713 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47714 nanosleep invocations.
47715 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47716 strings, and add error checking for a nanosleep invocations.
47717
59ba27a6
PE
477182012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47719
47720 Replace FSF snail mail address with URLs, as per GNU coding standards.
47721 Most of the snail mail addresses were wrong anyway, and omitting
47722 them makes the source code easier to maintain. Almost all of the
47723 changes are to license notices and to locale LC_IDENTIFICATION
47724 addresses, except for this one:
47725 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47726 not its snail mail address.
47727
57b957eb
RH
477282012-02-09 Richard Henderson <rth@twiddle.net>
47729
af850b1c
RH
47730 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47731 of kernel-features.h.
47732
57b957eb
RH
47733 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47734
6b73181a
MP
477352012-02-08 Marek Polacek <polacek@redhat.com>
47736
47737 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47738 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47739 * sysdeps/gnu/_G_config.h: Likewise.
47740 * sysdeps/generic/_G_config.h: Likewise.
47741
26ecc33a
AS
477422012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47743
6c6dbc63
AS
47744 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47745 tests.
47746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47747
e216c012
AS
47748 * sysdeps/powerpc/powerpc32/crti.S: New file.
47749 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47750 * sysdeps/powerpc/powerpc64/crti.S: New file.
47751 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47752
26ecc33a
AS
47753 * Makeconfig (have-initfini): Don't set.
47754 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47755 * configure.in (nopic_initfini): Don't substitute.
47756 * config.h.in (HAVE_INITFINI): Don't #undef.
47757 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47758 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47759
3add8e13
JM
477602012-02-08 Joseph Myers <joseph@codesourcery.com>
47761
47762 Support crti.S and crtn.S provided directly by architectures.
47763 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47764 [crti.S in sysdirs] (omit-deps): Likewise.
47765 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47766 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47767 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47768 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47769 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47770 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47771 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47772 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47773 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47774 compiler output for sysdeps/generic/initfini.c.
47775 * sysdeps/i386/elf/Makefile: Remove file.
47776 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47777
a22f12b4
MP
477782012-02-07 Marek Polacek <polacek@redhat.com>
47779
47780 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47781 * sysdeps/gnu/_G_config.h: Likewise.
47782 * sysdeps/mach/hurd/_G_config.h: Likewise.
47783
148cf100
MP
477842012-02-07 Marek Polacek <polacek@redhat.com>
47785
47786 * math/Makefile (tests): Add tst-CMPLX2.
47787 * math/tst-CMPLX2.c: New file.
47788
cfdc0dd7
AS
477892012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47790
84ba42c4
AS
47791 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47792
cfdc0dd7
AS
47793 * math/libm-test.inc (jn_test): Add missing L suffix.
47794
622c86f4
MP
477952012-02-06 Marek Polacek <polacek@redhat.com>
47796
47797 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47798 * sysdeps/i386/fpu/e_powf.S: Likewise.
47799 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47800 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47801 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47802 * sysdeps/i386/fpu/e_pow.S: Likewise.
47803 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47804 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47805 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47806 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47807 * sysdeps/i386/fpu/e_log2.S: Likewise.
47808 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47809 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47810 * sysdeps/i386/fpu/e_powl.S: Likewise.
47811 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47812 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47813 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47814 * sysdeps/i386/fpu/e_logl.S: Likewise.
47815 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47816 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47817 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47818 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47819 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47820 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47821 * sysdeps/i386/fpu/e_log.S: Likewise.
47822 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47823 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47824 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47825 * sysdeps/i386/fpu/e_logf.S: Likewise.
47826 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47827 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47828 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47829 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47830 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47831 * sysdeps/i386/fpu/e_log10.S: Likewise.
47832 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47833 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47834 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47835 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47836 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47837 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47838 * sysdeps/i386/asm-syntax.h: Likewise.
47839 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47840 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47841 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47842 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47843 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47844 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47845 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47846 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47847 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47848 * sysdeps/powerpc/sysdep.h: Likewise.
47849 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47850 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47851
d4a54ac6
JM
478522012-02-06 Joseph Myers <joseph@codesourcery.com>
47853
47854 [BZ #411]
47855 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47856
314054ea
JM
478572012-02-06 Joseph Myers <joseph@codesourcery.com>
47858
47859 * sysdeps/i386/sysdep.h: Include <features.h>.
47860 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47861 version.
47862
d8e0ca50
JM
478632012-02-05 Joseph Myers <joseph@codesourcery.com>
47864
47865 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47866 Define.
47867 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47868 LOAD_PIC_REG_STR.
47869
b1da7dd9
JM
478702012-02-03 Joseph Myers <joseph@codesourcery.com>
47871
47872 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47873 (SETUP_PIC_REG): Use GET_PC_THUNK.
47874 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47875 macro.
47876
9a1d9254
JM
478772012-02-03 Joseph Myers <joseph@codesourcery.com>
47878
47879 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47880 for non-PIC compilation.
47881 (SETUP_PIC_REG): Add .p2align directive.
47882 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47883 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47884 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47885 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47886 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47887 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47888 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47889 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47890 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47891 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47892 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47893 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47894 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47895 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47896 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47897 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47898 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47899 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47900 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47901 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47902 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47903 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47904 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47905 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47906 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47907 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47908 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47909 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47910 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47911 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47912 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47913 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47914 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47915 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47916 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47917 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47918 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47919 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47920 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47921 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47922 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47923
65dc3b75
JM
479242012-02-03 Joseph Myers <joseph@codesourcery.com>
47925
47926 * math/tst-CMPLX.c: Include <stdio.h>.
47927
d55bf177
JM
479282012-01-31 Joseph Myers <joseph@codesourcery.com>
47929
47930 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47931 float.
47932 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47933 * sysdeps/sparc/bits/mathdef.h: Likewise.
47934
69db4f8f
MP
479352012-01-31 Marek Polacek <polacek@redhat.com>
47936
47937 * libio/libio.h: Don't define _PARAMS.
47938 * locale/programs/config.h: Don't define PARAMS.
47939 * stdlib/strtol_l.c: Likewise.
47940 (__strtol_l): Remove PARAMS from the prototype.
47941
41b81892
UD
479422012-01-31 Ulrich Drepper <drepper@gmail.com>
47943
3b49edc0
UD
47944 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47945 names. Just use the correct names. Remove unnecessary wrapper
47946 functions.
47947 * malloc/arena.c: Likewise.
47948 * malloc/hooks.c: Likewise.
47949
41b81892
UD
47950 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47951 ARENA_TEST says not to. Simplify test for creation of a new arena.
47952 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47953
27a25b6e
UD
479542012-01-30 Ulrich Drepper <drepper@gmail.com>
47955
47956 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47957 into tail calls.
47958 (update_get_addr): New function.
47959 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47960 GET_ADDR_MODULE parameter.
47961
c8a89e7d
JM
479622012-01-30 Joseph Myers <joseph@codesourcery.com>
47963
47964 * crypt/cert.c: Remove __STDC__ conditionals.
47965 * crypt/crypt-entry.c: Likewise.
47966 * crypt/crypt_util.c: Likewise.
47967 * libio/filedoalloc.c: Likewise.
47968 * libio/fileops.c: Likewise.
47969 * libio/genops.c: Likewise.
47970 * libio/iofclose.c: Likewise.
47971 * libio/iofdopen.c: Likewise.
47972 * libio/iofopen.c: Likewise.
47973 * libio/iofopen64.c: Likewise.
47974 * libio/iogetdelim.c: Likewise.
47975 * libio/iopopen.c: Likewise.
47976 * libio/obprintf.c: Likewise.
47977 * libio/oldfileops.c: Likewise.
47978 * libio/oldiofclose.c: Likewise.
47979 * libio/oldiofdopen.c: Likewise.
47980 * libio/oldiofopen.c: Likewise.
47981 * libio/oldiopopen.c: Likewise.
47982 * libio/wfiledoalloc.c: Likewise.
47983 * libio/wgenops.c: Likewise.
47984 * locale/programs/xmalloc.c: Likewise.
47985 * misc/syslog.c: Likewise.
47986 * stdio-common/xbug.c: Likewise.
47987 * string/memchr.c: Likewise.
47988 * string/memcmp.c: Likewise.
47989 * string/memrchr.c: Likewise.
47990 * string/rawmemchr.c: Likewise.
47991 * sysdeps/posix/getcwd.c: Likewise.
47992 * time/strftime_l.c: Likewise.
47993
3b100462
JM
479942012-01-30 Joseph Myers <joseph@codesourcery.com>
47995
47996 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
47997 * config.make.in (config-cflags-sse2avx): Define.
47998 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47999 Fix typo.
48000
607998af
CM
480012012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48002
48003 * scripts/config.guess: Update from upstream config git repository.
48004 * scripts/config.sub: Likewise.
48005
3601428f
CM
480062012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48007
3ac8b282
CM
48008 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48009 (EM_NUM): Update.
48010 (R_TILEPRO_*, R_TILEGX_*): New macros.
48011
e034841e
CM
48012 * scripts/firstversions.awk: Fix bug in version range handling.
48013
540d7568
CM
48014 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48015
3601428f
CM
48016 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48017
463de862
CM
48018 * include/sys/epoll.h: New file.
48019 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48020 libc_hidden_def.
48021
73139a76
UD
480222012-01-28 Ulrich Drepper <drepper@gmail.com>
48023
96bc5b45
UD
48024 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48025 Avoid unnecessary __WORDSIZE == 64 test.
48026 (fmaxf): Use VEX format if possible.
48027 (fmax): Likewise.
48028 (fminf): Likewise.
48029 (fmin): Likewise.
48030
56f6f6a2
UD
48031 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48032 * math/math_private.h: Remove libc_fegetround* and
48033 libc_fesetround*.
48034 * sysdeps/i386/configure.in: Check for -msse2avx.
48035 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48036 also if SSE2AVX is defined.
48037 Remove libc_fegetround* and libc_fesetround*.
48038 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48039 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48040 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48041 of HAS_YMM_USABLE.
48042 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48043 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48044 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48045 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48046 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48047
73139a76
UD
48048 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48049
d73f93a4
AZ
480502012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48051
48052 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48053 size is not set.
48054 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48055
6ee65ed6
UD
480562012-01-27 Ulrich Drepper <drepper@gmail.com>
48057
48058 [BZ #13618]
48059 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48060 relocation.
48061 * Makeconfig (libm): Define.
48062 * elf/Makefile: Add rules to build and run tst-relsort1.
48063 * elf/tst-relsort1.c: New file.
48064 * elf/tst-relsort1mod1.c: New file.
48065 * elf/tst-relsort1mod2.c: New file.
48066
8db21882
JM
480672012-01-27 Joseph Myers <joseph@codesourcery.com>
48068
48069 * math/s_ldexp.c: Remove __STDC__ conditionals.
48070 * math/s_ldexpf.c: Likewise.
48071 * math/s_ldexpl.c: Likewise.
48072 * math/s_nextafter.c: Likewise.
48073 * math/s_nexttowardf.c: Likewise.
48074 * math/s_significand.c: Likewise.
48075 * math/s_significandf.c: Likewise.
48076 * math/s_significandl.c: Likewise.
48077 * math/w_jnl.c: Likewise.
48078 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48079 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48080 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48081 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48082 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48083 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48084 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48085 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48086 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48087 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48088 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48089 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48090 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48091 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48092 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48093 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48094 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48095 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48096 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48097 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48098 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48099 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48100 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48101 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48102 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48103 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48104 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48105 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48106 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48107 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48108 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48109 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48110 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48111 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48112 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48113 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48114 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48115 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48116 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48117 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48118 * sysdeps/ieee754/k_standard.c: Likewise.
48119 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48120 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48121 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48122 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48123 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48124 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48125 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48126 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48127 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48128 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48129 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48130 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48131 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48132 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48133 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48134 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48135 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48136 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48137 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48138 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48139 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48140 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48141 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48142 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48143 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48144 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48145 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48146 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48147 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48148 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48149 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48150 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48151 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48152 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48153 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48154 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48155 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48156 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48157 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48158 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48159 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48160 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48161 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48162 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48163 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48164 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48165 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48166 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48167 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48168 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48169 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48170 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48171 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48172 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48173 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48174 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48175 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48176 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48177 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48178 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48179 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48180 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48181 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48182 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48183 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48184 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48185 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48186 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48187 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48188 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48189 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48190 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48191 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48192 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48193 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48194 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48195 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48196 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48197 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48198 * sysdeps/ieee754/s_matherr.c: Likewise.
48199 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48200 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48201 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48202 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48203
965a54a4
JM
482042012-01-26 Joseph Myers <joseph@codesourcery.com>
48205
48206 * crypt/md5.h: Remove __STDC__ conditionals.
48207 * libio/libioP.h: Likewise.
48208 * locale/programs/config.h: Likewise.
48209 * sysdeps/generic/sysdep.h: Likewise.
48210 * sysdeps/i386/asm-syntax.h: Likewise.
48211 * sysdeps/s390/asm-syntax.h: Likewise.
48212 * sysdeps/unix/sysdep.h: Likewise.
48213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48215
7071ad79
JM
482162012-01-26 Joseph Myers <joseph@codesourcery.com>
48217
48218 * libio/libio.h: Remove __STDC__ conditionals.
48219 * malloc/obstack.h: Likewise.
48220 * math/complex.h: Likewise.
48221 * math/math.h: Likewise.
48222 * sysdeps/generic/_G_config.h: Likewise.
48223 * sysdeps/gnu/_G_config.h: Likewise.
48224 * sysdeps/mach/hurd/_G_config.h: Likewise.
48225 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48226 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48227 * sysdeps/sparc/bits/mathdef.h: Likewise.
48228
afc5ed09
UD
482292012-01-26 Ulrich Drepper <drepper@gmail.com>
48230
48231 [BZ #13583]
48232 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 48233 Clean up HAS_* macros.
afc5ed09 48234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
48235 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48236 possible.
48237 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48238 HAS_AVX.
48239 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48240 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48241 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48242 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48243 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 48244
bdb6de1d
JM
482452012-01-25 Joseph Myers <joseph@codesourcery.com>
48246
48247 * elf/tst-unique3.cc (gets): Remove declaration.
48248 * elf/tst-unique3lib.cc (gets): Likewise.
48249 * elf/tst-unique3lib2.cc (gets): Likewise.
48250 * elf/tst-unique4.cc (gets): Likewise.
48251
b15549e6
UD
482522012-01-24 Ulrich Drepper <drepper@gmail.com>
48253
48254 * include/stdio.h: Add C++ protection. Add gets declarations and
48255 definitions.
48256 * debug/tst-chk1.c: Don't declare gets here.
48257 * stdio-common/tst-gets.c: Likewise.
48258
a037381f
JM
482592012-01-24 Joseph Myers <joseph@codesourcery.com>
48260
48261 * posix/glob: Remove directory.
48262
f1d4aa75
JM
482632012-01-24 Joseph Myers <joseph@codesourcery.com>
48264
48265 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48266
81c0c964
PT
482672012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48268
48269 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48270 of the non-standard EPFNOSUPPORT.
48271
0ea698ae
ST
482722011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48273
48274 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48275 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48276 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48277
d220b117
UD
482782012-01-21 Ulrich Drepper <drepper@gmail.com>
48279
48280 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48281
3e1aa84e
UD
482822012-01-20 Ulrich Drepper <drepper@gmail.com>
48283
48284 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48285 transient errors.
48286 * nscd/grpcache.c (cache_addgr): Likewise.
48287 * nscd/hstcache.c (cache_addhst): Likewise.
48288 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48289 * nscd/pwdcache.c (cache_addpw): Likewise.
48290 * nscd/servicescache.c (cache_addserv): Likewise.
48291
400aa020
UD
482922012-01-16 Ulrich Drepper <drepper@gmail.com>
48293
d77e7869
UD
48294 * malloc/malloc.c: Various cleanups.
48295 * malloc/hooks.c: Likewise.
48296
400aa020
UD
48297 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48298 * stdlib/bug-fmtmsg1.c: New file.
48299
48300 * stdlib/fmtmsg.c (init): Add missing unlock.
48301 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48302
e0a309cf
MP
483032012-01-12 Marek Polacek <polacek@redhat.com>
48304
48305 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48306 and _GNU_SOURCE.
48307
929d11c7
WS
483082012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48309
48310 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48311 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48312 macro to ensure uniqueness of label name.
48313 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48314 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48315
41d0e869
UD
483162012-01-11 Ulrich Drepper <drepper@gmail.com>
48317
0cc5ed3b
UD
48318 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48319
41d0e869
UD
48320 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48321 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48322 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48323 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48324
a47a831a
UD
483252012-01-10 Ulrich Drepper <drepper@gmail.com>
48326
daa891c0
UD
48327 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48328
48329 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48330 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48331 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48332
e58ef0f2
UD
48333 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48334
a47a831a 48335 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
48336 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48337 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 48338 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
48339
48340 * math/bits/math-finite.h: Add ldexp support.
48341
a0bfc9c7
MP
483422012-01-10 Marek Polacek <polacek@redhat.com>
48343
48344 * locale/programs/localedef.h (show_archive_content): Add noreturn
48345 attribute.
48346
d6e97a1d
UD
483472012-01-09 Ulrich Drepper <drepper@gmail.com>
48348
48349 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48350
d5835c26
UD
483512012-01-08 Ulrich Drepper <drepper@gmail.com>
48352
e5f484c6
UD
48353 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48354
d5835c26
UD
48355 * io/Makefile (headers): Add bits/poll2.h.
48356
d1f741e9
WS
483572011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48358
48359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48360 typo #include statement.
48361
ec09c1c4
UD
483622012-01-08 Ulrich Drepper <drepper@gmail.com>
48363
48364 * include/sys/cdefs.h: Define __attribute_alloc_size.
48365 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48366 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48367 * elf/pldd.c: Likewise.
48368 * iconv/iconv_charmap.c: Likewise.
48369 * iconv/iconvconfig.c: Likewise.
48370 * iconv/strtab.c: Likewise.
48371 * locale/programs/locale.c: Likewise.
48372 * locale/programs/localedef.h: Likewise.
48373 * locale/programs/simple-hash.c: Likewise.
48374 * nscd/nscd.h: Likewise.
48375 * nss/makedb.c: Likewise.
48376 * sysdeps/generic/ldconfig.h: Likewise.
48377 * locale/programs/localedef.c: Remove xmalloc prototype.
48378 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48379
20b38e03
PP
483802012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48381
48382 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48383 appropriate.
48384
a0da5fe1
UD
483852012-01-08 Ulrich Drepper <drepper@gmail.com>
48386
1d5a644a 48387 * math/Makefile (tests): Add tst-CMPLX.
669704fd 48388 * math/tst-CMPLX.c: New file.
1d5a644a 48389
8784a6db
UD
48390 * math/complex.h (CMPLXL): Fix typo.
48391
d9a216c0
UD
48392 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48393 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48394 GLIBC_2.16.
48395 * debug/tst-chk1.c: Add poll and ppoll tests.
48396 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48397 * include/sys/poll.h: Add hidden proto for ppoll.
48398 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48399 * sysdeps/mach/hurd/ppoll.c: Likewise.
48400 * io/ppoll.c: Likewise.
48401 * debug/poll_chk.c: New file.
48402 * debug/ppoll_chk.c: New file.
48403 * include/bits/poll2.h: New file.
48404 * io/bits/poll2.h: New file.
48405
ac097f5c
UD
48406 [BZ #1350]
48407 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48408
2119dcfa
UD
48409 * configure.in: static is always set to yes. Remove.
48410 * config.make.in: Don't set build-static.
48411 * Makeconfig: Remove use of build-static.
48412 * dlfcn/Makefile: Likewise.
48413 * elf/Makefile: Likewise.
48414 * math/Makefile: Likewise.
48415 * misc/Makefile: Likewise.
48416 * nptl/Makefile: Likewise.
48417 * sysdeps/mach/hurd/Makefile: Likewise.
48418
121766a9
UD
48419 * configure.in: PWD_P is not used anymore.
48420 * config.make.in: Remove PWD_P entry.
48421
51a1d39c 48422 * configure.in: Remove last remnants of RANLIB.
8720d066 48423 No need to check for signed size_t anymore.
215f4bdc
UD
48424 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48425 and IA-64.
3857022a 48426 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
48427 * aclocal.m4: Likewise.
48428
d3ed7225
UD
48429 * wcsmbs/mbrtoc16.c: Implement using towc function.
48430 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48431 * wcsmbs/wcsmbsload.c: Likewise.
48432 * iconv/gconv_simple.c: Likewise.
48433 * iconv/gconv_int.h: Likewise.
48434 * iconv/gconv_builtin.h: Likewise.
48435 * iconv/iconv_prog.c: Remove CHAR16 handling.
48436
48437 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48438
48439 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48440
a0da5fe1
UD
48441 * configure.in: Remove --with-elf and --enable-bounded options.
48442 Dont set base_machine for ia64. More non-ELF conditions removed.
48443 Remove testing and setting of leading underscore information.
48444 * config.make.in (build-bounded): Set to no.
48445 * config.h.in: Remove NO_UNDERSCORES entry.
48446 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48447 them.
48448 * csu/start.c: Remove !NO_UNDERSCORE code.
48449 * locale/localeinfo.h: Likewise.
48450 * sysdeps/generic/machine-gmon.h: Likewise.
48451 * sysdeps/generic/sysdep.h: Likewise.
48452 * sysdeps/i386/sysdep.h: Likewise.
48453 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48454 * sysdeps/mach/sysdep.h: Likewise.
48455 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48456 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48457 * sysdeps/sh/sysdep.h: Likewise.
48458 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48459 * sysdeps/unix/i386/sysdep.S: Likewise.
48460 * sysdeps/unix/sparc/start.c: Likewise.
48461 * sysdeps/unix/sparc/sysdep.S: Likewise.
48462 * sysdeps/unix/sparc/sysdep.h: Likewise.
48463 * sysdeps/unix/start.c: Likewise.
48464 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48465 * sysdeps/x86_64/sysdep.h: Likewise.
48466
df78418a
UD
484672012-01-07 Ulrich Drepper <drepper@gmail.com>
48468
a784e502
UD
48469 [BZ #13553]
48470 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48471 for non-gcc.
48472 * argp/argp-fmtstream.h: Use const instead __const.
48473 * argp/argp.h: Likewise.
48474 * assert/assert.h: Likewise.
48475 * bits/fenv.h: Likewise.
48476 * bits/sched.h: Likewise.
48477 * bits/sigset.h: Likewise.
48478 * bits/sigthread.h: Likewise.
48479 * catgets/nl_types.h: Likewise.
48480 * conform/data/pthread.h-data: Likewise.
48481 * crypt/crypt-private.h: Likewise.
48482 * crypt/crypt.h: Likewise.
48483 * crypt/crypt_util.c: Likewise.
48484 * ctype/ctype.h: Likewise.
48485 * debug/execinfo.h: Likewise.
48486 * debug/mbsnrtowcs_chk.c: Likewise.
48487 * debug/mbsrtowcs_chk.c: Likewise.
48488 * debug/wcsnrtombs_chk.c: Likewise.
48489 * debug/wcsrtombs_chk.c: Likewise.
48490 * debug/wcstombs_chk.c: Likewise.
48491 * dirent/dirent.h: Likewise.
48492 * dlfcn/dlfcn.h: Likewise.
48493 * elf/neededtest4.c: Likewise.
48494 * grp/grp.h: Likewise.
48495 * gshadow/gshadow.h: Likewise.
48496 * iconv/gconv.h: Likewise.
48497 * iconv/gconv_int.h: Likewise.
48498 * iconv/gconv_simple.c: Likewise.
48499 * iconv/iconv.h: Likewise.
48500 * iconv/loop.c: Likewise.
48501 * iconv/skeleton.c: Likewise.
48502 * include/aio.h: Likewise.
48503 * include/aliases.h: Likewise.
48504 * include/argz.h: Likewise.
48505 * include/arpa/inet.h: Likewise.
48506 * include/assert.h: Likewise.
48507 * include/dirent.h: Likewise.
48508 * include/dlfcn.h: Likewise.
48509 * include/execinfo.h: Likewise.
48510 * include/fcntl.h: Likewise.
48511 * include/fenv.h: Likewise.
48512 * include/glob.h: Likewise.
48513 * include/grp.h: Likewise.
48514 * include/libintl.h: Likewise.
48515 * include/mntent.h: Likewise.
48516 * include/netdb.h: Likewise.
48517 * include/pwd.h: Likewise.
48518 * include/rpc/netdb.h: Likewise.
48519 * include/sched.h: Likewise.
48520 * include/search.h: Likewise.
48521 * include/shadow.h: Likewise.
48522 * include/signal.h: Likewise.
48523 * include/stdio.h: Likewise.
48524 * include/stdlib.h: Likewise.
48525 * include/string.h: Likewise.
48526 * include/sys/socket.h: Likewise.
48527 * include/sys/stat.h: Likewise.
48528 * include/sys/statfs.h: Likewise.
48529 * include/sys/statvfs.h: Likewise.
48530 * include/sys/syslog.h: Likewise.
48531 * include/sys/time.h: Likewise.
48532 * include/sys/uio.h: Likewise.
48533 * include/time.h: Likewise.
48534 * include/unistd.h: Likewise.
48535 * include/utmp.h: Likewise.
48536 * include/wchar.h: Likewise.
48537 * include/wctype.h: Likewise.
48538 * inet/aliases.h: Likewise.
48539 * inet/arpa/inet.h: Likewise.
48540 * inet/netinet/ether.h: Likewise.
48541 * inet/netinet/in.h: Likewise.
48542 * intl/libintl.h: Likewise.
48543 * io/bits/fcntl2.h: Likewise.
48544 * io/fcntl.h: Likewise.
48545 * io/ftw.h: Likewise.
48546 * io/sys/poll.h: Likewise.
48547 * io/sys/stat.h: Likewise.
48548 * io/sys/statfs.h: Likewise.
48549 * io/sys/statvfs.h: Likewise.
48550 * io/utime.h: Likewise.
48551 * libio/bits/stdio.h: Likewise.
48552 * libio/bits/stdio2.h: Likewise.
48553 * libio/libio.h: Likewise.
48554 * libio/libioP.h: Likewise.
48555 * libio/stdio.h: Likewise.
48556 * locale/lc-ctype.c: Likewise.
48557 * locale/locale.h: Likewise.
48558 * login/utmp.h: Likewise.
48559 * malloc/arena.c: Likewise.
48560 * malloc/malloc.c: Likewise.
48561 * malloc/malloc.h: Likewise.
48562 * malloc/mcheck.c: Likewise.
48563 * malloc/mtrace.c: Likewise.
48564 * math/bits/mathcalls.h: Likewise.
48565 * math/fenv.h: Likewise.
48566 * math/math_private.h: Likewise.
48567 * misc/bits/error.h: Likewise.
48568 * misc/bits/syslog.h: Likewise.
48569 * misc/err.h: Likewise.
48570 * misc/error.h: Likewise.
48571 * misc/fstab.h: Likewise.
48572 * misc/mntent.h: Likewise.
48573 * misc/regexp.h: Likewise.
48574 * misc/search.h: Likewise.
48575 * misc/sgtty.h: Likewise.
48576 * misc/sys/mman.h: Likewise.
48577 * misc/sys/syslog.h: Likewise.
48578 * misc/sys/uio.h: Likewise.
48579 * misc/sys/xattr.h: Likewise.
48580 * misc/ttyent.h: Likewise.
48581 * nis/rpcsvc/ypclnt.h: Likewise.
48582 * nss/nss.h: Likewise.
48583 * posix/bits/unistd.h: Likewise.
48584 * posix/fnmatch.h: Likewise.
48585 * posix/glob.h: Likewise.
48586 * posix/sched.h: Likewise.
48587 * posix/spawn.h: Likewise.
48588 * posix/sys/wait.h: Likewise.
48589 * posix/unistd.h: Likewise.
48590 * posix/wordexp.h: Likewise.
48591 * pwd/pwd.h: Likewise.
48592 * resolv/netdb.h: Likewise.
48593 * resource/sys/resource.h: Likewise.
48594 * rt/aio.h: Likewise.
48595 * rt/bits/mqueue2.h: Likewise.
48596 * rt/mqueue.h: Likewise.
48597 * shadow/shadow.h: Likewise.
48598 * signal/signal.h: Likewise.
48599 * socket/send.c: Likewise.
48600 * socket/sendto.c: Likewise.
48601 * socket/sys/socket.h: Likewise.
48602 * stdio-common/printf.h: Likewise.
48603 * stdlib/bits/stdlib.h: Likewise.
48604 * stdlib/fmtmsg.h: Likewise.
48605 * stdlib/monetary.h: Likewise.
48606 * stdlib/stdlib.h: Likewise.
48607 * stdlib/ucontext.h: Likewise.
48608 * streams/stropts.h: Likewise.
48609 * string/argz.h: Likewise.
48610 * string/bits/string2.h: Likewise.
48611 * string/string.h: Likewise.
48612 * string/strings.h: Likewise.
48613 * sunrpc/rpc/auth.h: Likewise.
48614 * sunrpc/rpc/auth_des.h: Likewise.
48615 * sunrpc/rpc/clnt.h: Likewise.
48616 * sunrpc/rpc/netdb.h: Likewise.
48617 * sunrpc/rpc/pmap_clnt.h: Likewise.
48618 * sunrpc/rpc/xdr.h: Likewise.
48619 * sysdeps/generic/inttypes.h: Likewise.
48620 * sysdeps/generic/net/if.h: Likewise.
48621 * sysdeps/generic/sys/swap.h: Likewise.
48622 * sysdeps/gnu/net/if.h: Likewise.
48623 * sysdeps/gnu/utmpx.h: Likewise.
48624 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48625 * sysdeps/i386/i486/bits/string.h: Likewise.
48626 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48627 * sysdeps/s390/bits/string.h: Likewise.
48628 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48629 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48630 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48631 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48632 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48633 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48634 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48635 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48636 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48637 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48638 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48639 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48640 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48641 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48642 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48643 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48644 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48645 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48646 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48647 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48648 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48649 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48650 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48651 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48652 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48653 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48654 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48655 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48656 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48657 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48658 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48659 * sysvipc/sys/ipc.h: Likewise.
48660 * sysvipc/sys/msg.h: Likewise.
48661 * sysvipc/sys/sem.h: Likewise.
48662 * sysvipc/sys/shm.h: Likewise.
48663 * termios/termios.h: Likewise.
48664 * time/sys/time.h: Likewise.
48665 * time/time.h: Likewise.
48666 * wcsmbs/bits/wchar2.h: Likewise.
48667 * wcsmbs/uchar.h: Likewise.
48668 * wcsmbs/wchar.h: Likewise.
48669 * wctype/wctype.h: Likewise.
48670
0269750c
UD
48671 [BZ #13551]
48672 * Makeconfig: Remove all but ELF support including AIX support.
48673 * Makerules: Likewise.
48674 * config.h.in: Likewise.
48675 * config.make.in: Likewise.
48676 * configure: Likewise.
48677 * configure.in: Likewise.
48678 * csu/Makefile: Likewise.
48679 * csu/version.c: Likewise.
48680 * debug/Makefile: Likewise.
48681 * dlfcn/Makefile: Likewise.
48682 * elf/Makefile: Likewise.
48683 * extra-lib.mk: Likewise.
48684 * iconv/Makefile: Likewise.
48685 * include/libc-symbols.h: Likewise.
48686 * include/shlib-compat.h: Likewise.
48687 * resolv/Makefile: Likewise.
48688 * resolv/res_libc.c: Likewise.
48689 * rt/Makefile: Likewise.
48690 * sysdeps/i386/asm-syntax.h: Likewise.
48691 * sysdeps/i386/sysdep.h: Likewise.
48692 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48693 * sysdeps/mach/sysdep.h: Likewise.
48694 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48695 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48696 * sysdeps/s390/asm-syntax.h: Likewise.
48697 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48698 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48699 * sysdeps/sh/sysdep.h: Likewise.
48700 * sysdeps/unix/sparc/sysdep.h: Likewise.
48701 * sysdeps/wordsize-32/divdi3.c: Likewise.
48702 * sysdeps/x86_64/sysdep.h: Likewise.
48703
00bbd29b
UD
48704 * argp/Versions: Remove _argp_unlock_xxx.
48705
48706 [BZ #13559]
48707 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48708 * abilist/libBrokenLocale.abilist: Likewise.
48709 * abilist/libanl.abilist: Likewise.
48710 * abilist/libc.abilist: Likewise.
48711 * abilist/libcrypt.abilist: Likewise.
48712 * abilist/libdl.abilist: Likewise.
48713 * abilist/libm.abilist: Likewise.
48714 * abilist/libnsl.abilist: Likewise.
48715 * abilist/libpthread.abilist: Likewise.
48716 * abilist/libresolv.abilist: Likewise.
48717 * abilist/librt.abilist: Likewise.
48718 * abilist/libthread_db.abilist: Likewise.
48719 * abilist/libutil.abilist: Likewise.
48720 * abilist/libnss_db.abilist: New file.
48721
48722 * scripts/abilist.awk: Add support for indirect functions.
48723
a2693a0e
UD
48724 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48725
3f05895f
UD
48726 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48727
ecb6fb48
UD
48728 * shlib-versions: Remove entries for ports architectures.
48729
664f8cb9
UD
48730 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48731 files in ports.
48732 * elf/stackguard-macros.h: Remove support for IA-64.
48733 * elf/tst-auditmod1.c: Likewise.
48734 * sysdeps/generic/ldsodefs.h: Likewise.
48735
7ae81d88
UD
48736 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48737 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48738 configure files.
48739
bdeba135
UD
48740 [BZ #13552]
48741 * configure.in: Remove --enable-omitfp support.
48742 * FAQ.in: Adjust.
48743 * config.make.in: Likewise.
48744 * Makeconfig: Likewise.
48745 * manual/install.texi: Likewise.
48746
d75a0a62
UD
48747 In case anyone cares, the IA-64 architecture could move to ports.
48748 * sysdeps/ia64/*: Removed.
48749 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 48750 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 48751
dcc9756b
UD
48752 [BZ #13555]
48753 * configure.in: Remove entries for unsupported architectures.
48754
d3761ebc 48755 [BZ #13533]
9954432e
UD
48756 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48757 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48758 routines.
48759 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48760 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48761 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48762 fall back to using wcrtomb.
48763 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48764 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48765 renaming.
48766 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48767 * wcsmbs/tst-c16c32-1.c: New file.
48768
48769 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48770 local variable.
48771
c3a87236
UD
48772 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48773
28926a1b
UD
48774 * elf/tst-unique3.cc: Add explicit declaration of gets.
48775 * elf/tst-unique3lib.cc: Likewise.
48776 * elf/tst-unique3lib2.cc: Likewise.
48777 * elf/tst-unique4.cc: Likewise.
48778
df78418a
UD
48779 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48780
8ecd6b2a
JM
487812012-01-06 Joseph Myers <joseph@codesourcery.com>
48782
48783 [BZ #13566]
48784 * assert/assert.h (static_assert): Don't define for C++.
48785 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48786 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48787
9f115170
UD
487882012-01-03 Ulrich Drepper <drepper@gmail.com>
48789
5e0d0300
UD
48790 * iconv/loop.c (single loop): Fix assertion in storing of
48791 remaining bytes.
48792
9f115170
UD
48793 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48794
81fb02b0
UD
487952012-01-01 Ulrich Drepper <drepper@gmail.com>
48796
48797 * posix/getconf.c: Update copyright year.
48798 * nss/getent.c: Likewise.
a316c1f6 48799 * nss/makedb.c: Likewise.
81fb02b0
UD
48800 * iconv/iconvconfig.c: Likewise.
48801 * iconv/iconv_prog.c: Likewise.
48802 * elf/ldconfig.c: Likewise.
a316c1f6
UD
48803 * elf/pldd.c: Likewise.
48804 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
48805 * catgets/gencat.c: Likewise.
48806 * csu/version.c: Likewise.
48807 * elf/ldd.bash.in: Likewise.
48808 * elf/sprof.c (print_version): Likewise.
48809 * locale/programs/locale.c: Likewise.
48810 * locale/programs/localedef.c: Likewise.
a316c1f6 48811 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
48812 * nscd/nscd.c (print_version): Likewise.
48813 * debug/xtrace.sh: Likewise.
48814 * malloc/memusage.sh: Likewise.
48815 * malloc/mtrace.pl: Likewise.
48816 * debug/catchsegv.sh: Likewise.
48817
2ba92745
JJ
488182011-12-30 Jakub Jelinek <jakub@redhat.com>
48819
48820 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48821 pure attribute.
48822
dadebdae
UD
488232011-12-24 Ulrich Drepper <drepper@gmail.com>
48824
d3761ebc 48825 [BZ #13533]
db6af3eb
UD
48826 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48827 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48828 transformations.
48829 * iconv/gconv_int.h: Likewise.
48830 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48831 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48832 from libc for GLIBC_2.16.
48833 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48834 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48835 * wcsmbs/uchar.h: Really define mbstate_t.
48836 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48837 * wcsmbs/c16rtomb.c: New file.
48838 * wcsmbs/mbrtoc16.c: New file.
48839 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48840 for C/POSIX locale.
48841 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48842 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48843
dadebdae
UD
48844 * wcsmbs/wchar.h: Add missing __restrict.
48845
67371b56
UD
488462011-12-23 Ulrich Drepper <drepper@gmail.com>
48847
74033a25
UD
48848 [BZ #13532]
48849 * time/Makefile (routines): Add timespec_get.
48850 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48851 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48852 timespec for ISO C11.
48853 * time/timespec_get.c: New file.
48854 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48855 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48856
380d7e87
UD
48857 [BZ #13531]
48858 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48859 * stdlib/stdlib.h: Declare aligned_alloc.
48860 * Versions.def: Add GLIBC_2.16 for libc.
48861 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48862
4e9e7a35
UD
48863 [BZ 13527]
48864 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48865 ISO C11.
48866
380d7e87 48867 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
48868 code.
48869
03a71829
UD
48870 [BZ #13528]
48871 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48872
839e283e
UD
48873 [BZ #13529]
48874 * assert/assert.h (static_assert): Define.
48875
ce5294e2 48876 * version.h: Update for 2.16 development version.
90fa7312 48877
8d44e150 48878 [BZ #13526]
d7809905
UD
48879 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48880 _ISOC11_SOURCE.
48881
c0da14cd
UD
48882 * version.h (RELEASE): Bump for 2.15 release.
48883 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48884
530a3249
MP
48885 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48886 Patch by Marek Polacek <mpolacek@redhat.com>.
48887
67371b56
UD
48888 * bits/byteswap.h: Protect long long constants with __extension__.
48889 * sysdeps/i386/bits/byteswap.h: Likewise.
48890 * sysdeps/ia64/bits/byteswap.h: Likewise.
48891 * sysdeps/s390/bits/byteswap.h: Likewise.
48892 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48893
15db4de1
LD
488942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48895
48896 [BZ #13540]
bbe315ea
LD
48897 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48898 destination buffer.
15db4de1
LD
48899 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48900
2b2596b1
MP
489012011-12-23 Marek Polacek <polacek@redhat.com>
48902
48903 * elf/dl-addr.c (determine_info): Add inline keyword.
48904 * elf/tst-auditmod4b.c (check_avx): Likewise.
48905 * elf/tst-auditmod6b.c (check_avx): Likewise.
48906 * elf/tst-auditmod6c.c (check_avx): Likewise.
48907 * elf/tst-auditmod7b.c (check_avx): Likewise.
48908
70c6c246
UD
489092011-12-23 Ulrich Drepper <drepper@gmail.com>
48910
48911 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48912 !__SSE_MATH__.
48913
c044cf14
LD
489142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48915
15db4de1 48916 [BZ #13540]
c044cf14
LD
48917 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48918 processing for last bytes.
48919
6b13d9d9
BH
489202011-08-06 Bruno Haible <bruno@clisp.org>
48921
d455f537
BH
48922 [BZ #13061]
48923 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48924 U+0385, not to U+1FEE.
48925
6b13d9d9
BH
48926 [BZ #13062]
48927 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48928 entry for U+00A5 U+0301.
48929
db910efd
UD
489302011-12-22 Ulrich Drepper <drepper@gmail.com>
48931
27deeafc
UD
48932 [BZ #13166]
48933 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48934 buffer for the output is too small.
48935
aed9d171
UD
48936 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48937 optimization.
48938
db910efd
UD
48939 [BZ #13185]
48940 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48941 SSE flags if possible.
48942
2bd779ae
LD
489432011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48944
e7f9dac3 48945 [BZ #13540]
2bd779ae
LD
48946 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48947 processing for last bytes.
48948
154bfc16
JM
489492011-12-22 Joseph Myers <joseph@codesourcery.com>
48950
48951 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48952 (syscall-list-default-options, syscall-list-default-condition)
48953 (syscall-list-includes): Define.
48954 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48955 list of ABIs and options and #if conditions for each ABI. Do not
48956 handle common syscalls between ABIs specially.
48957 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48958 Remove.
48959 (syscall-list-variants, syscall-list-32bit-options)
48960 (syscall-list-32bit-condition, syscall-list-64bit-options)
48961 (syscall-list-64bit-condition): Define.
48962 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48963 (syscall-list-variants, syscall-list-32bit-options)
48964 (syscall-list-32bit-condition, syscall-list-64bit-options)
48965 (syscall-list-64bit-condition): Define.
48966 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48967 Remove.
48968 (syscall-list-variants, syscall-list-32bit-options)
48969 (syscall-list-32bit-condition, syscall-list-64bit-options)
48970 (syscall-list-64bit-condition): Define.
48971 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48972 Remove.
48973 (syscall-list-variants, syscall-list-32bit-options)
48974 (syscall-list-32bit-condition, syscall-list-64bit-options)
48975 (syscall-list-64bit-condition): Define.
48976
21eaf3a5
UD
489772011-12-22 Ulrich Drepper <drepper@gmail.com>
48978
16c6f992
UD
48979 * locale/iso-639.def: Add brx entry.
48980
41043168
UD
48981 [BZ #13328]
48982 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48983 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48984
21eaf3a5
UD
48985 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48986 __feraiseexcept_renamed.
48987
e3a851a2
UD
489882011-12-21 Ulrich Drepper <drepper@gmail.com>
48989
4920765e
UD
48990 [BZ #13538]
48991 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48992 EPOLLET with unsigned values.
48993 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48994 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48995
e3a851a2
UD
48996 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48997 to large cancellation.
48998 * math/s_cacoshf.c: Likewise.
48999 * math/s_cacoshl.c: Likewise.
49000
b27e24b8
RK
490012011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49002
49003 [BZ #13305]
aebefeee 49004 [BZ #12786]
b27e24b8
RK
49005 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49006 * math/s_cacoshf.c: Likewise.
49007 * math/s_cacoshl.c: Likewise.
49008
ee190f67
UD
490092011-12-21 Ulrich Drepper <drepper@gmail.com>
49010
49011 [BZ #13439]
49012 * iconv/gconv.h: Define __GCONV_SWAP.
49013 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49014 * iconvdata/utf-16.c: Likewise.
49015 * iconvdata/utf-32.c: Likewise.
49016
707f25df
AS
490172011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49018
49019 [BZ #13524]
49020 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49021 numerator after shifting it by one limb.
49022
d2daaa1e
RÁE
490232011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49024
49025 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49026 under [__USE_EXTERN_INLINES].
49027
a4647e72
UD
490282011-12-17 Ulrich Drepper <drepper@gmail.com>
49029
49030 [BZ #13446]
49031 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49032
f0b264f1
AZ
490332011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49034
49035 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49036 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49037 optimized code.
49038 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49039 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49040 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49041 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49042 for strncasecmp/strncasecmp_l compilation.
49043 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49044 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49045
8ef4f244
MP
490462011-12-08 Marek Polacek <mpolacek@redhat.com>
49047
49048 [BZ #13484]
49049 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49050 of __asm__.
49051
97ac2654
UD
490522011-12-17 Ulrich Drepper <drepper@gmail.com>
49053
49054 [BZ #13506]
49055 * time/tzfile.c (__tzfile_read): Check values from file header.
49056
91d2a845
WS
490572011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49058
49059 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49060 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49061 * powerpc/powerpc32/dl-start.S: Likewise.
49062 * powerpc/powerpc32/elf/start.S: Likewise.
49063 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49064 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49065 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49066 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49067 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49068 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49069 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49070 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49071 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49072 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49073 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49074 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49075 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49076 * powerpc/powerpc32/memset.S: Likewise.
49077 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49078 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49079 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49080 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49081 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49082 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49083 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49084 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49085 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49086 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49087 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49088 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49089 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49090
a1267ba1
AZ
490912011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49092
49093 * math/libm-test.inc: Added more nearbyint tests.
49094 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49095 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49096 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49097 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49098
ad8ac1bd
RL
490992011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49100
49101 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49102 FD_CLOEXEC.
49103
1d3e4b61
UD
491042011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49105
49106 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49107 Add wcscpy-ssse3 wcscpy-c.
49108 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49109 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49110 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49111 * sysdeps/x86_64/wcschr.S: New file.
49112 * sysdeps/x86_64/wcsrchr.S: New file.
49113 * string/test-strcmp.c: Remove checking of wcscmp function for
49114 wrong alignments.
49115 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49116 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49117 wcsrchr-sse2 wcsrchr-c.
49118 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49119 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49120 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49121 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49122 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49123 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49124 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49125 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49126 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49127 * wcsmbc/wcschr.c (WCSCHR): New macro.
49128
5b330a2d
UD
491292011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49130
49131 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49132 * wcsmbs/test-wcsrchr.c: New file.
49133 * string/test-strrchr.c: Add wcsrchr support.
49134 (WIDE): New macro.
49135 * wcsmbs/test-wcscpy.c: New file.
49136 * string/test-strcpy.c: Add wcscpy support.
49137 (WIDE): New macro.
26428b7c 49138
f039c043
UD
491392011-12-10 Ulrich Drepper <drepper@gmail.com>
49140
49141 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49142 the inner loop.
49143
850fb039
AS
491442011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49145
49146 [BZ #13472]
49147 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49148
4efbd5cb
UD
491492011-12-04 Ulrich Drepper <drepper@gmail.com>
49150
52ff5dd0 49151 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 49152 Minor optimizations.
52ff5dd0 49153
4efbd5cb
UD
49154 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49155 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49156 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49157
8a426e12
UD
491582011-12-03 Ulrich Drepper <drepper@gmail.com>
49159
aff2453d
UD
49160 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49161 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49162 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49163 for gcc to avoid warnings.
49164 * inet/Makefile (tests): Add tst-checks.
49165 * inet/tst-checks.c: New file.
49166
49167 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49168 warning.
49169
49170 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49171 __wmemcmp_sse2.
49172
49173 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49174 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49175
8a426e12
UD
49176 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49177
9bea3473
UD
491782011-12-02 Ulrich Drepper <drepper@gmail.com>
49179
3a965496
UD
49180 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49181 problem.
49182
9bea3473
UD
49183 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49184
f101631b
UD
491852011-11-29 Joseph Myers <joseph@codesourcery.com>
49186
49187 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49188 conditional on GCC version.
49189 (__arch_compare_and_exchange_val_8_acq)
49190 (__arch_compare_and_exchange_val_16_acq)
49191 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49192 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49193 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49194
a98275aa
UD
491952011-12-02 Joseph Myers <joseph@codesourcery.com>
49196
49197 * sysdeps/sh/backtrace.c: New file.
49198
d4cc29a2
AS
491992011-12-02 Andreas Schwab <schwab@redhat.com>
49200
49201 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49202 parenthesis.
49203
6257af2d
AS
492042011-12-01 Andreas Schwab <schwab@redhat.com>
49205
49206 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49207 falling back to utime.
49208
b5f44c1a
AS
492092011-11-30 Andreas Schwab <schwab@redhat.com>
49210
49211 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49212 expectations for float.
49213
f3a6cc0a
AS
492142011-11-29 Andreas Schwab <schwab@redhat.com>
49215
49216 * locale/weight.h (findidx): Add parameter len.
49217 * locale/weightwc.h (findidx): Likewise.
49218 * posix/fnmatch_loop.c (FCT): Adjust caller.
49219 * posix/regcomp.c (build_equiv_class): Likewise.
49220 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49221 * posix/regexec.c (check_node_accept_bytes): Likewise.
49222 * string/strcoll_l.c (STRCOLL): Likewise.
49223 * string/strxfrm_l.c (STRXFRM): Likewise.
49224
9d65ea3a
UD
492252011-11-17 Ulrich Drepper <drepper@gmail.com>
49226
49227 * Makefile.in: Remove CVSOPT handling.
49228 * configure.in: Remove use of AC_REVISION.
49229 * iconvdata/Makefile (distribute): No need to filter out CVS.
49230 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49231 handling.
49232
5583a086
AS
492332011-11-16 Andreas Schwab <schwab@redhat.com>
49234
49235 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49236 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49237 [USE_AS_STRNCASECMP_L]: Likewise.
49238 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49239 NO_TLS_DIRECT_SEG_REFS.
49240 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49241 Fix argument offsets for non-PIC.
49242 [USE_AS_STRNCASECMP_L]: Likewise.
49243 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49244 NO_TLS_DIRECT_SEG_REFS.
49245
d62a8200
UD
492462011-11-15 Ulrich Drepper <drepper@gmail.com>
49247
9d65ea3a 49248 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
49249 O_CLOEXEC.
49250 * locale/loadlocale.c (_nl_load_locale): Likewise.
49251
09f93bd3
AS
492522011-11-15 Andreas Schwab <schwab@redhat.com>
49253
446514f9
AS
49254 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49255 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49256 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49257 (SYSCALL_GETTIME): Set errno on error.
49258
09f93bd3
AS
49259 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49260 count references to noai6ai_cached.
49261
312be3f9
UD
492622011-11-15 Ulrich Drepper <drepper@gmail.com>
49263
49264 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49265
49266 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49267 FD_CLOEXEC for /proc/self/maps.
49268
49269 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49270 FD_CLOEXEC for /proc/meminfo.
49271
49272 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49273 gai.conf.
49274
49275 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49276 FD_CLOEXEC for given file.
49277
49278 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49279
49280 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49281 FD_CLOEXEC for /etc/hosts.
49282 (_gethtent): Likewise.
49283
49284 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49285
49286 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49287 cancellation and set FD_CLOEXEC for /etc/netgroup.
49288
49289 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49290 reading /etc/publickey.
49291
49292 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49293 allow cancellation when reading /etc/group.
49294
49295 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49296 cancellation.
49297 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49298
49299 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49300 when using data file.
49301
49302 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49303
49304 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49305 (write_nis_obj): Use "c" and "e" in fopen.
49306
49307 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49308
49309 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49310
49311 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49312
49313 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49314
49315 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49316 locale.alias.
49317
49318 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49319
49320 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49321
49322 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49323
49324 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49325 file parsing and set FD_CLOEXEC.
49326
82af0fa8
UD
493272011-11-14 Ulrich Drepper <drepper@gmail.com>
49328
49329 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49330
a5fb313c
AS
493312011-11-14 Andreas Schwab <schwab@redhat.com>
49332
49333 * malloc/arena.c (arena_get2): Don't call reused_arena when
49334 _int_new_arena failed.
49335
6abf3465
UD
493362011-11-14 Ulrich Drepper <drepper@gmail.com>
49337
49338 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49339 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49340 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49341 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49342 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49343 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49344 to compile strcasecmp and strncasecmp.
49345 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49346 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49347
49348 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49349
76e3966e
UD
493502011-11-13 Ulrich Drepper <drepper@gmail.com>
49351
49352 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49353 locale-defines.sym to gen-as-const-headers.
49354 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49355 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49356 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49357 to compile strcasecmp and strncasecmp.
49358 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49359 strcasecmp_l and strncasecmp_l.
49360 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49361 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49362 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49363 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49364 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49365 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49366 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49367 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49368 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49369 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49370 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49371
ab26144e
UD
493722011-11-12 Ulrich Drepper <drepper@gmail.com>
49373
7edb22ef
UD
49374 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49375 result of SYSDEP_GETTIME_CPU to retval.
49376 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49377 parameter list to macro. Remove trailing semicolon. Adjust users.
49378
9694fc44
UD
49379 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49380 variable.
49381
8ad89ef8
UD
49382 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49383 mantissa words.
49384 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49385
0c822ef9
UD
49386 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49387 from unused variable.
49388
874e0564
UD
49389 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49390 DWARF definitions.
49391 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49392 for assembling.
49393
3a2edc79
UD
49394 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49395 over namespaces.
49396
f3c2577f
UD
49397 * sunrpc/rpc_prot.c (rejected): Fix case value.
49398
294ce126
UD
49399 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49400 unsigned long long int to avoid warnings in shift.
49401
5e2b63c6
UD
49402 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49403 of use of trans.
49404 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49405 variable tmp.
49406
e7f4b08e
UD
49407 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49408 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49409 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49410
ab26144e
UD
49411 * nis/nis_table.c (nis_list): Use variable of correct type for
49412 result of __follow_path call.
49413
8a6d5255
AZ
494142011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49415
49416 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49417 of math functions ceil, trunc, floor, round, and sqrt, when
49418 avaliable on the platform.
49419 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49420 name clash.
49421 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49422 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49423 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49424
aaddc98c
MP
494252011-10-30 Marek Polacek <mpolacek@redhat.com>
49426
49427 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49428 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49429
95b7042b
RM
494302011-11-11 Roland McGrath <roland@hack.frob.com>
49431
49432 * include/unistd.h: Fix __readlink return type.
49433 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49434
57769839
UD
494352011-11-11 Ulrich Drepper <drepper@gmail.com>
49436
49437 * stdlib/ucontext.h: Undo last change for makecontext.
49438
edc5984d
AS
494392011-11-11 Andreas Schwab <schwab@redhat.com>
49440
98591e58
AS
49441 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49442
edc5984d
AS
49443 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49444 * setjmp/setjmp.h: Mark functions as non-leaf.
49445 * setjmp/bits/setjmp2.h: Likewise.
49446 * stdlib/ucontext.h: Likewise.
49447
77cdc054
AS
494482011-11-10 Andreas Schwab <schwab@redhat.com>
49449
49450 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49451 (reused_arena): Don't check arena limit.
49452 (arena_get2): Atomically check arena limit.
49453
fe72eebd
UD
494542011-11-08 Ulrich Drepper <drepper@gmail.com>
49455
5f078c32
UD
49456 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49457 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49458
fe72eebd
UD
49459 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49460 instructions.
49461
ae1bc2fa
AS
494622011-11-07 Andreas Schwab <schwab@redhat.com>
49463
7583a88d
AS
49464 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49465 handler when locking.
49466
ae1bc2fa
AS
49467 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49468 Fix size of allocated buffer.
49469
10fb0bfa
AS
494702011-11-04 Andreas Schwab <schwab@redhat.com>
49471
998832a4
AS
49472 [BZ #10103]
49473 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49474 declarations for long double functions.
49475 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49476
10fb0bfa
AS
49477 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49478
3d7ba52b
AS
494792011-11-03 Andreas Schwab <schwab@redhat.com>
49480
a9ae54a1
AS
49481 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49482 installed.
49483
3d7ba52b
AS
49484 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49485 is disabled.
49486
bc8db248
ST
494872011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49488
49489 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49490
45b96dd6
AS
494912011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49492
647776f6
AS
49493 * include/alloca.h (stackinfo_alloca_round): Define.
49494 (extend_alloca): Use it.
49495 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49496 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49497 here.
49498
d91a8b93
AS
49499 * scripts/check-local-headers.sh: Ignore libaudit.h.
49500
45b96dd6
AS
49501 * nscd/Makefile (extra-objs): Make recursively expanded.
49502
432d41ce
UD
495032011-11-01 Ulrich Drepper <drepper@gmail.com>
49504
34372fc6
UD
49505 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49506 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49507
fadb59f8
UD
49508 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49509 * posix/tst-rfc3484-2.c: Likewise.
49510 * posix/tst-rfc3484-3.c: Likewise.
49511
78239589
UD
49512 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49513 process_vm_writev.
49514 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49515 process_vm_writev.
49516 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49517 process_vm_writev from libc using GLIBC_2.15 version.
49518
432d41ce
UD
49519 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49520
02f9c6cf
PP
495212011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49522
49523 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49524 stack usage.
49525
3a2c0242
UD
495262011-10-31 Ulrich Drepper <drepper@gmail.com>
49527
f4ec4833
UD
49528 [BZ #13367]
49529 * nss/getent.c (initgroups_keys): Show error message in case no group
49530 names are given.
49531
3a2c0242
UD
49532 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49533 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49534 __bump_nl_timestamp.
49535 * nscd/connections (nscd_init): When host database is served open
49536 netlink socket and request notification about configuration changes.
49537 (main_loop_poll): Track netlink file descriptor and bump timestamp
49538 in case data becomes available.
49539 (main_loop_epoll): Likewise.
49540 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49541 (database_pers_head): Add extra_data fileds.
49542 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49543 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49544 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49545 Adjust caller.
49546 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49547 in6ai data, call __free_in6ai.
49548 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49549 Add -DHAVE_NETLINK.
49550 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49551 interface information. Reuse previous data if netlink timestamp
49552 is not changed.
49553 (__bump_nl_timestamp): New function.
49554 (__free_in6ai): New function.
49555
636064eb
UD
495562011-10-30 Ulrich Drepper <drepper@gmail.com>
49557
49558 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49559 close_not_cancel_no_status here.
49560 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49561
9beb2334
UD
495622011-10-29 Ulrich Drepper <drepper@gmail.com>
49563
6ef76f3b
UD
49564 [BZ #13276]
49565 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49566 return value.
49567
0ffc4f3e 49568 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
49569 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49570 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49571
cb95113e
UD
495722011-07-03 Andreas Jaeger <aj@suse.de>
49573
49574 [BZ #10709]
49575 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49576 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49577 * math/libm-test.inc (sin_test): Add test case.
49578
a1b560ff
UD
495792011-10-29 Ulrich Drepper <drepper@gmail.com>
49580
c9aaface
UD
49581 [BZ #13337]
49582 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49583 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49584
d272e7f1
UD
49585 * elf/chroot_canon.c (chroot_canon): Cleanups.
49586
1bc33071
UD
49587 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49588
1760874d
TJ
49589 [BZ #13335]
49590 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49591 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49592
51d91b18
UD
49593 * string/test-strchr.c: Make usable for strchrnul testing.
49594 * string/test-strchrnul.c: New file.
49595 * string/Makefile (strop-tests): Add strchrnul.
49596
a1b560ff 49597 * po/it.po: Update from translation team.
b611fb81 49598 * po/es.po: Likewise.
a1b560ff 49599
a5b81e1f
UD
496002011-10-28 Ulrich Drepper <drepper@gmail.com>
49601
fd52bc6d
UD
49602 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49603 the three constants needed as parameters. Drop the others.
49604 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49605 __m128i_strloadu_tolower.
52e4b9eb
UD
49606 Create and initialize variable zero and use it in all the places
49607 where _mm_setzero_si128 was used.
fd52bc6d 49608
a5b81e1f
UD
49609 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49610 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49611 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49612 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49613 anymore.
49614 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49615 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49616 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49617 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49618 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49619 __mpranred, __mptan.
49620 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49621 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49622 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49623 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49624 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49625 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49626 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49627 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49628 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49629
b4343346
AS
496302011-10-28 Andreas Schwab <schwab@redhat.com>
49631
0c92d8a8
AS
49632 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49633 redefine if SHARED.
49634 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49635
b4343346
AS
49636 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49637 wide char related routines to wcsmbs subdir.
49638
3871f58f
AS
496392011-10-27 Andreas Schwab <schwab@redhat.com>
49640
49641 [BZ #13344]
49642 * misc/sys/cdefs.h (__THROWNL): Define.
49643 * posix/unistd.h: Use __THREADNL instead of __THREAD
49644 for memory synchronization functions.
49645
94d44d9f
RM
496462011-10-26 Roland McGrath <roland@hack.frob.com>
49647
21b64b15 49648 [BZ #13349]
94d44d9f
RM
49649 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49650 doesn't exist.
49651 * manual/stdio.texi (Obstack Streams): Node removed.
49652
f6ce9294
AS
496532011-10-26 Andreas Schwab <schwab@redhat.com>
49654
80479147
AS
49655 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49656 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49657 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49658
f6ce9294
AS
49659 * math/math_private.h (math_force_eval): Allow non-addressable
49660 arguments.
49661 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49662
618280a1
UD
496632011-10-25 Ulrich Drepper <drepper@gmail.com>
49664
e0016b11
UD
49665 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49666 file is not needed.
49667
49668 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49669 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49670 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49671 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49672 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49673 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49674 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49675 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49676 Add AVX variants.
49677 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49678 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49679 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49680 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49681 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49682 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49683 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49684 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49685 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49686 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49687 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49688 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49689 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49690 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49691 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49692 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49693 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49694 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49695 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49696
49697 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49698 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49699
618280a1
UD
49700 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49701 place. Use VEX encoding when compiling for AVX.
49702
37822576
AS
497032011-10-25 Andreas Schwab <schwab@redhat.com>
49704
1f1e1947
AS
49705 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49706 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49707
37822576
AS
49708 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49709
31ea014d
UD
497102011-10-25 Ulrich Drepper <drepper@gmail.com>
49711
d7826aa1 49712 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 49713 useless if() expression.
d7826aa1
UD
49714 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49715 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49716 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49717 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49718 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49719 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49720 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49721 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49722 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49723 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49724 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49725 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49726 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49727 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49728 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49729 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49730 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49731 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49732 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49733
31ea014d
UD
49734 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49735
16437fec
AS
497362011-10-25 Andreas Schwab <schwab@redhat.com>
49737
49738 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49739 condition.
49740 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49741
31d3cc00
UD
497422011-10-25 Ulrich Drepper <drepper@gmail.com>
49743
49744 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49745 .text section. Avoid duplicate constants.
49746 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49747 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49748 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49749 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49750 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49752 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49753 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49754 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49755 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49756 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49757 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49758 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49759 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49760 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49761 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49762 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49763 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49764 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49765 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49766 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49767 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49768 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49769 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49770 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49771 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49772 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49773 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49774 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49775 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49776 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49777 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49778 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49779 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49780 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49781 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49782 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49783 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49784 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49785 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49786 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49787 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49788 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49789 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49790 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49791
58985aa9
UD
497922011-10-24 Ulrich Drepper <drepper@gmail.com>
49793
202c9deb
UD
49794 * sysdeps/x86_64/dla.h: Move to ...
49795 * sysdeps/x86_64/fpu/dla.h: ...here.
49796 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49797 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 49798
af968f62
UD
49799 * config.make.in: Add have-mfma4 entry.
49800 * configure.in: Substitute libc_cv_cc_fma4.
49801 * math/Makefile (dbl-only-routines): Add sincostab.
49802 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49803 Use __sincostab not sincos.
49804 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49805 name is a macro.
49806 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49807 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49810 using __copysign.
49811 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49812 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49813 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49814 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49815 and __inv.
49816 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49817 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49818 __copysign.
49819 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49820 define aliases when function name is a macro.
49821 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49822 sysdeps/ieee754/dbl-64/sincos.tbl.
49823 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49824 fma4-enabled routines.
49825 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49826 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49827 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49828 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49829 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49830 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49831 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49832 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49833 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49834 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49835 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49836 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49837 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49838 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49839 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49840 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49841 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49842 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49843 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49844 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49845 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49846 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49847 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49848 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49849 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49850 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49851 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49852 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49853 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49854 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49855
58985aa9
UD
49856 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49857 rename.
49858 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49859 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49860 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49863 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49864 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49865 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49866
a201fbcf
AS
498672011-10-24 Andreas Schwab <schwab@redhat.com>
49868
49869 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49870
fc2ee42a
LD
498712011-10-23 Ulrich Drepper <drepper@gmail.com>
49872
bb3129bd
UD
49873 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49874
0275fff8
UD
49875 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49876 prediction.
49877 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49878
2fa2ae85
UD
49879 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49880 Remove unused variable magic_bits.
49881 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49882
fc2ee42a
LD
49883 * string/strnlen.c: Define and use STRNLEN macro.
49884 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49885 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49886 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49887 * wcsmbs/wcslen.c: Define and use WCSLEN.
49888 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49889 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49890 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49891 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49892 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49893 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49894 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49895
ce7dd29f
LD
498962011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49897
49898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49899 strnlen-sse2-no-bsf.
49900 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49901 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49902 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49903 Add strnlen support.
49904 (USE_AS_STRNLEN): New macro.
49905 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49906 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49907 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49908 * sysdeps/x86_64/wcslen.S: New file.
49909
979c70a3
MZ
499102011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49911
49912 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49913 XMM-moves are used for copying on small sizes.
49914
2d09f82f
LD
499152011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49916
49917 * wcsmbs/Makefile (strop-tests): Add wcschr.
49918 * wcsmbs/test-wcschr.c: New file.
49919 * string/test-strchr.c: Update.
49920 Add wcschr support.
49921 (WIDE): New macro.
49922
619fccca
LD
499232011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49924
2d09f82f 49925 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
49926 * wcsmbs/test-wcslen.c: New file.
49927 * string/test-strlen.c: Update.
49928 Add wcslen support.
49929 (WIDE): New macro.
49930
09f699ea
UD
499312011-10-23 Ulrich Drepper <drepper@gmail.com>
49932
49933 * po/it.po: Update from translation team.
49934
95584d3b
LD
499352011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49936
49937 * sysdeps/x86_64/wcscmp.S: Update.
49938 Fix wrong comparison semantics.
49939 wcscmp shall use signed comparison not unsigned.
49940 Don't use substraction to avoid overflow bug.
49941 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49942 * wcsmbc/wcscmp.c: Likewise.
49943 * string/test-strcmp.c: Likewise.
49944 Add new tests to check cases with negative values.
49945
c8b3296b
UD
499462011-10-23 Ulrich Drepper <drepper@gmail.com>
49947
49948 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49949 * sysdeps/x86_64/dla.h: ...here. New file.
49950 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49952 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49953 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49954 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49955 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49956 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49957 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49958 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49959
246ad57a
AS
499602011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49961
49962 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49963 __ynl_finite aliases.
49964
a1a87169
UD
499652011-10-22 Ulrich Drepper <drepper@gmail.com>
49966
0d355eb7
UD
49967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49968
a1a87169
UD
49969 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49970 define DLA_FMA.
49971 [DLA_FMA] (EMULV): Use DLA_FMA.
49972 [DLA_FMA] (MUL12): Use EMULV.
49973 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49974 that are not needed.
49975 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49977 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49978 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49979 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49980 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49981 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49982
ee2aafe0
AS
499832011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49984
49985 * math/s_nan.c: Undef __nan.
49986 * math/s_nanf.c: Undef __nanf.
49987 * math/s_nanl.c: Undef __nanl.
49988 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49989 "math_private.h".
49990
bc62c2fb
UD
499912011-10-22 Ulrich Drepper <drepper@gmail.com>
49992
77425c63
UD
49993 * math/s_catan.c: Add branch predictions.
49994 * math/s_catanf.c: Likewise.
49995 * math/s_catanh.c: Likewise.
49996 * math/s_catanhf.c: Likewise.
49997 * math/s_catanhl.c: Likewise.
49998 * math/s_catanl.c: Likewise.
49999 * math/s_cexp.c: Likewise.
50000 * math/s_cexpf.c: Likewise.
50001 * math/s_cexpl.c: Likewise.
50002 * math/s_clog.c: Likewise.
50003 * math/s_clog10.c: Likewise.
50004 * math/s_clog10f.c: Likewise.
50005 * math/s_clog10l.c: Likewise.
50006 * math/s_clogf.c: Likewise.
50007 * math/s_clogl.c: Likewise.
50008 * math/s_csqrt.c: Likewise.
50009 * math/s_csqrtf.c: Likewise.
50010 * math/s_csqrtl.c: Likewise.
50011 * math/s_ctanf.c: Likewise.
50012 * math/s_ctanh.c: Likewise.
50013 * math/s_ctanhf.c: Likewise.
50014 * math/s_ctanhl.c: Likewise.
50015 * math/s_ctanl.c: Likewise.
50016
bc62c2fb
UD
50017 * math/math_private.h: Define __nan, __nanf, __nanl.
50018 * math/s_cacosh.c: Include <math_private.h>.
50019 * math/s_cacoshl.c: Likewise.
50020 * math/s_casinh.c: Likewise.
50021 * math/s_casinhf.c: Likewise.
50022 * math/s_casinhl.c: Likewise.
50023 * math/s_ccos.c: Rely entire on ccosh.
50024 * math/s_ccosf.c: Rely entire on ccoshf.
50025 * math/s_ccosl.c: Rely entirely on ccoshl.
50026 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50027 Remove tests for FE_INVALID.
50028 * math/s_ccoshf.c: Likewise.
50029 * math/s_ccoshl.c: Likewise.
50030 * math/s_csin.c: Likewise.
50031 * math/s_csinf.c: Likewise.
50032 * math/s_csinh.c Likewise.
50033 * math/s_csinhf.c: Likewise.
50034 * math/s_csinhl.c: Likewise.
50035 * math/s_csinl.c: Likewise.
50036 * math/s_ctan.c: Likewise.
50037 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50038 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50039 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50040
8ec250a4
UD
500412011-10-21 Ulrich Drepper <drepper@gmail.com>
50042
c196fed8
UD
50043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50044 compilation problems.
50045
8ec250a4
UD
50046 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50047 __builtin_expect.
50048
8d4f46c6
UD
500492011-10-20 Ulrich Drepper <drepper@gmail.com>
50050
ed72b654
UD
50051 * sysdeps/i386/configure.in: Test for -mfma4 option.
50052 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50053 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50054 COMMON_CPUID_INDEX_80000001.
50055 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50056 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50057 use it if FMA3 is not supported.
50058 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50059
8d4f46c6
UD
50060 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50061 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50062
d45c60c2
AS
500632011-10-20 Andreas Schwab <schwab@redhat.com>
50064
50065 [BZ #12892]
50066 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50067 it would create a cycle with a link time dependency.
50068
d9a4d2ab
UD
500692011-10-19 Ulrich Drepper <drepper@gmail.com>
50070
855d1560
UD
50071 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50072 instruction.
50073 * string/Makefile (strop-tests): Add rawmemchr.
50074 * string/test-rawmemchr.c: New file.
50075
d9a4d2ab
UD
50076 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50077 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50078 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50079 when compiling str{,n}casecmp and when AVX is available. Hook up
50080 new optimized code in initializers.
50081
8f3b1ffe
AS
500822011-10-19 Andreas Schwab <schwab@redhat.com>
50083
50084 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50085 __feraiseexcept instead of feraiseexcept.
50086
d38f1dba
UD
500872011-10-18 Ulrich Drepper <drepper@gmail.com>
50088
d9a8d0ab
UD
50089 * math/math_private.h: Define defaults for libc_fetestexcept and
50090 libc_feupdateenv.
50091 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50092 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50093 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50094 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50095 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50096 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50097 libc_fetestexcept and libc_feupdateenv.
50098
4855e3dd
UD
50099 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50100 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50101 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50102 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50103 libc_feholdexcept_setround.
50104
581d30e3
UD
50105 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50106 Add s_nearbyint-c and s_nearbyintf-c.
50107 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50108 nearbyintf inlines.
50109 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50110 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50111 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50112 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50113
d38f1dba
UD
50114 * math/math_private.h: Define defaults for libc_fegetround,
50115 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50116 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50117 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50118 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50119 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50120 standard functions.
50121 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50122 Remove comments and hacks for old compiler versions.
50123 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50124 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50125 libc_feholdexceptl.
50126
caa6c9d8
AS
501272011-10-18 Andreas Schwab <schwab@redhat.com>
50128
50129 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
50130 (__feraiseexcept_renamed): Add __NTH.
50131 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
50132 namespace violations.
50133
97c066e6
UD
501342011-10-17 Ulrich Drepper <drepper@gmail.com>
50135
99ce7b04
UD
50136 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50137
1004d182
UD
50138 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50139
228a984d
UD
50140 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50141 recently added interfaces.
50142 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50143
c8553a6a
UD
50144 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50145 about macro parameter expansion.
50146
ed22dcf6
UD
50147 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50148 __NO_MATH_INLINES is defined. Cleanups.
50149
50150 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50151 and __floorf is target has SSE4.1.
50152 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50153 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50154 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50155 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50156
b171c137
UD
50157 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50158 name.
50159 (floorf): Likewise.
50160
97c066e6
UD
50161 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50162
629f62ef
AS
501632011-10-17 Andreas Schwab <schwab@redhat.com>
50164
49a43d80
AS
50165 * misc/sys/cdefs.h: Fix last change.
50166
629f62ef
AS
50167 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50168 database lookup.
50169
e453f6cd
UD
501702011-10-16 Ulrich Drepper <drepper@gmail.com>
50171
aa78043a
UD
50172 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50173
ad0f5cad
UD
50174 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50175 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50176 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50177 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50178 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50179 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50180 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50181 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50182 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50183 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50184 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50185 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50186 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50187 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50188 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50189 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50190 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50191 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50192 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50193 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50194 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50195 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50196
50197 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50198 ceil, ceilf, floor, floorf.
50199
50200 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50201 Perform IRELATIVE relocations last.
50202
e453f6cd
UD
50203 * elf/do-rel.h: Add another parameter nrelative, replacing the
50204 local variable with the same name. Change name of the function
50205 to end in Rel or Rela (uppercase).
50206 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50207 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50208 elf_dynamic_do_##reloc function.
50209
fd5bdc09
UD
502102011-10-15 Ulrich Drepper <drepper@gmail.com>
50211
79b195b5
UD
50212 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50213 is sufficient, at least on modern CPUs.
50214
d4a28569
UD
50215 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50216
b61099b5
UD
50217 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50218 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50219
bcf01e6d
UD
50220 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50221 __expl_finite.
50222 * math/bits/math-finite.h: Add entries for exp.
50223 * math/e_expl.c: Add __*_finite alias.
50224 * sysdeps/i386/fpu/e_exp.S: Likewise.
50225 * sysdeps/i386/fpu/e_expf.S: Likewise.
50226 * sysdeps/i386/fpu/e_expl.c: Likewise.
50227 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50228 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50229 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50230 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50231 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50232 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50233 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50234
ba1a0d59
UD
50235 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50236 is sufficient, at least on modern CPUs.
50237
fd5bdc09
UD
50238 * ctype/ctype-info.c (__ctype_init): Define.
50239 * include/ctype.h (__ctype_init): Declare.
50240 (__ctype_b_loc): The variable is always initialized.
50241 (__ctype_toupper_loc): Likewise.
50242 (__ctype_tolower_loc): Likewise.
50243 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50244 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50245
7872cfb0
AS
502462011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50247
b468825a
AS
50248 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50249
7872cfb0
AS
50250 * configure.in: Also look in $cxxmachine/include for C++ system
50251 headers.
50252
be13f7bf
LD
502532011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50254
50255 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50256 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50257 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50258 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50259 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50260 (USE_AS_WMEMCMP): New macro.
50261 Fixing indents.
50262 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50263 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50264 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50265 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50267 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50268 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50269 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50270 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50271 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50272 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50273 (USE_AS_WMEMCMP): New macro.
50274 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50275 * sysdeps/string/test-memcmp.c: Update.
50276 Fix simple_wmemcmp.
50277 Add new tests.
50278 * wcsmbs/wmemcmp.c: Update.
50279 (WMEMCMP): New macro.
50280 Fix overflow bug.
50281
556a2007
AJ
502822011-10-12 Andreas Jaeger <aj@suse.de>
50283
50284 [BZ #13268]
50285 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50286
538faaa7
UD
502872011-10-15 Ulrich Drepper <drepper@gmail.com>
50288
ab6737ff
UD
50289 * libio/iofwide.c (do_length): Avoid warning.
50290
538faaa7
UD
50291 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50292
396a21b1
UD
502932011-10-14 Ulrich Drepper <drepper@gmail.com>
50294
cdf2901f
UD
50295 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50296
38ad40ce
UD
50297 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50298 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50299 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50300 * sysdeps/i386/i686/fpu/e_log.S: New file.
50301 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50302 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50303
396a21b1
UD
50304 * ctype/ctype.h: Add support for inlined isXXX functions when
50305 compiling C++ code.
50306
6b1f68c9
AS
503072011-10-14 Andreas Schwab <schwab@redhat.com>
50308
349290c0
AS
50309 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50310
6b1f68c9
AS
50311 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50312
f2282d42
RM
503132011-10-13 Roland McGrath <roland@hack.frob.com>
50314
50315 [BZ #13291]
50316 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50317
5298ffa8
AS
503182011-10-13 Andreas Schwab <schwab@redhat.com>
50319
714fad23
AS
50320 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50321 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50322 feraiseexcept.
50323
81dcc7fb
AS
50324 * sysdeps/x86_64/memrchr.S: Check for zero size.
50325
5298ffa8
AS
50326 * string/stratcliff.c: Add memrchr tests.
50327
951fbcec
LD
503282011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50329
50330 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50331 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50332 rawmemchr-sse2 rawmemchr-sse2-bsf.
50333 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50334 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50335 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50336 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50337 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50338 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50339 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50340 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50341 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50342 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50343 * string/memrchr.c (MEMRCHR): New macro.
50344
0ac5ae23
UD
503452011-10-12 Ulrich Drepper <drepper@gmail.com>
50346
50347 Add integration with gcc's -ffinite-math-only and optimize wrapper
50348 functions in libm.
50349 * Versions.def: Define GLIBC_2.15 version for libm.
50350 * math/Makefile (headers): Add bits/math-finite.h.
50351 * math/bits/math-finite.h: New file.
50352 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50353 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50354 * math/e_acoshl.c: Add __*_finite alias.
50355 * math/e_acosl.c: Likewise.
50356 * math/e_asinl.c: Likewise.
50357 * math/e_atan2l.c: Likewise.
50358 * math/e_atanhl.c: Likewise.
50359 * math/e_coshl.c: Likewise.
50360 * math/e_exp10.c: Likewise.
50361 * math/e_exp10f.c: Likewise.
50362 * math/e_exp10l.c: Likewise.
50363 * math/e_exp2l.c: Likewise.
50364 * math/e_fmodl.c: Likewise.
50365 * math/e_gammal_r.c: Likewise.
50366 * math/e_hypotl.c: Likewise.
50367 * math/e_j0l.c: Likewise.
50368 * math/e_j1l.c: Likewise.
50369 * math/e_jnl.c: Likewise.
50370 * math/e_lgammal_r.c: Likewise.
50371 * math/e_log10l.c: Likewise.
50372 * math/e_log2l.c: Likewise.
50373 * math/e_logl.c: Likewise.
50374 * math/e_powl.c: Likewise.
50375 * math/e_sinhl.c: Likewise.
50376 * math/e_sqrtl.c: Likewise.
50377 * math/e_scalb.c: Completely rewritten and optimized.
50378 * math/e_scalbf.c: Likewise.
50379 * math/e_scalbl.c: Likewise.
50380 * math/w_acos.c: Likewise.
50381 * math/w_acosf.c: Likewise.
50382 * math/w_acosl.c: Likewise.
50383 * math/w_acosh.c: Likewise.
50384 * math/w_acoshf.c: Likewise.
50385 * math/w_acoshl.c: Likewise.
50386 * math/w_asin.c: Likewise.
50387 * math/w_asinf.c: Likewise.
50388 * math/w_asinl.c: Likewise.
50389 * math/w_atan2.c: Likewise.
50390 * math/w_atan2f.c: Likewise.
50391 * math/w_atan2l.c: Likewise.
50392 * math/w_atanh.c: Likewise.
50393 * math/w_atanhf.c: Likewise.
50394 * math/w_atanhl.c: Likewise.
50395 * math/w_exp10.c: Likewise.
50396 * math/w_exp10f.c: Likewise.
50397 * math/w_exp10l.c: Likewise.
50398 * math/w_fmod.c: Likewise.
50399 * math/w_fmodf.c: Likewise.
50400 * math/w_fmodl.c: Likewise.
50401 * math/w_j0.c: Likewise.
50402 * math/w_j0f.c: Likewise.
50403 * math/w_j0l.c: Likewise.
50404 * math/w_j1.c: Likewise.
50405 * math/w_j1f.c: Likewise.
50406 * math/w_j1l.c: Likewise.
50407 * math/w_jn.c: Likewise.
50408 * math/w_jnf.c: Likewise.
50409 * math/w_log.c: Likewise.
50410 * math/w_logf.c: Likewise.
50411 * math/w_logl.c: Likewise.
50412 * math/w_log10.c: Likewise.
50413 * math/w_log10f.c: Likewise.
50414 * math/w_log10l.c: Likewise.
50415 * math/w_log2.c: Likewise.
50416 * math/w_log2f.c: Likewise.
50417 * math/w_log2l.c: Likewise.
50418 * math/w_pow.c: Likewise.
50419 * math/w_powf.c: Likewise.
50420 * math/w_powl.c: Likewise.
50421 * math/w_remainder.c: Likewise.
50422 * math/w_remainderf.c: Likewise.
50423 * math/w_remainderl.c: Likewise.
50424 * math/w_scalb.c: Likewise.
50425 * math/w_scalbf.c: Likewise.
50426 * math/w_scalbl.c: Likewise.
50427 * math/w_sqrt.c: Likewise.
50428 * math/w_sqrtf.c: Likewise.
50429 * math/w_sqrtl.c: Likewise.
50430 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50431 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50432 used.
50433 * math/math_private.h: Declare __kernel_standard_f.
50434 * math/w_cosh.c: Remove cruft and optimize a bit.
50435 * math/w_coshf.c: Likewise.
50436 * math/w_coshl.c: Likewise.
50437 * math/w_exp2.c: Likewise.
50438 * math/w_exp2f.c: Likewise.
50439 * math/w_exp2l.c: Likewise.
50440 * math/w_hypot.c: Likewise.
50441 * math/w_hypotf.c: Likewise.
50442 * math/w_hypotl.c: Likewise.
50443 * math/w_lgamma.c: Likewise.
50444 * math/w_lgamma_r.c: Likewise.
50445 * math/w_lgammaf.c: Likewise.
50446 * math/w_lgammaf_r.c: Likewise.
50447 * math/w_lgammal.c: Likewise.
50448 * math/w_lgammal_r.c: Likewise.
50449 * math/w_sinh.c: Likewise.
50450 * math/w_sinhf.c: Likewise.
50451 * math/w_sinhl.c: Likewise.
50452 * math/w_tgamma.c: Likewise.
50453 * math/w_tgammaf.c: Likewise.
50454 * math/w_tgammal.c: Likewise.
50455 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50456 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50457 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50458 Minor optimizations. Pretty printing. Remove cruft.
50459 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50460 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50461 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50462 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50463 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50464 * sysdeps/i386/fpu/e_asin.S: Likewise.
50465 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50466 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50467 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50468 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50469 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50470 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50471 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50472 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50473 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50474 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50475 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50476 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50477 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50478 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50479 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50480 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50481 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50482 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50483 * sysdeps/i386/fpu/e_log.S: Likewise.
50484 * sysdeps/i386/fpu/e_log10.S: Likewise.
50485 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50486 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50487 * sysdeps/i386/fpu/e_log2.S: Likewise.
50488 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50489 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50490 * sysdeps/i386/fpu/e_logf.S: Likewise.
50491 * sysdeps/i386/fpu/e_logl.S: Likewise.
50492 * sysdeps/i386/fpu/e_pow.S: Likewise.
50493 * sysdeps/i386/fpu/e_powf.S: Likewise.
50494 * sysdeps/i386/fpu/e_powl.S: Likewise.
50495 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50496 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50497 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50498 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50499 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50500 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50501 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50502 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50503 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50504 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50505 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50506 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50507 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50508 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50509 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50510 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50511 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50512 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50513 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50514 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50515 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50517 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50518 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50519 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50520 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50521 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50522 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50523 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50524 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50525 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50526 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50527 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50528 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50529 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50530 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50531 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50532 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50533 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50534 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50535 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50536 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50537 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50538 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50539 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50540 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50541 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50542 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50543 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50544 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50545 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50546 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50547 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50548 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50549 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50550 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50551 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50552 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50553 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50554 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50555 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50556 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50557 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50558 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50559 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50560 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50561 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50562 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50563 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50564 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50565 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50566 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50567 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50568 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50569 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50570 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50571 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50572 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50573 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50574 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50575 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50576 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50577 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50578 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50579 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50580 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50581 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50582 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50583 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50584 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50585 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50586 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50587 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50588 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50589 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50590 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50591 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50592 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50593 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50594 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50595 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50596 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50597 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50598 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50599 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50600 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50601 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50602 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50603 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50604 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50605 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50606 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50607 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50608 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50609 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50610 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50611 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50612 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50613 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50614 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50615 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50616 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50617 (__isnanf): Likewise.
50618 (__isinf_ns): Likewise.
50619 (__isinf_nsf): Likewise.
50620 (__finite): Likewise.
50621 (__finitef): Likewise.
50622 (__ieee754_sqrt): Define as macro.
50623 (__ieee754_sqrtf): Define as macro.
50624 (__ieee754_sqrtl): Define as macro.
50625 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50626 inlined copy.
50627 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50628 __FINITE_MATH_ONLY__ consistent.
50629 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50630
12cc2fcd
AS
506312011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50632
a843a204
AS
50633 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50634 of rawmemchr.
50635
12cc2fcd
AS
50636 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50637
c853acd5
UD
506382011-10-09 Ulrich Drepper <drepper@gmail.com>
50639
50640 * po/ja.po: Update from translation team.
50641
c658d255
RM
506422011-10-08 Roland McGrath <roland@hack.frob.com>
50643
110946e4
RM
50644 * locale/programs/locarchive.c (prepare_address_space): New function.
50645 (create_archive, enlarge_archive, open_archive): Use it.
50646
50604220
RM
50647 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50648 inside [SHARED], where it is used.
50649
c658d255
RM
50650 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50651
50652 * nss/getent.c (netgroup_keys): Remove unused variable.
50653 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50654
6a621eb7
UD
506552011-10-08 Ulrich Drepper <drepper@gmail.com>
50656
7edb55ce
UD
50657 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50658 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50659 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50660 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50661 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50662 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50663 * math/Makefile (libm-calls): Add s_isinf_ns.
50664 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50665 * math/multc3.c: Likewise.
50666 * math/s_casin.c: Likewise.
50667 * math/s_casinf.c: Likewise.
50668 * math/s_casinl.c: Likewise.
50669 * math/s_ccos.c: Likewise.
50670 * math/s_ccosf.c: Likewise.
50671 * math/s_ccosl.c: Likewise.
50672 * math/s_ctan.c: Likewise.
50673 * math/s_ctanf.c: Likewise.
50674 * math/s_ctanh.c: Likewise.
50675 * math/s_ctanhf.c: Likewise.
50676 * math/s_ctanhl.c: Likewise.
50677 * math/s_ctanl.c: Likewise.
50678 * math/w_fmod.c: Likewise.
50679 * math/w_fmodf.c: Likewise.
50680 * math/w_fmodl.c: Likewise.
50681 * math/w_remainder.c: Likewise.
50682 * math/w_remainderf.c: Likewise.
50683 * math/w_remainderl.c: Likewise.
50684 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50685 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50686 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50687 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50688 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50689 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50690 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50691 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50692
187da0ae
UD
50693 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50694 of the number.
50695 * stdio-common/printf_fphex.c: Likewise.
50696 * stdio-common/printf_size.c: Likewise.
50697
9277c064
UD
50698 * math/e_exp10.c: Include math_private.h using <...> not "...".
50699 * math/e_exp10f.c: Likewise.
50700 * math/e_exp10l.c: Likewise.
50701 * math/e_exp2l.c: Likewise.
50702 * math/e_j0l.c: Likewise.
50703 * math/e_j1l.c: Likewise.
50704 * math/e_jnl.c: Likewise.
50705 * math/e_lgammal_r.c: Likewise.
50706 * math/e_rem_pio2l.c: Likewise.
50707 * math/e_scalb.c: Likewise.
50708 * math/e_scalbf.c: Likewise.
50709 * math/e_scalbl.c: Likewise.
50710 * math/k_cosl.c: Likewise.
50711 * math/k_sinl.c: Likewise.
50712 * math/k_tanl.c: Likewise.
50713 * math/s_cacoshf.c: Likewise.
50714 * math/s_catan.c: Likewise.
50715 * math/s_catanf.c: Likewise.
50716 * math/s_catanh.c: Likewise.
50717 * math/s_catanhf.c: Likewise.
50718 * math/s_catanhl.c: Likewise.
50719 * math/s_catanl.c: Likewise.
50720 * math/s_ccosh.c: Likewise.
50721 * math/s_ccoshf.c: Likewise.
50722 * math/s_ccoshl.c: Likewise.
50723 * math/s_cexp.c: Likewise.
50724 * math/s_cexpf.c: Likewise.
50725 * math/s_cexpl.c: Likewise.
50726 * math/s_clog.c: Likewise.
50727 * math/s_clog10.c: Likewise.
50728 * math/s_clog10f.c: Likewise.
50729 * math/s_clog10l.c: Likewise.
50730 * math/s_clogf.c: Likewise.
50731 * math/s_clogl.c: Likewise.
50732 * math/s_csin.c: Likewise.
50733 * math/s_csinf.c: Likewise.
50734 * math/s_csinh.c: Likewise.
50735 * math/s_csinhf.c: Likewise.
50736 * math/s_csinhl.c: Likewise.
50737 * math/s_csinl.c: Likewise.
50738 * math/s_csqrt.c: Likewise.
50739 * math/s_csqrtf.c: Likewise.
50740 * math/s_csqrtl.c: Likewise.
50741 * math/s_ctan.c: Likewise.
50742 * math/s_ctanf.c: Likewise.
50743 * math/s_ctanh.c: Likewise.
50744 * math/s_ctanhf.c: Likewise.
50745 * math/s_ctanhl.c: Likewise.
50746 * math/s_ctanl.c: Likewise.
50747 * math/s_ldexp.c: Likewise.
50748 * math/s_ldexpf.c: Likewise.
50749 * math/s_ldexpl.c: Likewise.
50750 * math/s_significand.c: Likewise.
50751 * math/s_significandf.c: Likewise.
50752 * math/s_significandl.c: Likewise.
50753 * math/w_acos.c: Likewise.
50754 * math/w_acosf.c: Likewise.
50755 * math/w_acosh.c: Likewise.
50756 * math/w_acoshf.c: Likewise.
50757 * math/w_acoshl.c: Likewise.
50758 * math/w_acosl.c: Likewise.
50759 * math/w_asin.c: Likewise.
50760 * math/w_asinf.c: Likewise.
50761 * math/w_asinl.c: Likewise.
50762 * math/w_atan2.c: Likewise.
50763 * math/w_atan2f.c: Likewise.
50764 * math/w_atan2l.c: Likewise.
50765 * math/w_atanh.c: Likewise.
50766 * math/w_atanhf.c: Likewise.
50767 * math/w_atanhl.c: Likewise.
50768 * math/w_cosh.c: Likewise.
50769 * math/w_coshf.c: Likewise.
50770 * math/w_coshl.c: Likewise.
50771 * math/w_dremf.c: Likewise.
50772 * math/w_exp10.c: Likewise.
50773 * math/w_exp10f.c: Likewise.
50774 * math/w_exp10l.c: Likewise.
50775 * math/w_exp2.c: Likewise.
50776 * math/w_exp2f.c: Likewise.
50777 * math/w_fmod.c: Likewise.
50778 * math/w_fmodf.c: Likewise.
50779 * math/w_fmodl.c: Likewise.
50780 * math/w_hypot.c: Likewise.
50781 * math/w_hypotf.c: Likewise.
50782 * math/w_hypotl.c: Likewise.
50783 * math/w_j0.c: Likewise.
50784 * math/w_j0f.c: Likewise.
50785 * math/w_j0l.c: Likewise.
50786 * math/w_j1.c: Likewise.
50787 * math/w_j1f.c: Likewise.
50788 * math/w_j1l.c: Likewise.
50789 * math/w_jn.c: Likewise.
50790 * math/w_jnf.c: Likewise.
50791 * math/w_jnl.c: Likewise.
50792 * math/w_lgamma.c: Likewise.
50793 * math/w_lgamma_r.c: Likewise.
50794 * math/w_lgammaf.c: Likewise.
50795 * math/w_lgammaf_r.c: Likewise.
50796 * math/w_lgammal.c: Likewise.
50797 * math/w_lgammal_r.c: Likewise.
50798 * math/w_log.c: Likewise.
50799 * math/w_log10.c: Likewise.
50800 * math/w_log10f.c: Likewise.
50801 * math/w_log10l.c: Likewise.
50802 * math/w_log2.c: Likewise.
50803 * math/w_log2f.c: Likewise.
50804 * math/w_log2l.c: Likewise.
50805 * math/w_logf.c: Likewise.
50806 * math/w_logl.c: Likewise.
50807 * math/w_pow.c: Likewise.
50808 * math/w_powf.c: Likewise.
50809 * math/w_powl.c: Likewise.
50810 * math/w_remainder.c: Likewise.
50811 * math/w_remainderf.c: Likewise.
50812 * math/w_remainderl.c: Likewise.
50813 * math/w_scalb.c: Likewise.
50814 * math/w_scalbf.c: Likewise.
50815 * math/w_scalbl.c: Likewise.
50816 * math/w_sinh.c: Likewise.
50817 * math/w_sinhf.c: Likewise.
50818 * math/w_sinhl.c: Likewise.
50819 * math/w_sqrt.c: Likewise.
50820 * math/w_sqrtf.c: Likewise.
50821 * math/w_sqrtl.c: Likewise.
50822 * math/w_tgamma.c: Likewise.
50823 * math/w_tgammaf.c: Likewise.
50824 * math/w_tgammal.c: Likewise.
50825
6a621eb7
UD
50826 * po/ja.po: Update from translation team.
50827
bf582445
AJ
508282011-09-29 Andreas Jaeger <aj@suse.de>
50829
f9efbf3a
AJ
50830 [BZ #13179]
50831 * sunrpc/netname.c (netname2host): Fix logic.
50832
bf582445
AJ
50833 [BZ #6779]
50834 [BZ #6783]
50835 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50836 correctly.
50837 * math/w_remainder.c (__remainder): Likewise.
50838 * math/w_remainderf.c (__remainderf): Likewise.
50839 * math/libm-test.inc (remainder_test): Add test cases.
50840
48693bea
AK
508412011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50842
50843 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50844 sdiv_qrnnd.
50845
42622229
LD
508462011-10-07 Ulrich Drepper <drepper@gmail.com>
50847
50848 * string/test-memcmp.c: Avoid unncessary #defines.
50849 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50850
093ecf92
LD
508512011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50852
50853 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50854 Use new sse2 version for core i3 - i7 as it's faster
50855 than sse42 version.
50856 (bit_Prefer_PMINUB_for_stringop): New.
50857 * sysdeps/x86_64/rawmemchr.S: Update.
50858 Replace with faster SSE2 version.
50859 * sysdeps/x86_64/memrchr.S: New file.
50860 * sysdeps/x86_64/memchr.S: Update.
50861 Replace with faster SSE2 version.
50862
fde56e5c
MP
508632011-09-12 Marek Polacek <mpolacek@redhat.com>
50864
50865 * elf/dl-load.c (lose): Add cast to avoid warning.
50866
21fd49a9
UD
508672011-10-07 Ulrich Drepper <drepper@gmail.com>
50868
5a06e643
UD
50869 * po/ca.po: Update from translation team.
50870
684ae515
UD
50871 * inet/getnetgrent_r.c: Hook up nscd.
50872 * nscd/Makefile (routines): Add nscd_netgroup.
50873 (nscd-modules): Add netgroupcache.
50874 (CFLAGS-netgroupcache.c): Define.
50875 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50876 (cache_search): Add const to second parameter.
50877 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50878 INNETGR.
50879 (dbs): Add netgrdb entry.
50880 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50881 (verify_persistent_db): Handle netgrdb.
50882 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50883 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50884 GETFDNETGR.
50885 (netgroup_response_header): Define.
50886 (innetgroup_response_header): Define.
50887 (datahead): Add netgroup_response_header and innetgroup_response_header
50888 elements.
50889 * nscd/nscd.conf: Add entries for netgroup cache.
50890 * nscd/nscd.h (dbtype): Add netgrdb.
50891 (_PATH_NSCD_NETGROUP_DB): Define.
50892 (netgroup_iov_disabled): Declare.
50893 (xmalloc, xcalloc, xrealloc): Move declarations here.
50894 (cache_search): Adjust prototype.
50895 Add netgroup-related prototypes.
50896 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50897 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50898 (__nscd_innetgr): Declare.
50899 * nscd/selinux.c (perms): Use access_vector_t as element type and
50900 add netgroup-related initializers.
50901 * nscd/netgroupcache.c: New file.
50902 * nscd/nscd_netgroup.c: New file.
50903 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50904 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50905 For four parameters use innetgr.
50906 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50907 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50908 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50909 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50910
21fd49a9
UD
50911 * nscd/connections.c (register_traced_file): Don't register file
50912 for disabled databases.
50913
054c0457
UD
509142011-10-06 Ulrich Drepper <drepper@gmail.com>
50915
32b63198
UD
50916 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50917
054c0457
UD
50918 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50919 from tree and freeing node.
50920
64031225
JO
509212011-09-25 Jiri Olsa <jolsa@redhat.com>
50922
50923 * nss/nsswitch.c (__nss_database_lookup): Handle
50924 nss_parse_service_list out of memory case.
50925
0490345c
JO
509262011-09-15 Jiri Olsa <jolsa@redhat.com>
50927
50928 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50929 out of memory case.
50930
3a62d00d
AS
509312011-10-04 Andreas Schwab <schwab@redhat.com>
50932
50933 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50934 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50935 pass it down.
50936 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50937 elf_machine_rela, elf_machine_lazy_rel.
50938 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50939 (ELF_DYNAMIC_DO_REL): Likewise.
50940 (ELF_DYNAMIC_DO_RELA): Likewise.
50941 (ELF_DYNAMIC_RELOCATE): Likewise.
50942 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50943 to ELF_DYNAMIC_DO_REL.
50944 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50945 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50946 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50947 elf_machine_rela.
50948 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50949 skip_ifunc, don't call ifunc function if non-zero.
50950 (elf_machine_rela): Likewise.
50951 (elf_machine_lazy_rel): Likewise.
50952 (elf_machine_lazy_rela): Likewise.
50953 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50954 (elf_machine_lazy_rel): Likewise.
50955 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50956 Likewise.
50957 (elf_machine_lazy_rel): Likewise.
50958 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50959 Likewise.
50960 (elf_machine_lazy_rel): Likewise.
50961 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50962 (elf_machine_lazy_rel): Likewise.
50963 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50964 (elf_machine_lazy_rel): Likewise.
50965 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50966 (elf_machine_lazy_rel): Likewise.
50967 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50968 (elf_machine_lazy_rel): Likewise.
50969 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50970 (elf_machine_lazy_rel): Likewise.
50971 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50972 (elf_machine_lazy_rel): Likewise.
50973
68577918
UD
509742011-09-28 Ulrich Drepper <drepper@gmail.com>
50975
50976 * nss/nss_files/files-init.c (_nss_files_init): Use static
50977 initialization for all the *_traced_file variables.
50978
68822d74
AS
509792011-09-28 Andreas Schwab <schwab@redhat.com>
50980
50981 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50982
2056100b
RM
509832011-09-27 Roland McGrath <roland@hack.frob.com>
50984
50985 [BZ #13226]
50986 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50987
32c76b63
AS
509882011-09-27 Andreas Schwab <schwab@redhat.com>
50989
50990 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50991 Reread the line before reparsing it.
50992
bf972c9d
AS
509932011-09-26 Andreas Schwab <schwab@redhat.com>
50994
50995 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50996
e057a1b5
JM
509972011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50998 Maxim Kuvyrkov <maxim@codesourcery.com>
50999 Joseph Myers <joseph@codesourcery.com>
51000
51001 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51002 if needed for __stack_chk_guard.
51003
bc7e1c36
RM
510042011-09-19 Roland McGrath <roland@hack.frob.com>
51005
ecb1482f
RM
51006 * sysdeps/posix/spawni.c (script_execute): Always define it.
51007 It will be optimized away if unused.
51008 (maybe_script_execute): New function.
51009 (__spawni): Call it.
51010
bc7e1c36
RM
51011 * Makerules: Don't include tls.make.
51012 (config-tls): Always set to thread.
51013 * tls.make.c: File removed.
51014
1c3b002b
MF
510152011-09-19 Mike Frysinger <vapier@gentoo.org>
51016
51017 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51018 * config.make.in (CPPFLAGS-config): New substituted variable.
51019
2840865d
UD
510202011-09-15 Ulrich Drepper <drepper@gmail.com>
51021
88738eb6
UD
51022 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51023
cbf645a6 51024 [BZ #13192]
2840865d
UD
51025 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51026 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51027
b402e91a
RM
510282011-09-15 Roland McGrath <roland@hack.frob.com>
51029
51030 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51031 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51032 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51033 (CALL_FAIL): Likewise.
51034 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51035 (CALL_FAIL): Macro removed.
51036 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51037
4c1a1f71
UD
510382011-09-15 Ulrich Drepper <drepper@gmail.com>
51039
51040 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51041 for __FINITE_MATH_ONLY__ == 1.
51042
edc121be
AS
510432011-09-15 Andreas Schwab <schwab@redhat.com>
51044
51045 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51046 __ieee754_sqrt instead of sqrt.
51047 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51048 __ieee754_sqrtf instead of sqrtf.
51049 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51050 __floorf instead of floorf.
51051 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51052 __floorf, __truncf instead of floorf, truncf.
51053
cd205654
UD
510542011-09-14 Ulrich Drepper <drepper@gmail.com>
51055
ee4d0315
UD
51056 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51057
cd205654
UD
51058 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51059 __extern_always_inline.
51060 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51061 32-bit.
51062
48b67d71
AS
510632011-09-14 Andreas Schwab <schwab@redhat.com>
51064
51065 * elf/rtld.c (dl_main): Also relocate in dependency order when
51066 doing symbol dependency testing.
51067
1ae12c75
AS
510682011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51069
51070 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51071 Always define `refsym'.
51072
995a80df
AS
510732011-09-13 Andreas Schwab <schwab@redhat.com>
51074
e529793b
AS
51075 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51076 (__FD_ELT): Renamed from __FDELT.
51077 * misc/bits/select2.h (__FD_ELT): Likewise.
51078 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51079 __FD_MASK instead of __FDELT, __FDMASK.
51080 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51081 Likewise.
51082 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51083 Likewise.
51084
52d4fef8
AS
51085 * elf/Makefile (gen-ldd): Fix pattern.
51086
995a80df
AS
51087 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51088 (init_tls): Likewise.
51089
8682f8b0
UD
510902011-09-12 Ulrich Drepper <drepper@gmail.com>
51091
51092 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51093
de82006d
AS
510942011-09-12 Andreas Schwab <schwab@redhat.com>
51095
a7c8e6a1
AS
51096 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51097 `struct cmsghdr *' instead of `void *'.
51098 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51099 Likewise.
51100
0f31fe77
AS
511012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51102
51103 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51104 if non-absolute.
51105 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51106 ldd_rewrite_script.
0f31fe77 51107
32b4c839
UD
511082011-09-11 Ulrich Drepper <drepper@gmail.com>
51109
83cd1420
UD
51110 * configure.in: Remove --with-tls option.
51111 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51112 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51113 out in case it is missing.
51114 * sysdeps/ia64/elf/configure.in: Likewise.
51115 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51116 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51117 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51118 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51119 * sysdeps/sh/elf/configure.in: Likewise.
51120 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51121 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51122 * sysdeps/x86_64/elf/configure.in: Likewise.
51123 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51124 * sysdeps/mach/hurd/tls.h: Likewise.
51125
633f745d
UD
51126 [BZ #13067]
51127 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51128
f318beb8
UD
51129 [BZ #13090]
51130 * configure.in: Fix use of AC_INIT.
51131
32b4c839
UD
51132 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51133
3ce1f295
UD
511342011-09-10 Ulrich Drepper <drepper@gmail.com>
51135
bb016596
UD
51136 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51137 __set_errno.
8e58439c
UD
51138 * malloc/hooks.c: Likewise.
51139
aebae053 51140 [BZ #11929]
02d46fc4
UD
51141 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51142 variables statically.
51143 (narenas): Initialize.
51144 (list_lock): Initialize.
bb016596
UD
51145 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51146 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
51147 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51148 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51149 Add initializers to main_arena and mp_.
51150 (malloc_state): Remove pagesize member. Change all users to use
51151 GLRO(dl_pagesize).
51152
51153 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51154 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51155 is always initialized.
51156
22a89187
UD
51157 * malloc/malloc.c: Removed unused configurations and dead code.
51158 * malloc/arena.c: Likewise.
51159 * malloc/hooks.c: Likewise.
02d46fc4 51160 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 51161
d063d164
UD
51162 * include/tls.h: Removed. USE___THREAD must always be defined.
51163 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51164 * elf/dl-libc.c: Likewise.
51165 * elf/dl-tsd.c: Likewise.
51166 * include/errno.h: Likewise.
51167 * include/netdb.h: Likewise.
51168 * include/resolv.h: Likewise.
51169 * inet/herrno-loc.c: Likewise.
51170 * inet/herrno.c: Likewise.
51171 * malloc/arena.c: Likewise.
51172 * malloc/hooks.c: Likewise.
51173 * malloc/malloc.c: Likewise.
51174 * resolv/res-state.c: Likewise.
51175 * resolv/res_libc.c: Likewise.
51176 * sysdeps/i386/dl-machine.h: Likewise.
51177 * sysdeps/ia64/dl-machine.h: Likewise.
51178 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51179 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51180 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51181 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51182 * sysdeps/sh/dl-machine.h: Likewise.
51183 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51184 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51185 * sysdeps/unix/i386/sysdep.S: Likewise.
51186 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51187 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51188 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51189 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51190 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51191 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51192 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51193 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51194 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51195 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51196 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51197 * sysdeps/x86_64/dl-machine.h: Likewise.
51198 * tls.make.c: Likewise.
51199
3ce1f295
UD
51200 * configure.in: Remove --with-__thread option. Make tests for
51201 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51202 tls_model attribute fail if no support is available. Remove
51203 USE_IN_LIBIO.
51204 * Makeconfig: Adjust for dropped configure option. All features are
51205 now mandatory.
51206 * Makerules: Likewise.
51207 * Versions.def: Likewise.
51208 * argp/argp-fmtstream.c: Likewise.
51209 * argp/argp-fmtstream.h: Likewise.
51210 * argp/argp-help.c: Likewise.
51211 * assert/assert.c: Likewise.
51212 * config.h.in: Likewise.
51213 * config.make.in: Likewise.
51214 * configure: Likewise.
51215 * configure.in: Likewise.
51216 * csu/Versions: Likewise.
51217 * csu/init.c: Likewise.
51218 * elf/tst-audit2.c: Likewise.
51219 * elf/tst-tls10.c: Likewise.
51220 * elf/tst-tls10.h: Likewise.
51221 * elf/tst-tls11.c: Likewise.
51222 * elf/tst-tls12.c: Likewise.
51223 * elf/tst-tls14.c: Likewise.
51224 * elf/tst-tlsmod11.c: Likewise.
51225 * elf/tst-tlsmod12.c: Likewise.
51226 * elf/tst-tlsmod13.c: Likewise.
51227 * elf/tst-tlsmod13a.c: Likewise.
51228 * elf/tst-tlsmod14a.c: Likewise.
51229 * elf/tst-tlsmod15b.c: Likewise.
51230 * elf/tst-tlsmod16a.c: Likewise.
51231 * elf/tst-tlsmod16b.c: Likewise.
51232 * elf/tst-tlsmod7.c: Likewise.
51233 * elf/tst-tlsmod8.c: Likewise.
51234 * elf/tst-tlsmod9.c: Likewise.
51235 * gmon/gmon.c: Likewise.
51236 * grp/fgetgrent_r.c: Likewise.
51237 * grp/putgrent.c: Likewise.
51238 * hurd/fopenport.c: Likewise.
51239 * include/libc-symbols.h: Likewise.
51240 * include/tls.h: Likewise.
51241 * intl/gettextP.h: Likewise.
51242 * intl/loadinfo.h: Likewise.
51243 * locale/global-locale.c: Likewise.
51244 * locale/localeinfo.h: Likewise.
51245 * mach/devstream.c: Likewise.
51246 * malloc/arena.c: Likewise.
51247 * malloc/set-freeres.c: Likewise.
51248 * misc/err.c: Likewise.
51249 * misc/getttyent.c: Likewise.
51250 * misc/mntent_r.c: Likewise.
51251 * posix/getopt.c: Likewise.
51252 * posix/wordexp.c: Likewise.
51253 * pwd/fgetpwent_r.c: Likewise.
51254 * resolv/Versions: Likewise.
51255 * resolv/res_hconf.c: Likewise.
51256 * shadow/fgetspent_r.c: Likewise.
51257 * shadow/putspent.c: Likewise.
51258 * stdio-common/printf_fphex.c: Likewise.
51259 * stdio-common/tmpfile.c: Likewise.
51260 * stdlib/abort.c: Likewise.
51261 * stdlib/fmtmsg.c: Likewise.
51262 * sunrpc/auth_unix.c: Likewise.
51263 * sunrpc/clnt_perr.c: Likewise.
51264 * sunrpc/clnt_tcp.c: Likewise.
51265 * sunrpc/clnt_udp.c: Likewise.
51266 * sunrpc/clnt_unix.c: Likewise.
51267 * sunrpc/openchild.c: Likewise.
51268 * sunrpc/svc_simple.c: Likewise.
51269 * sunrpc/svc_tcp.c: Likewise.
51270 * sunrpc/svc_udp.c: Likewise.
51271 * sunrpc/svc_unix.c: Likewise.
51272 * sunrpc/xdr.c: Likewise.
51273 * sunrpc/xdr_array.c: Likewise.
51274 * sunrpc/xdr_rec.c: Likewise.
51275 * sunrpc/xdr_ref.c: Likewise.
51276 * sunrpc/xdr_stdio.c: Likewise.
51277
1248c1c4
PB
512782011-09-09 Ulrich Drepper <drepper@gmail.com>
51279
51280 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51281
512822011-07-03 Andreas Jaeger <aj@suse.de>
51283
51284 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51285 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51286 regenerate with gen-libm-tests.pl.
51287
512882010-05-12 Petr Baudis <pasky@suse.cz>
51289
51290 [BZ #11589]
51291 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51292 around j0() zero points by switching to j1().
51293 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51294 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51295 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51296 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51297
f22e1074
UD
512982011-09-09 Ulrich Drepper <drepper@gmail.com>
51299
f19009c1
UD
51300 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51301 instead of 0.
51302 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 51303 instead of 0.
f19009c1
UD
51304 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51305 Patch in part by Pavel Roskin <proski@gnu.org>.
51306
3f8cc204
UD
51307 [BZ #13138]
51308 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51309 realloc.
51310 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51311 Free memory block if necessary.
51312
f22e1074
UD
51313 [BZ #12847]
51314 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51315 be NULL. Don't lock in this case.
51316
0a2349f9
RM
513172011-09-09 Roland McGrath <roland@hack.frob.com>
51318
51319 * elf/elf.h (ELFOSABI_GNU): New macro.
51320 (ELFOSABI_LINUX): Define to that.
51321
f3cdd467
DZ
513222011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51323
51324 * string/strncat.c (strncat): Undef the symbol in case it has been
51325 defined in bits/string.h.
51326
74718d13
UD
513272011-09-09 Ulrich Drepper <drepper@gmail.com>
51328
633e9e0f
UD
51329 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51330
0a2349f9 51331 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
51332 link map.
51333
f9924780
AJ
513342011-08-17 Andreas Jaeger <aj@suse.de>
51335
51336 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51337
7f5517aa
PP
513382011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51339 Ian Lance Taylor <iant@google.com>
51340
51341 * math/libm-test.inc (lround_test): New testcase.
51342 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51343
762011fe
UD
513442011-09-08 Ulrich Drepper <drepper@gmail.com>
51345
92963737
UD
51346 * Makefile: Remove support for automatic cvs check-ins.
51347 * Makerules: Likewise.
51348 * config.make.in: Likewise.
51349 * configure.in: Likewise.
51350 * intl/Makefile: Likewise.
51351 * locale/Makefile: Likewise.
51352 * po/Makefile: Likewise.
51353 * posix/Makefile: Likewise.
51354 * sysdeps/gnu/Makefile: Likewise.
51355 * sysdeps/mach/hurd/Makefile: Likewise.
51356 * sysdeps/sparc/sparc32/Makefile: Likewise.
51357
b0727fd8
JS
51358 [BZ #13118]
51359 * posix/Makefile (bug-regex32-ENV): Define.
51360 Patch by John Stanley <jpsinthemix@verizon.net>.
51361
a0f33f99
UD
51362 * misc/Makefile (headers): Add bits/select2.h.
51363 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51364 * misc/bits/select2.h: New file.
51365 * include/bits/select2.h: New file.
51366 * debug/Makefile (routines): Add fdelt_chk.
51367 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51368 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51369 FD_ISSET.
51370 * debug/fdelt_chk.c: New file.
51371
762011fe
UD
51372 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51373 * wcsmbs/test-wmemcmp.c: Likewise.
51374 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 51375 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
51376
513772011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51378
51379 * string/Makefile (strop-tests): Add memcmp.
51380 * string/test-wmemcmp.c: New file.
51381 * string/test-memcmp.c: Add wmemcmp support.
51382
7f513ec8
RM
513832011-09-08 Roland McGrath <roland@hack.frob.com>
51384
0442afb4
RM
51385 [BZ #13153]
51386 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51387 2011-07-19 change.
51388
7f513ec8
RM
51389 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51390 garbage value in a __mach_port_mod_refs call in the cases of the
51391 task-self and thread-self ports.
51392
a12b2239
ST
513932011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51394
51395 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51396
610f9ab4
AS
513972011-09-08 Andreas Schwab <schwab@redhat.com>
51398
7f513ec8 51399 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 51400
48882a1a
LD
514012011-09-07 Ulrich Drepper <drepper@gmail.com>
51402
b49865be
UD
51403 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51404
fdc86bc9
UD
51405 * elf/dl-libc.c (dlerror_run): Pass back error code from
51406 dl_catch_error.
51407
c966526a
UD
51408 [BZ #13123]
51409 * elf/dl-load.c (lose): Free l_origin if it is valid.
51410
48882a1a
LD
51411 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51412 names.
51413 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51414 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51415 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51416 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51417 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51418 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51419
77a2a8b4
AZ
514202011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51421
51422 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51423 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51424 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51425 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51426 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51427 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51428 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51429 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51430 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51431 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51432
24f579d8
AM
514332011-08-15 Alan Modra <amodra@gmail.com>
51434
51435 [BZ #13092]
51436 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51437 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51438 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51439 ppc_mcount to static-only-routines.
51440 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51441 __mcount_internal.
51442 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51443 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51444
3d4837df
UD
514452011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51446
51447 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51448 for finite and infinity parameters.
51449
22700377
WS
514502011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51451
51452 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51453 and add nop instructions for throughput optimization.
51454 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51455
5025581e
WS
514562011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51457
51458 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51459 aligned copy for power7 with vector-scalar instructions.
51460 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51461
08a300c9
L
514622011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51463
51464 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51465 AVX check.
51466
59178ef9
AS
514672011-09-07 Andreas Schwab <schwab@redhat.com>
51468
51469 [BZ #13144]
51470 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51471 last change.
51472
e38ba7ab
UD
514732011-09-07 Ulrich Drepper <drepper@gmail.com>
51474
51475 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51476 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51477 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51478 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51479 clock_gettime.
51480
d53a73ac
UD
514812011-09-06 Ulrich Drepper <drepper@gmail.com>
51482
fc8bffcc
UD
51483 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51484 Forgot to demangle the pointer.
51485
ceaa0c5d
UD
51486 * sysdeps/i386/sysdep.h: Define atom_text_section.
51487 * sysdeps/x86_64/sysdep.h: Likewise.
51488 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51489 section with atom_text_section.
51490 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51491 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51492 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51493 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51494 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51495
a77d3c17
UD
51496 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51497 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51498 already be defined. Change to take two parameters and don't assign
51499 result to variable. Adjust all users.
51500 Define INTERNAL_GETTIME if not already defined.
51501 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51502 call.
51503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51504 HAVE_CLOCK_GETTIME_VSYSCALL.
51505 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51506
d53a73ac
UD
51507 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51508 gettimeofday vsyscall, just use time.
51509
a8f84144
AS
515102011-09-06 Andreas Schwab <schwab@redhat.com>
51511
51512 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51513 <errno.h>.
51514
ef606249
UD
515152011-09-06 Ulrich Drepper <drepper@gmail.com>
51516
51517 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51518 syscall on x86-64.
51519 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51520 syscall.
51521 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51522 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51523 syscall if possible.
51524
6585cb60
UD
515252011-09-05 Ulrich Drepper <drepper@gmail.com>
51526
51527 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51528 e_ident. Don't pass to find_mapsXX.
51529 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51530
a5f524e4
LD
515312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51532
51533 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51534 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51535 * sysdeps/x86_64/multiarch/strchr.S: Update.
51536 Check bit_slow_BSF bit.
51537 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51538 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51539 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51540
554881ef
UD
515412011-09-05 Ulrich Drepper <drepper@gmail.com>
51542
d96de963
UD
51543 [BZ #13134]
51544 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51545 before glibc 2.15.
51546 (tryshell): Define.
51547 (__spawni): Change last parameter to be flag. Test
51548 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51549 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51550 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51551 * posix/spawni.c: Likewise.
51552 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51553 * posix/spawnp.c: Likewise. Change normal version to use
51554 SPAWN_XFLAGS_USE_PATH.
51555 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51556 SPAWN_XFLAGS_TRY_SHELL.
51557
d48e5868
UD
51558 [BZ #13150]
51559 * posix/glob.h: Remove gcc 1.x support.
51560
554881ef
UD
51561 [BZ #13068]
51562 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51563
693fb948
LD
515642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51565
51566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51567 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51568 strrchr-sse2-bsf
51569 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51570 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51571 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51572 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51573 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51574 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51575
1b48c537
UD
515762011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51577
49d42c37
UD
51578 * sysdeps/x86_64/wcscmp.S: New file.
51579
1b48c537
UD
51580 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51581 wcscmp-c wcscmp-sse2
51582 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51583 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51584 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51585 * wcsmbs/wcscmp.c: Allow renaming.
51586
15c95c5d
DM
515872011-09-05 David S. Miller <davem@davemloft.net>
51588
51589 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51590 stack slot, rather than the struct return pointer slot.
51591 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51592 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51594 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51595
2f0ad8f3
UD
515962011-09-05 Ulrich Drepper <drepper@gmail.com>
51597
d88ae418
UD
51598 * po/ja.po: Update from translation team.
51599
2f0ad8f3
UD
51600 [BZ #13144]
51601 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51602 kernel in 64-bit binaries.
51603
5f4318d1
DM
516042011-09-01 David S. Miller <davem@davemloft.net>
51605
51606 * elf/elf.h (HWCAP_SPARC_*): Move to..
51607 * sysdeps/sparc/sysdep.h: this new file and add new values.
51608 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51609 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51610 _DL_HWCAP_COUNT to 24.
51611 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51612 entries.
51613 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51614 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51615 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51616 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51617 instead of magic constants.
51618 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51619
3ba57516
DM
516202011-08-31 David S. Miller <davem@davemloft.net>
51621
51622 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51623 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51624 Reimplement to do errno handling inline.
51625 (SYSCALL_ERROR_HANDLER): New macro.
51626 (__SYSCALL_STRING): Do not do errno handling in asm.
51627 (__CLONE_SYSCALL_STRING): Delete.
51628 (__INTERNAL_SYSCALL_STRING): Delete.
51629 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51630 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51631 (PSEUDO): Reimplement to do errno handling inline.
51632 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51633 (SYSCALL_ERROR_HANDLER): New macro.
51634 (__SYSCALL_STRING): Do not do errno handling in asm.
51635 (__CLONE_SYSCALL_STRING): Delete.
51636 (__INTERNAL_SYSCALL_STRING): Delete.
51637 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51638 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51639 i386.
51640 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51641 (inline_syscall*): Add 'err' argument.
51642 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51643 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51644 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51645 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51646
51647 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51648 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51649
2bc17433
AS
516502011-08-30 Andreas Schwab <schwab@redhat.com>
51651
51652 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51653
fbeb5f4d
JO
516542011-08-29 Jiri Olsa <jolsa@redhat.com>
51655
51656 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51657 directive.
51658
ad69cc26
DM
516592011-08-24 David S. Miller <davem@davemloft.net>
51660
51661 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51662
39dd69df
AS
516632011-08-24 Andreas Schwab <schwab@redhat.com>
51664
51665 * elf/Makefile: Add rules to build and run unload8 test.
51666 * elf/unload8.c: New file.
51667 * elf/unload8mod1.c: New file.
51668 * elf/unload8mod1x.c: New file.
51669 * elf/unload8mod2.c: New file.
51670 * elf/unload8mod3.c: New file.
51671
51672 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51673 it wasn't used.
51674
2c0b250a
DM
516752011-08-23 David S. Miller <davem@davemloft.net>
51676
51677 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51678 subtract stack bias.
51679 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51680 %sp not %fp in calculations.
51681 (_JMPBUF_UNWINDS_ADJ): Likewise.
51682
22044b48
DM
51683 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51684 (aio_suspend): Call it to force an exception region around the
51685 AIO_MISC_WAIT() invocation.
51686
2cae4995
AS
516872011-08-23 Andreas Schwab <schwab@redhat.com>
51688
51689 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51690 backslash.
51691
873a772e
AJ
516922011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51693
51694 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51695 protection macro.
51696 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51697 and <dl-machine.h>.
51698 (Elf64_FuncDesc): Remove.
51699
25ad0df1
DM
517002011-08-22 David S. Miller <davem@davemloft.net>
51701
51702 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51703 sigaltstack check, add missing cfi directives.
51704 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51705 missing cfi directives, and sigaltstack handling.
51706
e888bcbe
AS
517072011-08-16 Andreas Schwab <schwab@redhat.com>
51708
51709 [BZ #11724]
51710 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51711 object is seen twice.
51712 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51713
51714 * elf/Makefile (distribute): Add tst-initorder2.c.
51715 (tests): Add tst-initorder2.
51716 (modules-names): Add tst-initorder2a tst-initorder2b
51717 tst-initorder2c tst-initorder2d. Add rules to build them.
51718 ($(objpfx)tst-initorder2.out): New rule.
51719 * elf/tst-initorder2.c: New file.
51720 * elf/tst-initorder2.exp: New file.
51721
87162f46
AS
517222011-08-22 Andreas Schwab <schwab@redhat.com>
51723
70538b7f
AS
51724 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51725
f55ffe58
AS
51726 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51727 dependencies back to end of function.
51728
87162f46
AS
51729 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51730 $(elfobjdir)/ld.so.
51731
91b392a4
UD
517322011-08-21 Ulrich Drepper <drepper@gmail.com>
51733
51734 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51735 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51736 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51737 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51738 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51739 of __vdso_gettimeofday.
51740 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51741 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51742 attribute_hidden.
51743 (_libc_vdso_platform_setup): Remove initialization of
51744 __vdso_gettimeofday and __vdso_time.
51745
5c43483f
UD
517462011-08-20 Ulrich Drepper <drepper@gmail.com>
51747
775a77e7
UD
51748 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51749 and fgetc_unlocked.
51750 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51751 getc_unlocked.
89f447ed 51752
49c74ba9
UD
51753 * elf/dl-open.c (add_to_global): Report additions to the global scope
51754 for LD_DEBUG=scopes.
51755 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 51756 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 51757
5c43483f
UD
51758 [BZ #13114]
51759 * stdio-common/Makefile (tests): Add bug24.
51760 * stdio-common/bug24.c: New file.
51761
a101b025
AJ
517622011-08-19 Andreas Jaeger <aj@suse.de>
51763
51764 [BZ #13114]
51765 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51766 non-existant file when using close-on-exec mode.
51767
c88f1766
UD
517682011-08-20 Ulrich Drepper <drepper@gmail.com>
51769
0276a718
UD
51770 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51771 the very first instruction.
51772
c88f1766
UD
51773 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51774 the CFI state in the end.
51775 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51776 inclusion of dl-trampoline.h.
51777 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51778
51ccffa0
AS
517792011-08-19 Andreas Schwab <schwab@redhat.com>
51780
94d7165f
AS
51781 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51782 expectations for long double.
51783
51ccffa0
AS
51784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51785 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51786
fd708658 517872011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
51788
51789 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51790 artificual limit depends upon the system page size.
51791
44f0a71e
UD
517922011-08-17 Ulrich Drepper <drepper@gmail.com>
51793
51794 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51795 * resolv/Makefile: Define CFLAGS-libresolv.
51796
8de79a24
AS
517972011-08-17 Andreas Schwab <schwab@redhat.com>
51798
51799 * nss/makedb.c (compute_tables): Make variables used in nested
51800 function static.
51801
27724598
UD
518022011-08-17 Ulrich Drepper <drepper@gmail.com>
51803
c5305d88
UD
51804 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51805 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51806 if buffer was too small.
51807
27724598
UD
51808 * elf/pldd.c (main): Attach to all threads in the process.
51809 Rewrite /proc handling to use *at functions.
51810
076fe015
UD
518112011-08-16 Ulrich Drepper <drepper@gmail.com>
51812
174baab3
UD
51813 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51814 specifies first scope to show.
51815 (dl_open_worker): Update callers. Move printing scope of new
51816 object to before the relocation.
44f0a71e 51817 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
51818 * sysdeps/generic/ldsodefs.h: Update declaration.
51819
076fe015
UD
51820 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51821 string for the scope number.
51822
a60df2c3
UD
518232011-08-14 Ulrich Drepper <drepper@gmail.com>
51824
51825 * nscd/servicescache.c (cache_addserv): Make sure written is always
51826 initialized.
51827
5e4287d1
RM
518282011-08-14 Roland McGrath <roland@hack.frob.com>
51829
85ae0589
RM
51830 * sysdeps/i386/i486/bits/atomic.h
51831 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51832 statement expression, so as to suppress "set but not used" warning.
51833 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51834
69f63097
RM
51835 * string/strncat.c (STRNCAT): Use prototype definition.
51836
675456ef
RM
51837 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51838 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51839 -Iprograms here.
51840 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51841 (localedef-modules): Add localedef.
51842 (locale-modules): Add locale.
51843
5e4287d1
RM
51844 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51845 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51846 to avoid a warning.
51847
9c96ff23
DM
518482011-08-14 David S. Miller <davem@davemloft.net>
51849
51850 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51851 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51852
f9ddf089
UD
518532011-08-13 Ulrich Drepper <drepper@gmail.com>
51854
44f0a71e 51855 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
51856 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51857 * elf/rtld.c (dl_main): Set l_name of vDSO.
51858 Call _dl_show_scope when DL_DEBUG_SCOPES.
51859 (process_dl_debug): Recognize scopes flag and also set it for all.
51860 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51861 Declare _dl_show_scope.
51862
1dc27704
UD
51863 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51864 (do_dlopen): Pass caller_dlopen to dl_open.
51865 (__libc_dlopen_mode): Initialize caller_dlopen.
51866
f9ddf089
UD
51867 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51868 of libc. Make tolower call locale-independent. Optimize a bit by
51869 using isdigit instead of isalnum.
51870 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51871
9ac533d3
UD
518722011-08-12 Ulrich Drepper <drepper@gmail.com>
51873
51874 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51875 was a dependency or dynamically loaded.
51876
89edf2e9
UD
518772011-08-11 Ulrich Drepper <drepper@gmail.com>
51878
8e999d29
UD
51879 * intl/l10nflist.c: Allow architecture-specific pop function.
51880 * sysdeps/x86_64/l10nflist.c: New file.
51881
89edf2e9
UD
51882 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51883 classification.
51884
14d96785
AS
518852011-08-10 Andreas Schwab <schwab@redhat.com>
51886
51887 * include/dirent.h: Add libc_hidden_proto for scandirat and
51888 scandirat64. Don't declare __scandirat64.
51889 * dirent/scandirat.c: Add libc_hidden_def.
51890 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51891 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51892
6761ac04
DM
518932011-08-10 David S. Miller <davem@davemloft.net>
51894
51895 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51896 enum.
51897 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51898 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51899 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51900
c55fbd1e
UD
519012011-08-09 Ulrich Drepper <drepper@gmail.com>
51902
51903 * Versions.def [libc]: Add GLIBC_2.15.
51904 * dirent/Makefile (routines): Add scandirat and scandirat64.
51905 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51906 GLIBC_2.15.
51907 * dirent/dirent.h: Declare scandirat and scandirat64.
51908 * dirent/scandirat.c: New file.
51909 * dirent/scandirat64.c: New file.
51910 * sysdeps/wordsize-64/scandirat.c: New file.
51911 * sysdeps/wordsize-64/scandirat64.c: New file.
51912 * dirent/opendir.c: Define opendirat.
51913 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51914 using scandirat.
51915 * dirent/scandir64.c: Adjust for scandir.c change.
51916 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51917 __scandirat64, and __scandir_cancel_handler.
51918 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51919 additional parameter and use openat instead of open (outside of ld.so).
51920 Add new __opendir as wrapper around __opendirat.
51921 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51922 here without requiring old scandirat implementation.
51923
879165f2
UD
519242011-08-08 Ulrich Drepper <drepper@gmail.com>
51925
51926 * dirent/scandir.c (cancel_handler): Renamed to
51927 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51928 defined. Adjust users.
51929 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51930 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51931
cb7e923b
UD
519322011-08-04 Ulrich Drepper <drepper@gmail.com>
51933
16292edd
UD
51934 * string/test-string.h (IMPL): Use __STRING to expand name and then
51935 stringify it.
51936
cb7e923b
UD
51937 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51938 of cleanups.
51939
cff82933
LD
519402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51941
51942 * string/Makefile: Update.
51943 (strop-tests): Append strncat.
51944 * string/test-wcscmp.c: New file.
51945 New comprehensive test for wcscmp.
51946 * string/test-strcmp.c: Update.
51947 (WIDE): New define.
51948
9be9bfcc
AS
519492011-07-22 Andreas Schwab <schwab@redhat.com>
51950
51951 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51952 line.
51953
2e96f1c7
AS
519542011-07-26 Andreas Schwab <schwab@redhat.com>
51955
51956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51957 encoding to ACE if AI_IDN.
51958
85188888
JJ
519592011-08-01 Jakub Jelinek <jakub@redhat.com>
51960
51961 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51962 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51963
5fa16e9b
LD
519642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51965
51966 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51967 Fix overflow bug in strncat.
51968 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51969
51970 * string/test-strncat.c: Update.
51971 Add new tests for checking overflow bugs.
51972
519732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51974
51975 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51976 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51977 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51978 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51979 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51980 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51981 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51982 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51983 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51984
51985 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51986 (USE_AS_STRCAT): Define.
51987 Add strcat and strncat support.
51988 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51989
8c1a459f
AS
519902011-07-25 Andreas Schwab <schwab@redhat.com>
51991
51992 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51993 __n bigger than INT_MAX+1.
51994 (__strncmp_g): Likewise.
51995
bba33c28
UD
519962011-07-23 Ulrich Drepper <drepper@gmail.com>
51997
798be72d
UD
51998 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51999 * libio/stido.h: Likewise.
52000
8accd4dc
UD
52001 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52002 (AF_NFC): Define.
52003 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52004 (AF_NFC): Define.
52005
cbff0d96
UD
52006 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52007 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52008 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52009 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52010 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52011
9191c04a
UD
52012 [BZ #13021]
52013 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52014 installed.
52015
bba33c28
UD
52016 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52017 typo.
52018 (_dl_x86_64_save_sse): Likewise.
52019
90f139dd
UD
520202011-07-22 Ulrich Drepper <drepper@gmail.com>
52021
1aae088a
UD
52022 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52023 OSXSAVE.
52024 (_dl_x86_64_save_sse): Likewise.
52025
8e2045f5
UD
52026 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52027
90f139dd
UD
52028 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52029
1d002f25
AS
520302011-07-21 Andreas Schwab <schwab@redhat.com>
52031
52032 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52033 change.
52034 (_dl_x86_64_save_sse): Use correct AVX check.
52035
21137f89
UD
520362011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52037
52038 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52039 bug in strncpy/strncat.
52040 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52041
a65c0b7a
UD
520422011-07-21 Ulrich Drepper <drepper@gmail.com>
52043
52044 * string/tester.c (test_strcat): Add tests for different alignments
52045 of source and destination.
52046 (test_strncat): Likewise.
52047
6986b98a
UD
520482011-07-20 Ulrich Drepper <drepper@gmail.com>
52049
90bb2039
UD
52050 [BZ #12852]
52051 * posix/glob.c (glob): Check passed in values before using them in
52052 expressions to avoid some overflows.
52053 (glob_in_dir): Likewise.
52054
5644ef54
UD
52055 [BZ #13007]
52056 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52057 check for AVX enablement so that we don't crash with old kernels and
52058 new hardware.
52059 * elf/tst-audit4.c: Add same checks here.
52060 * elf/tst-audit6.c: Likewise.
52061
52062 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 52063
bfc9dc9b
AS
520642011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52065
52066 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52067
702e64bb
UD
520682011-07-20 Ulrich Drepper <drepper@gmail.com>
52069
52070 * po/cs.po: Update from translation team.
52071 * po/bg.po: Likewise.
52072
295e904f
MP
520732011-07-12 Marek Polacek <mpolacek@redhat.com>
52074
52075 * misc/sys/cdefs.h: Add support for const attribute.
52076 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52077 to gnu_dev_{major,minor,makedev} functions.
52078
3ff94596
MP
520792011-07-20 Marek Polacek <mpolacek@redhat.com>
52080
52081 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52082
28b59fca
AS
520832011-07-20 Andreas Schwab <schwab@redhat.com>
52084
52085 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52086 strlen results.
52087
19df733e
AK
520882011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52089
52090 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52091 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52092 register in order to avoid conflicts with the soft frame pointer
52093 being held in r11 when necessary.
52094 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52095 (INTERNAL_VSYSCALL_NCS): Likewise.
52096
c8835729
MP
520972011-07-14 Marek Polacek <mpolacek@redhat.com>
52098
52099 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52100 * elf/dl-fini.c (_dl_fini): Adjust caller.
52101 * elf/dl-close.c (_dl_close_worker): Likewise.
52102 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52103
b902330c
MP
521042011-07-15 Marek Polacek <mpolacek@redhat.com>
52105
8991e135
MP
52106 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52107 "aux_cache->nlibs < 0".
52108
b902330c
MP
52109 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52110 in the reload-count case.
52111
99710781
LD
521122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52113
52114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52115 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52116 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52117 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52118 * sysdeps/x86_64/multiarch/strcat.S: New file.
52119 * sysdeps/x86_64/multiarch/strncat.S: New file.
52120 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52121 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52122 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52123 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52124 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52125 (USE_AS_STRCAT): Define.
52126 Add strcat and strncat support.
52127 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52128 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52129 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52130 * string/strncat.c: Update.
52131 (USE_AS_STRNCAT): Define.
52132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52133 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52134 and i7.
52135 * sysdeps/x86_64/multiarch/init-arch.h
52136 (bit_Prefer_PMINUB_for_stringop): New.
52137 (index_Prefer_PMINUB_for_stringop): Likewise.
52138 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52139 bit_Prefer_PMINUB_for_stringop.
52140
7dc6bd90
UD
521412011-07-19 Ulrich Drepper <drepper@gmail.com>
52142
52143 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52144 buffer64.
52145 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52146 of casting of buffer.
52147 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52148 buffer32 and buffer64.
52149 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52150 writes instead of casting of buffer.
52151 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52152 buffer32.
52153 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52154 casting of buffer.
52155
e0e72284
AS
521562011-07-19 Andreas Schwab <schwab@redhat.com>
52157
52158 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52159
feb1eb0b
UD
521602011-07-19 Ulrich Drepper <drepper@gmail.com>
52161
52162 * nscd/nscd.c (termination_handler): Don't do anything for a database
52163 if it has not yet been initialized.
52164
298711ff
UD
521652011-07-18 Ulrich Drepper <drepper@gmail.com>
52166
52167 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52168
521692011-07-15 Marek Polacek <mpolacek@redhat.com>
52170
52171 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52172
f9d68389
UD
521732011-07-18 Ulrich Drepper <drepper@gmail.com>
52174
52175 * po/nl.po: Update from translation team.
52176 * po/sv.po: Likewise.
52177
db290cf5
RM
521782011-07-16 Roland McGrath <roland@hack.frob.com>
52179
52180 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52181 now disallowed by GCC.
5c550700 52182
fd5e21c7
RM
52183 * configure.in (use-default-link): Default to yes if a test -shared
52184 link meets our qualifications.
52185 * configure: Regenerated.
52186
5c550700
RM
52187 * config.make.in (output-format): New variable.
52188 * configure.in: Check for ld --print-output-format support.
52189 * configure: Regenerated.
52190 * Makerules ($(common-objpfx)format.lds)
52191 [$(output-format) != unknown]: Just use $(output-format),
52192 instead of the linker-script munging.
52193
9fa2c032
RM
521942011-07-14 Roland McGrath <roland@hack.frob.com>
52195
a6928d51
RM
52196 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52197 of $(common-objpfx)shlib.lds.
52198 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52199
661607b3
RM
52200 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52201 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52202
9fa2c032
RM
52203 * configure.in (-z relro check): Adjust test code to add a large
52204 writable data section after it.
52205 * configure: Regenerated.
52206
defe9061
RM
522072011-07-11 Roland McGrath <roland@hack.frob.com>
52208
52209 * configure.in (-z relro check): Fix test code to make the variable
52210 truly const.
52211 * configure: Regenerated.
52212
319b9ad4
UD
522132011-07-11 Ulrich Drepper <drepper@gmail.com>
52214
52215 * nscd/nscd.h (struct traced_file): Define.
52216 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52217 elements. Add traced_files.
52218 (inotify_fd): Declare.
52219 (register_traced_file): Declare.
52220 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52221 (inotify_fd): Export.
52222 (resolv_conf_descr): Remove.
52223 (nscd_init): Move inotify descriptor creation to main.
52224 Don't register files for notification here.
52225 (register_traced_file): New function.
52226 (invalidate_cache): Don't use reset_res to determine whether to call
52227 res_init, go through the list of registered files.
52228 (main_loop_poll): The inotify descriptors are now stored in the
52229 structures for the traced files.
52230 (main_loop_epoll): Likewise
52231 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52232 to __nss_disable_nscd.
52233 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52234 for a database anymore. Check the records for all the registered
52235 files instead.
52236 * nss/Makefile (libnss_files-routines): Add files-init.
52237 (libnss_db-routines): Add db-init.
52238 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52239 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52240 * nss/nss_db/db-init.c: New file.
52241 * nss/nss_files/files-init.c: New file.
52242 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52243 __nss_lookup_function.
52244 (__nss_lookup_function): Call nss_load_library.
52245 (nss_load_all_libraries): New function.
52246 (__nss_disable_nscd): Take parameter with callback function for files
52247 to register. Set is_nscd. Load all the DSOs for the NSS modules
52248 used for the cached services.
52249 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52250 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52251 options for features to all the files in nscd.
52252
52253 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52254
23bee3e8
RM
522552011-07-10 Roland McGrath <roland@hack.frob.com>
52256
52257 * csu/elf-init.c (__libc_csu_init): Comment typo.
52258
46a5b7f0
UD
522592011-07-09 Ulrich Drepper <drepper@gmail.com>
52260
52261 * po/pl.po: Update from translation team.
52262 * po/ja.po: Likewise.
52263 * po/ru.po: Likewise.
52264 * po/ko.po: Likewise.
52265 * po/fr.po: Likewise.
52266
d30cf5bb
RM
522672011-07-09 Roland McGrath <roland@hack.frob.com>
52268
113ddea4
RM
52269 * configure.in (.ctors/.dtors header and trailer check):
52270 Use an empirical test on a built program.
52271 * configure: Regenerated.
52272
574920b4
RM
52273 * configure.in (-z relro check): Use an empirical test on a built DSO.
52274 Detect, but do not require, on ia64.
52275 * configure: Regenerated.
52276
d30cf5bb
RM
52277 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52278 Update tests that use readelf to use $READELF instead.
52279 * configure: Regenerated.
52280
8538fdb3
UD
522812011-07-08 Ulrich Drepper <drepper@gmail.com>
52282
52283 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52284 if the result is not used.
52285
04d08991
AJ
522862011-07-05 Andreas Jaeger <aj@suse.de>
52287
52288 [BZ#9696]
52289 * stdlib/tst-strtod.c: Add testcase.
52290
de283087
AD
522912011-07-07 Ulrich Drepper <drepper@gmail.com>
52292
4e5f31c8 52293 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 52294 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
52295 The latter has a higher limit. Take additional parameter to pass to
52296 the new function.
52297 (__pathconf): Pass file to __statfs_link_max.
52298 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52299 __statfs_link_max.
52300 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52301 __statfs_link_max.
52302
de283087
AD
52303 [BZ #12868]
52304 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52305 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52306 Handle Lustre.
52307 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52308 (__statfs_filesize_max): Likewise.
52309 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52310
c75fa153
AJ
523112011-07-05 Andreas Jaeger <aj@suse.de>
52312
52313 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52314
1a544854
UD
523152011-07-06 Marek Polacek <mpolacek@redhat.com>
52316
52317 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52318 `status' variable.
52319 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52320 Likewise.
52321
6f0eec67
UD
523222011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52323
52324 * Makefile (strop-tests): Add strncat.
52325 * string/test-strncat.c: New file.
52326
aae30307
UD
523272011-06-30 Marek Polacek <mpolacek@redhat.com>
52328
52329 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52330
c0cfb5eb
UD
523312011-06-21 Andreas Jaeger <aj@suse.de>
52332
52333 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52334 Copy rule from iconvdata/Makefile.
52335
01636b21
UD
523362011-07-06 Ulrich Drepper <drepper@gmail.com>
52337
52338 [BZ #12922]
52339 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52340 but no long options are defined, just return 'W'.
52341
9895c8bc
UD
523422011-06-22 Marek Polacek <mpolacek@redhat.com>
52343
52344 [BZ #9696]
52345 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52346
5d4cf042
UD
523472011-07-06 Ulrich Drepper <drepper@gmail.com>
52348
52349 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52350 netgroups to read.
960e5535 52351 (innetgr): Likewise.
5d4cf042 52352
751eb97e
RM
523532011-07-05 Roland McGrath <roland@hack.frob.com>
52354
52355 * config.make.in (install_root): Default to $(DESTDIR).
52356
f15f1e45
UD
523572011-07-05 Ulrich Drepper <drepper@gmail.com>
52358
52359 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52360
4e34ac6a
RM
523612011-07-02 Roland McGrath <roland@hack.frob.com>
52362
5e9b6af4
RM
52363 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52364
84f9ea0f
RM
52365 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52366 containing directory rather than embedding absolute directory names.
52367
ea5ee9f7
RM
52368 * scripts/check-local-headers.sh: Rewritten using awk.
52369 Match by word, not by line. Print error messages for matches.
52370 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52371
1b74661a
RM
52372 * Makerules [shlib-lds-flags empty]:
52373 ($(common-objpfx)libc_pic.opts): New target.
52374 ($(common-objpfx)libc_pic.os.clean): New target.
52375 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52376
52377 * config.make.in (OBJCOPY): New variable.
52378 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52379 * configure: Regenerated.
52380
f781ef40
RM
52381 * config.make.in (use-default-link): New variable.
52382 * configure.in (use_default_link): Grok --with-default-link to set it.
52383 * configure: Regenerated.
52384 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52385 (shlib-lds, shlib-lds-flags): Define to empty.
52386
2d4fa81e
RM
52387 * Makerules (shlib-lds): New variable.
52388 (shlib-lds-flags): New variable.
52389 (build-shlib, build-moduile, build-module-asneeded): Use it.
52390 ($(common-objpfx)libc.so): Use $(shlib-lds).
52391 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52392 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52393
31fffa6b
RM
52394 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52395 DT_FLAGS/DT_FLAGS_1 with zero flags.
52396
4e34ac6a
RM
52397 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52398 linker script munging.
52399
fcfc776b
UD
524002011-07-02 Ulrich Drepper <drepper@gmail.com>
52401
52402 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52403 as 128-bit value.
52404 * crypt/sha512.c (sha512_process_block): Perform total addition using
52405 128-bit if possible.
52406 (__sha512_finish_ctx): Likewise.
52407 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52408 as 64-bit value.
52409 * crypt/sha256.c (SWAP64): Define.
52410 (sha256_process_block): Perform total addition using 64-bit if
52411 possible.
52412 (__sha256_finish_ctx): Likewise.
52413
99231d9a
UD
524142011-07-01 Ulrich Drepper <drepper@gmail.com>
52415
52416 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52417 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52418 * nscd/hstcache.c (cache_addhst): Likewise.
52419 * nscd/grpcache.c (cache_addgr): Likewise.
52420 * nscd/aicache.c (addhstaiX): Likewise
52421 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52422
445b4a53
TK
524232011-07-01 Thorsten Kukuk <kukuk@suse.de>
52424
52425 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52426 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52427 * nscd/hstcache.c (cache_addhst): Likewise.
52428 * nscd/grpcache.c (cache_addgr): Likewise.
52429 * nscd/aicache.c (addhstaiX): Likewise
52430
6d4d8e8e
AS
524312011-07-01 Andreas Schwab <schwab@redhat.com>
52432
52433 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52434 domain only when needed.
52435
89f654c5
AS
524362011-06-30 Andreas Schwab <schwab@redhat.com>
52437
52438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52439 is always restored.
52440
cf3b23ff
UD
524412011-06-29 Ulrich Drepper <drepper@gmail.com>
52442
52443 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52444 are re-adding the entry.
52445 * nscd/servicescache.c (cache_addserv): Likewise.
52446
751626f9
AJ
524472011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52448
52449 * sysdeps/generic/dl-irel.h: fix protection against multiple
52450 inclusions.
52451 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52452
9113ea1f
UD
524532011-06-28 Ulrich Drepper <drepper@gmail.com>
52454
5c0b8d90
UD
52455 [BZ #12935]
52456 * malloc/memusage.sh: Fix quoting in message.
52457 * debug/xtrace.sh: Likewise.
52458
9113ea1f
UD
52459 * configure.in: Remove support for --experimental-malloc option, make
52460 it the default.
52461 * config.make.in: Likewise.
52462 * malloc/Makefile: Likewise.
52463
a4172181
AS
524642011-06-27 Andreas Schwab <schwab@redhat.com>
52465
52466 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52467 two-byte characters.
52468
78a7eee7
RM
524692011-06-27 Roland McGrath <roland@hack.frob.com>
52470
62bede13
RM
52471 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52472 AC_CACHE_CHECK invocation.
52473 * configure: Regenerated.
52474
78a7eee7
RM
52475 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52476
5ce33a62
UD
524772011-06-27 Ulrich Drepper <drepper@gmail.com>
52478
034807a9
UD
52479 [BZ #12350]
52480 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52481 bit from old_res_options.
52482
4902da17
UD
52483 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52484
5ce33a62
UD
52485 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52486 value type for setfct.
52487
c2344f56
L
524882011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52489
52490 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52491 __gettimeofday instead of gettimeofday.
52492
68468076
UD
524932011-06-26 Ulrich Drepper <drepper@gmail.com>
52494
52495 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52496
acb0d739
L
524972011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52498
52499 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52500
52501 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52502 info.
52503
8912479f
L
525042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52505
52506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52507 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52508 strcpy-sse2-unaligned strncpy-sse2-unaligned
52509 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52510 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52511 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52512 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52513 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52514 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52515 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52516 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52517 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52518 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52519 (STRCPY): Support SSE2 and SSSE3 versions.
52520
d5495a11
UD
525212011-06-24 Ulrich Drepper <drepper@gmail.com>
52522
52523 [BZ #12874]
52524 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52525 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52526 kernels which artificially limit size of requests.
52527
0b1cbaae
L
525282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52529
52530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52531 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52532 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52533 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52534 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52535 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52536 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52537 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52538 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52539 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52540 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52541 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52542 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52543 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52544 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52546 Enable unaligned load optimization for Intel Core i3, i5 and i7
52547 processors.
52548 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52549 Define.
52550 (index_Fast_Unaligned_Load): Define.
52551 (HAS_FAST_UNALIGNED_LOAD): Define.
52552
07f494a0
MP
525532011-06-23 Marek Polacek <mpolacek@redhat.com>
52554
52555 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52556
fa3fc0fe
UD
525572011-06-22 Ulrich Drepper <drepper@gmail.com>
52558
52559 [BZ #12907]
52560 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52561 until it is clear that the information is realy needed.
52562 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52563
e12df166
AS
525642011-06-22 Andreas Schwab <schwab@redhat.com>
52565
52566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52567
852eb34d
UD
525682011-06-22 Ulrich Drepper <drepper@gmail.com>
52569
84e2a551
UD
52570 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52571 /sys/devices/system/cpu/online if it is usable.
52572
852eb34d
UD
52573 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52574 reading the information from the /proc filesystem to once a second.
52575
6e502e19
UD
525762011-06-21 Andreas Jaeger <aj@suse.de>
52577
52578 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52579 NULL after inclusion of kernel headers.
52580
75d39ff2
UD
525812011-06-21 Ulrich Drepper <drepper@gmail.com>
52582
51f9aa6a
UD
52583 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52584 calls to internal_setent.
52585
c0244a9d
UD
52586 [BZ #12885]
52587 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52588 addresses using gethostbyname4_r ignore IPv4 addresses.
52589
c5e3c2ae
UD
52590 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52591 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52592
75d39ff2
UD
52593 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52594
42675c6f
DM
525952011-06-20 David S. Miller <davem@davemloft.net>
52596
52597 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52598 inclusions.
52599 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52600
52601 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52602 (elf_irel): Use it.
52603 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52604 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52605 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52606 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52607 * sysdeps/x86_64/dl-irel.h: Likewise.
52608
52609 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52610 * elf/dl-sym.c: Likewise.
52611
57912a71
UD
526122011-06-15 Ulrich Drepper <drepper@gmail.com>
52613
52614 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52615 need to dereference resplen2.
52616
ee22793d
AS
526172011-06-14 Andreas Schwab <schwab@redhat.com>
52618
52619 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52620
a9e836b0
UD
526212011-06-15 Ulrich Drepper <drepper@gmail.com>
52622
77fb9117
UD
52623 * Makeconfig: Define vardbdir and inst_vardbdir.
52624 * nss/Makefile: Add rules to install db-Makefile.
52625
40c1b22c
UD
52626 * nss/nss_db/db-XXX.c: Cleanup.
52627
9f2da732
UD
52628 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52629 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52630 GLIBC_PRIVATE.
52631 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52632 * nss/makedb.c: Implement -g option to specify that value strings
52633 are generated and should not be added to table iterated over for
52634 get*ent calls.
52635 * nss/nss_db/db-initgroups.c: New file.
52636
82e9a1f7
UD
52637 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52638 interface.
52639
c41af17e
UD
52640 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52641 (internal_getgrouplist): Adjust to name change.
52642 Update use_initgroups_entry if this is not the first call.
52643 * nss/databases.def: Add initgroups entry.
52644
a9e836b0
UD
52645 * nss/makedb.c (compute_tables): Check result of multiple hash table
52646 sizes to minimize maximum chain length.
52647
2666d441
UD
526482011-06-14 Ulrich Drepper <drepper@gmail.com>
52649
52650 * Versions.def: Add entry for libnss_db.
52651 * shlib-versions: Likewise.
52652 * nss/Makefile: Add rules to build libnss_db.
52653 * nss/Versions: Add libnss_db information. Organize libnss_files
52654 entries better.
52655 * nss/db-Makefile: Add gshadow support. Change rules for the new
52656 makedb progra. Some minor improvements to generate smaller files.
52657 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52658 here from...
52659 * nss/makedb.c: ...here.
52660 Improve database format to be smaller and require less memory at
52661 runtime.
52662 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52663 db anymore.
52664 * nss/nss_db/db-netgrp.c: Likewise.
52665 * nss/nss_db/db-open.c: Likewise.
52666 * nss/nss_files/flies-XXX.x: Adjust comments.
52667 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52668 * nss/nss_files/files-grp.c: Likewise.
52669 * nss/nss_files/files-hosts.c: Likewise.
52670 * nss/nss_files/files-network.c: Likewise.
52671 * nss/nss_files/files-proto.c: Likewise.
52672 * nss/nss_files/files-pwd.c: Likewise.
52673 * nss/nss_files/files-rpc.c: Likewise.
52674 * nss/nss_files/files-service.c: Likewise.
52675 * nss/nss_files/files-sgrp.c: Likewise.
52676 * nss/nss_files/files-spwd.c: Likewise.
52677 * nss/nss_db/db-alias.c: Removed.
52678 * nss/nss_db/dummy-db.h: Removed.
52679
9ee76b5a
UD
526802011-06-02 Ulrich Drepper <drepper@gmail.com>
52681
52682 * nss/makedb.c: Rewritten to not use database library.
52683 * nss/Makefile: Update to build new makedb program.
52684
c71ca1f8
AJ
526852011-06-14 Andreas Jaeger <aj@suse.de>
52686
52687 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52688 memset declaration.
52689
3154bfb8
UD
526902011-06-10 Andreas Schwab <schwab@redhat.com>
52691
52692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52693 tmpbuf.
52694
b350afab
RM
526952011-06-10 Roland McGrath <roland@hack.frob.com>
52696
decd4e50
RM
52697 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52698 * elf/Makefile ($(objpfx)ld.so): Likewise.
52699
5615eaf2
RM
52700 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52701 Don't list ld.so twice in dependencies.
52702
52703 * posix/bug-regex31.c: Include <stdlib.h>.
52704
52705 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52706
52707 * nis/nss_compat/compat-spwd.c
52708 (getspent_next_nss_netgr): Remove unused variable.
52709 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52710
52711 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52712 nonmembers" output to use the right array.
52713
52714 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52715
52716 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52717
52718 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52719 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52720 * catgets/gencat.c (read_input_file): Likewise.
52721 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52722
52723 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52724 variable definition inside #if's controlling its use.
52725
52726 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52727
52728 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52729
52730 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52731
52732 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52733 unreachable code.
52734
52735 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52736
b68e08db
RM
52737 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52738 * configure: Regenerated.
52739
b350afab
RM
52740 * Makerules: Revert last change.
52741 * elf/Makefile: Likewise.
52742
28368601
RM
527432011-06-09 Roland McGrath <roland@hack.frob.com>
52744
52745 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52746 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52747 (reloc-link): Likewise.
52748
11988f8f
UD
527492011-06-09 Ulrich Drepper <drepper@gmail.com>
52750
52751 * elf/Makefile: Add rules to build pldd.
52752 * elf/pldd.c: New file.
52753 * elf/pldd-xx.c: New file.
52754
e80fab37
UD
527552011-06-07 Ulrich Drepper <drepper@gmail.com>
52756
52757 * version.h: Update for 2.15 development version.
52758
9b849836
DM
527592011-06-07 David S. Miller <davem@davemloft.net>
52760
52761 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52762 ifuncs.
52763 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52764 elf_machine_lazy_rel): Likewise.
52765 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52766 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52767 elf_machine_lazy_rel): Likewise.
52768 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52769 dl_hwcap via passed in argument.
52770 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52771 Likewise.
52772
5a31b283
AK
527732011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52774
52775 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52776
069e52f8
RM
527772011-06-06 Roland McGrath <roland@hack.frob.com>
52778
52779 [BZ #12849]
52780 * manual/fdl-1.1.texi: New file, verbatim from:
52781 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52782 * manual/lgpl-2.1.texi: New file, verbatim from:
52783 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52784 * manual/Makefile (licenses): New variable, list those new file names.
52785 (texis): Use it.
52786 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52787
52788 * manual/fdl.texi: File removed.
52789 * manual/lesser.texi: File removed.
52790 * manual/libc.texinfo (Copying, Documentation License):
52791 Use new @include file names, put @appendix directive before @include.
52792
f16846a5
JJ
527932011-06-04 Jakub Jelinek <jakub@redhat.com>
52794
52795 [BZ #12841]
52796 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52797 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52798 (mq_open): Add __NTH.
52799
3d29045b
L
528002011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52801
52802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52803 Assume Intel Core i3/i5/i7 processor if AVX is available.
52804
8c297311
UD
528052011-05-31 Ulrich Drepper <drepper@gmail.com>
52806
52807 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52808 typo.
52809
c8fc0c91
UD
528102011-05-31 Andreas Schwab <schwab@redhat.com>
52811
52812 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52813 memory. Use alloca_account. Fix memory leak when retrying.
52814
5b27a807
UD
528152011-05-31 Ulrich Drepper <drepper@gmail.com>
52816
356f8bc6
UD
52817 * version.h (RELEASE): Bump for 2.14 release.
52818 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52819
5b27a807
UD
52820 * config.make.in (RANLIB): Remove entry.
52821
01f16ab0
UD
528222011-05-30 Ulrich Drepper <drepper@gmail.com>
52823
41fce8bd
UD
52824 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52825 (libc.pot): Work around missing support for .ksh extension in xgettext.
52826
4769ae77
UD
52827 [BZ #12684]
52828 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52829 if both request failed.
52830 (send_dg): In case of server errors clear resplen or *resplen2.
52831
6b1e7d19
UD
52832 [BZ #12454]
52833 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52834 when there are multiple maps.
52835 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52836 (_dl_fini): Remove test here.
52837
01f16ab0
UD
52838 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52839
b1ebd700
UD
528402011-05-29 Ulrich Drepper <drepper@gmail.com>
52841
7ae22829
UD
52842 [BZ #12350]
52843 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52844 bit from old_res_options.
52845 (gaih_inet): Likewise.
52846
553149f6 52847 [BZ #11099]
18a84741 52848 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
52849 as signed.
52850
652ffab1
UD
52851 * resolv/res_init.c (res_setoptions): Make the code more compact.
52852
16985fd0
UD
52853 [BZ #11558]
52854 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52855 set RES_USEVC.
52856
0464f746
UD
52857 [BZ #11634]
52858 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52859
7d17596c
UD
52860 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52861
cf6bbbd7
UD
52862 [BZ #11781]
52863 * malloc/malloc.h: Declare malloc hook variables as volatile.
52864
13f1ab36
UD
52865 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52866 in last patch.
52867
b1ebd700
UD
52868 [BZ #11799]
52869 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 52870 raise in the comment.
80e2212d
UD
52871 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52872 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52873 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 52874
ce67228d
UD
528752011-05-28 Ulrich Drepper <drepper@gmail.com>
52876
8887a920
UD
52877 [BZ #12811]
52878 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52879 grow the buffers more if it already has to be sufficient.
52880 (build_wcs_upper_buffer): Likewise.
52881 * posix/regexec.c (check_matching): Likewise.
52882 (clean_state_log_if_needed): Likewise.
52883 (extend_buffers): Don't enlarge buffers beyond size of the input
52884 buffer.
52885 Patches mostly by Emil Wojak <emil@wojak.eu>.
52886 * posix/bug-regex32.c: New file.
52887 * posix/Makefile (tests): Add bug-regex32.
52888
4f031072
UD
52889 * locale/findlocale.c (_nl_find_locale): Return right away if
52890 _nl_explode_name failed.
52891 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52892
d0478f0c
UD
52893 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52894
de81b246
UD
52895 * debug/xtrace.sh: Unify messages.
52896 * malloc/memusage.sh: Likewise.
52897
c738465a
UD
52898 [BZ #12813]
52899 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52900 time symbol from vDSO. Substitute with vsyscall if not available.
52901 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52902 __vdso_time.
52903
f1f929d7
UD
52904 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52905 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52906 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52907 Add sendmmsg and internal_sendmmsg.
52908 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52909 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52910 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52911
ce67228d
UD
52912 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52913 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52914 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52915
e57420c6
UD
529162011-05-27 Ulrich Drepper <drepper@gmail.com>
52917
a8509ca5
UD
52918 [BZ #12813]
52919 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52920 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52921 available.
52922 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52923 __vdso_getcpu.
52924
e57420c6
UD
52925 [BZ #12814]
52926 * iconvdata/Makefile (tests): Add bug-iconv9.
52927 * iconvdata/bug-iconv9.c: New file.
52928
4d07db15
AS
529292011-05-27 Andreas Schwab <schwab@redhat.com>
52930
52931 [BZ #12814]
52932 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52933
ea486f69
JJ
529342011-05-25 Jakub Jelinek <jakub@redhat.com>
52935
52936 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52937 (struct user_regs_struct): Change intcs field back to cs.
52938
6f038433
UD
529392011-05-25 Ulrich Drepper <drepper@gmail.com>
52940
52941 * po/ja.po: Update from translation team.
52942
67f86a25
UD
529432011-05-23 Ulrich Drepper <drepper@gmail.com>
52944
52945 [BZ #12795]
52946 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52947 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52948
def7fbd6
AS
529492011-05-20 Andreas Schwab <schwab@redhat.com>
52950
52951 * stdlib/longlong.h: Update from GCC.
52952
f50ef8f1
AS
529532011-05-23 Andreas Schwab <schwab@redhat.com>
52954
52955 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52956 parameter name.
52957 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52958 Add parameter name.
52959 (__sysconf): Pass it down.
52960
de7ce8f1
UD
529612011-05-22 Ulrich Drepper <drepper@gmail.com>
52962
f2962a71
UD
52963 [BZ #12671]
52964 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52965 some situations.
52966 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52967 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52968 add in in __libc_use_alloca calls. Adjust callers.
52969 (glob): Use malloc in some situations.
52970
de7ce8f1
UD
52971 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52972 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52973 pltexit.
52974
aec84f53
UD
529752011-05-21 Ulrich Drepper <drepper@gmail.com>
52976
05bb4a68
UD
52977 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52978 and CLOCK_BOOTTIME_ALARM.
52979
7ea72f99
UD
52980 [BZ #12782]
52981 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52982 is returned.
52983
7e4afad5
UD
52984 * string/_strerror.c (__strerror_r): Print negative errors as signed
52985 numbers.
52986
8e211fec
UD
52987 [BZ #12777]
52988 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52989 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52990 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52991
f7d82dc9
UD
52992 * configure.in: Fix typo in redirection and correct removal of test
52993 files in two cases.
52994
cc9e536d
UD
52995 [BZ #12788]
52996 * locale/setlocale.c (new_composite_name): Fix test to check for
52997 identical name of all categories.
52998
aec84f53
UD
52999 [BZ #12792]
53000 * libio/filedoalloc.c (local_isatty): New function.
53001 (_IO_file_doallocate): Use local_isatty.
53002 * stdio-common/perror.c (perror): In case a new stream is used
53003 forward the stream error.
53004 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53005 error flag.
53006
78e64fdc
RT
530072011-05-20 Ulrich Drepper <drepper@gmail.com>
53008
34a9094f
UD
53009 [BZ #11869]
53010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53011 alloca.
53012 * include/alloca.h (extend_alloca_account): Define.
53013
78e64fdc
RT
53014 [BZ #11857]
53015 * posix/regex.h: Fix comments with documentation of user-accessible
53016 fields after compilation and describe correct free'ing of pattern
53017 after re_compile_pattern.
53018 Patch by Reuben Thomas <rrt@sc3d.org>.
53019
457bddfc
RA
530202011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53021
53022 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53023 and -mno-altivec to prevent the compiler from using Altivec and/or
53024 VSX instructions when the corresponding registers are not available.
53025
a4527b51
AS
530262011-05-19 Andreas Schwab <schwab@redhat.com>
53027
53028 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53029
ed690b2f
UD
530302011-05-19 Ulrich Drepper <drepper@gmail.com>
53031
53032 * libio/freopen.c (freopen): Use __dup2, not dup2.
53033 * libio/freopen64.c (freopen64): Likewise.
53034
8db73634
L
530352011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53036
53037 [BZ #12775]
53038 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53039 * math/Makefile (tests): Add test-powl.
53040 (CFLAGS-test-powl.c): Define.
53041 * math/test-powl.c: New file.
53042
0a197a9d
L
530432011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53044
53045 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53046
ee30c380
UD
530472011-05-17 Ulrich Drepper <drepper@gmail.com>
53048
53049 [BZ #11837]
53050 * iconvdata/gb18030.c: Update to GB18020-2005.
53051
6ce75379
UD
530522011-05-16 Ulrich Drepper <drepper@gmail.com>
53053
a4b89fd8
AR
53054 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53055 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53056 Patch by Aharon Robbins <arnold@skeeve.com>.
53057
ea389b12
UD
53058 [BZ #11892]
53059 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53060 on the stack.
53061
68a3f91f
UD
53062 [BZ #11895]
53063 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53064 through underflows.
53065
15cc7dd1
UD
53066 [BZ #12766]
53067 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53068 point to strings before performing equality test for error_one_per_line
53069 mode.
53070
f3799213
UD
53071 [BZ #11697]
53072 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53073
d79a9c94
UD
53074 [BZ #11820]
53075 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53076 (struct user_fpregs_struct): Avoid __uint*_t types.
53077
56e5eb46
UD
53078 [BZ #6420]
53079 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53080 symbol info. Use it instead of calling _dl_addr locally.
53081 (lock_and_info): New function.
53082 (tr_freehook): Call lock_and_info and pass symbol info as additional
53083 parameter to tr_where.
53084 (tr_mallochook): Likewise.
53085 (tr_reallochook): Likewise.
53086 (tr_memalignhook): Likewise.
53087
6ce75379
UD
53088 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53089 used and couldn't be at all thread-safe.
53090
f8a3b5bf
UD
530912011-05-15 Ulrich Drepper <drepper@gmail.com>
53092
94b7cc37
UD
53093 * libio/freopen.c (freopen): Don't close old file descriptor
53094 before the new one is opened. Instead dup the new file descriptor
53095 to the old one after the new stream is created.
53096 * libio/freopen64.c (freopen64): Likewise.
53097 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53098 * libio/fileops.c (_IO_new_file_close_it): Handle new
53099 _IO_FLAGS2_NOCLOSE flag.
53100 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53101 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53102 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53103 _IO_FLAGS2_NOCLOSE flag.
53104 * include/unistd.h: Add hidden_proto for dup3.
53105 Define __have_dup3.
53106 * io/dup3.c: Define hidden symbol.
53107 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53108
bd25564e
UD
53109 [BZ #7101]
53110 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53111 when an incomplete long option is used.
53112 * posix/tst-getopt_long1.c: New file.
53113 * posix/Makefile (tests): Add tst-getopt_long1.
53114
c84cfef4
UD
53115 [BZ #10138]
53116 * scripts/config.guess: Update from autoconf-2.68.
53117 * scripts/config.sub: Likewise.
53118
3b85df27
UD
53119 [BZ #10157]
53120 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53121 tests into ...
53122 (has_cpuclock): ...this. New function.
53123 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53124 macro here based on has_cpuclock code.
53125
15a856b1
UD
53126 [BZ #10149]
53127 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53128 First byte (not low byte) is now always NUL.
53129 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53130
05f399e6
UD
53131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53132 Use non-cancelable interfaces.
53133
10a52685 53134 [BZ #9809]
94ecc67d
UD
53135 * locale/iso-639.def: Add entry for Sorani.
53136
f8a3b5bf
UD
53137 [BZ #11901]
53138 * include/stdlib.h: Move include protection to the right place.
53139 Define abort_msg_s. Declare __abort_msg with it.
53140 * stdlib/abort.c (__abort_msg): Adjust type.
53141 * assert/assert.c (__assert_fail_base): New function. Majority
53142 of code from __assert_fail. Allocate memory for __abort_msg with
53143 mmap.
53144 (__assert_fail): Now call __assert_fail_base.
53145 * assert/assert-perr.c: Remove bulk of implementation. Use
53146 __assert_fail_base.
53147 * include/assert.hL Declare __assert_fail_base.
53148 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53149 mmap.
53150 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53151
1af4e298
UD
531522011-05-14 Ulrich Drepper <drepper@gmail.com>
53153
f8a3b5bf 53154 [BZ #11952]
d26dfc60
MG
53155 [BZ #12453]
53156 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53157 until all modules are registered in the DTV.
53158 * elf/Makefile: Add rules to build and run tst-tls19.
53159 * elf/tst-tls19.c: New file.
53160 * elf/tst-tls19mod1.c: New file.
53161 * elf/tst-tls19mod2.c: New file.
53162 * elf/tst-tls19mod3.c: New file.
53163 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53164
2fc54d6f
UD
53165 [BZ #12083]
53166 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53167 correctly.
53168
98d76b46
UD
53169 [BZ #12601]
53170 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53171 two-byte sequence errors.
53172 * iconvdata/Makefile (tests): Add bug-iconv8.
53173 * iconvdata/bug-iconv8.c: New file.
53174
da3c19ef
UD
53175 [BZ #12626]
53176 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53177 buf2 definition.
53178
ca408c15
UD
53179 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53180
d6f67f7d
UD
53181 [BZ #12432]
53182 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53183 (dummy_getcfa): New function.
53184 (init): Get _Unwind_GetCFA address, use dummy if not found.
53185 (backtrace_helper): In recursion check, also check whether CFA changes.
53186 (__backtrace): Completely initialize arg.
53187
1af4e298 53188 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
53189 storing incomplete byte sequence in state object. Avoid testing for
53190 guaranteed too small input if we know there is enough data available.
1af4e298 53191
da62f81b
AS
531922011-05-11 Andreas Schwab <schwab@redhat.com>
53193
53194 * Makeconfig (+link-pie): Indent.
53195 * Rules (binaries-pie): Define if $(have-fpie) and
53196 $(build-shared).
53197 (binaries-shared): Also filter out $(binaries-pie).
53198 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53199 * nscd/Makefile (others-pie): Add nscd.
53200 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53201 ($(objpfx)nscd): Remove command override.
53202 * login/Makefile (others-pie): Add pt_chown.
53203 ($(objpfx)pt_chown): Remove command override.
53204 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53205 remove command overrides.
53206
fcabc0f8
UD
532072011-05-13 Ulrich Drepper <drepper@gmail.com>
53208
20030ae6
UD
53209 * libio/tst_putwc.c: Fix error messages.
53210
fcabc0f8
UD
53211 [BZ #12724]
53212 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53213 currently writing and seek to current position when not.
53214 * libio/Makefile (tests): Add bug-fclose1.
53215 * libio/bug-fclose1.c: New file.
53216
320a5dc0
PB
532172011-05-12 Ulrich Drepper <drepper@gmail.com>
53218
53219 [BZ #12511]
53220 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53221 don't set DF_1_NODELETE here.
53222 (do_lookup_x): When entering new entry test for copy relocation
53223 and if necessary set DF_1_NODELETE flag.
53224 * elf/tst-unique4.cc: New file.
53225 * elf/tst-unique4.h: New file.
53226 * elf/tst-unique4lib.cc: New file.
53227 * elf/Makefile: Add rules to build and run tst-unique4.
53228 Patch by Piotr Bury <pbury@goahead.com>.
53229
22836f52
UD
532302011-05-11 Ulrich Drepper <drepper@gmail.com>
53231
f574184a
UD
53232 [BZ #12052]
53233 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53234
e1fb097f
UD
53235 [BZ #12625]
53236 * misc/mntent_r.c (addmntent): Flush the stream after the output
53237
22836f52
UD
53238 [BZ #12393]
53239 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53240 (is_trusted_path_normalize): Skip initial colon. Append slash
53241 to empty buffer. Duplicate is_trusted_path code but allow
53242 constructed patch to be prefix.
53243 (is_dst): Allow $ORIGIN followed by /.
53244 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53245 Correct testing of result of is_trusted_path_normalize
53246 (decompose_rpath): Fix warning.
53247
7b3b0b2a
UD
532482011-05-10 Ulrich Drepper <drepper@gmail.com>
53249
53250 [BZ #11257]
53251 * grp/initgroups.c (internal_getgrouplist): When we found the service
53252 list through the initgroups entry in nsswitch.conf do not always
53253 continue on a successful lookup. Don't always use the
eac80ce2 53254 __nss_group_database value if it is set.
7b3b0b2a
UD
53255 * nss/nsswitch.conf (initgroups): Change action for successful db
53256 lookup to continue for compatibility.
53257
2a81eaa5
UD
532582011-05-09 Ulrich Drepper <drepper@gmail.com>
53259
be97a69e
UD
53260 [BZ #11532]
53261 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53262 and CP774 modules.
53263 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53264 and CP774 modules.
53265 * iconvdata/tst-tables.sh: Likewise.
53266 * iconvdata/cp770.c: New file.
53267 * iconvdata/cp771.c: New file.
53268 * iconvdata/cp772.c: New file.
53269 * iconvdata/cp773.c: New file.
53270 * iconvdata/cp774.c: New file.
53271 * iconvdata/testdata/CP770: New file.
53272 * iconvdata/testdata/CP770..UTF8: New file.
53273 * iconvdata/testdata/CP771: New file.
53274 * iconvdata/testdata/CP771..UTF8: New file.
53275 * iconvdata/testdata/CP772: New file.
53276 * iconvdata/testdata/CP772..UTF8: New file.
53277 * iconvdata/testdata/CP773: New file.
53278 * iconvdata/testdata/CP773..UTF8: New file.
53279 * iconvdata/testdata/CP774: New file.
53280 * iconvdata/testdata/CP774..UTF8: New file.
53281
53282 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53283 END CHARMAP line.
53284 * iconvdata/gen-8bit-gap.sh: Likewise.
53285 * iconvdata/gen-8bit.sh: Likewise.
53286
c1e9e399
UD
53287 * locale/iso-639.def: Add ary entry.
53288
24c55fb3 53289 [BZ #11258]
96b4b1b0
UD
53290 * locale/C-translit.h.in: Add U20A1 transliteration.
53291
bdc2f971
KB
53292 [BZ #12178]
53293 * locale/iso-639.def: Add wae entry.
53294 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53295
2952b117
UD
53296 [BZ #12545]
53297 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53298 for n.
53299
2a81eaa5
UD
53300 [BZ #12711]
53301 * locale/C-translit.h.in: Add entry for U20B9.
53302 Patch by pravin.d.s@gmail.com.
53303
28377d1b
UD
533042011-05-08 Ulrich Drepper <drepper@gmail.com>
53305
7fb90fb8
UD
53306 [BZ #12713]
53307 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53308 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
53309 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53310 in rtld. Use *stat64.
7fb90fb8 53311 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 53312 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 53313 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
53314 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53315 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53316 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53317 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53318 __fstatat64 macros.
7fb90fb8
UD
53319 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53320 * dirent/rewinddir.c: Add libc_hidden_def.
53321 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 53322 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 53323
28377d1b
UD
53324 * include/dirent.h (__alloc_dir): Add flags parameter.
53325 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53326 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53327 __alloc_dir.
53328 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53329 from fdopendir if O_CLOEXEC is already set.
53330
66bdbaa4
AM
533312011-03-15 Alan Modra <amodra@gmail.com>
53332
53333 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53334 l_tls_firstbyte_offset non-zero. Save padding offset in
53335 l_tls_firstbyte_offset for later use.
53336 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53337 freeing static tls block.
53338
95721191
JN
533392011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53340
53341 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53342 where #ifdef was intended. The intent is to prevent ARG_MAX from
53343 being defined by the kernel headers.
53344
f87dfb1f
UD
533452011-05-07 Ulrich Drepper <drepper@gmail.com>
53346
53347 [BZ #12734]
53348 * resolv/resolv.h: Define RES_NOTLDQUERY.
53349 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53350 no-tld-query and set RES_NOTLDQUERY.
53351 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53352 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53353 modern BIND to search name as TLD unless forbidden.
53354
47c3cd7a
UD
533552011-05-07 Petr Baudis <pasky@suse.cz>
53356 Ulrich Drepper <drepper@gmail.com>
53357
53358 [BZ #12393]
53359 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53360 (is_trusted_path): ...to here.
c1e9ea35 53361 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 53362 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 53363 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 53364
8a35c912
PP
533652011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53366
53367 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53368 __BEGIN/__END_DECLS.
53369
acd41f47
UD
533702011-05-06 Ulrich Drepper <drepper@gmail.com>
53371
53372 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53373 NSS_STATUS_NOTFOUND if no record was found.
53374
597df647
AS
533752011-05-05 Andreas Schwab <schwab@redhat.com>
53376
53377 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53378 (headers-not-in-tirpc): Remove rpc/netdb.h
53379 * resolv/netdb.h: Revert last change.
53380
b9af1301
PP
533812011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53382
53383 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53384 circular dependency between libgcc.a and libc.a.
53385
4e34d5f5
AS
533862011-05-05 Andreas Schwab <schwab@redhat.com>
53387
53388 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53389 * nis/Makefile: Don't install rpcsvc/*.
53390 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53391 instead of <rpc/types.h>.
53392 (MAXHOSTNAMELEN): Define.
53393
00ee369c
AS
533942011-05-03 Andreas Schwab <schwab@redhat.com>
53395
53396 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53397
0b592a30
MB
533982011-04-28 Maciej Babinski <mbabinski@google.com>
53399
53400 [BZ #12714]
53401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53402 gethostbyname4_r when IPv6 results are possible.
53403
6e04cbbe
UD
534042011-05-02 Ulrich Drepper <drepper@gmail.com>
53405
53406 [BZ #12723]
53407 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53408 _PC_PIPE_BUF handling.
53409
e4ecafe0
BH
534102011-04-30 Bruno Haible <bruno@clisp.org>
53411
53412 [BZ #12717]
53413 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53414 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53415 to 'int'.
53416 * inet/getnameinfo.c (getnameinfo): Likewise.
53417
125ee683
UD
534182011-04-29 Ulrich Drepper <drepper@gmail.com>
53419
53420 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53421 to groups setting in database lookup.
53422 * nss/nsswitch.conf: Add initgroups entry.
53423
b722481a
EB
534242011-04-22 Ulrich Drepper <drepper@gmail.com>
53425
53426 [BZ #12685]
53427 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53428 mode string.
53429 Patch by Eric Blake <eblake@redhat.com>.
53430
4df46dbd
L
534312011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53432
53433 * sunrpc/Makefile (need-export-routines): Add svc_run.
53434 (routines): Remove svc_run.
53435 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53436 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53437 * sunrpc/svc_run.c (svc_run): Likewise.
53438 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53439
e84142d2
UD
534402011-04-21 Ulrich Drepper <drepper@gmail.com>
53441
53442 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53443 problem in reallocation in last patch.
53444
877175d8
UD
534452011-04-20 Ulrich Drepper <drepper@gmail.com>
53446
53447 * sunrpc/Makefile: Move inclusion of Rules.
53448
ab8eed78
UD
534492011-04-19 Ulrich Drepper <drepper@gmail.com>
53450
53451 * nss/nss_files/files-initgroups.c: New file.
53452 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53453 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53454 _nss_files_initgroups_dyn.
53455
e3d8f584
RS
534562011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53457
53458 * elf/elf.h (R_ARM_IRELATIVE): Define.
53459
af190f45
UD
534602011-04-19 Ulrich Drepper <drepper@gmail.com>
53461
53462 * po/ru.po: Update from translation team.
53463
53cf59ef
UD
534642011-04-17 Ulrich Drepper <drepper@gmail.com>
53465
53466 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53467 dependencies.
53468
4c559bcd
MF
534692011-02-06 Mike Frysinger <vapier@gentoo.org>
53470
53471 [BZ #12653]
53472 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53473 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53474 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53475 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53476 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53477
4420675c
AS
534782011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53479
53480 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53481 differing bytes.
53482 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53483 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53484 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53485
75ea32ab
UD
534862011-04-17 Ulrich Drepper <drepper@gmail.com>
53487
53488 [BZ #12420]
53489 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53490 storing it.
53491 * stdlib/bug-getcontext.c: New file.
53492 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53493
27390476
AK
534942011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53495
53496 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53497 instructions into .machine "z9-109".
53498 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53499 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53500
10442705
AK
535012011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53502
53503 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53504 between environment variables and auxiliary vector.
53505
7b57bfe5
UD
535062011-04-16 Ulrich Drepper <drepper@gmail.com>
53507
53508 * Makefile: Add rules to build linkobj/libc.so.
53509 * include/libc-symbols.h: Define libc_hidden_nolink.
53510 * include/rpc/auth.h: Mark functions which are to be hidden.
53511 * include/rpc/auth_des.h: Likewise.
53512 * include/rpc/auth_unix.h: Likewise.
53513 * include/rpc/clnt.h: Likewise.
53514 * include/rpc/des_crypt.h: Likewise.
53515 * include/rpc/key_prot.h: Likewise.
53516 * include/rpc/pmap_clnt.h: Likewise.
53517 * include/rpc/pmap_prot.h: Likewise.
53518 * include/rpc/pmap_rmt.h: Likewise.
53519 * include/rpc/rpc_msg.h: Likewise.
53520 * include/rpc/svc.h: Likewise.
53521 * include/rpc/svc_auth.h: Likewise.
53522 * include/rpc/xdr.h: Likewise.
53523 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53524 * nss/Makefile: Likewise.
53525 * sunrpc/Makefile: Don't install headers. Build library with normal
53526 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53527 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53528 for the compat linking library. Remove use of INTDEF/INTUSE.
53529 * sunrpc/auth_none.c: Likewise.
53530 * sunrpc/auth_unix.c: Likewise.
53531 * sunrpc/authdes_prot.c: Likewise.
53532 * sunrpc/authuxprot.c: Likewise.
53533 * sunrpc/clnt_gen.c: Likewise.
53534 * sunrpc/clnt_perr.c: Likewise.
53535 * sunrpc/clnt_raw.c: Likewise.
53536 * sunrpc/clnt_simp.c: Likewise.
53537 * sunrpc/clnt_tcp.c: Likewise.
53538 * sunrpc/clnt_udp.c: Likewise.
53539 * sunrpc/clnt_unix.c: Likewise.
53540 * sunrpc/des_crypt.c: Likewise.
53541 * sunrpc/des_soft.c: Likewise.
53542 * sunrpc/get_myaddr.c: Likewise.
53543 * sunrpc/key_call.c: Likewise.
53544 * sunrpc/key_prot.c: Likewise.
53545 * sunrpc/netname.c: Likewise.
53546 * sunrpc/pm_getmaps.c: Likewise.
53547 * sunrpc/pm_getport.c: Likewise.
53548 * sunrpc/pmap_clnt.c: Likewise.
53549 * sunrpc/pmap_prot.c: Likewise.
53550 * sunrpc/pmap_prot2.c: Likewise.
53551 * sunrpc/pmap_rmt.c: Likewise.
53552 * sunrpc/publickey.c: Likewise.
53553 * sunrpc/rpc_cmsg.c: Likewise.
53554 * sunrpc/rpc_common.c: Likewise.
53555 * sunrpc/rpc_dtable.c: Likewise.
53556 * sunrpc/rpc_prot.c: Likewise.
53557 * sunrpc/rpc_thread.c: Likewise.
53558 * sunrpc/rtime.c: Likewise.
53559 * sunrpc/svc.c: Likewise.
53560 * sunrpc/svc_auth.c: Likewise.
53561 * sunrpc/svc_authux.c: Likewise.
53562 * sunrpc/svc_raw.c: Likewise.
53563 * sunrpc/svc_run.c: Likewise.
53564 * sunrpc/svc_simple.c: Likewise.
53565 * sunrpc/svc_tcp.c: Likewise.
53566 * sunrpc/svc_udp.c: Likewise.
53567 * sunrpc/svc_unix.c: Likewise.
53568 * sunrpc/svcauth_des.c: Likewise.
53569 * sunrpc/xcrypt.c: Likewise.
53570 * sunrpc/xdr.c: Likewise.
53571 * sunrpc/xdr_array.c: Likewise.
53572 * sunrpc/xdr_float.c: Likewise.
53573 * sunrpc/xdr_intXX_t.c: Likewise.
53574 * sunrpc/xdr_mem.c: Likewise.
53575 * sunrpc/xdr_rec.c: Likewise.
53576 * sunrpc/xdr_ref.c: Likewise.
53577 * sunrpc/xdr_sizeof.c: Likewise.
53578 * sunrpc/xdr_stdio.c: Likewise.
53579
e6c61494
UD
535802011-04-10 Ulrich Drepper <drepper@gmail.com>
53581
53582 [BZ #12650]
53583 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53584 * sysdeps/ia64/dl-tls.h: Likewise.
53585 * sysdeps/powerpc/dl-tls.h: Likewise.
53586 * sysdeps/s390/dl-tls.h: Likewise.
53587 * sysdeps/sh/dl-tls.h: Likewise.
53588 * sysdeps/sparc/dl-tls.h: Likewise.
53589 * sysdeps/x86_64/dl-tls.h: Likewise.
53590 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53591
34fe483e
AS
535922011-03-14 Andreas Schwab <schwab@redhat.com>
53593
53594 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53595 rpath element also skip the following colon.
53596 (expand_dynamic_string_token): Add is_path parameter and pass
53597 down to DL_DST_REQUIRED and _dl_dst_substitute.
53598 (decompose_rpath): Call expand_dynamic_string_token with
53599 non-zero is_path. Ignore empty rpaths.
53600 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53601 with zero is_path.
53602
f12a32e6
AS
536032011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53604
53605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53606 Make cancelable.
53607
38a7d692
UD
536082011-04-09 Ulrich Drepper <drepper@gmail.com>
53609
53610 [BZ #12655]
53611 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53612 Patch by Filipe David Manana <fdmanana@apache.org>.
53613
e451d22b
AS
536142011-04-07 Andreas Schwab <schwab@redhat.com>
53615
53616 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53617 Maintain aligned stack.
53618 (CHECK_RSP): Remove unused macro.
53619
dedc7c7b
UD
536202011-04-03 Ulrich Drepper <drepper@gmail.com>
53621
53622 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53623 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53624
94521213
UD
536252011-04-02 Ulrich Drepper <drepper@gmail.com>
53626
53627 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53628
8cb700c0 53629 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 53630
0354e355
L
536312011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53632
53633 [BZ #12518]
53634 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53635 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53636 * sysdeps/x86_64/memmove.c: New file.
53637 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53638 (memcpy): Renamed to ...
53639 (__new_memcpy): This.
53640 (memcpy): Provide GLIBC_2_14 memcpy.
53641 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53642 (memcpy): Provide GLIBC_2_2_5 memcpy.
53643
8593482f
UD
536442011-04-01 Ulrich Drepper <drepper@gmail.com>
53645
53646 [BZ #12631]
53647 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53648
81a5726b
AS
536492011-03-30 Andreas Schwab <schwab@redhat.com>
53650
53651 * misc/syncfs.c: New file.
53652 * misc/Makefile (routines): Add syncfs.
53653 * posix/unistd.h: Declare syncfs.
53654 * sysdeps/unix/syscalls.list: Add syncfs.
53655
00e5419f
AS
536562011-04-01 Andreas Schwab <schwab@redhat.com>
53657
53658 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53659 open_by_handle_at.
53660 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53661 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53663 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53664 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53665 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53666 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53667
748876bf
UD
536682011-04-01 Ulrich Drepper <drepper@gmail.com>
53669
658e451d
UD
53670 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53671 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53672 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53673 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53674 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53676 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53677
748876bf
UD
53678 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53679 sync_file_range.c with -fexceptions.
53680 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53681 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53682 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53683 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53684 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53685 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53686 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
53687 sync_file_range as cancellation point
53688 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53689 now a wrapper around __call_sync_file_range with cancellation handling.
53690 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53691 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53692 function name to __call_sync_file_range.
53693 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53694 Add call_sync_file_range.
748876bf 53695
6e63d5e1
AS
536962011-04-01 Andreas Schwab <schwab@redhat.com>
53697
53698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 53699 bits/timex.h.
6e63d5e1 53700
46998f74
UD
537012011-04-01 Ulrich Drepper <drepper@gmail.com>
53702
4c1423ed
UD
53703 * iconv/iconv.h: Fix typo in comment.
53704 * io/fcntl.h: Likewise.
53705 * libio/stdio.h: Likewise.
53706 * posix/spawn.h: Likewise.
53707 * posix/unistd.h: Likewise.
53708 * stdlib/stdlib.h: Likewise.
53709 * time/time.h: Likewise.
53710 * wcsmbs/wchar.h: Likewise.
53711
158648c0
UD
53712 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53713 open_by_handle): Add.
53714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53715 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53716 Augment a few comments.
53717 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53718 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53719 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53721 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53722 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53723 open_by_handle.
53724
46998f74
UD
53725 * io/fcntl.h (AT_EMPTY_PATH): Define.
53726
83fe108b
UD
537272011-03-30 Ulrich Drepper <drepper@gmail.com>
53728
53729 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53730 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53731 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53732 to...
53733 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
53734 * Versions.def: Add GLIBC_2.14.
53735 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53736 Export.
83fe108b 53737
bb242059
UD
537382011-03-22 Ulrich Drepper <drepper@gmail.com>
53739
53740 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53741 round counter.
53742 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53743
c97a1282
L
537442011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53745
53746 [BZ #12597]
53747 * string/test-strncmp.c (do_page_test): New function.
53748 (check2): Likewise.
53749 (test_main): Call check2.
53750 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53751
2a115601
UD
537522011-03-20 Ulrich Drepper <drepper@gmail.com>
53753
53754 [BZ #12587]
53755 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53756 Handle cache information in CPU leaf 4.
53757 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53758
8126d904
UD
537592011-03-18 Ulrich Drepper <drepper@gmail.com>
53760
042c49c6 53761 [BZ #12583]
8126d904
UD
53762 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53763 character representation.
53764 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53765
ccfe366e
RA
537662011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53767
53768 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53769 END(__isnan) to END(__isnanf) to match function entry point/label
53770 EALIGN(__isnanf,...).
53771
c6e13027
JJ
537722011-03-10 Jakub Jelinek <jakub@redhat.com>
53773
53774 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53775
33f85a3f
UD
537762011-03-10 Ulrich Drepper <drepper@gmail.com>
53777
028478fa
UD
53778 [BZ #12510]
53779 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53780 copy from the symbol referenced in the relocation to initialize the
53781 used variable.
53782 Patch by Piotr Bury <pbury@goahead.com>.
53783 * elf/Makefile: Add rules to build and tst-unique3.
53784 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53785 * elf/tst-unique3.cc: New file.
53786 * elf/tst-unique3.h: New file.
53787 * elf/tst-unique3lib.cc: New file.
53788 * elf/tst-unique3lib2.cc: New file.
53789
33f85a3f
UD
53790 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53791
03592fc7
MF
537922011-03-10 Mike Frysinger <vapier@gentoo.org>
53793
53794 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53795 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53796 to _start.
03592fc7 53797
6a5ee102
UD
537982011-03-06 Ulrich Drepper <drepper@gmail.com>
53799
53800 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53801 to-be-loaded object along a path to loader is ld.so.
53802
7e4ba49c
HJ
538032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53804 Ulrich Drepper <drepper@gmail.com>
53805
53806 * sysdeps/x86_64/memset.S: After aligning destination, code
53807 branches to different locations depending on the value of
53808 misalignment, when multiarch is enabled. Fix this.
53809
538102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53811
53812 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53813 Set _x86_64_preferred_memory_instruction for AMD processsors.
53814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53815 Set bit_Prefer_SSE_for_memop for AMD processors.
53816
13a804de
UD
538172011-03-04 Ulrich Drepper <drepper@gmail.com>
53818
53819 * libio/fmemopen.c (fmemopen): Optimize a bit.
53820
9d25c392
AS
538212011-03-03 Andreas Schwab <schwab@redhat.com>
53822
53823 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53824
a5543c6a
RM
538252011-03-03 Roland McGrath <roland@redhat.com>
53826
53827 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53828
012d35f7
DM
538292011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53830
7e4ba49c 53831 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
53832 __bzero_ultra1 instead of __memset_ultra1.
53833
4bff6e01
AS
538342011-02-23 Andreas Schwab <schwab@redhat.com>
53835 Ulrich Drepper <drepper@gmail.com>
53836
53837 [BZ #12509]
53838 * include/link.h (struct link_map): Add l_orig_initfini.
53839 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53840 returning unsuccessfully.
53841 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53842 close of a file loaded at startup, restore the original l_initfini
53843 list.
53844 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53845 list, store the pointer.
53846 * elf/Makefile ($(objpfx)noload-mem): New rule.
53847 (noload-ENV): Define.
53848 (tests): Add $(objpfx)noload-mem.
53849 * elf/noload.c: Include <memcheck.h>.
53850 (main): Call mtrace. Close all opened handles.
53851
f2092faf
AS
538522011-02-17 Andreas Schwab <schwab@redhat.com>
53853
53854 [BZ #12454]
53855 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53856 dependencies are missing.
53857
6c8a2e88
ST
538582011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53859
f2092faf 53860 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
53861 Hurd needs munmap.
53862 * sysdeps/mach/hurd/ifreq.h: New file.
53863
84a42118
PB
538642011-01-27 Petr Baudis <pasky@suse.cz>
53865 Ulrich Drepper <drepper@gmail.com>
53866
071f805e 53867 [BZ 12445]#
84a42118
PB
53868 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53869 to extend_alloca().
53870 * stdio-common/bug23.c: New file.
53871 * stdio-common/Makefile (tests): Add bug23.
53872
e23fe25b
AS
538732010-09-28 Andreas Schwab <schwab@redhat.com>
53874 Ulrich Drepper <drepper@gmail.com>
53875
53876 [BZ #12489]
53877 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53878 before performing relro protection. At old place add assertion
53879 to make sure nothing changed.
53880
d3f02e10
NS
538812011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53882 Glauber de Oliveira Costa <glommer@gmail.com>
53883
53884 * elf/elf.h: Add new ARM TLS relocs.
53885
d55fd7a5
RA
538862011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53887
53888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53889 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53890 cast from r3.
53891 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53892 'tests' variable.
53893 * sysdeps/wordsize-64/tst-writev.c: New file.
53894
2206397e
RA
538952011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53896
53897 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53898 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53899 insns in _dl_start to prevent a TOC reference before relocs are
53900 resolved.
53901
e9433893
UD
539022011-02-15 Ulrich Drepper <drepper@gmail.com>
53903
53904 [BZ #12469]
53905 * Makeconfig: Remove RANLIB definition.
53906 * Makerules: Don't use RANLIB.
53907 * aclocal.m4: Remove ranlib test.
53908 * configure.in: No need to check for ranlib.
53909 * elf/rtld-Rules: Don't use RANLIB.
53910
f75286c6
ST
539112011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53912
8e31c82d
ST
53913 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53914 protection macro.
53915 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53916 inclusion protection macro.
53917
f75286c6
ST
53918 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53919 SIGRTMIN and SIGRTMAX and print information in that case only when
53920 SIGRTMIN is defined.
53921
c1d0e639
JJ
539222011-02-11 Jakub Jelinek <jakub@redhat.com>
53923
53924 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53925 arginfo fn returning -1.
53926
53927 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53928 and thousands string is zero terminated.
53929
edf9294e
AS
539302011-02-03 Andreas Schwab <schwab@redhat.com>
53931
53932 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53933 sysdeps/unix/sysv/linux/bits/socket.h.
53934
2b7e92df
ST
539352011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53936
edf9294e
AS
53937 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53938 (__CPU_COUNT): Remove old macros.
53939 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53940 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53941 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
53942 (__sched_cpualloc, __sched_cpufree): Add declarations.
53943
a4c7ea7b
UD
539442011-02-05 Ulrich Drepper <drepper@gmail.com>
53945
53946 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53947 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53948 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53949 (readdhstai): Return value of addhstaiX call.
53950 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53951 (addgrbyX): Return value returned by cache_addgr.
53952 (readdgrbyname): Return value returned by addgrbyX.
53953 (readdgrbygid): Likewise.
53954 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53955 (addpwbyX): Return value returned by cache_addpw.
53956 (readdpwbyname): Return value returned by addhstbyX.
53957 (readdpwbyuid): Likewise.
53958 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53959 (addservbyX): Return value returned by cache_addserv.
53960 (readdservbyname): Return value returned by addservbyX:
53961 (readdservbyport): Likewise.
53962 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53963 (addhstbyX): Return value returned by cache_addhst.
53964 (readdhstbyname): Return value returned by addhstbyX.
53965 (readdhstbyaddr): Likewise.
53966 (readdhstbynamev6): Likewise.
53967 (readdhstbyaddrv6): Likewise.
53968 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53969 (readdinitgroups): Return value returned by addinitgroupsX.
53970 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53971 (prune_cache): Keep track of timeout value of re-added entries.
53972 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53973 * nscd/nscd.h: Adjust prototypes of readd* functions.
53974
a0bf67cc
RM
539752011-02-04 Roland McGrath <roland@redhat.com>
53976
53977 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53978 (nis_stats): Likewise.
53979 * nis/nis_modify.c (nis_modify): Likewise.
53980 * nis/nis_remove.c (nis_remove): Likewise.
53981 * nis/nis_add.c (nis_add): Likewise.
53982
53983 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53984
53985 * posix/fnmatch_loop.c: Add some consts.
53986
53987 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53988
435b95eb
L
539892011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53990
53991 [BZ #12460]
53992 * config.make.in (config-cflags-novzeroupper): Define.
53993 * configure.in: Substitute libc_cv_cc_novzeroupper.
53994 * elf/Makefile (AVX-CFLAGS): Define.
53995 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53996 (CFLAGS-tst-auditmod4a.c): Likewise.
53997 (CFLAGS-tst-auditmod4b.c): Likewise.
53998 (CFLAGS-tst-auditmod6b.c): Likewise.
53999 (CFLAGS-tst-auditmod6c.c): Likewise.
54000 (CFLAGS-tst-auditmod7b.c): Likewise.
54001 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54002
8517b15e
UD
540032011-02-02 Ulrich Drepper <drepper@gmail.com>
54004
54005 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54006 function to the callback.
54007 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54008
10a656fe
AS
540092011-02-02 Andreas Schwab <schwab@redhat.com>
54010
54011 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54012 of errno.
54013
968dad0a
UD
540142011-01-19 Ulrich Drepper <drepper@gmail.com>
54015
9f94d2ea 54016 [BZ #11724]
968dad0a
UD
54017 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54018 of constructors.
54019 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54020 of destructors.
54021 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54022
54023 [BZ #11724]
54024 * elf/Makefile: Add rules to build and run new test.
54025 * elf/tst-initorder.c: New file.
54026 * elf/tst-initorder.exp: New file.
54027 * elf/tst-initordera1.c: New file.
54028 * elf/tst-initordera2.c: New file.
54029 * elf/tst-initordera3.c: New file.
54030 * elf/tst-initordera4.c: New file.
54031 * elf/tst-initorderb1.c: New file.
54032 * elf/tst-initorderb2.c: New file.
54033 * elf/tst-order-a1.c: New file.
54034 * elf/tst-order-a2.c: New file.
54035 * elf/tst-order-a3.c: New file.
54036 * elf/tst-order-a4.c: New file.
54037 * elf/tst-order-b1.c: New file.
54038 * elf/tst-order-b2.c: New file.
54039 * elf/tst-order-main.c: New file.
54040 New test case by George Gensure <werkt0@gmail.com>.
54041
86e92359
UD
540422010-10-01 Andreas Schwab <schwab@redhat.com>
54043
54044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54045 decoding ACE if AI_CANONIDN.
54046
5d5732b0
UD
540472011-01-18 Ulrich Drepper <drepper@gmail.com>
54048
54049 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54050
a77e8cbc
UD
540512011-01-17 Ulrich Drepper <drepper@gmail.com>
54052
6392473f
UD
54053 * version.h (RELEASE): Bump for 2.13 release.
54054 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54055
620a0529
UD
54056 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54057
18ba70a5
UD
54058 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54059 MADV_NOHUGEPAGE.
32465c3e
UD
54060 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54061 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54062 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54063 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54064 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54065 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54066
c0dafcf1
UD
54067 * posix/getconf.c: Update copyright year.
54068 * catgets/gencat.c: Likewise.
54069 * csu/version.c: Likewise.
54070 * debug/catchsegv.sh: Likewise.
54071 * debug/xtrace.sh: Likewise.
54072 * elf/ldconfig.c: Likewise.
54073 * elf/ldd.bash.in: Likewise.
54074 * elf/sprof.c (print_version): Likewise.
54075 * iconv/iconv_prog.c: Likewise.
54076 * iconv/iconvconfig.c: Likewise.
54077 * locale/programs/locale.c: Likewise.
54078 * locale/programs/localedef.c: Likewise.
54079 * malloc/memusage.sh: Likewise.
54080 * malloc/mtrace.pl: Likewise.
54081 * nscd/nscd.c (print_version): Likewise.
54082 * nss/getent.c: Likewise.
54083
a77e8cbc
UD
54084 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54085 PF_CAIF, and PF_ALG.
54086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54087
77e8bddf
AS
540882011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54089
1f20b93a
AS
54090 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54091 (modules-names): Use them.
54092 (ifunc-test-modules, ifunc-pie-tests): Define.
54093 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54094 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54095 (test-extras): Likewise.
54096 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54097 $(compile-command.c).
54098 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54099 (all-built-dso): Define.
54100 (check-textrel.out, check-execstack.out): Depend on it.
54101
77e8bddf
AS
54102 * configure.in: Don't override --enable-multi-arch.
54103
bc425b33
UD
541042011-01-15 Ulrich Drepper <drepper@gmail.com>
54105
54106 [BZ #6812]
54107 * nscd/hstcache.c (tryagain): Define.
54108 (cache_addhst): Return tryagain not notfound for temporary errors.
54109 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54110 failed.
54111
794c3ad3
UD
541122011-01-14 Ulrich Drepper <drepper@gmail.com>
54113
70181fdd
UD
54114 [BZ #10563]
54115 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54116 to make the syscall.
54117 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54118
794c3ad3
UD
54119 [BZ #12378]
54120 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54121 and fall back to matching as normal character if the string ends before
54122 the matching ']' is found. This is what POSIX requires.
54123 * posix/testfnm.c: Adjust test result.
54124 * posix/globtest.sh: Adjust test result. Add new test.
54125 * posix/tst-fnmatch.input: Likewise.
54126 * posix/tst-fnmatch2.c: Add new test.
54127
68dc9497
AS
541282010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54129
54130 * elf/Makefile (check-execstack): Revert last change. Depend on
54131 check-execstack.h.
54132 (check-execstack.h): New target.
54133 (generated): Add check-execstack.h.
54134 * elf/check-execstack.c: Include "check-execstack.h".
54135 (main): Revert last change.
54136 (handle_file): Return zero if GNU_STACK is absent and
54137 DEFAULT_STACK_PERMS doesn't include PF_X.
54138
451f001b
UD
541392011-01-13 Ulrich Drepper <drepper@gmail.com>
54140
cfa28e56
UD
54141 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54142 in child fails because the descriptor is already closed.
8cf8ce17
UD
54143 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54144 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54145 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 54146
1086d70d
UD
54147 [BZ #12397]
54148 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54149 syscall.
54150
451f001b
UD
54151 [BZ #10484]
54152 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54153 temporary buffer used to handle multi lookups locally.
a85b5cb4 54154 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 54155
08769175
UD
541562011-01-12 Ulrich Drepper <drepper@gmail.com>
54157
54158 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54159 loader is ld.so.
54160
5e49c52e
UD
541612011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54162
54163 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54164 alignment for SSE2.
54165
60522a5f
UD
541662011-01-12 Ulrich Drepper <drepper@gmail.com>
54167
54168 [BZ #12394]
54169 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54170 characters. When rounding increased number of integer digits recompute
54171 number of groups.
54172 * stdio-common/tst-grouping.c: New file.
54173 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54174
f257bbd7
UD
541752011-01-09 Ulrich Drepper <drepper@gmail.com>
54176
54177 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54178 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54179
54180 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54181 void.
54182 * bits/select.h: Likewise.
54183
fa9c15cb
UD
541842011-01-08 Ulrich Drepper <drepper@gmail.com>
54185
54186 * po/ja.po: Update from translation team.
54187
16c2895f
DM
541882011-01-04 David S. Miller <davem@sunset.davemloft.net>
54189
54190 [BZ #11155]
54191 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54192 implementation just like for lxstat, fxstatat, et al.
54193
2543fef2
JM
541942010-12-27 Jim Meyering <meyering@redhat.com>
54195
54196 [BZ #12348]
54197 * posix/regexec.c (build_trtable): Return failure indication upon
54198 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54199
98727dbe
UD
542002010-12-25 Ulrich Drepper <drepper@gmail.com>
54201
5bd6dc5c
UD
54202 [BZ #12201]
54203 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54204 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54205 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54206 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54207
97983464
UD
54208 [BZ #12207]
54209 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54210
98727dbe
UD
54211 [BZ #12204]
54212 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54213 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54214
4a531bb0
L
542152010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54216
54217 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54218 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54219 script has SORT_BY_INIT_PRIORITY.
54220 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54221 NO_CTORS_DTORS_SECTIONS is defined.
54222 * elf/soinit.c: Likewise.
54223 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54224 NO_CTORS_DTORS_SECTIONS is defined.
54225 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54226 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54227 * sysdeps/sh/init-first.c: Likewise.
54228 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54229
07eb4b71
UD
542302010-12-24 Ulrich Drepper <drepper@gmail.com>
54231
54232 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54233 always use the slow path.
54234
30950a5f
RA
542352010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54236
54237 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54238 similar rule which adds the sysdep directories to the header search in
54239 order to pick up the correct platform stackinfo.h.
54240 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54241 perform test if it is, otherwise return successfully without testing.
54242 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54243 DEFAULT_STACK_PERMS define in stackinfo.h.
54244 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54245 defined in stackinfo.h.
54246 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54247 DEFAULT_STACK_PERMS defined in stackinfo.h.
54248 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54249 * sysdeps/ia64/stackinfo.h: Likewise.
54250 * sysdeps/s390/stackinfo.h: Likewise.
54251 * sysdeps/sh/stackinfo.h: Likewise.
54252 * sysdeps/sparc/stackinfo.h: Likewise.
54253 * sysdeps/x86_64/stackinfo.h: Likewise.
54254 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54255 PF_X for powerpc64. Retain PF_X for powerpc32.
54256
db753e2c
UD
542572010-12-19 Ulrich Drepper <drepper@gmail.com>
54258
14b697f7
UD
54259 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54260 accurately.
db753e2c
UD
54261 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54262 GETDENTS_64BIT_ALIGNED.
54263
28300719
UD
542642010-12-14 Ulrich Drepper <dreper@gmail.com>
54265
14b697f7 54266 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 54267
4f197237
AS
542682010-12-10 Andreas Schwab <schwab@redhat.com>
54269
dbb0472f
AS
54270 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54271 _GNU_SOURCE.
54272
4f197237
AS
54273 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54274 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54275 Remove __restrict.
54276 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54277 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54278
fb88ac72
UD
542792010-12-09 Ulrich Drepper <drepper@gmail.com>
54280
54281 [BZ #11655]
54282 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54283 are initialized.
54284
42acbb92
JJ
542852010-12-09 Jakub Jelinek <jakub@redhat.com>
54286
54287 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54288
c038d98d
UD
542892010-12-03 Ulrich Drepper <drepper@gmail.com>
54290
54291 * po/it.po: Update from translation team.
54292
3a4a2499
L
542932010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54294
54295 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54296 unused codes.
54297
1e24cf6e
UD
542982010-11-30 Ulrich Drepper <drepper@gmail.com>
54299
54300 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54301
a7690819
AS
543022010-11-24 Andreas Schwab <schwab@redhat.com>
54303
54304 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54305 specially.
54306 (gaih_getanswer_slice): Likewise.
54307
3bf8d1b1
JJ
543082010-10-20 Jakub Jelinek <jakub@redhat.com>
54309
54310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54311
6db52fbb
PB
543122010-05-31 Petr Baudis <pasky@suse.cz>
54313
54314 [BZ #11149]
54315 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54316 silently even in the chroot mode.
54317
eaca7569
UD
543182010-11-22 Ulrich Drepper <drepper@gmail.com>
54319
54320 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54321 last patch a bit. Pretty printing
54322
3056dcdb
UD
543232010-05-31 Petr Baudis <pasky@suse.cz>
54324
54325 [BZ #10085]
54326 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54327 initialization of skip_initgroups_dyn.
54328
cf7c9078
UD
543292010-11-19 Ulrich Drepper <drepper@gmail.com>
54330
54331 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54332 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54333
a1fb5e3e
UD
543342010-11-16 Ulrich Drepper <drepper@gmail.com>
54335
54336 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54337
3540d66b
AS
543382010-11-11 Andreas Schwab <schwab@redhat.com>
54339
54340 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54341 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54342 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54343 ($(objpfx)tst-fnmatch-mem): New rule.
54344 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54345 * posix/tst-fnmatch.c (main): Call mtrace.
54346
13b69574
L
543472010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54348
54349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54350 Support Intel processor model 6 and model 0x2c.
54351
da93d214
LM
543522010-11-10 Luis Machado <luisgpm@br.ibm.com>
54353
54354 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54355 signed comparison.
54356
8ca52c6e
L
543572010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54358
54359 [BZ #12205]
54360 * string/test-strncasecmp.c (check_result): New function.
54361 (do_one_test): Use it.
54362 (check1): New function.
54363 (test_main): Use it.
54364 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54365 Support strcasecmp and strncasecmp.
54366
69da074d
UD
543672010-11-08 Ulrich Drepper <drepper@gmail.com>
54368
54369 [BZ #12194]
54370 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54371 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54372
ff02d528
L
543732010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54374
54375 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54376 IFUNC support.
54377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54378 memset-x86-64.
54379 * sysdeps/x86_64/multiarch/bzero.S: New file.
54380 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54381 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54382 * sysdeps/x86_64/multiarch/memset.S: New file.
54383 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54385 Set bit_Prefer_SSE_for_memop for Intel processors.
54386 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54387 Define.
54388 (index_Prefer_SSE_for_memop): Define.
54389 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54390
344d0b54
LM
543912010-11-04 Luis Machado <luisgpm@br.ibm.com>
54392
54393 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54394 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54395
c0dde15b
UD
543962010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54397
54398 [BZ #12191]
54399 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54400 (__x86_64_raw_data_cache_size_half): Likewise.
54401 (__x86_64_raw_shared_cache_size): Likewise.
54402 (__x86_64_raw_shared_cache_size_half): Likewise.
54403
54404 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54405 (__x86_64_raw_data_cache_size_half): Likewise.
54406 (__x86_64_raw_shared_cache_size): Likewise.
54407 (__x86_64_raw_shared_cache_size_half): Likewise.
54408 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54409 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54410 and __x86_64_raw_shared_cache_size_half. Round
54411 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54412 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54413 to multiple of 256 bytes.
54414
0e516e0e
MS
544152010-11-03 Ulrich Drepper <drepper@gmail.com>
54416
54417 [BZ #12167]
54418 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54419 of inacessible symlinks. Verify result of symlink before returning it.
54420 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54421 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54422
0e012e87
ER
544232010-10-28 Erich Ritz <erichritz@gmail.com>
54424
54425 * math/math.h (isinf): Fix typo in comment.
54426
de0ff7bc
UD
544272010-11-01 Ulrich Drepper <drepper@gmail.com>
54428
54429 * po/da.po: Update from translation team.
54430
fa41c84d
UD
544312010-10-26 Ulrich Drepper <drepper@gmail.com>
54432
54433 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54434 is added to the list.
54435
f0967738
AK
544362010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54437 Ulrich Drepper <drepper@gmail.com>
54438
54439 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54440 the global list here. Move code to...
54441 (_dl_add_to_namespace_list): ...here. New function.
54442 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54443 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54444 * elf/dl-load.c (lose): Don't remove the element from the list.
54445 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54446 (_dl_map_object): Likewise.
54447
544482010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
54449
54450 [BZ #12159]
54451 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54452 into all bytes of SSE register.
54453 Patch by Richard Li <richardpku@gmail.com>.
54454
f0967738 544552010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
54456
54457 [BZ #12140]
54458 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54459 perturbing.
54460
d0b9e94f
MB
544612010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54462
54463 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54464 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54465 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54466 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54468 submachine.
54469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54470
8e9f92e9
AS
544712010-10-22 Andreas Schwab <schwab@redhat.com>
54472
54473 * include/dlfcn.h (__RTLD_SECURE): Define.
54474 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54475 mode & __RTLD_SECURE instead.
54476 (open_path): Rename preloaded parameter to secure.
54477 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54478 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54479 * elf/dl-deps.c (openaux): Likewise.
54480 * elf/rtld.c (struct map_args): Remove is_preloaded.
54481 (map_doit): Don't use it.
54482 (dl_main): Likewise.
54483 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54484 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54485
bc96fbda
AS
544862010-09-09 Andreas Schwab <schwab@redhat.com>
54487
54488 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54489 (sysd-rules-targets): Remove duplicates.
54490 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54491 rtld-%.$o dependency.
54492
22cd1c9b
AS
544932010-10-18 Andreas Schwab <schwab@redhat.com>
54494
54495 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54496 _dl_map_object do it.
54497
18edac48
UD
544982010-10-19 Ulrich Drepper <drepper@gmail.com>
54499
54500 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54501 fast fma builtins, define the macros in the C99 standard.
54502 (FP_FAST_FMAF): Likewise.
54503 (FP_FAST_FMAL): Likewise.
54504 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54505
54506 * bits/mathdef.h: Update copyright year.
54507 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54508
d2050124
MM
545092010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54510
54511 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54512 builtins, define the macros in the C99 standard.
54513 (FP_FAST_FMAF): Likewise.
54514 (FP_FAST_FMAL): Likewise.
54515 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54516 multiply/add.
54517 (FP_FAST_FMAF): Likewise.
54518
475facd1
JJ
545192010-10-15 Jakub Jelinek <jakub@redhat.com>
54520
54521 [BZ #3268]
54522 * math/libm-test.inc (fma_test): Some new testcases.
54523 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54524 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54525 y and infinite z. Do multiplication by C already in long double.
54526 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54528 y and infinite z. Do bitwise or of inexact bit into u.d.
54529 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54530 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54531 * sysdeps/i386/fpu/s_fma.S: Removed.
54532 * sysdeps/i386/fpu/s_fmal.S: Removed.
54533
7c08a05c
JJ
545342010-10-16 Jakub Jelinek <jakub@redhat.com>
54535
54536 [BZ #3268]
54537 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54538 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54539 computation is not scheduled after fetestexcept. Fix value
54540 of minimum denormal long double.
54541
f3f7372d
JJ
545422010-10-14 Jakub Jelinek <jakub@redhat.com>
54543
54544 [BZ #3268]
54545 * math/libm-test.inc (fma_test): Add some more tests.
54546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54547 correctly.
54548
14d43591
AS
545492010-10-15 Andreas Schwab <schwab@redhat.com>
54550
54551 * scripts/data/localplt-s390-linux-gnu.data: New file.
54552 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54553
5e908464
JJ
545542010-10-13 Jakub Jelinek <jakub@redhat.com>
54555
54556 [BZ #3268]
54557 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54558 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54559 instead of dbl-64.
54560 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54561 inlines.
54562 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54563 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54564 if one of x and y is very large and the other is subnormal.
54565 * sysdeps/s390/fpu/s_fmaf.c: New file.
54566 * sysdeps/s390/fpu/s_fma.c: New file.
54567 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54568 * sysdeps/powerpc/fpu/s_fma.S: New file.
54569 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54570 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54571 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54572
545732010-10-12 Jakub Jelinek <jakub@redhat.com>
54574
54575 [BZ #3268]
54576 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54577 fma tests.
54578 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54579 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54580 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54581 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54582 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54583 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54584 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54585
b833d51f
UD
545862010-10-12 Ulrich Drepper <drepper@redhat.com>
54587
54588 [BZ #12078]
54589 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54590 * posix/bug-regex31.input: Add test case.
54591
1751705d
UD
545922010-10-11 Ulrich Drepper <drepper@gmail.com>
54593
e9b9cbf5
UD
54594 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54595 * posix/bug-regex31.input: New file.
54596
54597 [BZ #12078]
54598 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54599 (parse_sub_exp): Fix last change, use postorder.
54600
ef06edbe
UD
54601 * posix/bug-regex31.c: New file.
54602 * posix/Makefile: Add rules to build and run bug-regex31.
54603
a129c80d
UD
54604 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54605
54606 [BZ #12078]
54607 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54608
b76b818e
UD
54609 [BZ #12108]
54610 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54611 to have entries in sys_siglist.
54612
1751705d
UD
54613 [BZ #12093]
54614 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54615 be NULL.
54616
9ff8d36f
JJ
546172010-10-07 Jakub Jelinek <jakub@redhat.com>
54618
54619 [BZ #3268]
54620 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54621 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54622 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54623 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54624 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54625 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54626 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54627 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54628 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54629 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54630 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54631 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54632 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54633 * math/ftestexcept.c (fetestexcept): Likewise.
54634 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54635 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54636 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54637 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54638 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54639 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54640 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54641
af325969
UD
546422010-10-11 Ulrich Drepper <drepper@gmail.com>
54643
c579b202 54644 [BZ #12107]
af325969
UD
54645 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54646 newline.
54647
67a67b95
UD
546482010-10-06 Ulrich Drepper <drepper@gmail.com>
54649
54650 * string/bug-strstr1.c: New file.
54651 * string/Makefile: Add rules to build and run bug-strstr1.
54652
5fb308bc
EB
546532010-10-05 Eric Blake <eblake@redhat.com>
54654
54655 [BZ #12092]
54656 * string/str-two-way.h (two_way_long_needle): Always clear memory
54657 when skipping input due to the shift table.
54658
45db99c7
UD
546592010-10-03 Ulrich Drepper <drepper@gmail.com>
54660
3b111893
UD
54661 [BZ #12005]
54662 * malloc/mcheck.c: Handle large requests.
54663
45db99c7
UD
54664 [BZ #12077]
54665 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54666 for strncmp and strncasecmp.
54667 * string/stratcliff.c: Add tests for strcmp and strncmp.
54668 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54669
cf7a1eb8
NI
546702010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54671
54672 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54673 __set_fpscr.
54674
6484ba5e
AJ
546752010-09-30 Andreas Jaeger <aj@suse.de>
54676
54677 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54678 (CGROUP_SUPER_MAGIC): Define.
54679 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54680 Handle btrfs and cgroup file systems.
54681 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54682 Likewise.
54683
91c42559
LM
546842010-09-27 Luis Machado <luisgpm@br.ibm.com>
54685
54686 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54687 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54688
87a97932
AK
546892010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54690
54691 [BZ #12067]
54692 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54693 trying to locate the ELF header.
54694
c21cc9bc
AS
546952010-09-27 Andreas Schwab <schwab@redhat.com>
54696
54697 [BZ #11611]
54698 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54699 Mask out sign-bit copies when constructing f_fsid.
54700
315970f6
PB
547012010-09-24 Petr Baudis <pasky@suse.cz>
54702
54703 * debug/stack_chk_fail_local.c: Add missing licence exception.
54704 * debug/warning-nop.c: Likewise.
54705
1ac7a2c7
JM
547062010-09-15 Joseph Myers <joseph@codesourcery.com>
54707
54708 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54709 implementing getdents64 using getdents syscall, set d_type if
54710 __ASSUME_GETDENTS32_D_TYPE.
54711
56801c50
AS
547122010-09-16 Andreas Schwab <schwab@redhat.com>
54713
54714 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54715 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54716
dda51327
UD
547172010-09-21 Ulrich Drepper <drepper@redhat.com>
54718
54719 [BZ #12037]
54720 * posix/unistd.h: Undo change of feature selection for ftruncate from
54721 2010-01-11.
54722
8ffcee4a
UD
547232010-09-20 Ulrich Drepper <drepper@redhat.com>
54724
a545ecd9 54725 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
54726 detection.
54727
e24f0a8b
AS
547282010-09-20 Andreas Schwab <schwab@redhat.com>
54729
54730 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54731 fanotify_mark.
54732 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54733
7291c56f
AS
547342010-09-14 Andreas Schwab <schwab@redhat.com>
54735
54736 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54737 variables after CHECK_SP call.
54738 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54739
bc5fb037
AS
547402010-09-13 Andreas Schwab <schwab@redhat.com>
54741 Ulrich Drepper <drepper@redhat.com>
54742
54743 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54744 re-relocationg ld.so.
54745 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54746 _dl_init_paths call.
54747 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54748 here anymore.
54749
e66e7419
UD
547502010-09-14 Ulrich Drepper <drepper@redhat.com>
54751
54752 * resolv/res_init.c (__res_vinit): Count the default server we added.
54753
c044aa75
CLT
547542010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54755 Ulrich Drepper <drepper@redhat.com>
54756
54757 [BZ #11968]
54758 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54759 (____longjmp_chk): Use %ebx for saving value across system call.
54760 Add unwind info.
54761
32cf4069
AS
547622010-09-06 Andreas Schwab <schwab@redhat.com>
54763
54764 * manual/Makefile: Don't mix pattern rules with normal rules.
54765
817328ee
AS
547662010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54767
54768 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54769 operation.
54770 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54771 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54772 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54773 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54774 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54775 Likewise.
54776
29fddf61
UD
547772010-09-04 Ulrich Drepper <drepper@redhat.com>
54778
54779 [BZ #11979]
54780 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54781 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54782
0959ffc9
UD
547832010-09-02 Ulrich Drepper <drepper@redhat.com>
54784
54785 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54786 * sysdeps/x86_64/addmul_1.S: Likewise.
54787 * sysdeps/x86_64/lshift.S: Likewise.
54788 * sysdeps/x86_64/mul_1.S: Likewise.
54789 * sysdeps/x86_64/rshift.S: Likewise.
54790 * sysdeps/x86_64/sub_n.S: Likewise.
54791 * sysdeps/x86_64/submul_1.S: Likewise.
54792
ece29840
ST
547932010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54794
0959ffc9
UD
54795 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54796 Define __sched_param instead of SCHED_* and sched_param when
ece29840 54797 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 54798 * bits/sched.h [__need_schedparam]
ece29840 54799 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
54800 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54801 (__defined_schedparam): Define to 1.
ece29840
ST
54802 (__sched_param): New structure, identical to sched_param.
54803 (__need_schedparam): Undefine.
54804
e53a31fe
MF
548052010-08-31 Mike Frysinger <vapier@gentoo.org>
54806
fdc0c10d
MF
54807 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54808 (epoll_create1): Declare.
54809
e53a31fe
MF
54810 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54811
a726d796
AS
548122010-08-31 Andreas Schwab <schwab@redhat.com>
54813
54814 [BZ #7066]
54815 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54816 shifting retval into place.
54817
2f3e3dc7
UD
548182010-09-01 Ulrich Drepper <drepper@redhat.com>
54819
f2933da9
UD
54820 * nis/rpcsvc/nis.h: Update copyright notice.
54821 * nis/rpcsvc/nis.x: Likewise.
54822 * nis/rpcsvc/nis_callback.h: Likewise.
54823 * nis/rpcsvc/nis_callback.x: Likewise.
54824 * nis/rpcsvc/nis_object.x: Likewise.
54825 * nis/rpcsvc/nis_tags.h: Likewise.
54826 * nis/rpcsvc/yp.h: Likewise.
54827 * nis/rpcsvc/yp.x: Likewise.
54828 * nis/rpcsvc/ypupd.h: Likewise.
54829 * nis/yp_xdr.c: Likewise.
54830 * nis/ypupdate_xdr.c: Likewise.
54831
2f3e3dc7
UD
54832 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54833 mainly the body of pmap_getport. Add parameters to specify timeouts.
54834 (pmap_getport): Use __libc_rpc_getport.
54835 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54836 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54837 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54838
f3dcc2f9
AS
548392010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54840
54841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54842 fanotify_mark.
54843
6d34eb5b
RM
548442010-08-27 Roland McGrath <roland@redhat.com>
54845
54846 * sysdeps/i386/i686/multiarch/Makefile
54847 (CFLAGS-varshift.c): New variable.
54848
9ea3de11
UD
548492010-08-27 Ulrich Drepper <drepper@redhat.com>
54850
c96d23fc
UD
54851 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54852 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54853
9ea3de11
UD
54854 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54855
54856 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54857
623aac7f
L
548582010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54859
54860 * sysdeps/x86_64/strlen.S: Unroll the loop.
54861 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54862 strlen-sse2 strlen-sse2-bsf.
54863 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54864 __strlen_no_bsf if bit_Slow_BSF is set.
54865 (__strlen_sse42): Removed.
54866 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54867 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54868
8b2b7715
RM
548692010-08-25 Roland McGrath <roland@redhat.com>
54870
54871 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54872 * sysdeps/x86_64/multiarch/varshift.c: New file.
54873 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54874 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54875 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54876 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54877
e73015f2
L
548782010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54879
54880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54881 strlen-sse2 strlen-sse2-bsf.
54882 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54883 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54884 (__strlen_sse2): Removed.
54885 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54886 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54888 bit_Slow_BSF for Atom.
54889 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54890 (index_Slow_BSF): Define.
54891 (HAS_SLOW_BSF): Define.
54892
df24a73e
UD
548932010-08-25 Ulrich Drepper <drepper@redhat.com>
54894
54895 [BZ #10851]
54896 * resolv/res_init.c (__res_vinit): When no server address at all
54897 is given default to loopback.
54898
f2ac4868
RM
548992010-08-24 Roland McGrath <roland@redhat.com>
54900
09055553
RM
54901 * configure.in: Remove config-name.h generation.
54902 * configure: Regenerated.
54903 * config-name.in: File removed.
54904 * scripts/config-uname.sh: New file.
54905 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54906 ($(objdir)config-name.h): New target.
54907
f2ac4868
RM
54908 * sunrpc/rpc_parse.h: Avoid nested comment.
54909
73f27d5e
RH
549102010-08-24 Richard Henderson <rth@redhat.com>
54911 Ulrich Drepper <drepper@redhat.com>
54912 H.J. Lu <hongjiu.lu@intel.com>
54913
54914 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54916 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54917 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54918 _mm_alignr_epi8 with _mm_loadu_si128.
54919 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54920 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54921 (__m128i_shift_right): Removed.
54922 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54923 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54924 * sysdeps/x86_64/multiarch/varshift.h: New file.
54925 * sysdeps/x86_64/multiarch/varshift.S: New file.
54926
84b9230c
MF
549272010-08-21 Mike Frysinger <vapier@gentoo.org>
54928
54929 * configure.in: Move assembler checks to before sysdep dir checking.
54930
9bbd0ddc
PB
549312010-08-20 Petr Baudis <pasky@suse.cz>
54932
54933 * LICENSES: Sync the sunrpc license.
54934
9da4bb31
UD
549352010-08-19 Ulrich Drepper <drepper@redhat.com>
54936
a7ab6ec8
UD
54937 * sunrpc/auth_des.c: Update copyright notice once again.
54938 * sunrpc/auth_none.c: Likewise.
54939 * sunrpc/auth_unix.c: Likewise.
54940 * sunrpc/authdes_prot.c: Likewise.
54941 * sunrpc/authuxprot.c: Likewise.
54942 * sunrpc/bindrsvprt.c: Likewise.
54943 * sunrpc/clnt_gen.c: Likewise.
54944 * sunrpc/clnt_perr.c: Likewise.
54945 * sunrpc/clnt_raw.c: Likewise.
54946 * sunrpc/clnt_simp.c: Likewise.
54947 * sunrpc/clnt_tcp.c: Likewise.
54948 * sunrpc/clnt_udp.c: Likewise.
54949 * sunrpc/clnt_unix.c: Likewise.
54950 * sunrpc/des_crypt.c: Likewise.
54951 * sunrpc/des_soft.c: Likewise.
54952 * sunrpc/get_myaddr.c: Likewise.
54953 * sunrpc/getrpcport.c: Likewise.
54954 * sunrpc/key_call.c: Likewise.
54955 * sunrpc/key_prot.c: Likewise.
54956 * sunrpc/openchild.c: Likewise.
54957 * sunrpc/pm_getmaps.c: Likewise.
54958 * sunrpc/pm_getport.c: Likewise.
54959 * sunrpc/pmap_clnt.c: Likewise.
54960 * sunrpc/pmap_prot.c: Likewise.
54961 * sunrpc/pmap_prot2.c: Likewise.
54962 * sunrpc/pmap_rmt.c: Likewise.
54963 * sunrpc/rpc/auth.h: Likewise.
54964 * sunrpc/rpc/auth_unix.h: Likewise.
54965 * sunrpc/rpc/clnt.h: Likewise.
54966 * sunrpc/rpc/des_crypt.h: Likewise.
54967 * sunrpc/rpc/key_prot.h: Likewise.
54968 * sunrpc/rpc/netdb.h: Likewise.
54969 * sunrpc/rpc/pmap_clnt.h: Likewise.
54970 * sunrpc/rpc/pmap_prot.h: Likewise.
54971 * sunrpc/rpc/pmap_rmt.h: Likewise.
54972 * sunrpc/rpc/rpc.h: Likewise.
54973 * sunrpc/rpc/rpc_des.h: Likewise.
54974 * sunrpc/rpc/rpc_msg.h: Likewise.
54975 * sunrpc/rpc/svc.h: Likewise.
54976 * sunrpc/rpc/svc_auth.h: Likewise.
54977 * sunrpc/rpc/types.h: Likewise.
54978 * sunrpc/rpc/xdr.h: Likewise.
54979 * sunrpc/rpc_clntout.c: Likewise.
54980 * sunrpc/rpc_cmsg.c: Likewise.
54981 * sunrpc/rpc_common.c: Likewise.
54982 * sunrpc/rpc_cout.c: Likewise.
54983 * sunrpc/rpc_dtable.c: Likewise.
54984 * sunrpc/rpc_hout.c: Likewise.
54985 * sunrpc/rpc_main.c: Likewise.
54986 * sunrpc/rpc_parse.c: Likewise.
54987 * sunrpc/rpc_parse.h: Likewise.
54988 * sunrpc/rpc_prot.c: Likewise.
54989 * sunrpc/rpc_sample.c: Likewise.
54990 * sunrpc/rpc_scan.c: Likewise.
54991 * sunrpc/rpc_scan.h: Likewise.
54992 * sunrpc/rpc_svcout.c: Likewise.
54993 * sunrpc/rpc_tblout.c: Likewise.
54994 * sunrpc/rpc_util.c: Likewise.
54995 * sunrpc/rpc_util.h: Likewise.
54996 * sunrpc/rpcinfo.c: Likewise.
54997 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54998 * sunrpc/rpcsvc/key_prot.x: Likewise.
54999 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55000 * sunrpc/rpcsvc/mount.x: Likewise.
55001 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55002 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55003 * sunrpc/rpcsvc/rex.x: Likewise.
55004 * sunrpc/rpcsvc/rstat.x: Likewise.
55005 * sunrpc/rpcsvc/rusers.x: Likewise.
55006 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55007 * sunrpc/rpcsvc/spray.x: Likewise.
55008 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55009 * sunrpc/rtime.c: Likewise.
55010 * sunrpc/svc.c: Likewise.
55011 * sunrpc/svc_auth.c: Likewise.
55012 * sunrpc/svc_authux.c: Likewise.
55013 * sunrpc/svc_raw.c: Likewise.
55014 * sunrpc/svc_run.c: Likewise.
55015 * sunrpc/svc_simple.c: Likewise.
55016 * sunrpc/svc_tcp.c: Likewise.
55017 * sunrpc/svc_udp.c: Likewise.
55018 * sunrpc/svc_unix.c: Likewise.
55019 * sunrpc/svcauth_des.c: Likewise.
55020 * sunrpc/xcrypt.c: Likewise.
55021 * sunrpc/xdr.c: Likewise.
55022 * sunrpc/xdr_array.c: Likewise.
55023 * sunrpc/xdr_float.c: Likewise.
55024 * sunrpc/xdr_mem.c: Likewise.
55025 * sunrpc/xdr_rec.c: Likewise.
55026 * sunrpc/xdr_ref.c: Likewise.
55027 * sunrpc/xdr_sizeof.c: Likewise.
55028 * sunrpc/xdr_stdio.c: Likewise.
55029
9da4bb31
UD
55030 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55031 handling.
55032
bdaa77bc
AS
550332010-08-19 Andreas Schwab <schwab@redhat.com>
55034
55035 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55036
fe2f79db
LM
550372010-08-19 Luis Machado <luisgpm@br.ibm.com>
55038
55039 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55040 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55041 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55042 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55043 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55044 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55045 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55046 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55047 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55048 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55049 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55050 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55051 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55052 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55053
b9b42ee0
AB
550542010-07-26 Anton Blanchard <anton@samba.org>
55055
55056 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55057 * malloc/arena.c (heap_trim): Likewise.
55058
1c06ba31
UD
550592010-08-16 Ulrich Drepper <drepper@redhat.com>
55060
55061 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55062 here. Not...
55063 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55064 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55065
f8392f40
L
550662010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55067
55068 * sysdeps/i386/elf/Makefile: New file.
55069
3162f12e
AS
550702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55071
55072 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55073 from fanotify_init.
55074 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55075 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55076
28c90b2c
UD
550772010-08-15 Ulrich Drepper <drepper@redhat.com>
55078
55079 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55080 of strncasecmp_l.
1feccb6c 55081 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 55082
ca6bb004
UD
550832010-08-14 Ulrich Drepper <drepper@redhat.com>
55084
e9f82e0d
UD
55085 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55086 strncase_l-nonascii.
55087 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55088 Add strncase_l-ssse3.
55089 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55090 * sysdeps/x86_64/strcmp.S: Likewise.
55091 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55092 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55093 * sysdeps/x86_64/strncase.S: New file.
55094 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55095 * sysdeps/x86_64/strncase_l.S: New file.
55096 * string/Makefile (strop-tests): Add strncasecmp.
55097 * string/test-strncasecmp.c: New file.
55098
55099 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55100 warning.
55101
ca6bb004
UD
55102 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55103 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55104
052fa7b3
AS
551052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55106
55107 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55108
962dba78
UD
551092010-08-12 Ulrich Drepper <drepper@redhat.com>
55110
55111 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55112 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55113 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55114
bebff237
AM
551152010-05-01 Alan Modra <amodra@gmail.com>
55116
55117 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55118 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55119 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55120 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55121 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55122 tidying. Don't tail-call __sigjmp_save for static lib.
55123 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55124 save location.
55125 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55126 (CALL_MCOUNT): Add eh info, and nop after bl.
55127 (TAIL_CALL_SYSCALL_ERROR): New macro.
55128 (PSEUDO_RET): Use it.
55129 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55130 Correct save location of integer regs and cr.
55131 (_dl_profile_resolve): Correct cr save location. Delete nops
55132 after bl when SHARED. Reduce cfi size a little by better
55133 placement of cfi directives.
55134 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55135 make a stack frame. Instead use parm save area as a temp.
55136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55137 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55139 Don't make a stack frame for parent, use parm save area.
55140 Increase child stack frame to 112 bytes. Don't save unused reg,
55141 and adjust reg usage. Set up cfi on error recovery and
55142 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55144 (__makecontext): Add dummy nop after jump to exit.
55145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55146 Use correct parm save area and cr save, reduce stack frame.
55147 Correct cfi for possible PSEUDO_RET frame setup.
55148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55149 Branch to local label emitted by PSEUDO_RET rather than
55150 __syscall_error.
55151
02637374
AS
551522010-08-12 Andreas Schwab <schwab@redhat.com>
55153
55154 [BZ #11904]
55155 * locale/programs/locale.c (print_assignment): New function.
55156 (show_locale_vars): Use it.
55157
c3e2f19b
UD
551582010-08-11 Ulrich Drepper <drepper@redhat.com>
55159
3cdaa6ad
UD
55160 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55161 field.
55162 (struct statfs64): Likewise.
55163 (_STATFS_F_FLAGS): Define.
55164 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55165 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55166 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55167 (ST_VALID): Define locally.
55168 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55169 __statvfs_getflags, use the provided value.
55170 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55171 __ASSUME_STATFS_F_FLAGS.
55172
754f7da3
UD
55173 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55174
10b3bedc
UD
55175 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55176 Add sys/fanotify.h.
55177 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55178 fanotify_mask for GLIBC_2.13.
55179 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55180 fanotify_init and fanotify_mark.
55181 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55182 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55183
c08fb0d7
UD
55184 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55185 Add prlimit.
55186 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55187 prlimit64 for GLIBC_2.13.
55188 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55189 prlimit64.
55190 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55191 syscall.
55192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55193 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55194 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55195 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55196 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55197 add prlimit alias.
55198 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55199
15bac72b
UD
55200 [BZ #11903]
55201 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55202 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55203
c3e2f19b
UD
55204 * nss/Makefile: Add rules to build and run tst-nss-test1.
55205 * shlib-versions: Add entry for libnss_test1.
55206 * nss/nss_test1.c: New file.
55207 * nss/tst-nss-test1.c: New file.
55208
55209 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55210 (__nss_configure_lookup): Set appropriate entry in
55211 __nss_configure_lookup to true.
55212 * nss/nsswitch.h: Define enum with indeces of databases in
55213 databases and __nss_database_custom arrays. Declare
55214 __nss_database_custom.
55215 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55216 to avoid using nscd when custom rules are installed.
55217 * nss/getXXbyYY_r.c: Likewise.
55218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55219
55220 * nss/nss_files/files-parse.c: Whitespace fixes.
55221
f15ce4d8
UD
552222010-08-09 Ulrich Drepper <drepper@redhat.com>
55223
55224 [BZ #11883]
55225 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55226 * posix/fnmatch_loop.c: Likewise.
55227
d22e4cc9
AK
552282010-07-17 Andi Kleen <ak@linux.intel.com>
55229
55230 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55231 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55232 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55233 * Versions.def [GLIBC_2.13]: Add.
55234
805bc17d
UD
552352010-08-06 Ulrich Drepper <drepper@redhat.com>
55236
55237 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55238 Also fail if tpwd after pwuid call is NULL.
55239
5a42321d
ST
552402010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55241
55242 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55243 when converting to ms.
55244
fd3ebeda
ST
552452010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55246
55247 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55248 EOPNOTSUPP errors with ENOTTY.
55249 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55250 EOPNOTSUPP errors with ENOTTY.
55251
73507d3a
UD
552522010-07-31 Ulrich Drepper <drepper@redhat.com>
55253
55254 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55255 Add strcasecmp_l-ssse3.
55256 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55257 strcasecmp.
55258 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55259 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55260 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55261
fe36dd02
UD
552622010-07-30 Ulrich Drepper <drepper@redhat.com>
55263
66f6765a
UD
55264 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55265
42e08a54
UD
55266 * string/Makefile (strop-tests): Add strcasecmp.
55267 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55268 strcasecmp_l-nonascii.
55269 (gen-as-const-headers): Add locale-defines.sym.
55270 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55271 * sysdeps/x86_64/strcasecmp.S: New file.
55272 * sysdeps/x86_64/strcasecmp_l.S: New file.
55273 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55274 * sysdeps/x86_64/locale-defines.sym: New file.
55275 * string/test-strcasecmp.c: New file.
55276
fe36dd02
UD
55277 * string/test-strcasestr.c: Test both ends of the range of characters.
55278 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55279
48cbc0d6
RM
552802010-07-29 Roland McGrath <roland@redhat.com>
55281
76e6d6bc 55282 [BZ #11856]
48cbc0d6
RM
55283 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55284
880113d9
UD
552852010-07-27 Ulrich Drepper <drepper@redhat.com>
55286
55287 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55288 for ld.so.
55289
deb9cabb
AS
552902010-07-27 Andreas Schwab <schwab@redhat.com>
55291
55292 * manual/memory.texi (Malloc Tunable Parameters): Document
55293 M_PERTURB.
55294
1c7570ff
RM
552952010-07-26 Roland McGrath <roland@redhat.com>
55296
55297 [BZ #11840]
55298 * configure.in (-fgnu89-inline check): Set and substitute
55299 gnu89_inline, not libc_cv_gnu89_inline.
55300 * configure: Regenerated.
55301 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55302
24fb0f88
UD
553032010-07-26 Ulrich Drepper <drepper@redhat.com>
55304
55305 * string/test-strnlen.c: New file.
55306 * string/Makefile (strop-tests): Add strnlen.
55307 * string/tester.c (test_strnlen): Add a few more test cases.
55308 * string/tst-strlen.c: Better error reporting.
55309
55310 * sysdeps/x86_64/strnlen.S: New file.
55311
8e96b93a
UD
553122010-07-24 Ulrich Drepper <drepper@redhat.com>
55313
55314 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55315 lower-latency instructions.
55316
dbc676d4
UD
553172010-07-23 Ulrich Drepper <drepper@redhat.com>
55318
55319 * string/test-strcasestr.c: New file.
55320 * string/test-strstr.c: New file.
55321 * string/Makefile (strop-tests): Add strstr and strcasestr.
55322 * string/str-two-way.h: Don't undefine MAX.
55323 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55324
f6a31e0e
AS
553252010-07-21 Andreas Schwab <schwab@redhat.com>
55326
55327 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55328 strcasestr-nonascii.
55329 (CFLAGS-strcasestr-nonascii.c): Define.
55330 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55331 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55332 Remove unused attribute.
55333
5dbc3b6c
RM
553342010-07-20 Roland McGrath <roland@redhat.com>
55335
55336 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55337 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55338 ld.so.cache was broken. With it, there is no way to disable dsocaps
55339 like LD_HWCAP_MASK can disable hwcaps.
55340
23d101d8
EPM
553412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55342
55343 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55344
cc9f2e47
UD
553452010-07-16 Ulrich Drepper <drepper@redhat.com>
55346
55347 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55348 call in strcasestr.
55349 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55350 __strcasestr_sse42_nonascii.
55351 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55352 strcasestr-nonascii.c.
55353 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55354
77c1b069
LM
553552010-06-15 Luis Machado <luisgpm@br.ibm.com>
55356
55357 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55358 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55359 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55360 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55361
440566c3
UD
553622010-07-09 Ulrich Drepper <drepper@redhat.com>
55363
55364 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55365 fcntl.
55366
5be9d05d
AS
553672010-07-06 Andreas Schwab <schwab@redhat.com>
55368
c30b7ee2 55369 [BZ #11577]
5be9d05d
AS
55370 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55371 dl_signal_cerror.
55372
8a492a67
UD
553732010-07-06 Ulrich Drepper <drepper@redhat.com>
55374
55375 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55376 _PC_PIPE_BUF using F_GETPIPE_SZ.
55377
713df3d5
RM
553782010-07-05 Roland McGrath <roland@redhat.com>
55379
55380 * manual/arith.texi (Rounding Functions): Fix rint description
55381 implicit in round description.
55382
702e8f14
UD
553832010-07-02 Ulrich Drepper <drepper@redhat.com>
55384
55385 * elf/Makefile: Fix linking for a few tests to make recent linker
55386 happy.
55387
52ed8be9
AS
553882010-06-30 Andreas Schwab <schwab@redhat.com>
55389
55390 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55391 $(common-objpfx)libc_nonshared.a.
55392
f47c9a11
LM
553932010-06-21 Luis Machado <luisgpm@br.ibm.com>
55394
55395 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55396 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55397 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55398 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55399 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55400 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55401 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55402 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55417 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55418 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55419 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55420 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55421 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55422 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55423 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55424 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55425 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55426 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55427 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55428 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55443
6fb8cbcb
L
554442010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55445
55446 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55447 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55448 * string/memmove.c (memmove): Renamed to ...
55449 (MEMMOVE): ...this. Default to memmove.
55450 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55451 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55452 (END_CHK): Define.
55453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55454 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55455 mempcpy-ssse3-back memmove-ssse3-back.
55456 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55457 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55458 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55459 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55460 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55461 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55462 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55463 * sysdeps/x86_64/multiarch/memmove.c: New file.
55464 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55465 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55466 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55467 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55468 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55469 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55470 Define.
55471 (index_Fast_Copy_Backward): Define.
55472 (HAS_ARCH_FEATURE): Define.
55473 (HAS_FAST_REP_STRING): Define.
55474 (HAS_FAST_COPY_BACKWARD): Define.
55475
4e733bac 554762010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
55477
55478 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55479 Restore proper fallback handling.
55480
63c4ed22
UD
554812010-06-19 Ulrich Drepper <drepper@redhat.com>
55482
ac2b484c
UD
55483 [BZ #11701]
55484 * posix/group_member.c (__group_member): Correct checking loop.
55485
63c4ed22
UD
55486 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55487 OOM in getpwuid_r correctly. Return error number when the caller
55488 should return, otherwise -1.
55489 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55490 call returning > 0 value.
55491 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55492
765ade4b
AS
554932010-06-07 Andreas Schwab <schwab@redhat.com>
55494
55495 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55496 libc_nonshared.a from targets in modules-names.
55497
80da2e09
KS
554982010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55499
55500 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55501 requires it.
55502
158db122
LM
555032010-06-10 Luis Machado <luisgpm@br.ibm.com>
55504
55505 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55506 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55507 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55508 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55509
caa78cf8
AS
555102010-06-02 Andreas Schwab <schwab@redhat.com>
55511
55512 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55513
b2ef2c01
UD
555142010-06-14 Ulrich Drepper <drepper@redhat.com>
55515
55516 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55517 and F_GETPIPE_SZ.
55518 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55519 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55520 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55521 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55522 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55523 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55524
fbd643b6
RM
555252010-06-14 Roland McGrath <roland@redhat.com>
55526
55527 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55528
f32f2869
JJ
555292010-06-07 Jakub Jelinek <jakub@redhat.com>
55530
55531 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55532 __REDIRECT followed by __THROW.
55533 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55534 * posix/getopt.h (getopt): Likewise.
55535
2a50c078
EPM
555362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55537
55538 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55539 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55540 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55541 in AT_FLAGS.
55542 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55543 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55544
eb5ad2eb
LM
555452010-05-28 Luis Machado <luisgpm@br.ibm.com>
55546
55547 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55548
3c88fe1e
L
555492010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55550
55551 [BZ #11640]
55552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55553 Properly check family and model.
55554
d2f73151
TY
555552010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55556
55557 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55558
ebd2e13d
LM
555592010-05-24 Luis Machado <luisgpm@br.ibm.com>
55560
55561 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55562
b32b8b45
UD
555632010-05-21 Ulrich Drepper <drepper@redhat.com>
55564
55565 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55566 symbol reference.
55567
9acbe24d
AS
555682010-05-19 Andreas Schwab <schwab@redhat.com>
55569
55570 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55571 symbol reference.
55572
f0ccf6ea
AS
555732010-05-21 Andreas Schwab <schwab@redhat.com>
55574
3d04ff3a
AS
55575 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55576 and internal_recvmmsg.
55577 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55578 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55579 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55580 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55581
f0ccf6ea
AS
55582 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55583 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55584 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55585
5b08ac57
AS
555862010-05-20 Andreas Schwab <schwab@redhat.com>
55587
55588 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55589
4828935d
LM
555902010-05-17 Luis Machado <luisgpm@br.ibm.com>
55591
55592 POWER7 optimizations.
55593 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55594 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55595
373d545e
UD
555962010-05-19 Ulrich Drepper <drepper@redhat.com>
55597
55598 * version.h: Update for 2.13 development version.
55599
21a2b1ae
AS
556002010-05-12 Andrew Stubbs <ams@codesourcery.com>
55601
55602 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55603 exceptions. Return 0.
55604
3f7dcb2b
RM
556052010-05-07 Roland McGrath <roland@redhat.com>
55606
55607 * elf/ldconfig.c (main): Add a const.
55608
5f24d53a 556092010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 55610
a160f8d8
UD
55611 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55612 (args_options): Add no-idn option.
55613 (ahosts_keys_int): Add idn_flags to ai_flags.
55614 (parse_option): Handle 'i' option to clear idn_flags.
55615
5f24d53a
UD
55616 * malloc/malloc.c (_int_free): Possible race in the most recently
55617 added check. Only act on the data if no current modification
55618 happened.
265bb1ce
UD
55619
55620See ChangeLog.17 for earlier changes.