]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
ARM: Move more aeabi routine magic out of Linux-specific directories
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3cb4de47
RM
12014-06-26 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5 * sysdeps/arm/Makefile [$(subdir) = csu]
6 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7 (static-only-routines): Add aeabi_read_tp here.
8 (shared-only-routines): Add libc-aeabi_read_tp here.
9 (CFLAGS-libc-start.c): Add -fexceptions here.
10 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
11 (sysdep_routines, static-only-routines, shared-only-routines):
12 Don't add to these here.
13 (CFLAGS-libc-start.c): Likewise.
14
15 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
18 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19 * sysdeps/arm/Makefile [$(subdir) = rt]
20 (librt-sysdep_routines, librt-shared-only-routines):
21 Append rt-aeabi_unwind_cpp_pr1 here.
22 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
23 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
24 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
25 (libpthread-sysdep_routines, libpthread-shared-only-routines):
26 Append nptl-aeabi_unwind_cpp_pr1 here.
27 (tests): Filter out tst-cleanupx4 here.
28 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
30 Don't do those here.
31
354426bb
JM
322014-06-26 Joseph Myers <joseph@codesourcery.com>
33
34 * scripts/list-sources.sh: Do not handle ports specially.
35
28b0a8c9
RM
362014-06-26 Roland McGrath <roland@hack.frob.com>
37
a3dd035d
RM
38 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
39 * sysdeps/arm/feupdateenv.c: Likewise.
40
28b0a8c9
RM
41 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
42
e66a8203
JM
432014-06-26 Joseph Myers <joseph@codesourcery.com>
44
45 * manual/texinfo.tex: Update to version 2014-05-05.10 with
46 trailing whitespace removed.
47 * scripts/config.guess: Update to version 2014-03-23.
48 * scripts/config.sub: Update to version 2014-05-01
49 * scripts/install-sh: Update to version 2013-12-25.23.
50 * scripts/move-if-change: Update from gnulib.
51
74171115
SP
522014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53
b97c9ce5
SP
54 * debug/memmove_chk.c: Remove pagecopy.h include.
55
4000f892
SP
562014-06-26 Paul Eggert <eggert@cs.ucla.edu>
57
74171115
SP
58 * time/mktime.c (leapyear): Remove inline keyword. The code is now
59 identical to gnulib mktime.
60
a8779c28
JM
612014-06-26 Joseph Myers <joseph@codesourcery.com>
62
e64708de
JM
63 * configure.ac: Do not test for machine being rs6000. Do not test
64 for powerpc*-*soft.
65 * configure: Regenerated.
66
a8779c28
JM
67 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
68 test.
69 * configure: Regenerated.
70 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
71 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
72 Remove configure test.
73 * sysdeps/arm/configure: Regenerated.
74 * sysdeps/nptl/configure.ac: Do not check
75 libc_cv_asm_cfi_directives.
76 * sysdeps/nptl/configure: Regenerated.
77 * sysdeps/x86_64/nptl/configure.ac: Remove file.
78 * sysdeps/x86_64/nptl/configure: Remove generated file.
79 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
80 unconditional.
81 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
82
2aac0a86
SP
832014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
84
059bf913
SP
85 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
86 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
87 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
88 it is defined.
89
4cf5b6d0
SP
90 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
91 instead of whether it is defined.
92 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
93 * sysdeps/hppa/dl-machine.h: Likewise.
94 * sysdeps/ia64/dl-machine.h: Likewise.
95 * sysdeps/m68k/dl-machine.h: Likewise.
96 * sysdeps/microblaze/dl-machine.h: Likewise.
97 * sysdeps/mips/dl-machine.: Likewise.
98 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
99 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
100 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
101 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
102 * sysdeps/sh/dl-machine.h: Likewise.
103 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
104 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
105 * sysdeps/tile/dl-machine.h: Likewise.
106 * sysdeps/x86_64/dl-machine.h: Likewise.
107
2aac0a86
SP
108 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
109 code.
110 (verify_persistent_db): Likewise.
111
6ad2df0b
RM
1122014-06-26 Roland McGrath <roland@hack.frob.com>
113
d8a483f3
RM
114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
115 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
117 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
119 Moved ...
120 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
121 ... here.
122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
123 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
125 Identical file removed.
126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
127 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
129 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
131 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
133 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
135 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
137 Moved ...
138 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
140 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
142 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
144 Moved ...
145 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
147 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
149 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
151 Identical file removed.
152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
153 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
155 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
157 Moved ...
158 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
159 ... here.
160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
161 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
163 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
165 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
167 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
169 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
171 Moved ...
172 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
174 Moved ...
175 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
177 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
179 Moved ...
180 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
182 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
183
52ae23b4
RM
184 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
185 folded into ...
186 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
187 * sysdeps/unix/sysv/linux/s390/Versions
188 (libpthread: GLIBC_2.19): New version set.
189 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
190 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
191 (librt: GLIBC_2.3.3): New version set.
192 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
193 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
194 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
195 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
196 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
197 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
198 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
199 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
200 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
201 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
202 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
203 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
204 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
205 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
206 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
207 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
208 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
209 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
210 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
211 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
212 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
213 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
214 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
215 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
216 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
217 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
218 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
219 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
220 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
221 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
222 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
223 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
224 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
225 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
226 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
227 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
228 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
229 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
230 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
231 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
232 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
233 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
234 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
235 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
236 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
237
39507e4a
RM
238 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
239 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
240 (__libc_vfork): Define the function under this name.
241 [!NOT_IN_libc] (__vfork): Make this an alias.
242 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
243 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
244 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
245 (__libc_vfork): Define the function under this name.
246 [!NOT_IN_libc] (__vfork): Make this an alias.
247 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
248 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
249 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
250 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
251 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
252 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
253
e549ee56
RM
254 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
255 code that was previously under [RESET_PID].
256 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
257 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
258 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
259
6ad2df0b
RM
260 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
261 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
262 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
263 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
264 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
265 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
266 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
267 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
268 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
269 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
270 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
271 Moved ...
272 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
273 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
274 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
275 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
276 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
277 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
278 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
279 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
280 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
281 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
282 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
283 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
284 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
285 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
286 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
287 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
288 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
289 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
290 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
291 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
292 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
293 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
294 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
295 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
296 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
297 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
298 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
299 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
300 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
301
7c1c1d8e
RM
3022014-06-25 Roland McGrath <roland@hack.frob.com>
303
304 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
305 that was previously under [RESET_PID].
306 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
307
3e239be6
JM
3082014-06-25 Joseph Myers <joseph@codesourcery.com>
309
74385da5
JM
310 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
311 not undefine and redefine.
312 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
313 [O_CLOEXEC]: Make code unconditional.
314 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
315 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
316 <kernel-features.h>.
317 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
318 conditional variable definition.
319 (shm_open) [O_CLOEXEC]: Make code unconditional.
320 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
321 code.
322
c2570a0b
JM
323 * configure.ac (USE_REGPARMS): Don't define here.
324 * configure: Regenerated.
325 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
326 * sysdeps/i386/configure: Regenerated.
327
11b076bb
JM
328 * nptl/createthread.c: Don't include kernel-features.h.
329 * nptl/pthread_cancel.c: Likewise.
330 * nptl/pthread_condattr_setclock.c: Likewise.
331 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
332 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
333 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
334 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
335 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
336 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
337 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
338 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
339 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
340 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
341 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
342 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
343 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
344 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
345 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
346 * nscd/gai.c: Likewise.
347 * nss/nss_db/db-open.c: Likewise.
348 * sysdeps/generic/ldsodefs.h: Likewise.
349 * sysdeps/sh/nptl/tls.h: Likewise.
350 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
351 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
352 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
353 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
354 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
355 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
356 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
357 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
358 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
359 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
360 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
361 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
362 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
363 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
364 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
365 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
366 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
367 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
368 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
369 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
370 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
371 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
372 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
373 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
374 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
375 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
376 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
377 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
378 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
379 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
380 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
381 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
382 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
383 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
384 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
385 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
386 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
387 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
388 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
389 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
390 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
391 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
392 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
393 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
394 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
395 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
396 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
397 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
398 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
399 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
400 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
401 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
402 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
403 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
404 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
405 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
406 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
407 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
430 * sysdeps/unix/sysv/linux/pread.c: Likewise.
431 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
432 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
433 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
434 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
435 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
436 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
437 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
438 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
439 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
440 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
441 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
442 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
443 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
444 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
445 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
446 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
447 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
448 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
449 * sysdeps/unix/sysv/linux/system.c: Likewise.
450 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
451 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
452 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
453 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
454 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
455 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
456 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
457
92072d57
JM
458 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
459 * configure: Regenerated.
460 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
461
3e239be6
JM
462 * configure.ac (base_machine): Do not set specially for particular
463 machines here.
464 * configure: Regenerated.
465 * sysdeps/powerpc/preconfigure: Move machine and base_machine
466 settings from configure.ac.
467 * sysdeps/i386/preconfigure: New file.
468 * sysdeps/s390/preconfigure: Likewise.
469 * sysdeps/sh/preconfigure: Likewise.
470 * sysdeps/sparc/preconfigure: Likewise.
471
06d50baa
RM
4722014-06-25 Roland McGrath <roland@hack.frob.com>
473
74836003
RM
474 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
475 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
476 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
477 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
478 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
479 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
480 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
481 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
482 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
483 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
484 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
485 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
486 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
487 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
488 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
489 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
490 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
491 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
492 * sysdeps/sparc/sparc64/Makefile: ... appended here.
493
494 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
495 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
496 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
497 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
498 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
499 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
500 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
501 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
502 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
503 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
504 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
505 * sysdeps/sparc/sparc32/sem_post.c: ... here.
506 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
507 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
508 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
509 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
510 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
511 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
512 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
513 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
514 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
515 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
516 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
517 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
518 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
519 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
520 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
521 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
522 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
523 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
524 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
525 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
526 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
527 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
528 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
529 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
530 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
531 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
532
06d50baa
RM
533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
534 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
536 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
538 Moved ...
539 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
540 ... here.
541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
542 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
544 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
546 Moved ...
547 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
549 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
551 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
553 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
555 Moved ...
556 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
558 Moved ...
559 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
561 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
563 Moved ...
564 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
566 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
568 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
570 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
572 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
574 Moved ...
575 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
576 ... here.
577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
578 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
580 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
582 Moved ...
583 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
585 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
587 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
589 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
591 Moved ...
592 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
594 Moved ...
595 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
597 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
599 Moved ...
600 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
602 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
604 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
605
a4ccbc9b
JM
6062014-06-25 Joseph Myers <joseph@codesourcery.com>
607
0828edbf
JM
608 * timezone/checktab.awk: Update from tzcode 2014e.
609 * timezone/private.h: Likewise.
610 * timezone/tzfile.h: Likewise.
611 * timezone/zdump.c: Likewise.
612 * timezone/zic.c: Likewise.
613
a4ccbc9b
JM
614 * sysdeps/unix/sysv/linux/kernel-features.h
615 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
616 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
617 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
618 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
619 Remove conditional code.
620
9aea0cb8
WN
6212014-06-25 Will Newton <will.newton@linaro.org>
622
623 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
624 (_dl_arm_cap_flags): Add HWCAP2 values.
625 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
626 (_DL_HWCAP_COUNT): Increase to 37.
627 (_DL_HWCAP_LAST): New define.
628 (_DL_HWCAP2_LAST): New define.
629 (_dl_procinfo): Add support for printing
630 AT_HWCAP2 entries.
631 (_dl_string_hwcap): Use _dl_hwcap_string.
632
6eaa65ce
AZ
6332014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
634
635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
636
0f5b7185
JM
6372014-06-25 Joseph Myers <joseph@codesourcery.com>
638
cfd2ea50
JM
639 * README: Do not mention ports directory.
640
cecf2ed4
JM
641 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
642 Remove macro.
643 * sysdeps/unix/sysv/linux/futimes.c: Do not include
644 <kernel-features.h>.
645 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
646 conditional variable definition.
647 (__futimes): Update comment.
648 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
649 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
650
a638de82
JM
651 [BZ #16560]
652 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
653 arguments close to 0.
654 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
655 Likewise.
656 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
657 Likewise.
658 * math/auto-libm-test-in: Add more tests of exp10.
659 * math/auto-libm-test-out: Regenerated.
660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
661
0f5b7185
JM
662 * sysdeps/unix/sysv/linux/kernel-features.h
663 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
664 * sysdeps/unix/sysv/linux/readv.c: Do not include
665 <kernel-features.h>.
666 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
667 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
668 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
669 unconditional.
670 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
671 conditional code.
672 * sysdeps/unix/sysv/linux/writev.c: Do not include
673 <kernel-features.h>.
674 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
675 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
676 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
677 unconditional.
678 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
679 conditional code.
680
c7aec4be
WN
6812014-06-25 Will Newton <will.newton@linaro.org>
682
683 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
684 comment changes throughout the file. Remove checks
685 for HAVE_*_H definitions that are not required.
686 (__gen_tempname): Call abort if an unknown kind value is
687 passed.
688
c5241f95
AS
6892014-06-25 Andreas Schwab <schwab@suse.de>
690
691 [BZ #17086]
692 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
693 scalbln, scalblnf, scalblnl in libc.
694
911422da
SP
6952014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
696
697 [BZ #17086]
698 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
699 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
700 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
701
0d749bbe
RM
7022014-06-24 Roland McGrath <roland@hack.frob.com>
703
704 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
705 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
706 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
707 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
708 Update #include.
709 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
710 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
711 Update #include.
712 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
713 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
714 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
715 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
716 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
717 * sysdeps/x86/bits/pthreadtypes.h: ... here.
718 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
719 * sysdeps/x86/bits/semaphore.h: ... here.
720 * sysdeps/x86/nptl/elide.h: Moved ...
721 * sysdeps/x86/elide.h: ... here.
722 * sysdeps/x86_64/nptl/Implies: File removed.
723 * sysdeps/i386/nptl/Implies: File removed.
724
0ea5d373
JM
7252014-06-24 Joseph Myers <joseph@codesourcery.com>
726
4060283d
JM
727 [BZ #16539]
728 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
729 return the argument for normal arguments with exponent below -64.
730 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
731 Likewise.
732 * math/auto-libm-test-in: Add another test of expm1.
733 * math/auto-libm-test-out: Regenerated.
734
e7dd3c8c
JM
735 [BZ #16287]
736 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
737 calling __erfcl for arguments at least 16.
738 * math/auto-libm-test-in: Add more tests of erf.
739 * math/auto-libm-test-out: Regenerated.
740
0ea5d373
JM
741 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
742 individual architectures.
743 * sysdeps/unix/sysv/linux/configure: Regenerated.
744 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
745 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
746 * sysdeps/unix/sysv/linux/powerpc/configure.ac
747 (ldd_rewrite_script): Define variable.
748 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
750 file.
751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
752 generated file.
753 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
754 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
755 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
756 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
757 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
758 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
759 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
760 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
761
2307e126
SP
7622014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
763
764 [BZ #17084]
765 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
766 Rename member __data.d to __data.__elision_data.
767
c0a4ed77
W
7682014-06-24 Wilco <wdijkstr@arm.com>
769
770 * NEWS: Add 16918 to fixed bug list.
771
b8c00573
W
7722014-06-24 Wilco <wdijkstr@arm.com>
773
774 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
775
b5570d92
W
7762014-06-24 Wilco <wdijkstr@arm.com>
777
778 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
779 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
780 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
781 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
782 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
783 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
784 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
785 Use _FPU_MASK_RM.
786
947bdca2
W
7872014-06-24 Wilco <wdijkstr@arm.com>
788
789 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
790
00f669ed
W
7912014-06-24 Wilco <wdijkstr@arm.com>
792
793 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
794 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
795 * sysdeps/arm/fesetround.c (fesetround): Remove space.
796 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
797
db59bad3
W
7982014-06-24 Wilco <wdijkstr@arm.com>
799
800 [BZ #16918]
801 * sysdeps/arm/feupdateenv.c (feupdateenv):
802 Rewrite to reduce FPSCR accesses and fix return value.
803
001f7b77
W
8042014-06-24 Wilco <wdijkstr@arm.com>
805
806 * sysdeps/arm/fclrexcpt.c (feclearexcept):
807 Optimize to avoid unnecessary FPSCR writes.
808 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
809 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
810 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
811 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
812
4841e6a6
W
8132014-06-24 Wilco <wdijkstr@arm.com>
814
815 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
816 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
817 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
818 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
819 Call libc_fetestexcept_vfp.
820 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
821 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
822 __SOFTFP__ ifdef so that they can be built for softfp.
823
0813022c
SP
8242014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
825
08e5862f
SP
826 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
827 argument type signed char.
828
0813022c
SP
829 * Makerules (check-abi): Dump diff of symlist if the test
830 fails.
831
3fc7236a
RM
8322014-06-23 Roland McGrath <roland@hack.frob.com>
833
aba8ef95
RM
834 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
835 using abort.
836
3fc7236a
RM
837 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
838 Remove unused variable ST.
839
4da6db51
JM
8402014-06-23 Joseph Myers <joseph@codesourcery.com>
841
4648909d
JM
842 [BZ #16354]
843 [BZ #17061]
844 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
845 small arguments before calling __expm1.
846 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
847 small arguments before calling __expm1f.
848 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
849 small arguments before calling __expm1l.
850 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
851 Likewise.
852 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
853 * math/auto-libm-test-in: Add more cosh tests. Do not allow
854 spurious underflow for some cosh tests.
855 * math/auto-libm-test-out: Regenerated.
856 * sysdeps/i386/fpu/libm-test-ulps: Update.
857
46a3d3c7
JM
858 [BZ #17050]
859 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
860 (__ieee754_y1): Set errno if return value overflows.
861 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
862 (__ieee754_y1f): Set errno if return value overflows.
863 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
864 (__ieee754_y1l): Set errno if return value overflows.
865 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
866 (__ieee754_y1l): Set errno if return value overflows.
867 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
868 * math/auto-libm-test-out: Regenerated.
869
863893ec
JM
870 * math/gen-auto-libm-tests.c: Document use of
871 ignore-zero-inf-sign.
872 (input_flag_type): Add value flag_ignore_zero_inf_sign.
873 (input_flags): Add ignore-zero-inf-sign.
874 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
875 * math/gen-libm-test.pl (generate_testfile): Handle
876 ignore-zero-inf-sign.
877 * math/auto-libm-test-in: Mark some cpow tests with
878 ignore-zero-inf-sign and some with xfail-rounding.
879 * math/auto-libm-test-out: Regenerated.
880 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
881 * sysdeps/i386/fpu/libm-test-ulps: Update.
882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
883
4da6db51
JM
884 [BZ #16315]
885 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
886 overflowing or underflowing operations take place with sign of
887 result.
888 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
889 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
890 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
891 (__ieee754_pow): Recompute overflowing and underflowing results in
892 original rounding mode.
893 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
894 (__powl_helper): Allow negative argument X and scale negated value
895 as needed. Avoid passing value outside [-1, 1] to f2xm1.
896 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
897 overflowing or underflowing operations take place with sign of
898 result.
899 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
900 Include <math.h>.
901 * math/auto-libm-test-in: Add more tests of pow.
902 * math/auto-libm-test-out: Regenerated.
903 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
904 (pow_tonearest_test_data): Remove.
905 (pow_test_tonearest): Likewise.
906 (pow_towardzero_test_data): Likewise.
907 (pow_test_towardzero): Likewise.
908 (pow_downward_test_data): Likewise.
909 (pow_test_downward): Likewise.
910 (pow_upward_test_data): Likewise.
911 (pow_test_upward): Likewise.
912 (main): Don't call removed functions.
913 * sysdeps/i386/fpu/libm-test-ulps: Update.
914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
915
5686b236
RM
9162014-06-23 Roland McGrath <roland@hack.frob.com>
917
918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
919 Moved ...
920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
922 Moved ...
923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
925 Moved ...
926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
928 Moved ...
929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
931 File removed.
932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
933 File removed.
934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
935 File removed.
936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
937 File removed.
938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
939 File removed.
940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
941 File removed.
942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
943 File removed.
944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
945 File removed.
946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
947 File removed.
948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
949 File removed.
950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
951 File removed.
952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
953 File removed.
954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
955 Moved ...
956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
958 Moved ...
959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
960 ... here.
961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
962 Moved ...
963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
965 Moved ...
966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
968 Moved ...
969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
971 Moved ...
972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
974 Moved ...
975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
977 Moved ...
978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
980 Moved ...
981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
984 ... here.
985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
986 Moved ...
987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
989 Moved ...
990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
991 ... here.
992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
993 Moved ...
994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
995 ... here.
996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
997 Moved ...
998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
999 ... here.
1000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1001 Moved ...
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1004 Moved ...
1005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1009 Moved ...
1010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1011 ... here.
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1013 Moved ...
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1015 ... here.
1016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1017 Moved ...
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1020 Moved ...
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1023 Moved ...
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1026 Moved ...
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1029 Moved ...
1030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1031 ... here.
1032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1033 Moved ...
1034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1036 Moved ...
1037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1039 Moved ...
1040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1042 Moved ...
1043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1047 Moved ...
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1050 Moved ...
1051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1053 Moved ...
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1055 ... here.
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1057 Moved ...
1058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1059 ... here.
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1061 Moved ...
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1063 ... here.
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1065 Moved ...
1066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1068 Moved ...
1069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1071 Moved ...
1072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1074 Moved ...
1075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1076 ... here.
1077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1078 Moved ...
1079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1080 ... here.
1081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1082 Moved ...
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1084 ... here.
1085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1086 Moved ...
1087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1089 Moved ...
1090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1091
e6d90d67
WD
10922014-06-23 Will Newton <will.newton@linaro.org>
1093 Wilco <wdijkstr@arm.com>
1094
1095 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1096 implementation. Include get-rounding-mode.h.
1097 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1098 [!libc_feholdsetround_noex_ctx]: Define
1099 libc_feholdsetround_noex_ctx.
1100 [!libc_feholdsetround_noexf_ctx]: Define
1101 libc_feholdsetround_noexf_ctx.
1102 [!libc_feholdsetround_noexl_ctx]: Define
1103 libc_feholdsetround_noexl_ctx.
1104 (libc_feholdsetround_ctx): New function.
1105 (libc_feresetround_ctx): New function.
1106 (libc_feholdsetround_noex_ctx): New function.
1107 (libc_feresetround_noex_ctx): New function.
1108
d42df555
RM
11092014-06-23 Roland McGrath <roland@hack.frob.com>
1110
88a46474
RM
1111 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1112 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1113 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1114 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1115 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1116 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1117
15bed472
RM
1118 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1119 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1120 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1121 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1122 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1123 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1124 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1125 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1126 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1127 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1128 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1129 Moved ...
1130 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1131 ... here.
1132 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1133 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1134 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1135 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1136 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1137 Moved ...
1138 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1139 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1140 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1141 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1142 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1143 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1144 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1145 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1146 Moved ...
1147 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1148 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1149 Moved ...
1150 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1151 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1152 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1153 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1154 Moved ...
1155 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1156 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1157 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1158 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1159 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1160 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1161 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1162 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1163 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1164 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1165 Moved ...
1166 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1167 ... here.
1168 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1169 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1170 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1173 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1174 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1179 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1181 Moved ...
1182 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1183 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1184 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1185 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1186 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1187 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1188 Moved ...
1189 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1190 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1191 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1192 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1193 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1194
d42df555
RM
1195 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1196 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1197 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1198 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1199 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1200 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1201 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1202 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1203 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1204 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1205 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1206 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1207 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1208 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1209 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1210 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1211 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1212 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1213 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1214 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1215 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1216 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1217 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1218 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1219 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1220 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1221 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1222 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1223
76e5216e
JM
12242014-06-23 Joseph Myers <joseph@codesourcery.com>
1225
1226 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1227 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1228 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1229 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1230 (IPV6_PMTUDISC_INTERFACE): Likewise.
1231 (IPV6_PMTUDISC_OMIT): Likewise.
1232
7a81cbcc
AS
12332014-06-23 Andreas Schwab <schwab@suse.de>
1234
1235 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1236 Remove unused errout label.
1237
db224009
AZ
12382014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1239
1240 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1241 macro: hardware supports Vector Crypto instructions.
1242
f393b4aa
WN
12432014-06-23 Will Newton <will.newton@linaro.org>
1244
cc7d0447
WN
1245 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1246 rather than __builtin_expect.
1247
d6d06225
WN
1248 * elf/dl-lookup.c (undefined_msg): Remove variable.
1249 (_dl_lookup_symbol_x): Replace undefined_msg with string
1250 literal.
1251
f393b4aa
WN
1252 * elf/dl-lookup.c (do_lookup_unique): New function.
1253 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1254 to a separate function.
1255
ac60763e
AS
12562014-06-23 Andreas Schwab <schwab@suse.de>
1257
1258 [BZ #17079]
1259 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1260 before reading the next line.
1261
c5c13355
WN
12622014-06-23 Will Newton <will.newton@linaro.org>
1263
1264 * test-skeleton.c (signal_handler): Use printf and %m
1265 rather than perror. Use printf rather than fprintf to
1266 stderr. Use puts rather than fputs to stderr.
1267 (main): Likewise.
1268
bd3675f9
LC
12692014-06-22 Ludovic Courtès <ludo@gnu.org>
1270
1271 * nscd/nscd.c (thread_info_t): Remove typedef.
1272 (thread_info): Remove variable.
1273
d03efb2f
AM
12742014-06-21 Allan McRae <allan@archlinux.org>
1275
1276 * NEWS: Mention CVE-2014-4043.
1277
bc4a86fa
RM
12782014-06-20 Roland McGrath <roland@hack.frob.com>
1279
dc9a54f8
RM
1280 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1281 * nptl/smp.h: ... here.
1282
bd7022c4
RM
1283 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1284
26ffd5e6
RM
1285 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1286 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1287 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1288 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1289
93a6d082
RM
1290 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1291 * nptl/stack-aliasing.h: New file.
1292 * sysdeps/i386/i686/stack-aliasing.h: New file.
1293 * sysdeps/i386/i686/nptl/Makefile: File removed.
1294 * sysdeps/x86_64/stack-aliasing.h: New file.
1295 * sysdeps/x86_64/nptl/Makefile
1296 (CFLAGS-pthread_create.c): Variable removed.
1297
bc4a86fa
RM
1298 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1299 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1300 old file.
1301 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1302 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1303 old file.
1304
2272ffc1
JM
13052014-06-21 Joseph Myers <joseph@codesourcery.com>
1306
1307 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1308 (__ASSUME_SIGFRAME_V2): Remove macro.
1309 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1310 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1311 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1312 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1313 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1314 Declare as function. Remove conditional macro definitions.
1315 (__default_rt_sa_restorer): Likewise.
1316 (__default_sa_restorer_v1): Remove declaration.
1317 (__default_sa_restorer_v2): Likewise.
1318 (__default_rt_sa_restorer_v1): Likewise.
1319 (__default_rt_sa_restorer_v2): Likewise.
1320 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1321 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1322 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1323
4b88139b
RM
13242014-06-20 Roland McGrath <roland@hack.frob.com>
1325
1326 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1327 (libpthread-routines): Add sysdep.
1328 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1329 * sysdeps/unix/sysv/linux/sparc/Versions
1330 (libpthread: GLIBC_2.3.3): New version set.
1331 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1332 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1333 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1334 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1335 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1336 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1337 Moved ...
1338 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1339 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1340 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1341 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1342 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1343 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1344 * sysdeps/sparc/nptl/sem_init.c: ... here.
1345 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1346 * sysdeps/sparc/nptl/sem_post.c: ... here.
1347 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1348 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1349 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1350 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1351 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1352 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1353 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1354 (libpthread-routines): Add cpu_relax.
1355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1356 File removed.
1357 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1358 (librt: GLIBC_2.3.3): New version set.
1359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1360 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1361 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1362 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1364 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1365 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1367 Moved ...
1368 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1370 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1371 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1372 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1374 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1375 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1376 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1378 Moved ...
1379 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1380 Update #include.
1381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1382 Moved ...
1383 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1384 Update #include.
1385 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1386 Moved ...
1387 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1388 Update #include.
1389 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1390 Moved ...
1391 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1392 Update #include.
1393 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1394 Moved ...
1395 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1396 Update #include.
1397 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1398 Moved ...
1399 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1400 Update #include.
1401 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1402 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1403 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1404 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1405 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1406 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1407 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1408 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1409 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1410 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1412 Moved ...
1413 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1414 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1415 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1417 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1418
d7109027
JM
14192014-06-20 Joseph Myers <joseph@codesourcery.com>
1420
9bc6103d
JM
1421 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1422 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1423 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1424 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1425 * nscd/nscd.c: Likewise.
1426 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1427 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1428 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1429 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1430
d7109027
JM
1431 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1432 <kernel-features.h>.
1433 (init_mq_netlink): Remove conditional have_sock_cloexec
1434 definitions. Remove code conditional on have_sock_cloexec < 0.
1435 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1436 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1437 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1438 <kernel-features.h>.
1439 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1440 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1441
d92d8f8a
L
14422014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1443
1444 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1445 Add tests for memset_chk and memset.
1446
1447 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1448 with AVX2_Usable.
1449
4e6d2347
MR
14502014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1451
257ce712
MR
1452 [BZ #16046]
1453 * elf/tst-dl-iter-static.c: New file.
1454 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1455
4e6d2347
MR
1456 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1457 error.
1458
a2a76afe
JM
14592014-06-20 Joseph Myers <joseph@codesourcery.com>
1460
7fd00f99
JM
1461 * sysdeps/unix/sysv/linux/kernel-features.h
1462 (__ASSUME_F_GETOWN_EX): Remove macro.
1463 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1464 <kernel-features.h>.
1465 (miss_F_GETOWN_EX): Remove variable or macro.
1466 (do_fcntl): Do not check miss_F_GETOWN_EX.
1467 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1468
4a103975
JM
1469 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1470 Remove macro.
1471 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1472 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1473 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1474
a2a76afe
JM
1475 * sysdeps/unix/sysv/linux/kernel-features.h
1476 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1477 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1478 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1479 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1480
90e5dd48
MR
14812014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1482
1483 [BZ #17075]
1484 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1485 Fix calculation of the symbol's value.
1486 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1487 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1488 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1489 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1490 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1491 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1492 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1493 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1494 (modules-names): Add `tst-armtlsdescmod',
1495 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1496 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1497 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1498 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1499 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1500 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1501 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1502 ($(objpfx)tst-armtlsdescloc): New dependency.
1503 ($(objpfx)tst-armtlsdescextnow): Likewise.
1504 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1505 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1506 TLS scheme support.
1507 * sysdeps/arm/configure: Regenerate.
1508
809fdf0d
JM
15092014-06-20 Joseph Myers <joseph@codesourcery.com>
1510
1511 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1512 (__atfct_seterrno_2): Likewise.
1513 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1514 <kernel-features.h>.
1515 (__ASSUME_ATFCTS): Do not undefine and redefine.
1516 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1517 (__have_atfcts): Remove conditional definition.
1518 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1519 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1520 unreachable if [__ASSUME_ATFCTS].
1521 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1522 not undefine and redefine.
1523 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1524 <kernel-features.h>.
1525 (faccessat) [__NR_faccessat]: Make code unconditional.
1526 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1527 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1528 <kernel-features.h>.
1529 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1530 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1531 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1532 <kernel-features.h>.
1533 (fchownat) [__NR_fchownat]: Make code unconditional.
1534 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1535 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1536 <kernel-features.h>.
1537 (futimesat) [__NR_futimesat]: Make code unconditional.
1538 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1539 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1540 <kernel-features.h>.
1541 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1542 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1543 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1544 <kernel-features.h>.
1545 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1546 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1547 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1548 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1549 <kernel-features.h>.
1550 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1551 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1552 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1553 <kernel-features.h>.
1554 (linkat) [__NR_linkat]: Make code unconditional.
1555 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1556 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1557 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1558 <kernel-features.h>.
1559 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1560 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1561 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1562 <kernel-features.h>.
1563 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1564 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1565 * sysdeps/unix/sysv/linux/openat.c: Do not include
1566 <kernel-features.h>.
1567 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1568 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1569 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1570 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1571 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1572 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1573 <kernel-features.h>.
1574 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1575 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1576 result of INLINE_SYSCALL directly, not via int variable.
1577 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1578 <kernel-features.h>.
1579 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1580 (renameat) [__NR_renameat]: Make code unconditional.
1581 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1582 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1583 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1584 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1585 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1586 (__ASSUME_ATFCTS): Do not undefine and redefine.
1587 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1588 <kernel-features.h>.
1589 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1590 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1591 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1592 <kernel-features.h>.
1593 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1594 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1595 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1596 (__ASSUME_ATFCTS): Do not undefine and redefine.
1597 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1598 <kernel-features.h>.
1599 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1600 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1601 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1602 <kernel-features.h>.
1603 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1604 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1605
224c6c51
L
16062014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1607
1608 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1609
aa6ec754
AS
16102014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1611
1612 [BZ #17069]
1613 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1614 constructed tree before returning error.
1615 * posix/bug-regexp36.c: Expand test case.
1616
d8c2869d
SL
16172014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1618
3ef6b850
SL
1619 [BZ #6803]
1620 * math/libm-test.inc (scalbln_test_date):
1621 Add errno expectations.
1622 * math/w_scalblnf.c: New File.
1623 Add wrapper which checks for setting errno to ERANGE.
1624 Add weak_alias for corresponding scalbln function.
1625 * math/w_scalbln.c: Likewise.
1626 * math/w_scalblnl.c: Likewise.
1627 * math/Makefile (libm-calls): Add w_scalbln.
1628 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1629 Remove weak_alias for corresponding scalbln function.
1630 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1632 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1634 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1635 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1636 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1637 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1638 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1639 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1640 Remove long_double_symbol for scalblnl function in libm, libc.
1641 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1642 Add wrapper which checks for setting errno to ERANGE.
1643 Add long_double_symbol for scalblnl function in libm, libc.
1644 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1645 Remove long_double_symbol for scalblnl in libm.
1646 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1647 Add wrapper which checks for setting errno to ERANGE.
1648 Add long_double_symbol for scalblnl function in libm.
1649 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1650 Do not use wrapper because of own implementation.
1651
c8daec5c
L
16522014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1653
1654 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1655 3 bytes for __pad1 for x32.
1656 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1657
5c74e47c
LM
16582014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1659 H.J. Lu <hongjiu.lu@intel.com>
1660
1661 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1662 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1663 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1664 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1665 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1666
4d43ef1e
AS
16672014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1668
1669 [BZ #17069]
1670 * posix/regcomp.c (parse_expression): Deallocate partially
1671 constructed tree before returning error.
1672 * posix/Makefile.c (tests): Add bug-regex36.
1673 (generated): Add bug-regex36.mtrace.
1674 (tests-special): Add $(objpfx)bug-regex36-mem.out
1675 (bug-regex36-ENV): New variable.
1676 ($(objpfx)bug-regex36-mem.out): New rule.
1677 * posix/bug-regex36.c: New file.
1678
51a7380b
WN
16792014-06-19 Will Newton <will.newton@linaro.org>
1680
1681 * malloc/malloc.c (systrim): If extra is zero then return
1682 early.
1683
91b84fe5
SP
16842014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1685
1686 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1687
f940b965
RE
16882014-06-19 Richard Earnshaw <rearnsha@arm.com>
1689
1690 * sysdeps/aarch64/strchr.S: New file.
1691
4ba7a00f
JM
16922014-06-18 Joseph Myers <joseph@codesourcery.com>
1693
1694 [BZ #17022]
1695 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1696 from arguments -2 or below.
1697 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1698 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1699
b3a9f56b
AS
17002014-06-18 Andreas Schwab <schwab@suse.de>
1701
1702 [BZ #17062]
1703 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1704 of a bracket expr not to run off the end of the string.
1705 * posix/Makefile (tests): Add tst-fnmatch3.
1706 * posix/tst-fnmatch3.c: New file.
1707
85d89278
JM
17082014-06-18 Joseph Myers <joseph@codesourcery.com>
1709
1710 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1711 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1712 [$(cross-compiling) = no]: Likewise.
1713 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1714 [$(cross-compiling) = no]: Likewise.
1715
754c5a08
RS
17162014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1717
1718 [BZ #17031]
1719 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1720 double, adjusted for any remainder from the high double.
1721 * math/libm-test.inc (nearbyint): Add tests.
1722 (rint): Likewise.
1723
556f529d
AZ
17242014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1725
1726 * nptl/sysdeps/powerpc/Makefile: Moved ...
1727 * sysdeps/powerpc/nptl/Makefile: ... here.
1728 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1729 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1730 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1731 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1732 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1733 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1734 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1735 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1736 * nptl/sysdeps/powerpc/tls.h: Moved ...
1737 * sysdeps/powerpc/nptl/tls.h: ... here.
1738
91c03c53
JM
17392014-06-16 Joseph Myers <joseph@codesourcery.com>
1740
1741 [BZ #16681]
1742 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1743 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1744 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1745 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1746 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1747 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1748 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1749 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1750 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1751
a76e63c5
AS
17522014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1753
1754 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1755
f2f6d82f
AS
17562014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1757
ea8a15f6
AS
1758 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1759 defined operator.
1760
f2f6d82f
AS
1761 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1762 $TIMEOUTFACTOR.
1763
a7291117
FW
17642014-06-16 Florian Weimer <fweimer@redhat.com>
1765
1766 [BZ #17058]
1767 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1768 non-executed part of the test.
1769
3d7c00e3
AS
17702014-06-16 Andreas Schwab <schwab@suse.de>
1771
1772 * string/bits/string2.h (strdup, strndup): Update feature guard.
1773
6957fb31
DM
17742014-06-14 David S. Miller <davem@davemloft.net>
1775
1776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1777
11b9e55b
AS
17782014-06-14 Andreas Schwab <schwab@linux-m68k.org>
1779
1d2a0492
AS
1780 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1781 that was previously under [RESET_PID].
1782 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1783
11b9e55b
AS
1784 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1785 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1786 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1787 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1788 (__libc_vfork): New strong alias.
1789 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1790
0f6901d0
AK
17912014-06-14 Andi Kleen <ak@linux.intel.com>
1792
1793 * sysdeps/generic/elide.h: New file.
1794
38bbbb9f
SL
17952014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1796
1797 * Makefile (installed-headers): Adjust path of pthread.h header.
1798
45193bb8
RM
17992014-06-13 Roland McGrath <roland@hack.frob.com>
1800
9a25fd1e
RM
1801 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1802 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1803 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1804 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1805
4004f7e4
RM
1806 * nptl/sysdeps/s390/Makefile: Moved ...
1807 * sysdeps/s390/nptl/Makefile: ... here.
1808 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1809 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1810 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1811 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1812 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1813 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1814 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1815 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1816 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1817 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1818 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1819 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1820 * nptl/sysdeps/s390/tls.h: Moved ...
1821 * sysdeps/s390/nptl/tls.h: ... here.
1822
45193bb8
RM
1823 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1824 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1825
f6fdf533
DM
18262014-06-13 David S. Miller <davem@davemloft.net>
1827
1828 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1829 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1831 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1832 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1833 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1835 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1836 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1837 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1838 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1839 Remove RESET_PID cpp guards.
1840 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1841 Remove RESET_PID cpp guards.
1842 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1843
f5d71e14
AS
18442014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1845
1846 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1847 __sp to uintptr_t.
1848
b7aa8caa
AK
18492014-06-13 Andi Kleen <ak@linux.intel.com>
1850
4b266200
AZ
1851 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1852 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1853 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1854 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1855 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1856 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1857 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1858 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1859 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1860 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1861 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1862 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1863 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1864 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1865 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1866 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1867 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1868 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1869 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1870 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
1871
1872 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
1873 (pthread_rwlock_rdlock): Add elision.
1874 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1875 (pthread_rwlock_wrlock): Add elision.
1876 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1877 (pthread_rwlock_trywrlock): Add elision.
1878 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1879 (pthread_rwlock_tryrdlock): Add elision.
1880 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1881 (pthread_rwlock_tryrdlock): Add elision unlock.
1882 * nptl/sysdeps/pthread/pthread.h:
1883 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1884 (PTHREAD_RWLOCK_INITIALIZER,
1885 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1886 Handle new elision field.
1887 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1888 * sysdeps/arm/nptl/bits/pthreadtypes.h
1889 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1890 * sysdeps/sh/nptl/bits/pthreadtypes.h
1891 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1892 * sysdeps/tile/nptl/bits/pthreadtypes.h
1893 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1894 * sysdeps/a/nptl/bits/pthreadtypes.h
1895 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1896 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1897 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1898 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1899 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1900 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1901 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1902 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1903 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1904 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1905 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1906 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1907 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1908 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1909 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1910 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1911 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1912 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1913 (elision_init): Set try_xbegin to zero when no RTM.
1914 * sysdeps/x86/nptl/bits/pthreadtypes.h
1915 (pthread_rwlock_t): Change __pad1 to __rwelision.
1916 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 1917
a832bdd3
AK
19182014-06-13 Andi Kleen <ak@linux.intel.com>
1919
1920 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1921 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1922 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1923 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1924
995a46bb
MI
19252014-06-13 Meador Inge <meadori@codesourcery.com>
1926
1927 [BZ #16996]
03ed7738 1928 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
1929 that the cached result has been set before returning it.
1930
45262aee
RM
19312014-06-12 Roland McGrath <roland@hack.frob.com>
1932
febf6cc5
RM
1933 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1934 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1935 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1936 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1937 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1938 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1939
e2682246
RM
1940 * nptl/sysdeps/sparc/Makefile: Moved ...
1941 * sysdeps/sparc/nptl/Makefile: ... here.
1942 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1943 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1944 * nptl/sysdeps/sparc/tls.h: Moved ...
1945 * sysdeps/sparc/nptl/tls.h: ... here.
1946 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1947 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1948 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1949 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1950 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1951 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1952 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1953 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1954 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1955 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1956 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1957 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1958 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1959 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1960 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1961 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1962 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1963 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1964 Update #include.
1965 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1966 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1967 Update #include.
1968 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1969 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1970 Update #include.
1971 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1972 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1973 Update #include.
1974
b0725f43
RM
1975 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1976
b14368b8
RM
1977 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1978 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1979
c5620eb3
RM
1980 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1981 (struct list_links): Type removed.
1982 (struct thread_node, struct timer_node): Replace struct list_links
1983 with struct list_head.
1984 (list_unlink_ip): Likewise.
1985 * sysdeps/pthread/timer_routines.c
1986 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1987 (list_append, list_insbefore): Likewise.
1988 (list_init): Function removed.
1989 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
1990 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1991 * sysdeps/pthread/Makefile: ... here, new file.
1992
1993 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1994 * sysdeps/nptl/Implies: ... here.
1995 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1996 * nptl/sysdeps/pthread/list.h: Moved ...
1997 * include/list.h: ... here.
1998 * nptl/sysdeps/pthread/createthread.c: Moved ...
1999 * nptl/createthread.c: ... here.
2000 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2001 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2002 * nptl/pt-longjmp.c: ... here.
2003 * nptl/sysdeps/pthread/Makefile: Moved ...
2004 * sysdeps/nptl/Makefile: ... here.
2005 * nptl/sysdeps/pthread/Subdirs: Moved ...
2006 * sysdeps/nptl/Subdirs: ... here.
2007 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2008 * sysdeps/nptl/aio_misc.h: ... here.
2009 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2010 * sysdeps/nptl/bits/libc-lock.h: ... here.
2011 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2012 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2013 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2014 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2015 * nptl/sysdeps/pthread/configure: Moved ...
2016 * sysdeps/nptl/configure: ... here.
2017 * nptl/sysdeps/pthread/configure.ac: Moved ...
2018 * sysdeps/nptl/configure.ac: ... here.
2019 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2020 * sysdeps/nptl/gai_misc.h: ... here.
2021 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2022 * sysdeps/nptl/librt-cancellation.c: ... here.
2023 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2024 * sysdeps/nptl/malloc-machine.h: ... here.
2025 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2026 * sysdeps/nptl/pthread-functions.h: ... here.
2027 * nptl/sysdeps/pthread/pthread.h: Moved ...
2028 * sysdeps/nptl/pthread.h: ... here.
2029 * nptl/sysdeps/pthread/setxid.h: Moved ...
2030 * sysdeps/nptl/setxid.h: ... here.
2031 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2032 * sysdeps/nptl/sigfillset.c: ... here.
2033 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2034 * sysdeps/nptl/tcb-offsets.h: ... here.
2035 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2036 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2037 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2038 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2039 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2040 * sysdeps/pthread/allocalim.h: ... here.
2041 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2042 * sysdeps/pthread/bits/sigthread.h: ... here.
2043 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2044 * sysdeps/pthread/flockfile.c: ... here.
2045 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2046 * sysdeps/pthread/ftrylockfile.c: ... here.
2047 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2048 * sysdeps/pthread/funlockfile.c: ... here.
2049 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2050 * sysdeps/pthread/posix-timer.h: ... here.
2051 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2052 * sysdeps/pthread/timer_create.c: ... here.
2053 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2054 * sysdeps/pthread/timer_delete.c: ... here.
2055 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2056 * sysdeps/pthread/timer_getoverr.c: ... here.
2057 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2058 * sysdeps/pthread/timer_gettime.c: ... here.
2059 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2060 * sysdeps/pthread/timer_routines.c: ... here.
2061 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2062 * sysdeps/pthread/timer_settime.c: ... here.
2063 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2064 * sysdeps/pthread/tst-timer.c: ... here.
2065 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2066 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2067
e876b090
RM
2068 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2069 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2070
f6b07b3d
RM
2071 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2072 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2073 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2074 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2075 Update #include target.
2076 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2077 * sysdeps/i386/i686/nptl/Makefile: ... here.
2078 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2079 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2080 Update #include target.
2081 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2082 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2083 * nptl/sysdeps/i386/Makefile: Moved ...
2084 * sysdeps/i386/nptl/Makefile: ... here.
2085 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2086 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2087 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2088 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2089 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2090 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2091 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2092 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2093 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2094 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2095 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2096 * nptl/sysdeps/i386/tls.h: Moved ...
2097 * sysdeps/i386/nptl/tls.h: ... here.
2098
45262aee
RM
2099 * sysdeps/sh/Makefile [$(subdir) = csu]
2100 (gen-as-const-headers): Add tcb-offsets.sym.
2101 * nptl/sysdeps/sh/Makefile: File removed.
2102 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2103 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2104 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2105 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2106 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2107 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2108 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2109 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2110 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2111 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2112 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2113 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2114 * nptl/sysdeps/sh/tls.h: Moved ...
2115 * sysdeps/sh/nptl/tls.h: ... here.
2116 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2117 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2118 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2119 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2120 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2121 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2122 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2123 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2124 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2125 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2126 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2127 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2128 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2129 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2130 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2131 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2132 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2133 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2134 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2135 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2136 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2137 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2138 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2139 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2140 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2141 Moved ...
2142 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2143 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2144 Moved ...
2145 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2146 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2147 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2148 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2149 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2150 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2151 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2152 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2153 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2154 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2155 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2156 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2157 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2158 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2159 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2160 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2161 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2162 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2163 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2164
35a5e3e3
SL
21652014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2166
2167 * posix/spawn_faction_addopen.c: Include string.h.
2168
14642b85
RM
21692014-06-11 Roland McGrath <roland@hack.frob.com>
2170
2171 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2172 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2173 * nptl/sysdeps/x86_64/Makefile: Moved ...
2174 * sysdeps/x86_64/nptl/Makefile: ... here.
2175 * nptl/sysdeps/x86_64/configure: Moved ...
2176 * sysdeps/x86_64/nptl/configure: ... here.
2177 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2178 * sysdeps/x86_64/nptl/configure.ac: ... here.
2179 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2180 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2181 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2182 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2183 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2184 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2185 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2186 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2187 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2188 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2189 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2190 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2191 * nptl/sysdeps/x86_64/tls.h: Moved ...
2192 * sysdeps/x86_64/nptl/tls.h: ... here.
2193 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2194 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2195 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2196 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2197
2198 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2199
31c44fea
AZ
22002014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2201
2202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2203
e81a4f9a
JM
22042014-06-11 Joseph Myers <joseph@codesourcery.com>
2205
2206 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2207 type.
2208 [POSIX] (off_t): Likewise.
2209 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2210 [POSIX] (S_ISBLK): Require macro.
2211 [POSIX] (S_ISCHR): Likewise.
2212 [POSIX] (S_ISDIR): Likewise.
2213 [POSIX] (S_ISFIFO): Likewise.
2214 [POSIX] (S_ISREG): Likewise.
2215 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2216 optional-macro.
2217 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2218 type.
2219 [POSIX] (time_t): Likewise.
2220 [POSIX] (timer_t): Likewise.
2221
89e435f3
FW
22222014-06-11 Florian Weimer <fweimer@redhat.com>
2223
2224 [BZ #17048]
2225 * posix/spawn_int.h (struct __spawn_action): Make the path string
2226 non-const to support deallocation.
2227 * posix/spawn_faction_addopen.c
2228 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2229 * posix/spawn_faction_destroy.c
2230 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2231 path in all spawn_do_open actions.
2232 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2233 posix_spawn_file_actions_addopen.
2234
c3a2ebe1
CM
22352014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2236
2237 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2238 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2239 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2240 conditional code always true.
2241 (__libc_vfork): New alias.
2242
9503784a
RM
22432014-06-11 Roland McGrath <roland@hack.frob.com>
2244
c9cab3d2
RM
2245 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2246 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2247
d3996c79
RM
2248 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2249
ba5ec611
RM
2250 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2251 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2252
f12b4814
RM
2253 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2254 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2255
9503784a
RM
2256 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2257 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2258
e23d3d26
VR
22592014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2260
2261 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2262 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2263 multiarch strcmp for PPC64.
2264 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2265 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2267 multiarch optimizations.
2268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2269 (__libc_ifunc_impl_list): Likewise.
2270
42b1161e
SP
22712014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2272
2273 * benchtests/scripts/validate_benchout.py: New script.
2274 * benchtests/Makefile (bench-func): Call it.
2275 * benchtests/scripts/benchout.schema.json: New file.
2276
2d0fc4dc
CM
22772014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2278
4a594c34
AZ
2279 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2280 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2281 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2282 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2283 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2284 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2285 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2286 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2287 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2288 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2289 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2290 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2291 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2292 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2293 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2294 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 2296 Moved ...
4a594c34 2297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 2298 ... here.
4a594c34 2299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 2300 Moved ...
4a594c34
AZ
2301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 2303 Moved ...
4a594c34 2304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 2305 ... here.
4a594c34 2306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 2307 Moved ...
4a594c34 2308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 2309 ... here.
4a594c34 2310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 2311 Moved ...
4a594c34
AZ
2312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 2314 Moved ...
4a594c34 2315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 2316 ... here.
4a594c34 2317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 2318 Moved ...
4a594c34 2319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 2320 ... here.
4a594c34 2321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 2322 Moved ...
4a594c34
AZ
2323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 2325 Moved ...
4a594c34 2326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 2327 ... here.
4a594c34 2328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 2329 Moved ...
4a594c34 2330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 2331 ... here.
4a594c34 2332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 2333 Moved ...
4a594c34 2334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 2335 ... here.
4a594c34 2336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 2337 Moved ...
4a594c34
AZ
2338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 2340 Moved ...
4a594c34 2341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 2342 ... here.
4a594c34 2343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 2344 Moved ...
4a594c34 2345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 2346 ... here.
4a594c34 2347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 2348 Moved ...
4a594c34 2349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 2350 ... here.
4a594c34 2351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 2352 Moved ...
4a594c34
AZ
2353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 2355 Moved ...
4a594c34 2356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 2357 ... here.
4a594c34 2358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 2359 Moved ...
4a594c34 2360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 2361 ... here.
4a594c34 2362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 2363 Moved ...
4a594c34
AZ
2364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 2366 Moved ...
4a594c34 2367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 2368 ... here.
4a594c34 2369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 2370 Moved ...
4a594c34
AZ
2371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 2373 Moved ...
4a594c34
AZ
2374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 2376 Moved ...
4a594c34 2377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 2378 ... here.
4a594c34 2379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 2380 Moved ...
4a594c34 2381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 2382 ... here.
4a594c34 2383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 2384 Moved ...
4a594c34 2385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 2386 ... here.
4a594c34 2387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 2388 Moved ...
4a594c34
AZ
2389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 2391 Moved ...
4a594c34 2392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 2393 ... here.
4a594c34 2394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 2395 Moved ...
4a594c34 2396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 2397 ... here.
4a594c34
AZ
2398 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2399 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2400 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2401 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2402 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 2403 Moved ...
4a594c34 2404 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 2405 ... here.
4a594c34
AZ
2406 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2407 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2408 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2409 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2410 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2411 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2412 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2413 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2414 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2415 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2416 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2417 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2418 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 2419 Moved ...
4a594c34
AZ
2420 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2421 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 2422 Moved ...
4a594c34
AZ
2423 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2424 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2425 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2426 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 2427 Moved ...
4a594c34
AZ
2428 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2429 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2430 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2431 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2432 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2433 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2434 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 2435
0570cfed
W
24362014-06-10 Wilco <wdijkstr@arm.com>
2437
2438 * math/test-fenv-return.c: New file.
2439 * math/Makefile: Add new test test-fenv-return.
2440
f8ba1b56
JM
24412014-06-10 Joseph Myers <joseph@codesourcery.com>
2442
2443 [BZ #17042]
2444 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2445 when x - 1 is zero.
2446 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2447 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2448 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2449 0.0L for an argument of 1.0L.
2450 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2451 Likewise.
2452 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2453 value when x - 1 is zero.
2454 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2455 * sysdeps/i386/fpu/libm-test-ulps: Update.
2456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2457
2c3520d9
BO
24582014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2459
2460 [BZ #15119]
2461 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2462
acaa4d24
RM
24632014-06-09 Roland McGrath <roland@hack.frob.com>
2464
2465 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2466 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2467
962b744d
RM
24682014-06-09 Roland McGrath <roland@hack.frob.com>
2469
d752f0cc
RM
2470 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2471 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2472
34eda6d1
RM
2473 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2474 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2475
50f0a637
RM
2476 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2477 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2478
08f41f04
RM
2479 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2480 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2481
962b744d
RM
2482 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2483 if not already defined.
2484 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2485 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2486 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2487 (TLS_INIT_TP): Use it.
2488 (TLS_DEFINE_INIT_TP): New macro.
2489 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2490
09f19b05
JM
24912014-06-09 Joseph Myers <joseph@codesourcery.com>
2492
2493 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2494 constant.
2495 [POSIX] (IXANY): Likewise.
2496 [POSIX] (OLCUC): Likewise.
2497 [POSIX || POSIX2008] (CBAUD): Do not allow.
2498 [POSIX || POSIX2008] (DEFECHO): Likewise.
2499 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2500 [POSIX || POSIX2008] (ECHOKE): Likewise.
2501 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2502 [POSIX || POSIX2008] (EXTA): Likewise.
2503 [POSIX || POSIX2008] (EXTB): Likewise.
2504 [POSIX || POSIX2008] (FLUSHO): Likewise.
2505 [POSIX || POSIX2008] (LOBLK): Likewise.
2506 [POSIX || POSIX2008] (PENDIN): Likewise.
2507 [POSIX || POSIX2008] (SWTCH): Likewise.
2508 [POSIX || POSIX2008] (VDISCARD): Likewise.
2509 [POSIX || POSIX2008] (VDSUSP): Likewise.
2510 [POSIX || POSIX2008] (VLNEXT): Likewise.
2511 [POSIX || POSIX2008] (VREPRINT): Likewise.
2512 [POSIX || POSIX2008] (VSTATUS): Likewise.
2513 [POSIX || POSIX2008] (VWERASE): Likewise.
2514 (B*): Change to B[0123456789]*.
2515 * conform/data/time.h-data [POSIX || UNIX98]
2516 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2517 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2518 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2519 [POSIX] (tm_*): Do not allow.
2520
686554bf
JM
25212014-06-07 Joseph Myers <joseph@codesourcery.com>
2522
2523 * Makefile (install): Don't set LANGUAGE.
2524 * Makefile.in (install): Likewise.
2525 * assert/Makefile (test-assert-ENV): Remove variable.
2526 (test-assert-perr-ENV): Likewise.
2527 * elf/Makefile (neededtest4-ENV): Likewise.
2528 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2529 [$(cross-compiling) = no]: Don't set LANGUAGE.
2530 * io/ftwtest-sh (LANG): Remove variable.
2531 * libio/Makefile (tst-widetext-ENV): Likewise.
2532 * manual/install.texi (Running make install): Don't refer to
2533 environment settings for make install.
2534 * INSTALL: Regenerated.
2535 * nptl/tst-tls6.sh: Don't set LANG.
2536 * posix/globtest.sh (LANG): Remove variable.
2537 * string/Makefile (tester-ENV): Likewise.
2538 (inl-tester-ENV): Likewise.
2539 (noinl-tester-ENV): Likewise.
2540 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2541 [$(cross-compiling) = no]: Don't set LANGUAGE.
2542 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2543 without explicit environment settings.
2544
68e6b6b1
RM
25452014-06-06 Roland McGrath <roland@hack.frob.com>
2546
2547 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2548 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2549 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2550 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2551
4d3ae034
CM
25522014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2553
2554 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2555 other files in the crypt directory.
2556 * crypt/crypt.c: Remove duplicate includes.
2557 * crypt/crypt-entry.c: Likewise.
2558 * crypt/crypt_util.c: Likewise.
2559
8540f6d2
JM
25602014-06-06 Joseph Myers <joseph@codesourcery.com>
2561
2562 * Makeconfig (run-program-env): New variable.
2563 (run-program-prefix-before-env): Likewise.
2564 (run-program-prefix-after-env): Likewise.
2565 (run-program-prefix): Define in terms of new variables.
2566 (built-program-cmd-before-env): New variable.
2567 (built-program-cmd-after-env): Likewise.
2568 (built-program-cmd): Define in terms of new variables.
2569 (test-program-prefix-before-env): New variable.
2570 (test-program-prefix-after-env): Likewise.
2571 (test-program-prefix): Define in terms of new variables.
2572 (test-program-cmd-before-env): New variable.
2573 (test-program-cmd-after-env): Likewise.
2574 (test-program-cmd): Define in terms of new variables.
2575 * Rules (make-test-out): Use $(run-program-env).
2576 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2577 (help): Do not mention environment variables. Mention
2578 --timeoutfactor option.
2579 (timeoutfactor): New variable.
2580 (blacklist_exports): Remove function.
2581 (exports): Remove variable.
2582 (command): Do not include ${exports}.
2583 * manual/install.texi (Configuring and compiling): Do not mention
2584 test wrappers preserving environment variables. Mention that last
2585 assignment to a variable must take precedence.
2586 * INSTALL: Regenerated.
2587 * benchtests/Makefile (run-bench): Use $(run-program-env).
2588 * catgets/Makefile ($(objpfx)test1.cat): Use
2589 $(built-program-cmd-before-env), $(run-program-env) and
2590 $(built-program-cmd-after-env).
2591 ($(objpfx)test2.cat): Do not specify environment variables
2592 explicitly.
2593 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2594 $(run-program-env) and $(built-program-cmd-after-env).
2595 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2596 $(run-program-env) and $(test-program-cmd-after-env).
2597 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2598 explicitly.
2599 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2600 run_program_env and test_program_cmd_after_env arguments.
2601 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2602 * elf/tst-pathopt.sh: Use run_program_env argument.
2603 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2604 $(test-wrapper-env) and $(run-program-env).
2605 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2606 run_program_env arguments.
2607 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2608 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2609 $(test-program-prefix-before-env), $(run-program-env) and
2610 $(test-program-prefix-after-env).
2611 ($(objpfx)tst-gettext2.out): Likewise.
2612 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2613 run_program_env and test_program_prefix_after_env arguments.
2614 * intl/tst-gettext2.sh: Likewise.
2615 * intl/tst-gettext4.sh: Do not set environment variables
2616 explicitly.
2617 * intl/tst-gettext6.sh: Likewise.
2618 * intl/tst-translit.sh: Likewise.
2619 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2620 $(test-program-prefix-before-env), $(run-program-env) and
2621 $(test-program-prefix-after-env).
2622 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2623 run_program_env and test_program_prefix_after_env arguments.
2624 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2625 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2626 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2627 explicitly with each use of ${test_wrapper_env}.
2628 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2629 $(test-program-prefix-before-env), $(run-program-env) and
2630 $(test-program-prefix-after-env).
2631 * posix/tst-getconf.sh: Do not set environment variables
2632 explicitly.
2633 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2634 run_program_env and test_program_prefix_after_env arguments.
2635 * stdio-common/tst-printf.sh: Do not set environment variables
2636 explicitly.
2637 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2638 $(test-program-prefix-before-env), $(run-program-env) and
2639 $(test-program-prefix-after-env).
2640 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2641 run_program_env and test_program_prefix_after_env arguments.
2642 Split $test calls into $test_pre and $test.
2643 * timezone/Makefile (build-testdata): Use
2644 $(built-program-cmd-before-env), $(run-program-env) and
2645 $(built-program-cmd-after-env).
2646
ed36bfa1
AZ
26472014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2648
2649 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2650 strlen for non SHARED builds.
2651
fc75bf46
SP
26522014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2653
2654 * nptl/allocatestack.c (check_list): Inlined function...
2655 (__reclaim_stacks): ... here.
2656
d89b3d80
OB
26572014-06-05 Ondřej Bílka <neleai@seznam.cz>
2658
2659 [BZ #15698]
2660 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2661 memory overrun.
2662
2bf18041
JM
26632014-06-05 Joseph Myers <joseph@codesourcery.com>
2664
2665 * Rules (make-test-out): Include
2666 LOCPATH=$(common-objpfx)localedata in default environment.
2667 * debug/Makefile (tst-chk1-ENV): Remove variable.
2668 (tst-chk2-ENV): Likewise.
2669 (tst-chk3-ENV): Likewise.
2670 (tst-chk4-ENV): Likewise.
2671 (tst-chk5-ENV): Likewise.
2672 (tst-chk6-ENV): Likewise.
2673 (tst-lfschk1-ENV): Likewise.
2674 (tst-lfschk2-ENV): Likewise.
2675 (tst-lfschk3-ENV): Likewise.
2676 (tst-lfschk4-ENV): Likewise.
2677 (tst-lfschk5-ENV): Likewise.
2678 (tst-lfschk6-ENV): Likewise.
2679 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2680 (tst-iconv7-ENV): Likewise.
2681 * intl/Makefile (LOCPATH-ENV): Likewise.
2682 (tst-codeset-ENV): Likewise.
2683 (tst-gettext3-ENV): Likewise.
2684 (tst-gettext5-ENV): Likewise.
2685 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2686 (tst-fopenloc-ENV): Likewise.
2687 (tst-fgetws-ENV): Remove variable.
2688 (tst-ungetwc1-ENV): Likewise.
2689 (tst-ungetwc2-ENV): Likewise.
2690 (bug-ungetwc2-ENV): Likewise.
2691 (tst-swscanf-ENV): Likewise.
2692 (bug-ftell-ENV): Likewise.
2693 (tst-fgetwc-ENV): Likewise.
2694 (tst-fseek-ENV): Likewise.
2695 (tst-ftell-partial-wide-ENV): Likewise.
2696 (tst-ftell-active-handler-ENV): Likewise.
2697 (tst-ftell-append-ENV): Likewise.
2698 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2699 (tst-regexloc-ENV): Likewise.
2700 (bug-regex1-ENV): Likewise.
2701 (tst-regex-ENV): Likewise.
2702 (tst-regex2-ENV): Likewise.
2703 (bug-regex5-ENV): Likewise.
2704 (bug-regex6-ENV): Likewise.
2705 (bug-regex17-ENV): Likewise.
2706 (bug-regex18-ENV): Likewise.
2707 (bug-regex19-ENV): Likewise.
2708 (bug-regex20-ENV): Likewise.
2709 (bug-regex22-ENV): Likewise.
2710 (bug-regex23-ENV): Likewise.
2711 (bug-regex25-ENV): Likewise.
2712 (bug-regex26-ENV): Likewise.
2713 (bug-regex30-ENV): Likewise.
2714 (bug-regex32-ENV): Likewise.
2715 (bug-regex33-ENV): Likewise.
2716 (bug-regex34-ENV): Likewise.
2717 (bug-regex35-ENV): Likewise.
2718 (tst-rxspencer-ENV): Likewise.
2719 (tst-rxspencer-no-utf8-ENV): Likewise.
2720 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2721 (tst-sscanf-ENV): Likewise.
2722 (tst-swprintf-ENV): Likewise.
2723 (tst-swscanf-ENV): Likewise.
2724 (test-vfprintf-ENV): Likewise.
2725 (scanf13-ENV): Likewise.
2726 (bug14-ENV): Likewise.
2727 (tst-grouping-ENV): Likewise.
2728 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2729 (tst-strtod3-ENV): Likewise.
2730 (tst-strtod4-ENV): Likewise.
2731 (tst-strtod5-ENV): Likewise.
2732 (testmb2-ENV): Likewise./
2733 * string/Makefile (tst-strxfrm-ENV): Likewise.
2734 (tst-strxfrm2-ENV): Likewise.
2735 (bug-strcoll1-ENV): Likewise.
2736 (test-strcasecmp-ENV): Likewise.
2737 (test-strncasecmp-ENV): Likewise.
2738 * time/Makefile (tst-strptime-ENV): Likewise.
2739 (tst-ftime_l-ENV): Likewise.
2740 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2741 (tst-mbrtowc-ENV): Likewise.
2742 (tst-wcrtomb-ENV): Likewise.
2743 (tst-mbrtowc2-ENV): Likewise.
2744 (tst-c16c32-1-ENV): Likewise.
2745 (tst-mbsnrtowcs-ENV): Likewise.
2746
cd1fb604
OB
27472014-06-05 Ondřej Bílka <neleai@seznam.cz>
2748
2749 * manual/resource.texi (How to get information about the memory
2750 subsystem?): Fix typo.
2751 Reported by Peon de la Parra Ivan <peon@keba.com>
2752
b42eca7d
GY
27532014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2754
2755 [BZ #16882]
2756 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2757 (pthread_spin_lock): Branch out of spin loop to proper location.
2758 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2759 (pthread_spin_lock): Likewise.
2760
902b71f9
DM
2761 * nptl/tst-spin4.c: New test.
2762 * nptl/Makefile (tests): Add tst-spin4.
2763
f9d2d032
AS
27642014-06-03 Andreas Schwab <schwab@suse.de>
2765
2766 [BZ #15946]
2767 * resolv/res_send.c (send_dg): Reload file descriptor after
2768 calling reopen.
2769
cf7bfd28
SL
27702014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
2771
2772 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2773
111cc714
RH
27742014-06-03 Richard Henderson <rth@redhat.com>
2775
89b4bd6b
RH
2776 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2777 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2778 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2779 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
2780 in the SAVE_PID block.
2781 (__libc_vfork): New alias.
71840409 2782 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 2783
111cc714
RH
2784 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2785 child in registers, not on the stack. Remove RESET_PID conditionals.
2786 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2787
ccc39911
MS
27882014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
2789
2790 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2791
693096cc
W
27922014-06-03 Wilco <wdijkstr@arm.com>
2793
2794 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2795 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2796 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2797 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2798 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2799 Likewise.
2800
0b4366bc
W
28012014-06-03 Wilco <wdijkstr@arm.com>
2802
2803 * sysdeps/aarch64/fpu/math_private.h
2804 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2805 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2806 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2807 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2808 Fix declarations.
2809
8747cd03
KS
28102014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2811
2812 * crypt/crypt-private.h: Include ufc-crypt.h.
2813 (__b64_from_24bit): Declare extern.
2814 * crypt/crypt_util.c(__b64_from_24bit): New function.
2815 (b64t): New static const variable.
2816 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2817 (b64t): Remove variable.
2818 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2819 * crypt/sha256-crypt.c: Include crypt-private.h.
2820 (b64t): Remove variable.
2821 (__sha256_crypt_r): Remove b64_from_24bit and replace
2822 with __b64_from_24bit.
2823 * crypt/sha512-crypt.c: Likewise.
2824
d936d379
RM
28252014-06-02 Roland McGrath <roland@hack.frob.com>
2826
2827 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2828 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2829 Label the code __libc_vfork rather than __vfork.
2830 [!NOT_IN_libc] (vfork): Define as weak alias.
2831 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2832 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2833 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2834
9fa76613
SP
28352014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2836
2837 * malloc/malloc.c (malloc_info): Fix format specifier for
2838 n_mmaps.
2839
a88dadbe
W
28402014-06-02 Wilco <wdijkstr@arm.com>
2841
2842 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2843 FPCR write.
2844
c95b3011
W
28452014-06-02 Wilco <wdijkstr@arm.com>
2846
2847 [BZ #17009]
2848 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2849 Rewrite to reduce FPCR/FPSR accesses.
2850
6b4d7a90
DM
28512014-06-01 David S. Miller <davem@davemloft.net>
2852
2853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2854
30f3d07c
DM
28552014-05-31 David S. Miller <davem@davemloft.net>
2856
2857 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2858 to occur in round to nearest mode when |x| >= 2.0
2859
74f31c18
RH
28602014-05-30 Richard Henderson <rth@twiddle.net>
2861
f0712b54
RH
2862 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2863 (PSEUDO_RET_NOERRNO): Remove.
2864 (ret): Don't redefine.
2865 (ret_NOERRNO): Define in terms of ret.
2866 (ret_ERRVAL): Likewise.
2867
74f31c18
RH
2868 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2869 use of PSEUDO_RET; perform the error check directly.
2870
30477995
MM
28712014-05-30 Marko Myllynen <myllynen@redhat.com>
2872
2873 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2874 with __int128_t.
2875
62a58816
SP
28762014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2877
2878 * malloc/malloc (malloc_info): Fix formatting.
2879
4d653a59
SP
28802014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2881 Roland McGrath <roland@hack.frob.com>
2882
2883 * malloc/malloc (malloc_info): Also print mmapped statistics.
2884
5190c17f
RM
28852014-05-30 Roland McGrath <roland@hack.frob.com>
2886
2887 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2888 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2889
987c0269
OB
28902014-05-30 Ondřej Bílka <neleai@seznam.cz>
2891
2892 * malloc/malloc.c (malloc_info): Inline mi_arena.
2893
af4e8ef9
RH
28942014-05-29 Richard Henderson <rth@twiddle.net>
2895
1670e207
RH
2896 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2897 Remove comma before expanding ASM_ARGS_##nr.
2898 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2899 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2900 of ASM_ARGS_##nr.
2901 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2902 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2903 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2904 (ASM_ARGS_1): Add leading comma.
2905
11a28aee
RH
2906 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2907 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2908 to __errno_location.
2909 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2910 Remove the expected plt for __errno_location.
2911
a17e5ffb 2912 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 2913 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
2914 call to __read_tp.
2915
b5be4597
RH
2916 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2917 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2918 it and break it down.
2919 (DOCARGS_0, DOCARGS_1): Do nothing.
2920 (DOCARGS_2): Update to store into the new stack frame.
2921 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2922 (UNDOCARGS_1): Update to restore from the new stack frame.
2923 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2924 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2925
645d44ab
RH
2926 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2927 (SINGLE_THREAD_P): New parameter for result regno.
2928 (PSEUDO): Update to match; use cbz instead of beq.
2929
a8b4f04a
RH
2930 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2931 Use ENTRY to define the _nocancel entry point. Share the syscall
2932 and syscall error check paths with the cancel path.
2933 (PSEUDO_END): New.
2934
af4e8ef9
RH
2935 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2936 whitespace; tabs before and after asm mnemonics.
2937
26b0d2e1
EW
29382014-05-29 Eric Wong <normalperson@yhbt.net>
2939
2940 [BZ #15132]
2941 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2942 Call fstat64 or stat64 internally, depending on arguments passed.
2943 Replace stat buffer argument with file descriptor argument.
2944 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2945 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2946 Pass fd to __internal_statvfs instead of calling fstat64.
2947 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2948 Pass fd to __internal_statvfs64 instead of calling fstat64.
2949 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2950 Pass -1 to __internal_statvfs instead of calling stat64.
2951 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2952 Pass -1 to __internal_statvfs64 instead of calling stat64.
2953
1efe2bd9
RM
29542014-05-28 Roland McGrath <roland@hack.frob.com>
2955
0d3b7a19
RM
2956 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2957 that was previously under [RESET_PID].
2958 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2959
1efe2bd9
RM
2960 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2961 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2962
a6bea3ca
RM
29632014-05-27 Roland McGrath <roland@hack.frob.com>
2964
30b6629e
RM
2965 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2966
a6bea3ca
RM
2967 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2968 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2969
3dfb9a5c
OB
29702014-05-27 Ondřej Bílka <neleai@seznam.cz>
2971
2972 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2973
774f9285
AS
29742014-05-27 Andreas Schwab <schwab@suse.de>
2975
2976 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2977 TLS_INIT_TP macro.
2978 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2979 * elf/rtld.c (init_tls, dl_main): Likewise.
2980 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2981 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2982 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2983 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2984 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2985 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2986 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2987 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2988 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2989 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2990 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2991 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2992 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2993 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2994 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2995 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2996 * sysdeps/generic/tls.h: Update description.
2997
36ffe739
WN
29982014-05-27 Will Newton <will.newton@linaro.org>
2999
3000 [BZ #16990]
3001 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3002 and restore r2 rather than just restoring.
3003
2482ae43
SP
30042014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3005
3006 [BZ #16724]
3007 * libio/tst-ftell-append.c: New test case.
3008 * libio/Makefile (tests): Add test case.
3009 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3010 append mode.
3011 * libio/wfileops.c (do_ftell_wide): Likewise.
3012
3d1024e8
AZ
30132014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3014
bab90016
AZ
3015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3016
c7a8d667
AZ
3017 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3018 ...
3019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3021 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3022 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3023 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3024 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3025 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3026 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3027 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3028 Moved ...
3029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3030 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3031 Moved ...
3032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3033 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3034 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3035 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3036 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3037 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3038 ...
3039 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3040 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3041 Moved ...
3042 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3043 here.
3044 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3045 ...
3046 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3047 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3048 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3049
daee7851
AZ
3050 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3051 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3052 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3053 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3054
50a40819
AZ
3055 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3056 merge into ...
3057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3058 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3059 ...
3060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3061 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3062 ...
3063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3064 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3065 Moved ...
3066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3067 here.
3068 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3069 Moved ...
3070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3071 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3072 Moved ...
3073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3074
8464c2a1
AZ
3075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3076 conditional [RESET_PID].
3077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3078 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3079 removed.
3080 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3081 removed.
3082
3d1024e8
AZ
3083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3084 <tcb-offsets.h>.
3085 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3086 (__libc_vfork): New strong alias.
3087 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3088 removed.
3089 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3090 Removed.
3091
3092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3093 <tcb-offsets.h>.
3094 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3095 (__libc_vfork): New strong alias.
3096 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3097 removed.
3098 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3099 removed.
3100
fdfd175d
CD
31012014-05-26 Carlos O'Donell <carlos@redhat.com>
3102
3103 * malloc/malloc.c (mi_arena): New function.
3104 (malloc_info): Remove nested function mi_arena. Call non-nosted
3105 function mi_arena.
3106
d298c416
AZ
31072014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3108
3109 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3110 by insrwi.
3111 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3112 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3113 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3114 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3115 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3116 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3117 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3118
b60ea6ff
AS
31192014-05-26 Andreas Schwab <schwab@suse.de>
3120
3121 [BZ #16984]
3122 * locale/programs/repertoire.c (repertoire_read): Add slash
3123 between I18NPATH element and file name.
3124 * locale/programs/locfile.c (locfile_read): Likewise.
3125
67365926
SL
31262014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3127
3128 * nptl/pthread_mutexattr_settype.c
3129 (__pthread_mutexattr_settype):
3130 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3131
f8bdf1f0
SL
31322014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3133
3134 * nptl/tst-mutex5 (do_test):
3135 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3136
15eaf6ff
SP
31372014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3138
3139 * benchtests/README: Document 'init' directive.
3140 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3141 BENCH_INIT.
3142 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3143 (parse_file): Recognize 'init' directive.
3144
75f11331
KM
31452014-05-26 Kyle McMartin <kyle@redhat.com>
3146
3147 [BZ #16796]
3148 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3149 alignment of struct pthread.
3150
c3ec475c
SP
31512014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3152
3153 [BZ #16878]
3154 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3155 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3156 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3157 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3158
82aab97c
RH
31592014-05-25 Richard Henderson <rth@twiddle.net>
3160
aa2f176d
RH
3161 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3162 (SINGLE_THREAD_P_PIC): Remove.
3163 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3164 (SINGLE_THREAD_P_PIC): Remove.
3165
ca3cfa40
RH
3166 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3167 branch to syscall error ...
3168 (PSEUDO): ... here.
3169 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3170 from __local_syscall_error to .Lsyscall_error.
3171 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3172 (SYSCALL_ERROR): Update label name.
3173
6e6c2d01
RH
3174 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3175 Do not use DOARGS/UNDOARGS.
3176 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3177 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3178 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3179 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3180 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3181
c69abcee
RH
3182 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3183 block comment.
3184
82aab97c
RH
3185 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3186 define if !NOT_IN_libc.
3187 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3188 define with non-default symbol versions.
3189
8820e3ac
RH
31902014-05-23 Richard Henderson <rth@twiddle.net>
3191
900e445f
RH
3192 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3193 (vfork, __vfork): Define via compat_symbol.
3194
8820e3ac
RH
3195 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3196 [!HAVE_IFUNC] (vfork_compat): Remove.
3197 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3198
e59252a5
JM
31992014-05-23 Joseph Myers <joseph@codesourcery.com>
3200
3201 [BZ #16978]
3202 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3203 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3204 variable.
3205
132c7f5f
RH
32062014-05-23 Richard Henderson <rth@twiddle.net>
3207
bc89e962
RH
3208 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3209 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3210 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3211 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3212
3213 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3214 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3215 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3216 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3217 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3218 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3219 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3220 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3221 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3222 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3223 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3224 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3225 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3226 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3227 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3228 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3229 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3230 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3231 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3232 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3233 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3234 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3235 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3236 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3237 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3238 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3239 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3240 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3241 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3242 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3243 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3244 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3245 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3246 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3247 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3248 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3249 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3250 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3251 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3252 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3253 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3254 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3255 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3256 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3257 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3258 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3259 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3260 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3261 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3262 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3263 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3264 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3265 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3266 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3267 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3268 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3269
e2fa4bc2
RH
3270 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3271 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3272 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3273 before exiting on error.
3274 (__libc_vfork): New strong alias.
3275 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3276 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3277
279b24e2
RH
3278 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3279 that was previously under [RESET_PID].
3280 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3281
132c7f5f
RH
3282 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3283
b72592e7
JM
32842014-05-23 Joseph Myers <joseph@codesourcery.com>
3285
3286 [BZ #16977]
3287 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3288 value when x - 1 is zero.
3289 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3290 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3291 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3292 0.0L for an argument of 1.0L.
3293 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3294 Likewise.
3295 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3296 value when x - 1 is zero.
3297 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3298 * sysdeps/i386/fpu/libm-test-ulps: Update.
3299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3300
2302d679
RV
33012014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3302
3303 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3304 alphasort and versionsort.
3305
32999d63
AZ
33062014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3307
3308 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3309 macro.
3310 [copysignf]: Likewise.
3311
019324d0
SP
33122014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3313
3314 * crypt/md5-crypt.c: Fix formatting.
3315
34fff5c2
KS
33162014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3317
3318 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3319 (b64_from_24bit): New function.
3320
3d2badac
AZ
33212014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3322
3323 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3324 libc_hidden_builtin_def to ifunc.
3325 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3326 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3327
f7bb179f 33282014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
3329
3330 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3331 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3332
4134b50d
JM
33332014-05-21 Joseph Myers <joseph@codesourcery.com>
3334
bb7d0337
JM
3335 * nscd/Depend (linuxthreads): Remove.
3336 (nptl): Add.
3337 * resolv/Depend (linuxthreads): Remove.
3338 * rt/Depend (linuxthreads): Remove.
3339
4134b50d
JM
3340 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3341 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3342 $(common-objpfx)elf/.
3343 (link-libc-before-gnulib): Likewise.
3344 (elfobjdir): Remove variable.
3345 * Makefile (install): Use $(elf-objpfx) instead of
3346 $(common-objpfx)elf/.
3347 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3348 $(elfobjdir)/.
3349 (link-libc-deps): Likewise.
3350 ($(common-objpfx)libc.so): Likewise.
3351 ($(common-objpfx)linkobj/libc.so): Likewise.
3352 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3353 instead of $(common-objpfx)elf/.
3354 (symbolic-link-list): Likewise.
3355 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3356 [$(cross-compiling) = no]: Likewise.
3357 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3358 $(elfobjdir)/.
3359 (static-gnulib-arch): Likewise.
3360 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3361 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3362 $(common-objpfx)elf/.
3363
3612eb8f
RH
33642014-05-21 Richard Henderson <rth@redhat.com>
3365
a6b3657b
RH
3366 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3367 (SINGLE_THREAD_P): Use the correct width load. Fold
3368 into the ldr offset.
3369
3612eb8f
RH
3370 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3371 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3372
175cef41
JM
33732014-05-20 Joseph Myers <joseph@codesourcery.com>
3374
3375 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3376 (libgcc_s_resume): Use __attribute_used__.
3377 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3378 Likewise.
3379
e13bccd3
AZ
33802014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3381
3382 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3383 optimization when used with float constants.
3384
7c112a38
AZ
3385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3386
ae75a883
AJ
33872014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3388
3389 [BZ #16915]
3390 * locale/nl_langinfo_l.c: Make direct reference to every
3391 _nl_current_CATEGORY symbol.
3392 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3393 (tests-static): Add tst-langinfo-static.
3394 (tests-special): Add tst-langinfo-static.out.
3395 ($(objpfx)tst-langinfo.out): Redirect output.
3396 ($(objpfx)tst-langinfo-static.out): New.
3397 * localedata/tst-langinfo.sh: Send output to stdout.
3398 * localedata/tst-langinfo-static.c: New file.
3399
4406c41c
AJ
3400 [BZ #16965]
3401 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3402 when the shift amount is modulo the limb size.
3403
4c0a1e63
RH
34042014-05-20 Richard Henderson <rth@redhat.com>
3405
de9d8f20
RH
3406 [BZ #16967]
3407 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3408 Change type of sa_flags from unsigned int to int.
3409
4c0a1e63
RH
3410 [BZ #16966]
3411 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
3412
3413 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3414
a60339aa
WN
34152014-05-20 Will Newton <will.newton@linaro.org>
3416
3417 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3418 Test the return value of the system call in the nocancel case.
3419
7d05a816
YR
34202014-05-20 Will Newton <will.newton@linaro.org>
3421 Yvan Roux <yvan.roux@linaro.org>
3422
3423 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3424 #include of asm/ptrace.h.
3425 (PTRACE_GET_THREAD_AREA): Remove #undef.
3426 (PTRACE_GETHBPREGS): Likewise.
3427 (PTRACE_SETHBPREGS): Likewise.
3428 (struct user_regs_struct): New structure.
3429 (struct user_fpsimd_struct): New structure.
3430 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3431 #include of asm/ptrace.h and second #include of sys/user.h.
3432 (PTRACE_GET_THREAD_AREA): Remove #undef.
3433 (PTRACE_GETHBPREGS): Likewise.
3434 (PTRACE_SETHBPREGS): Likewise.
3435 (ELF_NGREG): Use new struct user_regs_struct.
3436 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3437
af121e37
AZ
34382014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3439
3440 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3441 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3442
834caf06
JM
34432014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3444
3445 [BZ #16958]
3446 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3447 membar to avoid block loads/stores to overlap previous stores.
3448
e184a918
RH
34492014-05-17 Richard Henderson <rth@redhat.com>
3450
3451 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3452 Create the __##syscall_name##_nocancel entry point.
3453 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3454 Remove; let the sysdep-cancel.h code create it.
3455
f56c7a6a
DM
34562014-05-17 David S. Miller <davem@davemloft.net>
3457
3458 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3459 Protect with __USE_GNU.
3460 (TIOCSET_TEMPT): Likewise.
3461 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3462 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3463 these are already provided in bits/ioctl-types.h
3464
f75616b2
RM
34652014-05-16 Roland McGrath <roland@hack.frob.com>
3466
3edeca86
RM
3467 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3468 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3469
f75616b2
RM
3470 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3471 Use wait4 regardless of [__NR_waitpid].
3472
deb0f7f6
MR
34732014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3474
3475 PR libgcc/60166
3476 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3477 (_FP_NANSIGN_Q): Set the quiet bit.
3478
79520f4b
JM
34792014-05-16 Joseph Myers <joseph@codesourcery.com>
3480
3481 * benchtests/Makefile
3482 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3483 not $(common-objpfx)math/libm.so.
3484 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3485 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3486 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3487 $(common-objpfx)dlfcn/libdl.so.
3488 ($(objpfx)tst-audit8): Depend on $(libm), not
3489 $(common-objpfx)math/libm.so.
3490 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3491 not $(common-objpfx)dlfcn/libdl.so.
3492 * math/Makefile
3493 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3494 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3495 [$(build-shared) = yes].
3496 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3497 $(common-objpfx)nptl/libpthread.so.
3498 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3499 $(common-objpfx)math/libm.so$(libm.so-version) or
3500 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3501 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3502 $(common-objpfx)dlfcn/libdl.so.
3503 * setjmp/Makefile (link-libm): Remove variable.
3504 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3505 * stdio-common/Makefile (link-libm): Remove variable.
3506 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3507 * stdlib/Makefile (link-libm): Remove variable.
3508 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3509 ($(objpfx)tst-strtod-round): Likewise.
3510 ($(objpfx)tst-tininess): Likewise.
3511 ($(objpfx)tst-strtod-underflow): Likewise.
3512 ($(objpfx)tst-strtod6): Likewise.
3513 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3514 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3515 $(common-objpfx)dlfcn/libdl.so.
3516
026b0fe4
AZ
35172014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3518
3519 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3520 BSD terminal modes definitions.
3521
def4bcb2
RM
35222014-05-16 Roland McGrath <roland@hack.frob.com>
3523
fe39b021
RM
3524 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3525 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3526
1d1fc46e 3527 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
3528 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3529 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3530 Don't do #include_next.
3531 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3532 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3533 Don't do #include_next.
3534 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3535 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3536 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3537 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3538
c72399fb
AM
35392014-05-16 Allan McRae <allan@archlinux.org>
3540
d51d659d
AM
3541 * po/sv.po: Update Swedish translation from translation project.
3542
c72399fb
AM
3543 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3544 in sed expression.
3545
d0583c40
AJ
35462014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3547
3548 [BZ #16917]
3549 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3550 errno if the TIOCGPTN ioctl fails with an error different than
3551 EINVAL.
3552 * login/tst-ptsname.c: New file.
3553 * login/Makefile (tests): Add tst-ptsname.
3554
d16e6ec7
AJ
3555 [BZ #16943]
3556 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3557 and prlimit64.
3558
cf26a0cb
SP
35592014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3560
3561 [BZ #16849]
3562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3563 herrno to return EAI_AGAIN.
3564
5675da1e
RM
35652014-05-14 Roland McGrath <roland@hack.frob.com>
3566
a5d87b3d
RM
3567 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3568 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3569 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3570 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3571 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3572 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3573 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3574 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3575 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3576 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3577 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3578 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3579 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3580 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3581 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3582 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3584 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3585 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3586 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3587 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3588 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3589 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3590 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3591 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3592 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3593 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3594 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3595 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3596 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3598 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3600 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3602 Moved ...
3603 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3605 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3607 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3609 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3611 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3613 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3615 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3617 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3619 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3621 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3623 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3625 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3627 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3629 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3631 Moved ...
3632 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3634 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3636 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3638 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3640 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3642 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3644 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3646 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3648 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3650 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3652 Moved ...
3653 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3655 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3656
039890a6
RM
3657 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3658 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3659 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3660 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3661 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3662 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3663 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3664 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3665 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3666 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3667 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3668 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3669 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3670 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3671 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3672 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3673 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3674 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3675 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3676 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3677 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3678 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3679 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3680 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3681 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3682 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3683 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3684 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3685 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3686 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3687 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3688
65c89320
RM
3689 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3690 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3691
348f8e8c
RM
3692 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3693 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3694 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3695 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3696 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3697 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3698 Moved ...
3699 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3700 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3701 Moved ...
3702 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3703 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3704 Moved ...
3705 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3706 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3707 Moved ...
3708 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3709 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3710 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3711 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3712 Moved ...
3713 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3714 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3715 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3716 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3717 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3718 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3719 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3720 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3721 Moved ...
3722 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3723 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3724 Moved ...
3725 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3726 ... here.
3727 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3728 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3729 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3730 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3731 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3732 Moved ...
3733 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3734 ... here.
3735 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3736 Moved ...
3737 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3738 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3739 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3740 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3741 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3742 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3743 Moved ...
3744 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3745 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3746 Moved ...
3747 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3748 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3749 Moved ...
3750 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3751 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3752 Moved ...
3753 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3755 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3756 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3757 Moved ...
3758 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3759 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3760 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3761 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3762 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3763 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3764 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3765 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3766 Moved ...
3767 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3768 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3769 Moved ...
3770 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3771 ... here.
3772 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3773 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3774 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3775 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3776 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3777 Moved ...
3778 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3779 ... here.
3780 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3781 Moved ...
3782 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3783 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3784 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3785 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3786 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3787 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3788 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3789 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3790 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3791 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3792 Moved ...
3793 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3794 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3795 Moved ...
3796 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3797 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3798 Moved ...
3799 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3800 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3801 Moved ...
3802 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3803 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3804 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3805 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3806 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3807 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3808 Moved ...
3809 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3810 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3811 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3812 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3813 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3814 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3815 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3817 Moved ...
3818 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3819 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3820 Moved ...
3821 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3822 ... here.
3823 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3824 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3825 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3826 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3827 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3828 Moved ...
3829 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3830 ... here.
3831 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3832 Moved ...
3833 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3834 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3835 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3836 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3837 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3838 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3839 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3840 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3841 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3842 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3843 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3844
5085af05
RM
3845 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3846 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3847
708f0813
RM
3848 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3849 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3850
c96067bc
RM
3851 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3852 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3853 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3854 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3855 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3856 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3857 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3858 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3859 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3860 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3861 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3862 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3863 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3864 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3865 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3866 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3867 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3868 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3869 Moved ...
3870 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3871 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3872 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3873 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3874 Moved ...
3875 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3876 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3877 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3878 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3879 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3880 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3881 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3882 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3883 Moved ...
3884 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3885 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3886 Moved ...
3887 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3888 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3889 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3890 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3891 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3892 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3893 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3894 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3895 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3896 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3897 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3898 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3899 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3900 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3901 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3902 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3903 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3904
ec136444
RM
3905 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3906 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3907 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3908 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3909 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3910
2fbdf533
RM
3911 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3912 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3913 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3914 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3915 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3916 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3917 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3918 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3919 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3920 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3921
4c68138b
RM
3922 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3923 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3924
4eaae765
RM
3925 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3926 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
3927 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3928 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3929 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3930 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3931 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3932 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3933 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3934 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3935 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3936 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3937 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3938 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3939 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3940 Update #include.
3941 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3942 Likewise.
3943 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3944 Likewise.
3945 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3946 Likewise.
3947 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3948 Likewise.
3949 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3950 Likewise.
3951 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3952 Likewise.
3953 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3954 Likewise.
3955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3956 Likewise.
3957 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3958 Likewise.
4ef6befa
RM
3959 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3960 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3961 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3962 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3963 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
3964 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3965 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3966 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3967 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3968 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3969 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3970 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3971 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3972 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3973 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 3974
941d7dfd
RM
3975 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3976 that was previously under [RESET_PID].
3977 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3978 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3979 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3980
1b731c35
RM
3981 * sysdeps/i386/nptl/Implies: New file.
3982 * sysdeps/x86_64/nptl/Implies: New file.
3983 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3984 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3985 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3986 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3987
e2787137
RM
3988 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3989 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3990 (__libc_vfork): New strong alias.
3991 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3992 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3993
3994 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3995 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3996 (__libc_vfork): New strong alias.
3997 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3998 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3999
5675da1e
RM
4000 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4001 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4002 (__libc_vfork): New strong alias.
4003 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4004 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4005 * nptl/pt-vfork.c: New file.
4006 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4007 (libpthread: GLIBC_2.20): New version set (empty).
4008
4f02e2b8
WN
40092014-05-14 Will Newton <will.newton@linaro.org>
4010
4011 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4012 rather than #if.
4013
0bf061d3
JM
40142014-05-14 Joseph Myers <joseph@codesourcery.com>
4015
1a84c3d6
JM
4016 [BZ #16564]
4017 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4018 arguments with exponent 65 or above.
4019 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4020 arguments 0x1p113L or above.
4021 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4022 to arguments 0x1p107L or above.
4023 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4024 positive arguments with exponent 65 or above.
4025 * math/auto-libm-test-in: Add more tests of log1p.
4026 * math/auto-libm-test-out: Regenerated.
4027
01dbacd2
JM
4028 [BZ #16928]
4029 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4030 non-finite arguments is +0.
4031 * math/s_cacosf.c (__cacosf): Likewise.
4032 * math/s_cacosl.c (__cacosl): Likewise.
4033 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4034 * sysdeps/i386/fpu/libm-test-ulps: Update.
4035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4036
913d03c8
JM
4037 [BZ #16927]
4038 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4039 value.
4040 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4041 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4042 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4043 for explicit high bit of mantissa when testing for argument equal
4044 to 1.
4045 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4046 * sysdeps/i386/fpu/libm-test-ulps: Update.
4047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4048
0bf061d3
JM
4049 [BZ #16516]
4050 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4051 (__erf): Scale by 16 instead of 8 in potentially underflowing
4052 case. Ensure exception if result actually underflows.
4053 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4054 (__erff): Scale by 16 instead of 8 in potentially underflowing
4055 case. Ensure exception if result actually underflows.
4056 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4057 (efx8): Remove variable.
4058 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4059 case. Ensure exception if result actually underflows.
4060 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4061 (efx8): Remove variable.
4062 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4063 case. Ensure exception if result actually underflows.
4064 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4065 (efx8): Remove variable.
4066 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4067 case. Ensure exception if result actually underflows.
4068 * math/auto-libm-test-in: Add more tests of erf.
4069 * math/auto-libm-test-out: Regenerated.
4070
73ba67cb
AS
40712014-05-14 Andreas Schwab <schwab@suse.de>
4072
3d8c8bff
AS
4073 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4074 Remove code conditionalized on USE___THREAD.
4075
73ba67cb
AS
4076 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4077 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4078 not definedness.
4079
5c521ecd
JM
40802014-05-14 Joseph Myers <joseph@codesourcery.com>
4081
5e7698c6
JM
4082 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4083 Define unconditionally.
4084 (__ASSUME_O_CLOEXEC): Likewise.
4085 (__ASSUME_SOCK_CLOEXEC): Likewise.
4086 (__ASSUME_IN_NONBLOCK): Likewise.
4087 (__ASSUME_PIPE2): Likewise.
4088 (__ASSUME_EVENTFD2): Likewise.
4089 (__ASSUME_SIGNALFD4): Likewise.
4090 (__ASSUME_DUP3): Likewise.
4091 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4092 (__ASSUME_DUP3): Do not define.
4093 (__ASSUME_EVENTFD2): Likewise.
4094 (__ASSUME_IN_NONBLOCK): Likewise.
4095 (__ASSUME_O_CLOEXEC): Likewise.
4096 (__ASSUME_PIPE2): Likewise.
4097 (__ASSUME_SIGNALFD4): Likewise.
4098 (__ASSUME_SOCK_CLOEXEC): Likewise.
4099 (__ASSUME_UTIMES): Undefine.
4100 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4101 (__ASSUME_UTIMES): Do not define.
4102 (__ASSUME_O_CLOEXEC): Likewise.
4103 (__ASSUME_SOCK_CLOEXEC): Likewise.
4104 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4105 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4106 0x020621].
4107 (__ASSUME_PIPE2): Likewise.
4108 (__ASSUME_EVENTFD2): Likewise.
4109 (__ASSUME_SIGNALFD4): Likewise.
4110 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4111 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4112 Do not define.
4113 (__ASSUME_EVENTFD2): Likewise.
4114 (__ASSUME_SIGNALFD4): Likewise.
4115 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4116 (__ASSUME_32BITUIDS): Likewise.
4117 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4118 (__ASSUME_IPC64): Likewise.
4119 (__ASSUME_ST_INO_64_BIT): Likewise.
4120 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4121 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4122 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4123 (__ASSUME_UTIMES): Do not define.
4124 (__ASSUME_PSELECT): Likewise.
4125 (__ASSUME_PPOLL): Likewise.
4126 (__ASSUME_O_CLOEXEC): Likewise.
4127 (__ASSUME_SOCK_CLOEXEC): Likewise.
4128 (__ASSUME_IN_NONBLOCK): Likewise.
4129 (__ASSUME_PIPE2): Likewise.
4130 (__ASSUME_EVENTFD2): Likewise.
4131 (__ASSUME_SIGNALFD4): Likewise.
4132 (__ASSUME_DUP3): Likewise.
4133 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4134 (__ASSUME_UTIMES): Likewise.
4135 (__ASSUME_O_CLOEXEC): Likewise.
4136 (__ASSUME_SOCK_CLOEXEC): Likewise.
4137 (__ASSUME_IN_NONBLOCK): Likewise.
4138 (__ASSUME_PIPE2): Likewise.
4139 (__ASSUME_EVENTFD2): Likewise.
4140 (__ASSUME_SIGNALFD4): Likewise.
4141 (__ASSUME_DUP3): Likewise.
4142 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4143 (__ASSUME_UTIMES): Likewise.
4144 (__ASSUME_O_CLOEXEC): Likewise.
4145 (__ASSUME_SOCK_CLOEXEC): Likewise.
4146 (__ASSUME_IN_NONBLOCK): Likewise.
4147 (__ASSUME_PIPE2): Likewise.
4148 (__ASSUME_EVENTFD2): Likewise.
4149 (__ASSUME_SIGNALFD4): Likewise.
4150 (__ASSUME_DUP3): Likewise.
4151 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4152 Likewise.
4153 (__ASSUME_UTIMES): Likewise.
4154 (__ASSUME_EVENTFD2): Likewise.
4155 (__ASSUME_SIGNALFD4): Likewise.
4156 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4157 (__ASSUME_O_CLOEXEC): Likewise.
4158 (__ASSUME_SOCK_CLOEXEC): Likewise.
4159 (__ASSUME_IN_NONBLOCK): Likewise.
4160 (__ASSUME_PIPE2): Likewise.
4161 (__ASSUME_EVENTFD2): Likewise.
4162 (__ASSUME_SIGNALFD4): Likewise.
4163 (__ASSUME_DUP3): Likewise.
4164 (__ASSUME_UTIMES): Undefine.
4165
5c521ecd
JM
4166 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4167 feclearexcept. Remove symbol versioning code.
4168 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4169 symbol versioning code.
4170 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4171 symbol versioning code.
4172 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4173 feupdateenv. Remove symbol versioning code.
4174 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4175 fegetexceptflag. Remove symbol versioning code.
4176 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4177 fesetexceptflag. Remove symbol versioning code.
4178 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4179 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4180 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4181 (__posix_fadvise64_l32): Remove prototype.
4182 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4183 code.
4184
5da9dfad
RM
41852014-05-13 Roland McGrath <roland@hack.frob.com>
4186
4187 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4188 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4189 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4190 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4191
893b4f37
SK
41922014-05-13 Sami Kerola <kerolasa@iki.fi>
4193
4194 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4195 current working directory
4196
e0db6517
RM
41972014-05-13 Roland McGrath <roland@hack.frob.com>
4198
58aa195d
RM
4199 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4200 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4201 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4202 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4203 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4204 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4205 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4206 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4207 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4208 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4209 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4210 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4211 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4212 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4213 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4214 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4215 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4216 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4217 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4218 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4219 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4220 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4221 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4222 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4223 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4224 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4225 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4226 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4227 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4228 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4229 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4230 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4231 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4232 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4233 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4234 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4235 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4236 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4237 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4238 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4239 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4240 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4241
8c6d01f0
RM
4242 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4243 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4244
4245 * sysdeps/unix/sysv/linux/arm/Makefile
4246 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4247 Add rt-aeabi_unwind_cpp_pr1.
4248 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4249 Add nptl-aeabi_unwind_cpp_pr1.
4250 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4251 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4252 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4253 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4254 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4255 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4256
4257 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4258 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4259 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4260 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4261
bba6da4e
RM
4262 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4263 Deconditionalize the code that was previously under [RESET_PID].
4264 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4265
e0db6517
RM
4266 * sysdeps/generic/exit-thread.h: New file.
4267 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4268 * include/unistd.h (__exit_thread): Remove declaration.
4269 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4270 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4271 * csu/libc-start.c: Include <exit-thread.h>.
4272 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4273 * nptl/pthread_create.c: Include <exit-thread.h>.
4274 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4275 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4276 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4277 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4278 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4279 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4280 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4281 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4282 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4283 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4284 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4285 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4286 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4287 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4288 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4289 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4290 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4291
01eb16fd
AS
42922014-05-13 Andreas Schwab <schwab@suse.de>
4293
4294 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4295
637461d9
JM
42962014-05-12 Joseph Myers <joseph@codesourcery.com>
4297
4298 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4299 (__ASSUME_UTIMES): Do not condition on kernel version.
4300 (__ASSUME_PSELECT): Define unconditionally.
4301 (__ASSUME_PPOLL): Likewise.
4302 (__ASSUME_ATFCTS): Likewise.
4303 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4304 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4305 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4306 (__ASSUME_UTIMENSAT): Define unconditionally.
4307 (__ASSUME_PRIVATE_FUTEX): Likewise.
4308 (__ASSUME_FALLOCATE): Likewise.
4309 (__ASSUME_O_CLOEXEC): Likewise.
4310 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4311 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4312 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4313 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4314 (__ASSUME_IN_NONBLOCK): Likewise.
4315 (__ASSUME_PIPE2): Likewise.
4316 (__ASSUME_EVENTFD2): Likewise.
4317 (__ASSUME_SIGNALFD4): Likewise.
4318 (__ASSUME_DUP3): Likewise.
4319 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4320 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4321 (__ASSUME_AT_RANDOM): Likewise.
4322 (__ASSUME_PREADV): Likewise.
4323 (__ASSUME_PWRITEV): Likewise.
4324 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4325 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4326 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4327 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4328 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4329 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4330 (__ASSUME_O_CLOEXEC): Define unconditionally.
4331 (__ASSUME_PSELECT): Do not undefine conditionally.
4332 (__ASSUME_PPOLL): Likewise.
4333 (__ASSUME_ATFCTS): Likewise.
4334 (__ASSUME_SET_ROBUST_LIST): Likewise.
4335 (__ASSUME_UTIMENSAT): Likewise.
4336 (__ASSUME_FDATASYNC): Define unconditionally.
4337 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4338 (__ASSUME_SIGFRAME_V2): Likewise.
4339 )__ASSUME_EVENTFD2): Likewise.
4340 (__ASSUME_SIGNALFD4): Likewise.
4341 (__ASSUME_PSELECT): Do not undefine conditionally.
4342 (__ASSUME_PPOLL): Likewise.
4343 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4344 (__ASSUME_PSELECT): Define unconditionally.
4345 (__ASSUME_PPOLL): Likewise.
4346 (__ASSUME_O_CLOEXEC): Likewise.
4347 (__ASSUME_SOCK_CLOEXEC): Likewise.
4348 (__ASSUME_IN_NONBLOCK): Likewise.
4349 (__ASSUME_PIPE2): Likewise.
4350 (__ASSUME_EVENTFD2): Likewise.
4351 (__ASSUME_SIGNALFD4): Likewise.
4352 (__ASSUME_DUP3): Likewise.
4353 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4354 (__ASSUME_O_CLOEXEC): Likewise.
4355 (__ASSUME_SOCK_CLOEXEC): Likewise.
4356 (__ASSUME_IN_NONBLOCK): Likewise.
4357 (__ASSUME_PIPE2): Likewise.
4358 (__ASSUME_EVENTFD2): Likewise.
4359 (__ASSUME_SIGNALFD4): Likewise.
4360 (__ASSUME_DUP3): Likewise.
4361 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4362 (__ASSUME_EVENTFD2): Likewise.
4363 (__ASSUME_SIGNALFD4): Likewise.
4364 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4365
315eb1d8
AS
43662014-05-12 Andreas Schwab <schwab@suse.de>
4367
4368 [BZ #16932]
4369 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4370 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4371 than maximum RPC packet size.
4372 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4373 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4374 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4375 (_nss_nis_getservbyport_r): Likewise.
4376
91df99f7
WN
43772014-05-12 Will Newton <will.newton@linaro.org>
4378
4379 * malloc/Makefile (tests): Add tst-mallopt.
4380 * malloc/tst-mallopt.c: New file.
4381
0a982a29
RM
43822014-05-09 Roland McGrath <roland@hack.frob.com>
4383
4384 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4385 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4386
0ded08a5
AZ
43872014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4388
4389 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4390 (tst-tlsmod6.so): Likewise.
4391
55d4d550
RM
43922014-05-09 Roland McGrath <roland@hack.frob.com>
4393
4394 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4395
77d08aca
JM
43962014-05-09 Joseph Myers <joseph@codesourcery.com>
4397
4398 [BZ #16064]
4399 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4400 and <dl-procinfo.h>.
4401 (__fegetenv): Save SSE state in envp->__eip if supported.
4402 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4403 envp->__eip if supported.
4404 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4405 and <dl-procinfo.h>.
4406 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4407 __data_offset and __data_selector in environment to 0. Set SSE
4408 state if supported.
4409 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4410 test-fenv-sse.
4411 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4412 -mfpmath=sse.
4413 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4414
28162f4d
WN
44152014-05-09 Will Newton <will.newton@linaro.org>
4416
4417 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4418 and libc_relro_required for ARM.
4419 * sysdeps/arm/preconfigure: Regenerate.
4420
5a414ff7
DV
44212014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4422 Stefan Liebler <stli@linux.vnet.ibm.com>
4423
4424 * config.make.in (enable-lock-elision): New Makefile variable.
4425 * configure.ac: Likewise.
4426 * configure: Regenerate.
4427 * sysdeps/s390/configure.ac:
4428 Add check for gcc transactions support.
4429 * sysdeps/s390/configure: Regenerate.
4430 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4431 Build elision files if enabled.
4432 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4433 Add lock elision support for s390.
4434 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4435 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4436 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4437 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4438 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4439 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4440 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4441 Likewise.
4442 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4443 Likewise.
4444 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4445 Likewise.
4446 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4447 Likewise.
4448 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4449 (__lll_timedlock_elision, __lll_lock_elision)
4450 (__lll_unlock_elision, __lll_trylock_elision)
4451 (lll_timedlock_elision, lll_lock_elision)
4452 (lll_unlock_elision, lll_trylock_elision): Add.
4453 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4454 (pthread_mutex_t): Add lock elision support for s390.
4455
1a2f40e5
W
44562014-05-14 Wilco <wdijkstr@arm.com>
4457
4458 * sysdeps/arm/fclrexcpt.c: Cleanup.
4459 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4460 * sysdeps/arm/feenablxcpt.c: Cleanup.
4461 * sysdeps/arm/fegetenv.c: Cleanup.
4462 * sysdeps/arm/fegetexcept.c: Cleanup.
4463 * sysdeps/arm/fegetround.c: Cleanup.
4464 * sysdeps/arm/feholdexcpt.c: Cleanup.
4465 * sysdeps/arm/fesetenv.c: Cleanup.
4466 * sysdeps/arm/fesetround.c: Cleanup.
4467 * sysdeps/arm/feupdateenv.c: Cleanup.
4468 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4469 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4470 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4471 * sysdeps/arm/ftestexcept.c: Cleanup.
4472 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4473 * sysdeps/arm/setfpucw.c: Cleanup.
4474
f63c86fe
WN
44752014-05-09 Will Newton <will.newton@linaro.org>
4476
4477 * sysdeps/arm/armv7/strcmp.S: New file.
4478 * NEWS: Mention addition of ARMv7 optimized strcmp.
4479
7a1a51b5
RM
44802014-05-08 Roland McGrath <roland@hack.frob.com>
4481
95afbbe5
RM
4482 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4483 look for %.ac rather than %.in.
4484
4485 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4486 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4487 * sysdeps/mach/hurd/configure: Regenerated.
4488 * sysdeps/unix/sysv/linux/configure: Regenerated.
4489
7a1a51b5
RM
4490 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4491
5057ad3b
SE
44922014-05-07 Steve Ellcey <sellcey@mips.com>
4493
4494 [BZ# 16922]
4495 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4496 (LONG_SUB): Ditto.
4497 (PTR_SUB): Ditto.
4498
8dc97517
AS
44992014-05-07 Andreas Schwab <schwab@suse.de>
4500
4501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4502 when skipping over non-matching result from nscd.
4503
ce0c5b8f
OB
45042014-05-07 Ondřej Bílka <neleai@seznam.cz>
4505
4506 [BZ #16876]
4507 * nptl/sockperf.c (client): Check socket return value.
8dc97517 4508
a1189263
OB
4509 [BZ #16877]
4510 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4511 nscd security class.
ce0c5b8f 4512
0f58d252
RM
45132014-05-06 Roland McGrath <roland@hack.frob.com>
4514
4515 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4516 * sysdeps/arm/unwind.h: ... here.
4517
83df9ad0
AJ
45182014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4519
ce0c5b8f
OB
4520 [BZ# 16916]
4521 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4522 Define.
83df9ad0 4523
f360f94a
VR
45242014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4525
4526 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4527 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4528 multiarch strncpy for PPC64.
4529 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4530 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4531 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4532 multiarch optimizations.
4533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4534 (__libc_ifunc_impl_list): Likewise.
4535 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4536 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4537 multiarch stpncpy for PPC64.
4538 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4539 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4540
978a41c3
AS
45412014-05-06 Andreas Schwab <schwab@suse.de>
4542
4543 [BZ #16912]
4544 * gmon/mcount.c (_MCOUNT_DECL): Use
4545 atomic_compare_and_exchange_bool_acq instead of
4546 catomic_compare_and_exchange_bool_acq.
4547
eb1ed03d
RM
45482014-05-05 Roland McGrath <roland@hack.frob.com>
4549
fe658845
RM
4550 * elf/Makefile (others, install-bin): Remove pldd.
4551 (pldd-modules): Variable removed.
4552 ($(objpfx)pldd): Target removed.
4553 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4554 (others, install-bin): Append pldd here.
4555 ($(objpfx)pldd): New target.
4556
eb1ed03d
RM
4557 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4558 to 0, so the first #if test emitted later doesn't see it undefined.
4559 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4560 * sysdeps/gnu/errlist.c: Regenerated.
4561
19c4bec0
AZ
45622014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4563
4564 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4565 [libc_hidden_builtin_def]: Define to empty value.
4566 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4567 [libc_hidden_builtin_def]: Likewise.
4568 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4569 [libc_hidden_builtin_def]: Likewise.
4570 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4571 [libc_hidden_builtin_def]: Likewise.
4572 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4573 __redirect_memcpy and define ifunc as default hidden symbol.
4574 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4575 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4576
7776e669
AC
45772014-05-04 Adam Conrad <adconrad@0c3.net>
4578
4579 * locale/iso-4217.def: Reintroduce XDR currency.
4580
d69aeb12
AM
45812014-05-04 Allan McRae <allan@archlinux.org>
4582
4583 * po/eo.po: Update Esperanto translation from translation project.
4584
8f1df5cf
CD
45852014-05-02 Carlos O'Donell <carlos@redhat.com>
4586
4587 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4588 and FEATURE_INDEX_MAX to 1.
4589 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4590
13e402e7
SE
45912014-05-01 Steve Ellcey <sellcey@mips.com>
4592
4593 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4594 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4595 * iconvdata/big5.c (ONE_DIRECTION): Define.
4596 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4597 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4598 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4599 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4600 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4601 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4602 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4603 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4604 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4605 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4606 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4607 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4608 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4609 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4610 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4611 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4612 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4613 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4614 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4615 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4616 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4617 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4618 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4619 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4620 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4621 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4622 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4623 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4624 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4625 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4626 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4627 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4628 * iconvdata/johab.c (ONE_DIRECTION): Define.
4629 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4630 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4631 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4632 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4633 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4634 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4635 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4636 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4637 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4638 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4639
c727f032
RM
46402014-05-01 Roland McGrath <roland@hack.frob.com>
4641
8f2f08d0
RM
4642 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4643 (_IO_JUMPS_OFFSET): Define to 0.
4644
c727f032
RM
4645 * nptl/sysdeps/pthread/bits/libc-lock.h
4646 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4647 (__libc_lock_define_initialized_recursive): Always define using
4648 initializer. Modern compilers treat uninitialized (implicit zero) and
4649 explicit zero initializers the same (i.e. put the datum in bss).
4650
a849e800
AS
46512014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4652
4653 * nscd/nscd-client.h: Include <string.h>.
4654
5331255b
DM
46552014-05-01 David S. Miller <davem@davemloft.net>
4656
4657 [BZ #16885]
4658 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4659 multiple zero bytes exist at the end of a string.
4660 Reported by Aurelien Jarno <aurelien@aurel32.net>
4661
4662 * string/test-strcmp.c (check): Add explicit test for situations where
4663 there are multiple zero bytes after the first.
4664
4fdfe821
AS
46652014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4666
4667 [BZ #16890]
4668 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4669 when compiling wprintf.
4670 * stdio-common/tstdiomisc.c (t3): New function.
4671 (main): Call it.
4672
0cdddc25
SE
46732014-05-01 Steve Ellcey <sellcey@mips.com>
4674
4675 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4676 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4677 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4678 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4679
6426d77e
SE
46802014-05-01 Steve Ellcey <sellcey@mips.com>
4681
4682 * stdlib/longlong.h: Updated from GCC.
4683
6d96f5e4
WN
46842014-05-01 Will Newton <will.newton@linaro.org>
4685 Bernard Ogden <bernie.ogden@linaro.org>
4686
7470db0c
WN
4687 * NEWS: Update fixed bug list.
4688
6d96f5e4
WN
4689 [BZ #15119]
4690 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4691
211d653c
DM
46922014-04-30 David S. Miller <davem@davemloft.net>
4693
4fa262fa
DM
4694 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4695 (libc_feholdexcept_setround_sparc_ctx): New function.
4696 (libc_fesetenv_sparc_ctx): Likewise.
4697 (libc_feupdateenv_sparc_ctx): Likewise.
4698 (libc_feholdsetround_sparc_ctx): Likewise.
4699 (libc_feholdexcept_setround_ctx): Define.
4700 (libc_feholdexcept_setroundf_ctx): Likewise.
4701 (libc_feholdexcept_setroundl_ctx): Likewise.
4702 (libc_fesetenv_ctx): Likewise.
4703 (libc_fesetenvf_ctx): Likewise.
4704 (libc_fesetenvl_ctx): Likewise.
4705 (libc_feupdateenv_ctx): Likewise.
4706 (libc_feupdateenvf_ctx): Likewise.
4707 (libc_feupdateenvl_ctx): Likewise.
4708 (libc_feresetround_ctx): Likewise.
4709 (libc_feresetroundf_ctx): Likewise.
4710 (libc_feresetroundl_ctx): Likewise.
4711 (libc_feholdsetround_ctx): Likewise.
4712 (libc_feholdsetroundf_ctx): Likewise.
4713 (libc_feholdsetroundl_ctx): Likewise.
4714
1d3d93ef
DM
4715 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4716 with __USE_GNU instead of XOPEN cpp guards.
4717
8aa583c3
DM
4718 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4719 0.
4720
211d653c
DM
4721 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4722 with XOPEN cpp guards.
4723
60c8f1f6
JB
47242014-04-30 Julian Brown <julian@codesourcery.com>
4725
4726 [BZ #16888]
4727 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4728 handling.
4729
9a461d46
JM
47302014-04-30 Joseph Myers <joseph@codesourcery.com>
4731
d0f5b3f8
JM
4732 [BZ #9894]
4733 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4734 Change to 2.6.32.
4735 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4736 * sysdeps/unix/sysv/linux/configure: Regenerated.
4737 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4738 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4739 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4740 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4741 * README: Update reference to required Linux kernel version.
4742 * manual/install.texi (Linux): Update reference to required Linux
4743 kernel headers version.
4744 * INSTALL: Regenerated.
4745
9a461d46
JM
4746 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4747 header inclusion.
4748 [POSIX] (limits.h): Likewise.
4749 [POSIX] (math.h): Likewise.
4750 [POSIX] (sys/wait.h): Likewise.
4751 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4752 function.
4753 [POSIX] (stddef.h): Do not allow header inclusion.
4754
1775babf
AZ
47552014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4756
57f41c40 4757 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 4758
8f630cca
YY
47592014-04-30 Yang Yingliang <yangyingliang@huawei.com>
4760
4761 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4762 Return immediately after lll_futex_wake.
4763
1cdeb237
SP
47642014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4765
bc8f194c
SP
4766 [BZ #16791]
4767 * nscd/nscd-client.h (datahead_init_common): Initialize entire
4768 structure.
4769 (datahead_init_pos): Call datahead_init_common early.
4770 (datahead_init_neg): Likewise.
4771
1cdeb237
SP
4772 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4773 datahead_init_neg): New functions.
4774 * nscd/aicache.c (addhstaiX): Use them.
4775 * nscd/grpcache.c (cache_addgr): Likewise.
4776 * nscd/hstcache.c (cache_addhst): Likewise.
4777 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4778 * nscd/netgroupcache.c (do_notfound): Likewise.
4779 (addgetnetgrentX): Likewise.
4780 (addinnetgrX): Likewise.
4781 * nscd/pwdcache.c (cache_addpw): Likewise.
4782 * nscd/servicescache.c (cache_addserv): Likewise.
4783
16b293a7
SP
47842014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4785 Atsushi Onoe <atsushi@onoe.org>
4786
4787 [BZ #14308]
4788 [BZ #12994]
4789 [BZ #13651]
4790 * resolv/res_query.c (__libc_res_nsearch): Return if at least
4791 one response is valid.
4792 * resolv/res_send.c (send_dg): Check for validity of other
4793 response if the current response is a referral.
4794
a28a9b94
SE
47952014-04-29 Steve Ellcey <sellcey@mips.com>
4796
4797 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4798
2ca180e9
SL
47992014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4800
4801 [BZ #16823]
4802 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4803 Always divide by positive zero when computing -Inf result.
4804 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4805 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4806
18f2945a
AZ
48072014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4808
4809 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4810 FPSCR if value do not change.
4811 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4812 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4813 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4814 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4815 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4816 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4817 function.
4818
5abebba4
CD
48192014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4820
4821 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4822 * sysdeps/unix/sysv/linux/hppa: Move directory from
4823 ports/systeps/unix/sysv/linux/hppa.
4824 * README: Update listing for hppa-*-linux-gnu.
4825
f7ed60c2
OB
48262014-04-28 Ondřej Bílka <neleai@seznam.cz>
4827
fff763a5
OB
4828 [BZ #16754]
4829 * manual/stdio.texi (Hook functions): Fix types of stream hook
4830 functions.
f7ed60c2
OB
4831 [BZ #16854]
4832 * socket/sys/socket.h: Fix typo in comment.
4833
df639d73
WD
48342014-04-28 Wilco <wdijkstr@arm.com>
4835
f7ed60c2 4836 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
4837 * sysdeps/arm/math_private.h: New file.
4838 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4839
48332d82
L
48402014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4841
4842 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4843 with __int128_t.
4844 (La_x86_64_retval): Likewise.
4845
e5e0d9a4
IB
48462014-04-24 Ian Bolton <ian.bolton@arm.com>
4847
4848 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4849 fpsr if value didn't change.
4850 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4851 to fpcr if value didn't change.
4852 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4853 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4854 fpsr or fpcr if value didn't change.
4855 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4856 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4857 fpcr if value didn't change.
4858 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4859 to fpsr if value didn't change.
4860
bacc75f7
SP
48612014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4862
4863 * nptl/tst-sem3.c: Use test-skeleton.c
4864 (main): Rename to do_test. Use return instead of
4865 exit.
4866 * nptl/tst-sem4.c: Use test-skeleton.c
4867 (main): Rename to do_test.
4868
a059d359
DM
48692014-04-22 David S. Miller <davem@davemloft.net>
4870
4871 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4872 (struct sigaction): New struct member __glibc_reserved0, change
4873 type of sa_flags to int.
4874
ea6c92f3
YZ
48752014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4876
4877 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4878 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4879
766c4a36
SP
48802014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4881
4882 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4883 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4884
140cc7ab
VK
48852014-04-22 Will Newton <will.newton@linaro.org>
4886 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4887
4888 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4889 (__longjmp): Add longjmp and longjmp_target SystemTap
4890 probes.
4891 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4892 (__sigsetjmp): Add setjmp SystemTap probe.
4893
c54e5cf7
CD
48942014-04-17 Carlos O'Donell <carlos@redhat.com>
4895
4896 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4897 match manual order.
4898
75ffb047
AZ
48992014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4900
4901 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4902
2cd925f7
AZ
4903 * sysdeps/powerpc/fpu/fenv_private.h
4904 (libc_feholdexcept_setroundl_ctx): Define to
4905 libc_feholdexcept_setround_ppc_ctx.
4906 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4907 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4908 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4909 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4910
39e6cd8d
IB
49112014-04-17 Ian Bolton <ian.bolton@arm.com>
4912
4913 * sysdeps/aarch64/math-tests.h: New file.
4914
f9281df9
SY
49152014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4916
4917 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4918 New.
4919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4920 Check and set bit_AVX2_Usable.
4921 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4922 macro.
4923 (bit_AVX2): Likewise.
4924 (index_AVX2_Usable): Likewise.
4925 (CPUID_AVX2): Likewise.
4926 (HAS_AVX2): Likewise.
4927
37d35007
WN
49282014-04-17 Will Newton <will.newton@linaro.org>
4929
7c677662
WN
4930 * manual/setjmp.texi (System V contexts): Add note that
4931 calling setcontext on a context created by a call to a
4932 signal handler is undefined. Update text to note that
4933 setcontext from a signal handler is possible but not
4934 recommended.
4935
37d35007 4936 [BZ #16629]
e04a4e9d
WN
4937 * stdlib/tst-setcontext.c: Include signal.h.
4938 (main): Check that the signal stack before and
4939 after swapcontext is the same.
4940
37d35007
WN
4941 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4942 Re-implement to restore registers in user code and avoid
4943 rt_sigreturn system call.
4944
423a7160
W
49452014-04-17 Wilco <wdijkstr@arm.com>
4946
4947 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4948 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4949 * math/test-fenv.c: Skip exception trap tests on targets which only
4950 support non-stop mode.
4951
bc93ab29
IB
49522014-04-17 Ian Bolton <ian.bolton@arm.com>
4953 Wilco Dijkstra <wilco.dijkstra@arm.com>
4954
4955 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4956 (libc_feholdsetround_aarch64_ctx)
4957 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4958 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4959 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4960 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4961 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4962 (libc_feresetround_noexl_ctx): Define.
4963
95fc5fa3
RH
49642014-04-16 Richard Henderson <rth@redhat.com>
4965
ddb04724
RH
4966 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4967
d77c0899
RH
4968 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4969 unwind tables.
4970
a3df56fc
RH
4971 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4972 const from the non-libc, non-ldso copy.
4973
95fc5fa3
RH
4974 * sysdeps/alpha/libm-test-ulps: Regenerate.
4975
7e0b6763
IB
49762014-04-16 Ian Bolton <ian.bolton@arm.com>
4977 Wilco Dijkstra <wilco.dijkstra@arm.com>
4978
4979 * sysdeps/aarch64/fpu/math_private.h: New file.
4980
a9ea2e0c
MS
49812014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4982
4983 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4984
ea8ba7cd
IZ
49852014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4986
4987 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4988 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4989 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4990 Intel MPX bound registers before _dl_profile_fixup.
4991 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4992 registers after _dl_profile_fixup. Save and restore bound
4993 registers bnd0/bnd1 when calling _dl_call_pltexit.
4994 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4995 (LR_BND_OFFSET): Likewise.
4996 (LRV_BND0_OFFSET): Likewise.
4997 (LRV_BND1_OFFSET): Likewise.
4998
9f2a4fbc
ST
49992014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5000
5001 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5002 to...
5003 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
5004 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5005 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5006 fields.
9f2a4fbc 5007
fd15a59b
ST
50082014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5009
5010 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5011
f19dfa0a
SL
50122014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5013
5014 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5015
4fa8bc3b
SL
50162014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5017
5018 [BZ #14770]
5019 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5020 * sysdeps/s390/configure: Regenerate.
5021
8ea587db
SL
5022 [BZ #16824]
5023 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5024 Set round-to-nearest internally to reduce error accumulation.
5025
aa5f0ff1
AM
50262014-04-16 Alan Modra <amodra@gmail.com>
5027
5028 [BZ #16740]
5029 [BZ #16619]
5030 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5031 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 5032 * NEWS: Update fixed bug list.
aa5f0ff1 5033
bb9c256f
SP
50342014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5035
5036 * benchtests/Makefile: Depend on libraries in build directory.
5037 (bench-math): Separate out math tests.
5038 (bench-pthread): Separate out pthread tests.
5039 (bench): Include math and pthread tests.
5040
f737dfd0
CD
50412014-04-14 Carlos O'Donell <carlos@redhat.com>
5042
5043 [BZ #16831]
5044 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5045 _dl_debug_initialize.
5046
0699f766
CD
5047 * configure.ac: Remove SELinux header check.
5048 * configure: Regenerate.
5049 * nscd/selinux.c (perms): Array of const char* to permission names.
5050 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5051 default policy. Call string_to_security_class and string_to_av_perm to
5052 translate strings. Enforce default policy and call avs_has_perm with
5053 results of translated strings.
5054
809bd45f
DM
50552014-04-13 David S. Miller <davem@davemloft.net>
5056
5057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5058
89e691f2
AM
50592014-04-12 Allan McRae <allan@archlinux.org>
5060
5061 [BZ #16838]
5062 * manual/string.texi (Collation Functions): Fix qsort argument
5063 order in example.
5064 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5065
9c9daaeb
CM
50662014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5067
5068 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5069 Make the test a no-op if there are no exceptions defined.
5070
95561fb9
PP
50712014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5072
fe8d072c 5073 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
5074 enable-hardcoded-path-in-tests
5075
970c602a
WN
50762014-04-11 Will Newton <will.newton@linaro.org>
5077
5078 * benchtests/Makefile (extra-objs): Add json-lib.o.
5079 (bench-func): Tidy up JSON output.
5080 * benchtests/bench-skeleton.c: Include json-lib.h.
5081 (main): Use JSON library functions to do output of
5082 benchmark results.
5083 * benchtests/bench-timing-type.c (main): Output the
5084 timing type simply, leaving formatting to the user.
5085 * benchtests/json-lib.c: New file.
5086 * benchtests/json-lib.h: Likewise.
5087
36875b06
TR
50882014-04-11 Torvald Riegel <triegel@redhat.com>
5089
5090 [BZ #15215]
5091 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5092 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5093 memory barriers. Add comments.
5094 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5095 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5096 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5097 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5098 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5099 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5100
579db35a
SL
51012014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5102
5103 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5104 * sysdeps/s390/s390-64/configure.ac: ... this ...
5105 * sysdeps/s390/configure.ac: ... to here.
5106 * sysdeps/s390/s390-32/configure: Delete file.
5107 * sysdeps/s390/s390-64/configure: Delete file.
5108 * sysdeps/s390/configure: Regenerate.
5109
c12e9f37
JAPH
51102014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5111
5112 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5113
439bda32
WN
51142014-04-11 Will Newton <will.newton@linaro.org>
5115
5116 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5117 to zero if it is not defined elsewhere. (mtrim): Test
5118 the value of MALLOC_DEBUG with #if rather than #ifdef.
5119
6a5d6ea1
TR
51202014-04-10 Torvald Riegel <triegel@redhat.com>
5121
5122 * benchtests/pthread_once-inputs: New file.
5123 * benchtests/pthread_once-source.c: New file.
5124 * benchtests/README: Update documentation.
5125
a4c75cfd
IZ
51262014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5127 H.J. Lu <hongjiu.lu@intel.com>
5128
5129 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5130 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5131 * sysdeps/x86_64/configure: Regenerated.
5132 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5133 macro.
5134 (REGISTER_SAVE_RAX): Likewise.
5135 (REGISTER_SAVE_RCX): Likewise.
5136 (REGISTER_SAVE_RDX): Likewise.
5137 (REGISTER_SAVE_RSI): Likewise.
5138 (REGISTER_SAVE_RDI): Likewise.
5139 (REGISTER_SAVE_R8): Likewise.
5140 (REGISTER_SAVE_R9): Likewise.
5141 (REGISTER_SAVE_BND0): Likewise.
5142 (REGISTER_SAVE_BND1): Likewise.
5143 (REGISTER_SAVE_BND2): Likewise.
5144 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5145 bound registers when calling _dl_fixup.
5146
27822ce6
AZ
51472014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5148
5149 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
5150 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5151 of its definition.
27822ce6
AZ
5152 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5153 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5154 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5155 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5156 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5157 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5158 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5159
a88ddc90
PTB
51602014-04-09 Peter Brett <peter@peter-b.co.uk>
5161
5162 [BZ #15514]
5163 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5164 pathconf(_PC_NAME_MAX).
5165
01f8eac2
AZ
51662014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5167
5168 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5169 Remove macro usage.
5170 (__PTHREAD_SPINS): Move definition to ...
5171 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5172 (__PTHREAD_SPINS): ... here.
5173 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5174 (__PTHREAD_SPIN): Likewise.
5175 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5176 (__PTHREAD_SPIN): Likewise.
5177 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5178 (__PTHREAD_SPIN): Likewise.
5179 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5180 (__PTHREAD_SPIN): Likewise.
5181 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5182 (__PTHREAD_SPIN): Likewise.
5183 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5184 (__PTHREAD_SPIN): Likewise.
5185 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5186 (__PTHREAD_SPIN): Likewise.
5187 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5188 (__PTHREAD_SPIN): Likewise.
5189 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5190 (__PTHREAD_SPIN): Likewise.
5191 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5192 (__PTHREAD_SPIN): Likewise.
5193 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5194 (__PTHREAD_SPIN): Likewise.
5195 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5196 (__PTHREAD_SPIN): Likewise.
5197
de21c33c
AZ
5198 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5199 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5200 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5201 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5202 imply folder.
5203 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5204 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5205 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5206 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5207 correct imply path.
5208 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5209 strlen symbol for non multi-arch builds.
5210 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5211 missing hidden_def and weak_alias.
5212
862c472e
CD
52132014-04-08 Carlos O'Donell <carlos@redhat.com>
5214
5215 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5216
8667f90e
WN
52172014-04-07 Will Newton <will.newton@linaro.org>
5218
5219 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5220 and contents. [!_LIBC] Remove #ifndef and contents.
5221 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5222 * string/memccpy.c (__memccpy): Use ANSI prototype.
5223 * string/memfrob.c (memfrob): Likewise.
5224 * string/strcoll.c (STRCOLL): Likewise.
5225 * string/strlen.c (strlen): Likewise.
5226 * string/strtok.c (STRTOK): Likewise.
5227 * string/strcat.c: Remove unused #include of memcopy.h.
5228 (strcat): Use ANSI prototype.
5229 * string/strchr.c: Remove unused #include of memcopy.h.
5230 (strchr): Use ANSI prototype.
5231 * string/strcmp.c: Remove unused #include of memcopy.h.
5232 (strcmp): Use ANSI prototype.
5233 * string/strcpy.c: Remove unused #include of memcopy.h.
5234 (strcpy): Use ANSI prototype.
5235
7ffa9423
AZ
52362014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5237
5238 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5239 * config.make.in (config-extra-cppflags): Set it from
5240 libc_extra_cppflags.
5241 * configure.ac (libc_extra_cflags): Make it accumulate over
5242 configure fragments.
5243 (libc_extra_cppflags): New flag.
5244 * configure. Regenerate.
5245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
5246 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5247 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
5248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5249
8bd70862
AZ
5250 [BZ #16815]
5251 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5252 result for FE_DOWNWARD rounding mode.
5253 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5254 Likewise.
5255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5256
d42f3448
CM
52572014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5258
5259 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5260 in function argument name.
5261
1c21d115
DS
52622014-04-03 David Svoboda <svoboda@cert.org>
5263
5264 [BZ #5666]
5265 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5266 explicitly.
5267
fcccd512
RM
52682014-04-03 Roland McGrath <roland@hack.frob.com>
5269
5270 * elf/dl-unmap-segments.h: New file.
5271 * sysdeps/generic/ldsodefs.h
5272 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5273 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5274 * elf/dl-fptr.c: Likewise.
5275 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5276 * sysdeps/aarch64/tlsdesc.c: Likewise.
5277 * sysdeps/arm/tlsdesc.c: Likewise.
5278 * sysdeps/i386/tlsdesc.c: Likewise.
5279 * sysdeps/tile/dl-runtime.c: Likewise.
5280 * sysdeps/x86_64/tlsdesc.c: Likewise.
5281 * elf/dl-load.h: New file.
5282 * elf/dl-load.c: Include it.
5283 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5284 Macros moved to dl-load.h.
5285 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5286 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5287 Use _dl_unmap_segments in place of __munmap.
5288 Break out segment-mapping loop into ...
5289 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5290
f6488e2b
WN
52912014-04-03 Will Newton <will.newton@linaro.org>
5292
5293 * elf/dl-lookup.c (do_lookup_x): Remove comment
5294 referring to nested function and move variable
5295 declarations down to before first use.
5296
6f05bafe
JM
52972014-04-02 Joseph Myers <joseph@codesourcery.com>
5298
a84e78c8
JM
5299 [BZ #16799]
5300 [BZ #16800]
5301 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5302 with 0 numerator.
5303 * math/s_catanf.c (__catanf): Likewise.
5304 * math/s_catanh.c (__catanh): Likewise.
5305 * math/s_catanhf.c (__catanhf): Likewise.
5306 * math/s_catanhl.c (__catanhl): Likewise.
5307 * math/s_catanl.c (__catanl): Likewise.
5308 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5309 by positive zero when computing -Inf result.
5310 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5311 (catanh_test): Likewise.
5312 * sysdeps/i386/fpu/libm-test-ulps: Update.
5313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5314
6f05bafe
JM
5315 [BZ #16789]
5316 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5317 instead of using underflowing value in computing result.
5318 * math/s_clog10.c (__clog10): Likewise.
5319 * math/s_clog10f.c (__clog10f): Likewise.
5320 * math/s_clog10l.c (__clog10l): Likewise.
5321 * math/s_clogf.c (__clogf): Likewise.
5322 * math/s_clogl.c (__clogl): Likewise.
5323 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5324 (clog10_test): Likewise.
5325 * sysdeps/i386/fpu/libm-test-ulps: Update.
5326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5327
b0abbc21
AM
53282014-04-02 Alan Modra <amodra@gmail.com>
5329
5330 [BZ #16739]
5331 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5332 output when value is near a power of two. Use int64_t for lx and
5333 remove casts. Use decimal rather than hex exponent constants.
5334 Don't use long double multiplication when double will suffice.
5335 * math/libm-test.inc (nextafter_test_data): Add tests.
5336 * NEWS: Add 16739 and 16786 to bug list.
5337
af6b1797
AM
5338 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5339
483818d7
AM
5340 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5341
f6c55796
WN
53422014-04-01 Will Newton <will.newton@linaro.org>
5343
5344 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5345 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5346
13f7fe35
FW
53472014-04-01 Florian Weimer <fweimer@redhat.com>
5348
5349 [BZ #13347]
5350 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5351 * nptl/tst-setuid2.c: New file.
5352 * nptl/Makefile (xtests): Add tst-setuid2.
5353
c859b32e
AM
53542014-04-01 Alan Modra <amodra@gmail.com>
5355
5356 [BZ #16786]
5357 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5358
54fa2475
JM
53592014-03-31 Joseph Myers <joseph@codesourcery.com>
5360
8795b4a4
JM
5361 [BZ #6803]
5362 [BZ #6804]
5363 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5364 set errno as appropriate.
5365 * math/w_scalbf.c (__scalbf): Likewise.
5366 * math/w_scalbl.c (__scalbl): Likewise.
5367 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5368 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5369 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5370 Add more NaN tests.
5371
54fa2475
JM
5372 [BZ #16349]
5373 * math/w_atan2.c: Include <errno.h>.
5374 (__atan2): Set errno for result underflowing to zero.
5375 * math/w_atan2f.c: Include <errno.h>.
5376 (__atan2f): Set errno for result underflowing to zero.
5377 * math/w_atan2l.c: Include <errno.h>.
5378 (__atan2l): Set errno for result underflowing to zero.
5379 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5380 tests.
5381 * math/auto-libm-test-out: Regenerated.
5382
757d9dd5
AZ
53832014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5384
5385 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5386 Encode instruction correctly in little endian.
5387 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5388 Likewise.
5389 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5390 Likewise.
5391 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5392 Likewise.
5393 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5394 Likewise.
5395
d7a68734
JM
53962014-03-31 Joseph Myers <joseph@codesourcery.com>
5397
47c5adeb
JM
5398 [BZ #9894]
5399 * sysdeps/unix/sysv/linux/kernel-features.h
5400 [__sparc__ && !__arch64__ && !__sparc_v9__]
5401 (__ASSUME_SET_ROBUST_LIST): Do not define.
5402 [__sparc__ && !__arch64__ && !__sparc_v9__]
5403 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5404 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5405 Likewise.
5406 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5407 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5408 (__ASSUME_REQUEUE_PI): Likewise.
5409 (__ASSUME_SET_ROBUST_LIST): Likewise.
5410 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5411 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5412 Undefine.
5413 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5414 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5415 Likewise.
5416 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5417 Likewise.
5418 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5419 Likewise.
5420 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5421 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5422 Undefine.
5423 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5424 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5425 Likewise.
5426
d7a68734
JM
5427 [BZ #16648]
5428 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5429 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5430 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5431
c760f5c2
WN
54322014-03-31 Will Newton <will.newton@linaro.org>
5433
5434 * benchtests/Makefile (bench): Add ffs and ffsll to list
5435 of tests.
5436 * benchtests/ffs-inputs: New file.
5437 * benchtests/ffsll-inputs: Likewise.
5438
ea6029b1
JM
54392014-03-29 Joseph Myers <joseph@codesourcery.com>
5440
5441 [BZ #16770]
5442 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5443 too large before casting to int.
5444 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5445 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5446 * math/libm-test.inc (scalb_test_data): Add more tests.
5447
cf806aff
SP
54482014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5449
56737508
SP
5450 * benchtests/Makefile (DETAILED_OPT): New make option.
5451 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5452 set.
5453 * benchtests/bench-skeleton.c: Include stdbool.h.
5454 (main): Store and print timings per input.
5455 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5456 member to each argument value.
5457 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5458 (_print_arg_data): Initialize per-input timing to 0.
5459
cb5e4aad
SP
5460 * benchtests/Makefile (timing-type): New binary.
5461 (bench-clean): Also remove bench-timing-type.
5462 (bench): New target for timing-type.
5463 (bench-func): Print output in JSON format.
5464 * benchtests/bench-skeleton.c (main): Print output in JSON
5465 format.
5466 * benchtests/bench-timing-type.c: New file.
5467 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5468 (TIMING_PRINT_STATS): Remove.
5469 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5470 name separately.
5471
cf806aff
SP
5472 * benchtests/bench-modf.c: Remove.
5473 * benchtests/modf-inputs: New inputs file.
5474
289e0779
JM
54752014-03-28 Joseph Myers <joseph@codesourcery.com>
5476
5477 [BZ #16362]
5478 * math/s_clog10.c (M_PI_LOG10E): New macro.
5479 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5480 imaginary parts are 0.
5481 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5482 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5483 imaginary parts are 0.
5484 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5485 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5486 imaginary parts are 0.
5487 * math/libm-test.inc (clog10_test_data): Update expected results
5488 for when real and imaginary parts are 0.
5489
277ae3f1
PP
54902014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5491
5492 * elf/dl-load.c: Finish conversion of __builtin_expect into
5493 __glibc_{un}likely.
5494
03a7091f
JM
54952014-03-27 Joseph Myers <joseph@codesourcery.com>
5496
5497 [BZ #16348]
5498 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5499 1+x for argument with exponent below -67.
5500 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5501 Likewise.
5502 * math/auto-libm-test-in: Add more tests of exp.
5503 * math/auto-libm-test-out: Regenerated.
5504
ea7d8b95
SP
55052014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5506
dd3022d7
SP
5507 [BZ #16759]
5508 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5509 (nscd_getnetgrent): Use it.
5510
ea7d8b95
SP
5511 [BZ #16760]
5512 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5513 of stpcpy.
5514
df5b85da
AK
55152014-03-27 Andi Kleen <ak@linux.intel.com>
5516
57f41c40
AS
5517 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5518 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5519 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5520 (lll_robust_unlock): Remove out of line section. Use cfi
5521 intrinsics.
df5b85da 5522 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
5523 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5524 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5525 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5526 (lll_robust_unlock): Remove out of line section. Use cfi
5527 intrinsics.
df5b85da
AK
5528 (LLL_STUB_UNWIND_INFO*): Remove.
5529
fbd6b5a4
SP
55302014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5531
5532 [BZ #16758]
5533 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5534 blank values.
5535
1b26b855
PP
55362014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5537
5538 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5539
9be36fb8
JM
55402014-03-26 Joseph Myers <joseph@codesourcery.com>
5541
5542 [BZ #16198]
5543 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5544 fnstenv.
5545 * math/test-fenv-preserve.c: New file.
5546 * math/Makefile (tests): Add test-fenv-preserve.
5547
60a2f3c1
WN
55482014-03-26 Will Newton <will.newton@linaro.org>
5549
5550 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5551
a5e5f1e2
RM
55522014-03-25 Roland McGrath <roland@hack.frob.com>
5553
5554 * scripts/versionlist.awk: Partition the version sets and emit all
5555 GLIBC_* (sorted) before all others (sorted).
5556
00f4012a
JM
55572014-03-25 Joseph Myers <joseph@codesourcery.com>
5558
5559 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5560 GLIBC_2.2.5 version.
5561
7bc5a741
AZ
55622014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5563
5564 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5565 calls.
5566
7578473b
AZ
5567 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5568 previous change.
5569
f3f1dab3
AZ
5570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5571
6da36183
AS
55722014-03-25 Andreas Schwab <schwab@suse.de>
5573
5574 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5575 label to be used after in6ailist is initialized.
5576
f3f1dab3 55772014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 5578
7578473b 5579 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
5580 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5581
046651c1
JM
55822014-03-25 Joseph Myers <joseph@codesourcery.com>
5583
5584 [BZ #16357]
5585 [BZ #16599]
5586 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5587 min_plus_half.
5588 (fp_formats): Update initializers.
5589 (init_fp_formats): Initialize new field.
5590 (output_for_one_input_case): Allow underflow for results up to
5591 min_plus_half.
5592 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5593 * math/auto-libm-test-in: Don't mark some underflows from asin and
5594 atanh as spurious.
5595 * math/auto-libm-test-out: Regenerated.
5596 * sysdeps/i386/fpu/libm-test-ulps: Update.
5597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5598
003e49ed
AS
55992014-03-25 Andreas Schwab <schwab@suse.de>
5600
5601 * libio/Makefile (tst-ftell-partial-wide-ENV)
5602 (tst-ftell-active-handler-ENV): Define.
5603
de031874
SL
56042014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5605
5606 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5607
55a81e3b
PP
56082014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5609
5610 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5611
f3426898
JM
56122014-03-24 Joseph Myers <joseph@codesourcery.com>
5613
5614 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5615 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5616 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5617
a42faf59
PP
56182014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5619
5620 [BZ #16634]
a42faf59 5621 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
5622 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5623 (open_path): Change from boolean 'secure' to complete flag 'mode'
5624 (_dl_map_object): Adjust.
a42faf59
PP
5625 * elf/Makefile (tests): Add tst-dlopen-aout.
5626 * elf/tst-dlopen-aout.c: New test.
5627
50936127
SL
56282014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5629
5630 [BZ #16714]
5631 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5632 (struct stat): Rename member pad0 to __glibc_reserved0.
5633
26011b5c
SL
5634 [BZ #16712]
5635 * sysdeps/s390/s390-32/bits/wordsize.h
5636 (__WORDSIZE32_SIZE_ULONG): New define.
5637 * sysdeps/s390/s390-64/bits/wordsize.h
5638 (__WORDSIZE32_SIZE_ULONG): Likewise.
5639 * sysdeps/generic/stdint.h (SIZE_MAX):
5640 Define as UL if __WORDSIZE32_SIZE_ULONG.
5641
a2d86bf1
SL
5642 [BZ #16713]
5643 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5644 (__glibc_reserved0): New variable.
5645 (sa_flags): Change type to int.
5646
78b6eebc
SL
5647 * posix/Makefile (before-compile): Use += before-compile instead
5648 of a :=.
5649
f1399b5a
SL
5650 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5651 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5652
a071766e
AS
56532014-03-20 Andreas Schwab <schwab@suse.de>
5654
5655 [BZ #16743]
5656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5657 non-matching result from nscd.
5658
27c673b8
SP
56592014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5660
5661 * scripts/bench.py: Moved to ...
5662 * benchtests/scripts/bench.py: ... here.
5663 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5664
44152e4b
AS
56652014-03-24 Andreas Schwab <schwab@suse.de>
5666
5667 [BZ #16002]
5668 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5669 alloca_account and account alloca use for struct in6ailist.
5670
b376a11a
JM
56712014-03-24 Joseph Myers <joseph@codesourcery.com>
5672
5673 [BZ #16284]
5674 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5675 rounding mode to recompute results that overflow to infinity or
5676 underflow to zero.
5677 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5678 bug 16284.
5679 * math/auto-libm-test-out: Regenerated.
5680 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5681 (ccosh_test): Likewise.
5682 (csin_test_data): Use plus_oflow.
5683 (csin_test): Use ALL_RM_TEST.
5684 (csinh_test_data): Use plus_oflow.
5685 (csinh_test): Use ALL_RM_TEST.
5686 * sysdeps/i386/fpu/libm-test-ulps: Update.
5687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5688
f7be7376
JM
56892014-03-21 Joseph Myers <joseph@codesourcery.com>
5690
1ca2d03e
JM
5691 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5692 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5693 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5694
f7be7376
JM
5695 [BZ #16731]
5696 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5697 when x - 1 is zero.
5698 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5699 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5700 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5702 argument is 1.
5703 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5704 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5705 zero.
5706 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5707 * sysdeps/i386/fpu/libm-test-ulps: Update.
5708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5709
fdf4534d
SP
57102014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5711
df26ea53
SP
5712 * scripts/bench.pl: Remove file.
5713 * scripts/bench.py: New benchmark script.
5714 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5715 * benchtests/README: Mention python dependency.
5716 * scripts/pylintrc: New file.
5717 * scripts/pylint: New file.
5718
fdf4534d
SP
5719 * bits/mathdef.h: Use #ifdef instead of #if.
5720 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5721 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5722 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5723 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5724 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5725 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5726
6f23d093
AZ
57272014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5728 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5729
5730 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5732 and strpbrk-ppc64 objects.
5733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5734 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5735 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5736 multiarch strpbrk for POWER7.
5737 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5738 multiarch strpbrk for PPC64.
5739 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5740 ifunc selector.
5741 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5742 strpbrk for POWER7.
5743
8c92dfff
JM
57442014-03-20 Joseph Myers <joseph@codesourcery.com>
5745
5746 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5747 (atan_test): Likewise.
5748 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5749 (atanh_test): Use ALL_RM_TEST.
5750 (atan2_test_data): Likewise.
5751 (cabs_test): Likewise.
5752 (cacosh_test): Likewise.
5753 (carg_test): Likewise.
5754 (casin_test): Likewise.
5755 (casinh_test): Likewise.
5756 (cbrt_test): Likewise.
5757 (csqrt_test): Likewise.
5758 (erf_test): Likewise.
5759 (erfc_test): Likewise.
5760 (pow10_test): Likewise.
5761 (exp2_test): Likewise.
5762 (hypot_test): Likewise.
5763 (j0_test): Likewise.
5764 (j1_test): Likewise.
5765 (lgamma_test): Likewise.
5766 (gamma_test): Likewise.
5767 (sincos_test): Likewise.
5768 (tanh_test): Likewise.
5769 (y0_test): Likewise.
5770 (y1_test): Likewise.
5771 * sysdeps/i386/fpu/libm-test-ulps: Update.
5772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5773
6eaf95cb
AZ
57742014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5775
a387428c
SP
5776 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
5778 and strcspn-ppc64 objects.
5779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5780 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5781 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5782 multiarch strcspn for POWER7.
5783 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5784 multiarch strcspn for PPC64.
5785 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5786 ifunc selector.
5787 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5788 strcspn for POWER7.
5789
ae3a5dff
JM
57902014-03-20 Joseph Myers <joseph@codesourcery.com>
5791
5792 * math/gen-libm-test.pl (generate_testfile): Expect only function
5793 name as argument to AUTO_TESTS_* and pass results for all rounding
5794 modes to parse_args.
5795 (parse_auto_input): Separate inputs of automatic tests from
5796 outputs before storing in %auto_tests.
5797 * math/libm-test.inc (acos_test_data): Update call to
5798 AUTO_TESTS_f_f.
5799 (acos_test): Use ALL_RM_TEST.
5800 (acos_tonearest_test_data): Remove.
5801 (acos_test_tonearest): Likewise.
5802 (acos_towardzero_test_data): Likewise.
5803 (acos_test_towardzero): Likewise.
5804 (acos_downward_test_data): Likewise.
5805 (acos_test_downward): Likewise.
5806 (acos_upward_test_data): Likewise.
5807 (acos_test_upward): Likewise.
5808 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5809 (asin_test_data): Likewise.
5810 (asin_test): Use ALL_RM_TEST.
5811 (asin_tonearest_test_data): Remove.
5812 (asin_test_tonearest): Likewise.
5813 (asin_towardzero_test_data): Likewise.
5814 (asin_test_towardzero): Likewise.
5815 (asin_downward_test_data): Likewise.
5816 (asin_test_downward): Likewise.
5817 (asin_upward_test_data): Likewise.
5818 (asin_test_upward): Likewise.
5819 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5820 (atan_test_data): Likewise.
5821 (atanh_test_data): Likewise.
5822 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5823 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5824 (carg_test_data): Likewise.
5825 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5826 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5827 (ccosh_test_data): Likewise.
5828 (cexp_test_data): Likewise.
5829 (clog_test_data): Likewise.
5830 (clog10_test_data): Likewise.
5831 (cos_test_data): Update call to AUTO_TESTS_f_f.
5832 (cos_test): Use ALL_RM_TEST.
5833 (cos_tonearest_test_data): Remove.
5834 (cos_test_tonearest): Likewise.
5835 (cos_towardzero_test_data): Likewise.
5836 (cos_test_towardzero): Likewise.
5837 (cos_downward_test_data): Likewise.
5838 (cos_test_downward): Likewise.
5839 (cos_upward_test_data): Likewise.
5840 (cos_test_upward): Likewise.
5841 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5842 (cosh_test): Use ALL_RM_TEST.
5843 (cosh_tonearest_test_data): Remove.
5844 (cosh_test_tonearest): Likewise.
5845 (cosh_towardzero_test_data): Likewise.
5846 (cosh_test_towardzero): Likewise.
5847 (cosh_downward_test_data): Likewise.
5848 (cosh_test_downward): Likewise.
5849 (cosh_upward_test_data): Likewise.
5850 (cosh_test_upward): Likewise.
5851 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5852 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5853 (ctan_test_data): Likewise.
5854 (ctan_test): Use ALL_RM_TEST.
5855 (ctan_tonearest_test_data): Remove.
5856 (ctan_test_tonearest): Likewise.
5857 (ctan_towardzero_test_data): Likewise.
5858 (ctan_test_towardzero): Likewise.
5859 (ctan_downward_test_data): Likewise.
5860 (ctan_test_downward): Likewise.
5861 (ctan_upward_test_data): Likewise.
5862 (ctan_test_upward): Likewise.
5863 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5864 (ctanh_test): Use ALL_RM_TEST.
5865 (ctanh_tonearest_test_data): Remove.
5866 (ctanh_test_tonearest): Likewise.
5867 (ctanh_towardzero_test_data): Likewise.
5868 (ctanh_test_towardzero): Likewise.
5869 (ctanh_downward_test_data): Likewise.
5870 (ctanh_test_downward): Likewise.
5871 (ctanh_upward_test_data): Likewise.
5872 (ctanh_test_upward): Likewise.
5873 (erf_test_data): Update call to AUTO_TESTS_f_f.
5874 (erfc_test_data): Likewise.
5875 (exp_test_data): Likewise.
5876 (exp_test): Use ALL_RM_TEST.
5877 (exp_tonearest_test_data): Remove.
5878 (exp_test_tonearest): Likewise.
5879 (exp_towardzero_test_data): Likewise.
5880 (exp_test_towardzero): Likewise.
5881 (exp_downward_test_data): Likewise.
5882 (exp_test_downward): Likewise.
5883 (exp_upward_test_data): Likewise.
5884 (exp_test_upward): Likewise.
5885 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5886 (exp10_test): Use ALL_RM_TEST.
5887 (exp10_tonearest_test_data): Remove.
5888 (exp10_test_tonearest): Likewise.
5889 (exp10_towardzero_test_data): Likewise.
5890 (exp10_test_towardzero): Likewise.
5891 (exp10_downward_test_data): Likewise.
5892 (exp10_test_downward): Likewise.
5893 (exp10_upward_test_data): Likewise.
5894 (exp10_test_upward): Likewise.
5895 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5896 (expm1_test_data): Likewise.
5897 (expm1_test): Use ALL_RM_TEST.
5898 (expm1_tonearest_test_data): Remove.
5899 (expm1_test_tonearest): Likewise.
5900 (expm1_towardzero_test_data): Likewise.
5901 (expm1_test_towardzero): Likewise.
5902 (expm1_downward_test_data): Likewise.
5903 (expm1_test_downward): Likewise.
5904 (expm1_upward_test_data): Likewise.
5905 (expm1_test_upward): Likewise.
5906 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5907 (fma_test): Use ALL_RM_TEST.
5908 (fma_towardzero_test_data): Remove.
5909 (fma_test_towardzero): Likewise.
5910 (fma_downward_test_data): Likewise.
5911 (fma_test_downward): Likewise.
5912 (fma_upward_test_data): Likewise.
5913 (fma_test_upward): Likewise.
5914 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5915 (j0_test_data): Update call to AUTO_TESTS_f_f.
5916 (j1_test_data): Likewise.
5917 (jn_test_data): Update call to AUTO_TESTS_if_f.
5918 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5919 (log_test_data): Update call to AUTO_TESTS_f_f.
5920 (log10_test_data): Likewise.
5921 (log1p_test_data): Likewise.
5922 (log2_test_data): Likewise.
5923 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5924 (pow_tonearest_test_data): Likewise.
5925 (sin_test_data): Update call to AUTO_TESTS_f_f.
5926 (sin_test): Use ALL_RM_TEST.
5927 (sin_tonearest_test_data): Remove.
5928 (sin_test_tonearest): Likewise.
5929 (sin_towardzero_test_data): Likewise.
5930 (sin_test_towardzero): Likewise.
5931 (sin_downward_test_data): Likewise.
5932 (sin_test_downward): Likewise.
5933 (sin_upward_test_data): Likewise.
5934 (sin_test_upward): Likewise.
5935 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5936 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5937 (sinh_test): Use ALL_RM_TEST.
5938 (sinh_tonearest_test_data): Remove.
5939 (sinh_test_tonearest): Likewise.
5940 (sinh_towardzero_test_data): Likewise.
5941 (sinh_test_towardzero): Likewise.
5942 (sinh_downward_test_data): Likewise.
5943 (sinh_test_downward): Likewise.
5944 (sinh_upward_test_data): Likewise.
5945 (sinh_test_upward): Likewise.
5946 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5947 (sqrt_test): Use ALL_RM_TEST.
5948 (sqrt_tonearest_test_data): Remove.
5949 (sqrt_test_tonearest): Likewise.
5950 (sqrt_towardzero_test_data): Likewise.
5951 (sqrt_test_towardzero): Likewise.
5952 (sqrt_downward_test_data): Likewise.
5953 (sqrt_test_downward): Likewise.
5954 (sqrt_upward_test_data): Likewise.
5955 (sqrt_test_upward): Likewise.
5956 (tan_test_data): Update call to AUTO_TESTS_f_f.
5957 (tan_test): Use ALL_RM_TEST.
5958 (tan_tonearest_test_data): Remove.
5959 (tan_test_tonearest): Likewise.
5960 (tan_towardzero_test_data): Likewise.
5961 (tan_test_towardzero): Likewise.
5962 (tan_downward_test_data): Likewise.
5963 (tan_test_downward): Likewise.
5964 (tan_upward_test_data): Likewise.
5965 (tan_test_upward): Likewise.
5966 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5967 (tgamma_test_data): Likewise.
5968 (y0_test_data): Likewise.
5969 (y1_test_data): Likewise.
5970 (yn_test_data): Update call to AUTO_TESTS_if_f.
5971 (main): Do not call removed functions.
5972
d71aeee8
JM
59732014-03-19 Joseph Myers <joseph@codesourcery.com>
5974
5975 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5976 (ldexp_test_data): Remove.
5977 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5978 scalbn_test_data.
5979 (scalb_test): Use ALL_RM_TEST.
5980
baaf1ded
AS
59812014-03-19 Andreas Schwab <schwab@suse.de>
5982
5983 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5984
b1115e91
JM
59852014-03-19 Joseph Myers <joseph@codesourcery.com>
5986
5987 [BZ #16649]
5988 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5989 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5990 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5991 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5992 (__ASSUME_PREADV): Undefine.
5993 (__ASSUME_PWRITEV): Likewise.
5994
0283ecca
RM
59952014-03-18 Roland McGrath <roland@hack.frob.com>
5996
7d375303
RM
5997 * bits/mman-linux.h: Add comment about non-Linux use.
5998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5999 bits/mman-linux.h resting place.
6000
0283ecca
RM
6001 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6002 * bits/mman-linux.h: ... here.
6003
aebe1003
AZ
60042014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6005
6006 * conform/conformtest.pl: Add standard definition when calling C
6007 preprocessor on data files.
6008 (checknamespace): Remove unused variable.
6009
b29b6bb8
JM
60102014-03-18 Joseph Myers <joseph@codesourcery.com>
6011
6012 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6013 minus_oflow, plus_uflow and minus_uflow in expected results.
6014 * math/libm-test.inc (scalbn_test_data): Add more tests of
6015 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6016 minus_uflow.
6017 (scalbn_test): Use ALL_RM_TEST.
6018 (scalbln_test_data): Add more tests of negative arguments. Use
6019 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6020 (scalbln_test): Use ALL_RM_TEST.
6021
c8f8fa15
RM
60222014-03-18 Roland McGrath <roland@hack.frob.com>
6023
6024 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6025
fede7a5f
WN
60262014-03-18 Will Newton <will.newton@linaro.org>
6027
6028 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6029 inaccurate comment.
6030
80cf0a58
JM
60312014-03-18 Joseph Myers <joseph@codesourcery.com>
6032
6033 * Makerules [!subdir] (check-abi): Exit with error status if a
6034 test failed.
6035
b3620862
JM
60362014-03-17 Joseph Myers <joseph@codesourcery.com>
6037
6038 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6039 for rint. Include results for all rounding modes.
6040 (nearbyint_test): Use ALL_RM_TEST.
6041 (rint_test_data): Include all tests used for nearbyint.
6042
788bba36
WN
60432014-03-17 Will Newton <will.newton@linaro.org>
6044
04ec140a
WN
6045 * nptl/sysdeps/pthread/pthread.h: Revert previous
6046 change.
6047
7579d8d5
WN
6048 * sysdeps/generic/ldsodefs.h: Revert previous
6049 change.
6050
c15cf13a
WN
6051 * libio/genops.c: Revert previous change.
6052 * libio/libioP.h: Likewise.
6053 * stdio-common/vfprintf.c: Likewise.
6054
d0ac1324
WN
6055 * sysdeps/generic/math_private.h: Revert previous
6056 change.
6057
9290130a
WN
6058 * sysdeps/generic/math_private.h: Check whether
6059 HAVE_RM_CTX is defined with #ifdef rather
6060 than #if.
6061
afb466fc
WN
6062 * argp/argp-fmtstream.h: Check whether
6063 __STRICT_ANSI__ is defined with #ifdef rather
6064 than #if.
6065 * argp/argp.h: Likewise.
6066
f7efd7c3
WN
6067 * libio/genops.c: Check whether
6068 _IO_JUMPS_OFFSET is defined with #ifdef rather
6069 than #if.
6070 * libio/libioP.h: Likewise.
6071 * stdio-common/vfprintf.c: Likewise.
6072
53f1bed3
WN
6073 * sysdeps/generic/ldsodefs.h: Check whether
6074 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6075 than #if.
6076
788bba36
WN
6077 * nptl/sysdeps/pthread/pthread.h: Check
6078 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6079 its value.
6080
fcd89ebe
SP
60812014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6082
ae42bbc5
SP
6083 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6084 setting O_APPEND.
6085 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6086 test case.
6087
ea33158c
SP
6088 [BZ #16680]
6089 * libio/fileops.c (_IO_file_open): Seek to end of file but
6090 don't cache the offset.
6091 (get_file_offset): Remove function.
6092 (do_ftell): Use cached offset when available.
6093 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6094 don't cache the offset.
6095 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6096 case.
6097 (do_one_test): Call it.
6098 (do_ftell_test): Fix up expected old offset for a+ mode.
6099 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6100 available.
6101
b1dbb426
SP
6102 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6103 up test status with function return status.
6104 (do_write_test): Likewise.
6105 (do_append_test): Likewise.
6106
fcd89ebe
SP
6107 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6108 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6109 Remove.
6110
9962a2d3
JM
61112014-03-17 Joseph Myers <joseph@codesourcery.com>
6112
6113 * math/gen-libm-test.pl (parse_args): Handle results specified for
6114 each rounding mode separately.
6115 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6116 tests and results from lrint_tonearest_test_data,
6117 lrint_towardzero_test_data, lrint_downward_test_data and
6118 lrint_upward_test_data.
6119 (lrint_test): Use ALL_RM_TEST.
6120 (lrint_tonearest_test_data): Remove.
6121 (lrint_test_tonearest): Likewise.
6122 (lrint_towardzero_test_data): Likewise.
6123 (lrint_test_towardzero): Likewise.
6124 (lrint_downward_test_data): Likewise.
6125 (lrint_test_downward): Likewise.
6126 (lrint_upward_test_data): Likewise.
6127 (lrint_test_upward): Likewise.
6128 (llrint_test_data): Merge in per-rounding-mode tests and results
6129 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6130 llrint_downward_test_data and llrint_upward_test_data.
6131 (llrint_test): Use ALL_RM_TEST.
6132 (llrint_tonearest_test_data): Remove.
6133 (llrint_test_tonearest): Likewise.
6134 (llrint_towardzero_test_data): Likewise.
6135 (llrint_test_towardzero): Likewise.
6136 (llrint_downward_test_data): Likewise.
6137 (llrint_test_downward): Likewise.
6138 (llrint_upward_test_data): Likewise.
6139 (llrint_test_upward): Likewise.
6140 (rint_test_data): Merge in per-rounding-mode tests and results
6141 from rint_tonearest_test_data, rint_towardzero_test_data,
6142 rint_downward_test_data and rint_upward_test_data. Add
6143 per-rounding-mode results for tests not in those arrays.
6144 (rint_test): Use ALL_RM_TEST.
6145 (rint_tonearest_test_data): Remove.
6146 (rint_test_tonearest): Likewise.
6147 (rint_towardzero_test_data): Likewise.
6148 (rint_test_towardzero): Likewise.
6149 (rint_downward_test_data): Likewise.
6150 (rint_test_downward): Likewise.
6151 (rint_upward_test_data): Likewise.
6152 (rint_test_upward): Likewise.
6153 (main): Don't call removed functions.
6154
5006148e
RM
61552014-03-14 Roland McGrath <roland@hack.frob.com>
6156
6157 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6158 "Compiled on ..." crapola. It is anti-useful.
6159
d6fe5e58
JM
61602014-03-14 Joseph Myers <joseph@codesourcery.com>
6161
6162 * scripts/evaluate-test.sh: Handle fourth argument to determine
6163 whether test run should stop on failure.
6164 * Makeconfig (stop-on-test-failure): New variable.
6165 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6166 $(stop-on-test-failure).
6167 * Makefile (tests): Give a summary of results from testing and
6168 exit with failure status if they include an ERROR or FAIL.
6169 (xtests): Likewise.
6170 * manual/install.texi (Configuring and compiling): Mention
6171 stop-on-test-failure=y.
6172 * INSTALL: Regenerated.
6173
498a2233
RM
61742014-03-14 Roland McGrath <roland@hack.frob.com>
6175
22dbc19d
RM
6176 * scripts/versionlist.awk: New file.
6177 * Makerules [$(build-shared) = yes]
6178 (postclean-generated): Add Versions.def, not Versions.def.v and
6179 Versions.def.v.i.
6180 ($(common-objpfx)Versions.def.v.i): Target removed.
6181 ($(common-objpfx)Versions.def): New target.
6182 ($(common-objpfx)Versions.all): Depend on that rather that
6183 $(common-objpfx)Versions.def.v.
6184 * Versions.def: File removed.
6185
498a2233
RM
6186 * Makeconfig (+gccwarn): Add -Wundef.
6187 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6188 a dl-sysdep.h breaking its contract.
6189 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6190 * include/stackinfo.h: New file.
6191 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6192 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6193 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6194 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6195 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6196 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6197 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6198 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6199 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6200 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6201 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6202 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6203 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6204 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6205 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6206
c7de5025
AZ
62072014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6208
6209 [BZ #16707]
6210 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6211 implementation.
6212 * math/libm-test.inc (round_test_data): Add more tests.
6213
98fb27a3
AZ
6214 [BZ #16706]
6215 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6216 implementation.
6217 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6218
374f7f61
AZ
6219 [BZ #16701]
6220 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6221 implementation.
6222 * math/libm-test.inc (ceil_test_data): Add more tests.
6223
4655c291
AZ
6224 * math/libm-test.inc (trunc_test_data): Add more tests related to
6225 BZ#16414.
6226
d7329d4b
RM
62272014-03-14 Roland McGrath <roland@hack.frob.com>
6228
6229 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6230 with #if rather than #ifdef.
6231 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6232
aa4de9ce
L
62332014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6234
6235 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6236 first. Disable AVX-512 GCC support if assembler doesn't support
6237 it.
6238 * sysdeps/x86_64/configure: Regenerated.
6239
2e03fae7
CD
62402014-03-13 Carlos O'Donell <carlos@redhat.com>
6241
6242 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6243 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6244 (__old_pthread_attr_setstack): Likewise.
6245 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6246 [!_STACK_GROWS_DOWN]: Likewise.
6247
43ca83ec
MF
62482014-03-13 Mike Frysinger <vapier@gentoo.org>
6249
6250 * config.make.in (have-bash2): Delete.
6251 * configure.ac (libc_cv_have_bash2): Delete.
6252 * configure: Regenerate.
6253 * elf/Makefile (common-ldd-rewrite): Rename to ...
6254 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6255 (sh-ldd-rewrite): Delete.
6256 (bash-ldd-rewrite): Delete.
6257 (have-bash2): Delete checks.
57f41c40
AS
6258 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6259 ldd-rewrite.
c66e48b4
MF
6260
6261 * config.make.in (have-ksh): Delete.
6262 (KSH): Delete.
6263 * configure.ac (libc_cv_have_ksh): Delete.
6264 * configure: Regenerate.
6265
b93834ef
MF
6266 * elf/Makefile: Delete $(have-ksh) check.
6267 ($(objpfx)sotruss): Change KSH to BASH.
6268 * elf/sotruss.ksh: Rename to ...
6269 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6270 function style to match POSIX. Drop ksh vim mode setting.
6271
f3a4632a
MF
6272 * manual/time.texi (Specifying the Time Zone with TZ): Change
6273 Tuesday to Thursday.
6274
5896c8bd
MF
6275 * debug/tst-longjmp_chk2.c: Update header comment.
6276 (stackoverflow_handler): Add comment. Call assert on pass value.
6277
2d63a517
IZ
62782014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6279
6280 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6281 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6282 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6283 (La_x86_64_vector): Add zmm.
6284 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6285 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6286 ($(objpfx)tst-audit10): New target.
6287 ($(objpfx)tst-audit10.out): Likewise.
6288 (tst-audit10-ENV): New.
6289 (AVX512-CFLAGS): Likewise.
6290 (CFLAGS-tst-audit10.c): Likewise.
6291 (CFLAGS-tst-auditmod10a.c): Likewise.
6292 (CFLAGS-tst-auditmod10b.c): Likewise.
6293 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6294 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6295 * sysdeps/x86_64/configure: Regenerated.
6296 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6297 AVX-512 zmm register support.
6298 (_dl_x86_64_save_sse): Likewise.
6299 (_dl_x86_64_restore_sse): Likewise.
6300 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6301 size vector registers.
6302 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6303 (ZMM_SIZE): Likewise.
6304 * sysdeps/x86_64/tst-audit10.c: New file.
6305 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6306 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6307
44c4e5d5
RM
63082014-03-13 Roland McGrath <roland@hack.frob.com>
6309
6310 * configure.ac (HAVE_EHDR_START): New check.
6311 * configure: Regenerated.
6312 * config.h.in (HAVE_EHDR_START): New #undef.
6313 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6314 assuming the lowest-addressed segment maps the start of the file.
6315
acd6e389
JM
63162014-03-13 Joseph Myers <joseph@codesourcery.com>
6317
6318 * INSTALL: Regenerated.
6319
6f918f36
WN
63202014-03-13 Will Newton <will.newton@linaro.org>
6321
6322 * manual/setjmp.texi (System V contexts): Improve
6323 clarity and grammar of documentation.
6324
798212a0
PP
63252014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6326
6327 [BZ #16381]
798212a0 6328 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 6329 (tests-pie): Add tst-pie2.
798212a0
PP
6330 * elf/tst-pie2.c: New file.
6331 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6332 for ET_EXEC.
6333 * elf/rtld.c (map_doit): Load executable as lt_executable.
6334 (dl_main): Likewise.
6335
abe6d90c
JM
63362014-03-12 Joseph Myers <joseph@codesourcery.com>
6337
6338 [BZ #16642]
6339 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6340 (__ASSUME_PSELECT): Undefine.
6341
dd3946c6
AZ
63422014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6343
6344 [BZ #16689]
6345 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6346 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6347 static build.
6348 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6349 selector for static builds.
6350
c44496df
SP
63512014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6352
6353 [BZ #16695]
6354 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6355 key in the buffer.
6356
27c7220a
AZ
63572014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6358
57f41c40
AS
6359 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6360 IFUNC selector for static builds.
27c7220a 6361
600fa361
JM
63622014-03-11 Joseph Myers <joseph@codesourcery.com>
6363
76c96cf7
JM
6364 * sysdeps/mips/math_private.h [__mips_hard_float]
6365 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6366 libc_feresetround_mips_ctx.
6367 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6368 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6369 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6370
600fa361
JM
6371 [BZ #16677]
6372 * math/s_nextafter.c (__nextafter): Do not return value from
6373 overflowing computation.
6374 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6375 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6376 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6377 Likewise.
6378 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6379 Likewise.
6380 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6381 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6382
d7706c32
RM
63832014-03-11 Roland McGrath <roland@hack.frob.com>
6384
6385 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6386 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6387 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6388 the new mov targetting sp.
6389
4facea47
AZ
63902014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6391
6392 [BZ #16683]
6393 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6394 Define it for static builds as well.
6395 (NO_BZERO_IMPL): Likewise.
6396
e65caf1f
VR
63972014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6398
6399 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6400 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6401 multiarch strspn for PPC64.
6402 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6403 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6405 (__libc_ifunc_impl_list): Likewise.
6406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6407 multiarch optimizations
6408 * string/strspn.c (strspn): Using macro to redefine symbol name.
6409
ba9cc071
AZ
64102014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6411 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6412
6413 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6414 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6415 multiarch strncat for PPC64.
6416 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6417 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6419 (__libc_ifunc_impl_list): Likewise.
6420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6421 multiarch optimizations
6422
8b4ff974
SP
64232014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6424
6425 [BZ #16639]
6426 * nscd/nscd.service: Make service type forking.
6427
54b46a4b
AZ
64282014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6429
6430 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6431 sign in non default rounding modes.
6432 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6433
e9996ef7
JM
64342014-03-08 Joseph Myers <joseph@codesourcery.com>
6435
6436 * math/libm-test.inc (ALL_RM_TEST): New macro.
6437 (ceil_test): Use ALL_RM_TEST.
6438 (cimag_test): Likewise.
6439 (conj_test): Likewise.
6440 (copysign_test): Likewise.
6441 (cproj_test): Likewise.
6442 (creal_test): Likewise.
6443 (fabs_test): Likewise.
6444 (floor_test): Likewise.
6445 (fmax_test): Likewise.
6446 (fmin_test): Likewise.
6447 (fmod_test): Likewise.
6448 (fpclassify_test): Likewise.
6449 (frexp_test): Likewise.
6450 (ilogb_test): Likewise.
6451 (isfinite_test): Likewise.
6452 (finite_test): Likewise.
6453 (isgreater_test): Likewise.
6454 (isgreaterequal_test): Likewise.
6455 (isinf_test): Likewise.
6456 (isless_test): Likewise.
6457 (islessequal_test): Likewise.
6458 (islessgreater_test): Likewise.
6459 (isnan_test): Likewise.
6460 (isnormal_test): Likewise.
6461 (issignaling_test): Likewise.
6462 (isunordered_test): Likewise.
6463 (logb_test): Likewise.
6464 (logb_downward_test_data): Remove.
6465 (logb_test_downward): Likewise.
6466 (lround_test): Use ALL_RM_TEST.
6467 (llround_test): Likewise.
6468 (modf_test): Likewise.
6469 (nexttoward_test): Likewise.
6470 (remainder_test): Likewise.
6471 (drem_test): Likewise.
6472 (remainder_tonearest_test_data): Likewise.
6473 (remainder_test_tonearest): Likewise.
6474 (drem_test_tonearest): Likewise.
6475 (remainder_towardzero_test_data): Likewise.
6476 (remainder_test_towardzero): Likewise.
6477 (drem_test_towardzero): Likewise.
6478 (remainder_downward_test_data): Likewise.
6479 (remainder_test_downward): Likewise.
6480 (drem_test_downward): Likewise.
6481 (remainder_upward_test_data): Likewise.
6482 (remainder_test_upward): Likewise.
6483 (drem_test_upward): Likewise.
6484 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6485 (round_test): Use ALL_RM_TEST.
6486 (signbit_test): Likewise.
6487 (trunc_test): Likewise.
6488 (significand_test): Likewise.
6489 (main): Don't call removed functions.
6490
bc61d27c
JM
64912014-03-07 Joseph Myers <joseph@codesourcery.com>
6492
5c780849
JM
6493 [BZ #16674]
6494 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6495 || __USE_XOPEN2K8].
6496 (ILL_ILLOPN): Likewise.
6497 (ILL_ILLADR): Likewise.
6498 (ILL_ILLTRP): Likewise.
6499 (ILL_PRVOPC): Likewise.
6500 (ILL_PRVREG): Likewise.
6501 (ILL_COPROC): Likewise.
6502 (ILL_BADSTK): Likewise.
6503 (FPE_INTDIV): Likewise.
6504 (FPE_INTOVF): Likewise.
6505 (FPE_FLTDIV): Likewise.
6506 (FPE_FLTOVF): Likewise.
6507 (FPE_FLTUND): Likewise.
6508 (FPE_FLTRES): Likewise.
6509 (FPE_FLTINV): Likewise.
6510 (FPE_FLTSUB): Likewise.
6511 (SEGV_MAPERR): Likewise.
6512 (SEGV_ACCERR): Likewise.
6513 (BUS_ADRALN): Likewise.
6514 (BUS_ADRERR): Likewise.
6515 (BUS_OBJERR): Likewise.
6516 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6517 (TRAP_TRACE): Likewise.
6518 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6519 __USE_XOPEN2K8].
6520 (CLD_KILLED): Likewise.
6521 (CLD_DUMPED): Likewise.
6522 (CLD_TRAPPED): Likewise.
6523 (CLD_STOPPED): Likewise.
6524 (CLD_CONTINUED): Likewise.
6525 (POLL_IN): Likewise.
6526 (POLL_OUT): Likewise.
6527 (POLL_MSG): Likewise.
6528 (POLL_ERR): Likewise.
6529 (POLL_PRI): Likewise.
6530 (POLL_HUP): Likewise.
6531 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6532 Likewise.
6533 (ILL_ILLOPN): Likewise.
6534 (ILL_ILLADR): Likewise.
6535 (ILL_ILLTRP): Likewise.
6536 (ILL_PRVOPC): Likewise.
6537 (ILL_PRVREG): Likewise.
6538 (ILL_COPROC): Likewise.
6539 (ILL_BADSTK): Likewise.
6540 (FPE_INTDIV): Likewise.
6541 (FPE_INTOVF): Likewise.
6542 (FPE_FLTDIV): Likewise.
6543 (FPE_FLTOVF): Likewise.
6544 (FPE_FLTUND): Likewise.
6545 (FPE_FLTRES): Likewise.
6546 (FPE_FLTINV): Likewise.
6547 (FPE_FLTSUB): Likewise.
6548 (SEGV_MAPERR): Likewise.
6549 (SEGV_ACCERR): Likewise.
6550 (BUS_ADRALN): Likewise.
6551 (BUS_ADRERR): Likewise.
6552 (BUS_OBJERR): Likewise.
6553 (BUS_MCEERR_AR): Likewise.
6554 (BUS_MCEERR_AO): Likewise.
6555 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6556 (TRAP_TRACE): Likewise.
6557 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6558 __USE_XOPEN2K8].
6559 (CLD_KILLED): Likewise.
6560 (CLD_DUMPED): Likewise.
6561 (CLD_TRAPPED): Likewise.
6562 (CLD_STOPPED): Likewise.
6563 (CLD_CONTINUED): Likewise.
6564 (POLL_IN): Likewise.
6565 (POLL_OUT): Likewise.
6566 (POLL_MSG): Likewise.
6567 (POLL_ERR): Likewise.
6568 (POLL_PRI): Likewise.
6569 (POLL_HUP): Likewise.
6570 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6571 (ILL_ILLOPN): Likewise.
6572 (ILL_ILLADR): Likewise.
6573 (ILL_ILLTRP): Likewise.
6574 (ILL_PRVOPC): Likewise.
6575 (ILL_PRVREG): Likewise.
6576 (ILL_COPROC): Likewise.
6577 (ILL_BADSTK): Likewise.
6578 (FPE_INTDIV): Likewise.
6579 (FPE_INTOVF): Likewise.
6580 (FPE_FLTDIV): Likewise.
6581 (FPE_FLTOVF): Likewise.
6582 (FPE_FLTUND): Likewise.
6583 (FPE_FLTRES): Likewise.
6584 (FPE_FLTINV): Likewise.
6585 (FPE_FLTSUB): Likewise.
6586 (SEGV_MAPERR): Likewise.
6587 (SEGV_ACCERR): Likewise.
6588 (BUS_ADRALN): Likewise.
6589 (BUS_ADRERR): Likewise.
6590 (BUS_OBJERR): Likewise.
6591 (BUS_MCEERR_AR): Likewise.
6592 (BUS_MCEERR_AO): Likewise.
6593 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6594 (TRAP_TRACE): Likewise.
6595 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6596 __USE_XOPEN2K8].
6597 (CLD_KILLED): Likewise.
6598 (CLD_DUMPED): Likewise.
6599 (CLD_TRAPPED): Likewise.
6600 (CLD_STOPPED): Likewise.
6601 (CLD_CONTINUED): Likewise.
6602 (POLL_IN): Likewise.
6603 (POLL_OUT): Likewise.
6604 (POLL_MSG): Likewise.
6605 (POLL_ERR): Likewise.
6606 (POLL_PRI): Likewise.
6607 (POLL_HUP): Likewise.
6608 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6609 Likewise.
6610 (ILL_ILLOPN): Likewise.
6611 (ILL_ILLADR): Likewise.
6612 (ILL_ILLTRP): Likewise.
6613 (ILL_PRVOPC): Likewise.
6614 (ILL_PRVREG): Likewise.
6615 (ILL_COPROC): Likewise.
6616 (ILL_BADSTK): Likewise.
6617 (ILL_BADIADDR): Likewise.
6618 (ILL_BREAK): Likewise.
6619 (FPE_INTDIV): Likewise.
6620 (FPE_INTOVF): Likewise.
6621 (FPE_FLTDIV): Likewise.
6622 (FPE_FLTOVF): Likewise.
6623 (FPE_FLTUND): Likewise.
6624 (FPE_FLTRES): Likewise.
6625 (FPE_FLTINV): Likewise.
6626 (FPE_FLTSUB): Likewise.
6627 (FPE_DECOVF): Likewise.
6628 (FPE_DECDIV): Likewise.
6629 (FPE_DECERR): Likewise.
6630 (FPE_INVASC): Likewise.
6631 (FPE_INVDEC): Likewise.
6632 (SEGV_MAPERR): Likewise.
6633 (SEGV_ACCERR): Likewise.
6634 (SEGV_PSTKOVF): Likewise.
6635 (BUS_ADRALN): Likewise.
6636 (BUS_ADRERR): Likewise.
6637 (BUS_OBJERR): Likewise.
6638 (BUS_MCEERR_AR): Likewise.
6639 (BUS_MCEERR_AO): Likewise.
6640 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6641 (TRAP_TRACE): Likewise.
6642 (TRAP_BRANCH): Likewise.
6643 (TRAP_HWBKPT): Likewise.
6644 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6645 __USE_XOPEN2K8].
6646 (CLD_KILLED): Likewise.
6647 (CLD_DUMPED): Likewise.
6648 (CLD_TRAPPED): Likewise.
6649 (CLD_STOPPED): Likewise.
6650 (CLD_CONTINUED): Likewise.
6651 (POLL_IN): Likewise.
6652 (POLL_OUT): Likewise.
6653 (POLL_MSG): Likewise.
6654 (POLL_ERR): Likewise.
6655 (POLL_PRI): Likewise.
6656 (POLL_HUP): Likewise.
6657 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6658 (ILL_ILLOPN): Likewise.
6659 (ILL_ILLADR): Likewise.
6660 (ILL_ILLTRP): Likewise.
6661 (ILL_PRVOPC): Likewise.
6662 (ILL_PRVREG): Likewise.
6663 (ILL_COPROC): Likewise.
6664 (ILL_BADSTK): Likewise.
6665 (FPE_INTDIV): Likewise.
6666 (FPE_INTOVF): Likewise.
6667 (FPE_FLTDIV): Likewise.
6668 (FPE_FLTOVF): Likewise.
6669 (FPE_FLTUND): Likewise.
6670 (FPE_FLTRES): Likewise.
6671 (FPE_FLTINV): Likewise.
6672 (FPE_FLTSUB): Likewise.
6673 (SEGV_MAPERR): Likewise.
6674 (SEGV_ACCERR): Likewise.
6675 (BUS_ADRALN): Likewise.
6676 (BUS_ADRERR): Likewise.
6677 (BUS_OBJERR): Likewise.
6678 (BUS_MCEERR_AR): Likewise.
6679 (BUS_MCEERR_AO): Likewise.
6680 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6681 (TRAP_TRACE): Likewise.
6682 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6683 __USE_XOPEN2K8].
6684 (CLD_KILLED): Likewise.
6685 (CLD_DUMPED): Likewise.
6686 (CLD_TRAPPED): Likewise.
6687 (CLD_STOPPED): Likewise.
6688 (CLD_CONTINUED): Likewise.
6689 (POLL_IN): Likewise.
6690 (POLL_OUT): Likewise.
6691 (POLL_MSG): Likewise.
6692 (POLL_ERR): Likewise.
6693 (POLL_PRI): Likewise.
6694 (POLL_HUP): Likewise.
6695 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6696 (ILL_ILLOPN): Likewise.
6697 (ILL_ILLADR): Likewise.
6698 (ILL_ILLTRP): Likewise.
6699 (ILL_PRVOPC): Likewise.
6700 (ILL_PRVREG): Likewise.
6701 (ILL_COPROC): Likewise.
6702 (ILL_BADSTK): Likewise.
6703 (FPE_INTDIV): Likewise.
6704 (FPE_INTOVF): Likewise.
6705 (FPE_FLTDIV): Likewise.
6706 (FPE_FLTOVF): Likewise.
6707 (FPE_FLTUND): Likewise.
6708 (FPE_FLTRES): Likewise.
6709 (FPE_FLTINV): Likewise.
6710 (FPE_FLTSUB): Likewise.
6711 (SEGV_MAPERR): Likewise.
6712 (SEGV_ACCERR): Likewise.
6713 (BUS_ADRALN): Likewise.
6714 (BUS_ADRERR): Likewise.
6715 (BUS_OBJERR): Likewise.
6716 (BUS_MCEERR_AR): Likewise.
6717 (BUS_MCEERR_AO): Likewise.
6718 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6719 (TRAP_TRACE): Likewise.
6720 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6721 __USE_XOPEN2K8].
6722 (CLD_KILLED): Likewise.
6723 (CLD_DUMPED): Likewise.
6724 (CLD_TRAPPED): Likewise.
6725 (CLD_STOPPED): Likewise.
6726 (CLD_CONTINUED): Likewise.
6727 (POLL_IN): Likewise.
6728 (POLL_OUT): Likewise.
6729 (POLL_MSG): Likewise.
6730 (POLL_ERR): Likewise.
6731 (POLL_PRI): Likewise.
6732 (POLL_HUP): Likewise.
6733 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6734 (ILL_ILLOPN): Likewise.
6735 (ILL_ILLADR): Likewise.
6736 (ILL_ILLTRP): Likewise.
6737 (ILL_PRVOPC): Likewise.
6738 (ILL_PRVREG): Likewise.
6739 (ILL_COPROC): Likewise.
6740 (ILL_BADSTK): Likewise.
6741 (FPE_INTDIV): Likewise.
6742 (FPE_INTOVF): Likewise.
6743 (FPE_FLTDIV): Likewise.
6744 (FPE_FLTOVF): Likewise.
6745 (FPE_FLTUND): Likewise.
6746 (FPE_FLTRES): Likewise.
6747 (FPE_FLTINV): Likewise.
6748 (FPE_FLTSUB): Likewise.
6749 (SEGV_MAPERR): Likewise.
6750 (SEGV_ACCERR): Likewise.
6751 (BUS_ADRALN): Likewise.
6752 (BUS_ADRERR): Likewise.
6753 (BUS_OBJERR): Likewise.
6754 (BUS_MCEERR_AR): Likewise.
6755 (BUS_MCEERR_AO): Likewise.
6756 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6757 (TRAP_TRACE): Likewise.
6758 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6759 __USE_XOPEN2K8].
6760 (CLD_KILLED): Likewise.
6761 (CLD_DUMPED): Likewise.
6762 (CLD_TRAPPED): Likewise.
6763 (CLD_STOPPED): Likewise.
6764 (CLD_CONTINUED): Likewise.
6765 (POLL_IN): Likewise.
6766 (POLL_OUT): Likewise.
6767 (POLL_MSG): Likewise.
6768 (POLL_ERR): Likewise.
6769 (POLL_PRI): Likewise.
6770 (POLL_HUP): Likewise.
6771 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6772 (ILL_ILLOPN): Likewise.
6773 (ILL_ILLADR): Likewise.
6774 (ILL_ILLTRP): Likewise.
6775 (ILL_PRVOPC): Likewise.
6776 (ILL_PRVREG): Likewise.
6777 (ILL_COPROC): Likewise.
6778 (ILL_BADSTK): Likewise.
6779 (ILL_DBLFLT): Likewise.
6780 (ILL_HARDWALL): Likewise.
6781 (FPE_INTDIV): Likewise.
6782 (FPE_INTOVF): Likewise.
6783 (FPE_FLTDIV): Likewise.
6784 (FPE_FLTOVF): Likewise.
6785 (FPE_FLTUND): Likewise.
6786 (FPE_FLTRES): Likewise.
6787 (FPE_FLTINV): Likewise.
6788 (FPE_FLTSUB): Likewise.
6789 (SEGV_MAPERR): Likewise.
6790 (SEGV_ACCERR): Likewise.
6791 (BUS_ADRALN): Likewise.
6792 (BUS_ADRERR): Likewise.
6793 (BUS_OBJERR): Likewise.
6794 (BUS_MCEERR_AR): Likewise.
6795 (BUS_MCEERR_AO): Likewise.
6796 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6797 (TRAP_TRACE): Likewise.
6798 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6799 __USE_XOPEN2K8].
6800 (CLD_KILLED): Likewise.
6801 (CLD_DUMPED): Likewise.
6802 (CLD_TRAPPED): Likewise.
6803 (CLD_STOPPED): Likewise.
6804 (CLD_CONTINUED): Likewise.
6805 (POLL_IN): Likewise.
6806 (POLL_OUT): Likewise.
6807 (POLL_MSG): Likewise.
6808 (POLL_ERR): Likewise.
6809 (POLL_PRI): Likewise.
6810 (POLL_HUP): Likewise.
6811 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6812 (ILL_ILLOPN): Likewise.
6813 (ILL_ILLADR): Likewise.
6814 (ILL_ILLTRP): Likewise.
6815 (ILL_PRVOPC): Likewise.
6816 (ILL_PRVREG): Likewise.
6817 (ILL_COPROC): Likewise.
6818 (ILL_BADSTK): Likewise.
6819 (FPE_INTDIV): Likewise.
6820 (FPE_INTOVF): Likewise.
6821 (FPE_FLTDIV): Likewise.
6822 (FPE_FLTOVF): Likewise.
6823 (FPE_FLTUND): Likewise.
6824 (FPE_FLTRES): Likewise.
6825 (FPE_FLTINV): Likewise.
6826 (FPE_FLTSUB): Likewise.
6827 (SEGV_MAPERR): Likewise.
6828 (SEGV_ACCERR): Likewise.
6829 (BUS_ADRALN): Likewise.
6830 (BUS_ADRERR): Likewise.
6831 (BUS_OBJERR): Likewise.
6832 (BUS_MCEERR_AR): Likewise.
6833 (BUS_MCEERR_AO): Likewise.
6834 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6835 (TRAP_TRACE): Likewise.
6836 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6837 __USE_XOPEN2K8].
6838 (CLD_KILLED): Likewise.
6839 (CLD_DUMPED): Likewise.
6840 (CLD_TRAPPED): Likewise.
6841 (CLD_STOPPED): Likewise.
6842 (CLD_CONTINUED): Likewise.
6843 (POLL_IN): Likewise.
6844 (POLL_OUT): Likewise.
6845 (POLL_MSG): Likewise.
6846 (POLL_ERR): Likewise.
6847 (POLL_PRI): Likewise.
6848 (POLL_HUP): Likewise.
6849 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6850 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6851
bc61d27c
JM
6852 [BZ #16670]
6853 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6854 before #include of <time.h>.
6855 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6856 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6857 (test-xfail-UNIX98/sched.h/conform): Likewise.
6858
302949e2
MS
68592014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6860
6861 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6862 error absence of trapping exception support.
6863 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6864
a00f522a
JM
68652014-03-07 Joseph Myers <joseph@codesourcery.com>
6866
6f99f280
JM
6867 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6868 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6869 * timezone/Makefile (testdata): Move definition above include of
6870 Rules.
6871 (test-zones): New variable.
6872 (tests-special): Add zone files.
6873 (build-testdata): Use $(evaluate-test).
6874
0b20a9e8
JM
6875 * elf/Makefile (tests-special): Rename tests to end with .out.
6876 ($(objpfx)noload-mem): Likewise.
6877 ($(objpfx)tst-leaks1-mem): Likewise.
6878 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6879 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6880 $(objpfx)test-iconvconfig.out.
6881 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6882 set -e inside subshell and redirect output to file.
6883 * iconvdata/Makefile (generated): Rename tests to end with .out.
6884 Correct type.
6885 (tests-special): Rename tests to end with .out.
6886 ($(objpfx)mtrace-tst-loading): Likewise.
6887 * intl/Makefile (generated): Likewise.
6888 (tests-special): Likewise.
6889 ($(objpfx)mtrace-tst-gettext): Likewise.
6890 * misc/Makefile (generated): Likewise.
6891 (tests-special): Likewise.
6892 ($(objpfx)tst-error1-mem): Likewise.
6893 * nptl/Makefile (tests-special): Likewise.
6894 ($(objpfx)tst-stack3-mem): Likewise.
6895 (generated): Likewise.
6896 * posix/Makefile (generated): Likewise.
6897 (tests-special): Likewise.
6898 (xtests-special): Likewise.
6899 ($(objpfx)tst-fnmatch-mem): Likewise.
6900 ($(objpfx)bug-regex2-mem): Likewise.
6901 ($(objpfx)bug-regex14-mem): Likewise.
6902 ($(objpfx)bug-regex21-mem): Likewise.
6903 ($(objpfx)bug-regex31-mem): Likewise.
6904 ($(objpfx)tst-vfork3-mem): Likewise.
6905 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6906 ($(objpfx)tst-pcre-mem): Likewise.
6907 ($(objpfx)tst-boost-mem): Likewise.
6908 ($(objpfx)bug-ga2-mem): Likewise.
6909 ($(objpfx)bug-glob2-mem): Likewise.
6910 * resolv/Makefile (generate): Likewise.
6911 (tests-special): Likewise.
6912 (xtests-special): Likewise.
6913 (generated): Likewise.
6914 ($(objpfx)mtrace-tst-leaks): Likewise.
6915 ($(objpfx)mtrace-tst-leaks2): Likewise.
6916
265d52ab
JM
6917 * scripts/merge-test-results.sh: New file.
6918 * Makefile (tests-special-notdir): New variable.
6919 (tests): Run merge-test-results.sh.
6920 (xtests): Likewise.
6921 * Rules (tests-special-notdir): New variable.
6922 (xtests-special-notdir): Likewise.
6923 (tests): Run merge-test-results.sh
6924 (xtests): Likewise.
6925
54ee292d
JM
6926 * Makeconfig (test-xfail-name): New variable.
6927 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6928 compute variable name for expected failures.
6929 * conform/Makefile (conformtest-headers-data): New variable.
6930 (conformtest-standards): Likewise.
6931 (conformtest-headers-ISO): Likewise.
6932 (conformtest-headers-ISO99): Likewise.
6933 (conformtest-headers-ISO11): Likewise.
6934 (conformtest-headers-POSIX): Likewise.
6935 (conformtest-headers-XPG3): Likewise.
6936 (conformtest-headers-XPG4): Likewise.
6937 (conformtest-headers-UNIX98): Likewise.
6938 (conformtest-headers-XOPEN2K): Likewise.
6939 (conformtest-headers-POSIX2008): Likewise.
6940 (conformtest-headers-XOPEN2K8): Likewise.
6941 (conformtest-header-list-base): Likewise.
6942 (conformtest-header-list-tests): Likewise.
6943 (conformtest-header-base): Likewise.
6944 (conformtest-header-tests): Likewise.
6945 (tests-special): Add $(conformtest-header-list-tests). If
6946 [$(fast-check) && !$(cross-compiling)], add
6947 $(conformtest-header-tests) instead of
6948 $(objpfx)run-conformtest.out.
6949 (generated): Add $(conformtest-header-list-base). If
6950 [$(fast-check) && !$(cross-compiling)], add
6951 $(conformtest-header-base). Remove previous setting.
6952 ($(conformtest-header-list-tests)): New target.
6953 (test-xfail-run-conformtest): Remove variable.
6954 ($(objpfx)run-conformtest.out): Remove target.
6955 (test-xfail-ISO11/complex.h/conform): New variable.
6956 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6957 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6958 (test-xfail-XPG3/varargs.h/conform): Likewise.
6959 (test-xfail-XPG4/varargs.h/conform): Likewise.
6960 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6961 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6962 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6963 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6964 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6965 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6966 (test-xfail-XPG3/ftw.h/conform): Likewise.
6967 (test-xfail-XPG3/grp.h/conform): Likewise.
6968 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6969 (test-xfail-XPG3/limits.h/conform): Likewise.
6970 (test-xfail-XPG3/pwd.h/conform): Likewise.
6971 (test-xfail-XPG3/search.h/conform): Likewise.
6972 (test-xfail-XPG3/signal.h/conform): Likewise.
6973 (test-xfail-XPG3/stdio.h/conform): Likewise.
6974 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6975 (test-xfail-XPG3/string.h/conform): Likewise.
6976 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6977 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6978 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6979 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6980 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6981 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6982 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6983 (test-xfail-XPG3/termios.h/conform): Likewise.
6984 (test-xfail-XPG3/time.h/conform): Likewise.
6985 (test-xfail-XPG3/unistd.h/conform): Likewise.
6986 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6987 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6988 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6989 (test-xfail-XPG4/netdb.h/conform): Likewise.
6990 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6991 (test-xfail-XPG4/signal.h/conform): Likewise.
6992 (test-xfail-XPG4/stdio.h/conform): Likewise.
6993 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6994 (test-xfail-XPG4/stropts.h/conform): Likewise.
6995 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6996 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6997 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6998 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6999 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7000 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7001 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7002 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7003 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7004 (test-xfail-XPG4/termios.h/conform): Likewise.
7005 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7006 (test-xfail-XPG4/unistd.h/conform): Likewise.
7007 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7008 (test-xfail-POSIX/sched.h/conform): Likewise.
7009 (test-xfail-POSIX/signal.h/conform): Likewise.
7010 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7011 (test-xfail-POSIX/tar.h/conform): Likewise.
7012 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7013 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7014 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7015 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7016 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7017 (test-xfail-UNIX98/sched.h/conform): Likewise.
7018 (test-xfail-UNIX98/signal.h/conform): Likewise.
7019 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7020 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7021 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7022 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7023 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7024 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7025 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7026 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7027 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7028 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7029 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7030 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7031 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7032 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7033 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7034 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7035 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7036 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7037 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7038 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7039 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7040 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7041 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7042 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7043 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7044 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7045 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7046 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7047 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7048 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7049 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7050 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7051 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7052 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7053 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7054 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7055 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7056 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7057 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7058 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7059 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7060 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7061 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7062 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7063 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7064 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7065 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7066 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7067 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7068 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7069 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7070 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7071 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7072 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7073 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7074 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7075 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7076 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7077 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7078 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7079 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7080 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7081 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7082 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7083 (conformtest-cc-flags): Likewise.
7084 ($(conformtest-header-tests): New target.
7085 * conform/check-header-lists.sh: New file.
7086 * conform/run-conformtest.sh: Remove.
7087
a00f522a
JM
7088 * conform/conformtest.pl: Allow ' and \ in values given for
7089 constants.
7090 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7091 inclusion.
7092 [POSIX] (sys/types.h): Likewise.
7093 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7094 inclusion.
7095 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7096 inclusion.
7097 * conform/data/signal.h-data (SIGIO): Remove expectation.
7098 [XPG3] (SIGBUS): Do not expect.
7099 [POSIX || XPG3] (SIGPOLL): Likewise.
7100 [POSIX || XPG3] (SIGPROF): Likewise.
7101 [POSIX || XPG3] (SIGSYS): Likewise.
7102 [XPG3] (SIGTRAP): Likewise.
7103 [POSIX || XPG3] (SIGURG): Likewise.
7104 [POSIX || XPG3] (SIGVTALRM): Likewise.
7105 [POSIX || XPG3] (SIGXCPU): Likewise.
7106 [POSIX || XPG3] (SIGXFSZ): Likewise.
7107 [POSIX] (SA_SIGINFO): Expect.
7108 [XPG3] (siginfo_t): Do not expect type or contents.
7109 [POSIX] (si_pid): Do not expect element.
7110 [POSIX] (si_uid): Likewise.
7111 [POSIX] (si_addr): Likewise.
7112 [POSIX] (si_status): Likewise.
7113 [POSIX] (si_band): Likewise.
7114 [XPG4] (si_value): Likewise.
7115 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7116 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7117 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7118 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7119 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7120 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7121 [POSIX || XPG3] (ILL_COPROC): Likewise.
7122 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7123 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7124 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7125 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7126 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7127 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7128 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7129 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7130 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7131 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7132 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7133 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7134 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7135 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7136 [POSIX || XPG3] (CLD_EXITED): Likewise.
7137 [POSIX || XPG3] (CLD_KILLED): Likewise.
7138 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7139 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7140 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7141 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7142 [POSIX || XPG3] (POLL_IN): Likewise.
7143 [POSIX || XPG3] (POLL_OUT): Likewise.
7144 [POSIX || XPG3] (POLL_MSG): Likewise.
7145 [POSIX || XPG3] (POLL_ERR): Likewise.
7146 [POSIX || XPG3] (POLL_PRI): Likewise.
7147 [POSIX || XPG3] (POLL_HUP): Likewise.
7148 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7149 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7150 (SIG*): Do not allow.
7151 [XPG3] (si_*): Likewise.
7152 [XPG3] (SI_*): Likewise.
7153 [XPG3 || XPG4] (sigev_*): Likewise.
7154 [XPG3 || XPG4] (SIGEV_*): Likewise.
7155 [XPG3 || XPG4] (sival_*): Likewise.
7156 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7157 [POSIX || XPG3] (BUS_*): Likewise.
7158 [POSIX || XPG3] (CLD_*): Likewise.
7159 [POSIX || XPG3] (FPE_*): Likewise.
7160 [POSIX || XPG3] (ILL_*): Likewise.
7161 [POSIX || XPG3] (POLL_*): Likewise.
7162 [POSIX || XPG3] (SEGV_*): Likewise.
7163 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7164 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7165 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7166 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7167 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7168 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7169 Specify type and value.
7170 (TVERSLEN): Likewise.
7171 (REGTYPE): Likewise.
7172 (AREGTYPE): Likewise.
7173 (LNKTYPE): Likewise.
7174 (SYMTYPE): Likewise.
7175 (CHRTYPE): Likewise.
7176 (BLKTYPE): Likewise.
7177 (DIRTYPE): Likewise.
7178 (FIFOTYPE): Likewise.
7179 (CONTTYPE): Likewise.
7180 (TSUID): Likewise.
7181 (TSGID): Likewise.
7182 (TSVTX): Likewise.
7183 (TUREAD): Likewise.
7184 (TUWRITE): Likewise.
7185 (TUEXEC): Likewise.
7186 (TGREAD): Likewise.
7187 (TGWRITE): Likewise.
7188 (TGEXEC): Likewise.
7189 (TOREAD): Likewise.
7190 (TOWRITE): Likewise.
7191 (TOEXEC): Likewise.
7192 [POSIX] (TSVTX): Expect constant.
7193
aa97dee1
JM
71942014-03-06 Joseph Myers <joseph@codesourcery.com>
7195
f214606a
JM
7196 * Makefile (tests): Change dependencies to ....
7197 (tests-special): ... additions to this variable.
7198 (tests): Depend on $(tests-special).
7199 * Makerules (check-abi-list): New variable.
7200 (check-abi): Depend on $(check-abi-list).
7201 [$(subdir) = elf] (tests-special): Add
7202 $(objpfx)check-abi-libc.out.
7203 [$(build-shared) = yes && subdir] (tests-special): Add
7204 $(check-abi-list).
7205 [$(build-shared) = yes && subdir] (tests): Do not depend on
7206 check-abi.
7207 * Rules (tests): Depend on $(tests-special).
7208 (xtests): Depend on $(xtests-special).
7209 * catgets/Makefile (tests): Change dependencies to ....
7210 (tests-special): ... additions to this variable.
7211 * conform/Makefile (tests): Change dependencies to ....
7212 (tests-special): ... additions to this variable.
7213 * elf/Makefile (tests): Change dependencies to ....
7214 (tests-special): ... additions to this variable.
7215 * grp/Makefile (tests): Change dependencies to ....
7216 (tests-special): ... additions to this variable.
7217 * iconv/Makefile (xtests): Change dependencies to ....
7218 (xtests-special): ... additions to this variable.
7219 * iconvdata/Makefile (tests): Change dependencies to ....
7220 (tests-special): ... additions to this variable.
7221 * intl/Makefile (tests): Change dependencies to ....
7222 (tests-special): ... additions to this variable. Also add
7223 $(objpfx)tst-gettext.out.
7224 * io/Makefile (tests): Change dependencies to ....
7225 (tests-special): ... additions to this variable.
7226 * libio/Makefile (tests): Change dependencies to ....
7227 (tests-special): ... additions to this variable.
7228 * malloc/Makefile (tests): Change dependencies to ....
7229 (tests-special): ... additions to this variable.
7230 * misc/Makefile (tests): Change dependencies to ....
7231 (tests-special): ... additions to this variable.
7232 * nptl/Makefile (tests): Change dependencies to ....
7233 (tests-special): ... additions to this variable.
7234 * nptl_db/Makefile (tests): Change dependencies to ....
7235 (tests-special): ... additions to this variable.
7236 * posix/Makefile (tests): Change dependencies to ....
7237 (tests-special): ... additions to this variable.
7238 (xtests): Change dependencies to ....
7239 (xtests-special): ... additions to this variable.
7240 * resolv/Makefile (tests): Change dependencies to ....
7241 (tests-special): ... additions to this variable.
7242 (xtests): Change dependencies to ....
7243 (xtests-special): ... additions to this variable.
7244 * stdio-common/Makefile (tests): Change dependencies to ....
7245 (tests-special): ... additions to this variable.
7246 (do-tst-unbputc): Remove target.
7247 (do-tst-printf): Likewise.
7248 * stdlib/Makefile (tests): Change dependencies to ....
7249 (tests-special): ... additions to this variable.
7250 * string/Makefile (tests): Change dependencies to ....
7251 (tests-special): ... additions to this variable.
7252 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7253 (tests-special): ... additions to this variable.
7254
81700b53
JM
7255 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7256 whole file.
7257 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7258 whole file.
7259 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7260 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7261
2ea18461
JM
7262 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7263 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7264 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7265 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7266 * conform/data/libgen.h-data [XPG3]: Likewise.
7267 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7268 * conform/data/ndbm.h-data [XPG3]: Likewise.
7269 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7270 * conform/data/netdb.h-data [XPG3]: Likewise.
7271 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7272 * conform/data/poll.h-data [XPG3]: Likewise.
7273 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7274 * conform/data/strings.h-data [XPG3]: Likewise.
7275 * conform/data/stropts.h-data [XPG3]: Likewise.
7276 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7277 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7278 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7279 Likewise.
7280 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7281 * conform/data/sys/time.h-data [XPG3]: Likewise.
7282 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7283 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7284 * conform/data/sys/un.h-data [XPG3]: Likewise.
7285 * conform/data/syslog.h-data [XPG3]: Likewise.
7286 * conform/data/ucontext.h-data [XPG3]: Likewise.
7287 * conform/data/utmpx.h-data [XPG3]: Likewise.
7288 * conform/data/varargs.h-data [UNIX98]: Enable file.
7289
355bc986
JM
7290 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7291
215db402
JM
7292 * math/libm-test.inc (struct test_f_f_data): Move expected results
7293 into structure for each rounding mode.
7294 (struct test_ff_f_data): Likewise.
7295 (struct test_ff_f_data_nexttoward): Likewise.
7296 (struct test_fi_f_data): Likewise.
7297 (struct test_fl_f_data): Likewise.
7298 (struct test_if_f_data): Likewise.
7299 (struct test_fff_f_data): Likewise.
7300 (struct test_c_f_data): Likewise.
7301 (struct test_f_f1_data): Likewise.
7302 (struct test_fF_f1_data): Likewise.
7303 (struct test_ffI_f1_data): Likewise.
7304 (struct test_c_c_data): Likewise.
7305 (struct test_cc_c_data): Likewise.
7306 (struct test_f_i_data): Likewise.
7307 (struct test_ff_i_data): Likewise.
7308 (struct test_f_l_data): Likewise.
7309 (struct test_f_L_data): Likewise.
7310 (struct test_fFF_11_data): Likewise.
7311 (RM_): New macro.
7312 (RM_FE_DOWNWARD): Likewise.
7313 (RM_FE_TONEAREST): Likewise.
7314 (RM_FE_TOWARDZERO): Likewise.
7315 (RM_FE_UPWARD): Likewise.
7316 (RUN_TEST_LOOP_f_f): Update references to expected results.
7317 (RUN_TEST_LOOP_2_f): Likewise.
7318 (RUN_TEST_LOOP_fff_f): Likewise.
7319 (RUN_TEST_LOOP_c_f): Likewise.
7320 (RUN_TEST_LOOP_f_f1): Likewise.
7321 (RUN_TEST_LOOP_fF_f1): Likewise.
7322 (RUN_TEST_LOOP_fI_f1): Likewise.
7323 (RUN_TEST_LOOP_ffI_f1): Likewise.
7324 (RUN_TEST_LOOP_c_c): Likewise.
7325 (RUN_TEST_LOOP_cc_c): Likewise.
7326 (RUN_TEST_LOOP_f_i): Likewise.
7327 (RUN_TEST_LOOP_f_i_tg): Likewise.
7328 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7329 (RUN_TEST_LOOP_f_b): Likewise.
7330 (RUN_TEST_LOOP_f_b_tg): Likewise.
7331 (RUN_TEST_LOOP_f_l): Likewise.
7332 (RUN_TEST_LOOP_f_L): Likewise.
7333 (RUN_TEST_LOOP_fFF_11): Likewise.
7334 * math/gen-libm-test.pl (parse_args): Output four copies of
7335 expected results for each test.
7336
67737b8f
JM
7337 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7338 (__ASSUME_UTIMES): Remove.
7339 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7340 (__ASSUME_UTIMES): Likewise.
7341
aa97dee1
JM
7342 * math/gen-auto-libm-tests.c: Update comment on output format.
7343 (output_for_one_input_case): Generate before-rounding and
7344 after-rounding information as conditions on output flags not
7345 floating-point format.
7346 * math/auto-libm-test-out: Regenerated.
7347 * math/gen-libm-test.pl (cond_value): New function.
7348 (or_cond_value): Use cond_value.
7349 (generate_testfile): Handle conditional exceptions.
7350
e6b6a857
JM
73512014-03-05 Joseph Myers <joseph@codesourcery.com>
7352
2f0a0f44
JM
7353 * math/libm-test.inc (max_valid_error): New variable.
7354 (init_max_error): Take new argument specifying whether function
7355 results are exactly determined. Set max_valid_error and bound
7356 other variables for errors based on this argument.
7357 (set_max_error): Do not record results above max_valid_error.
7358 (check_float_internal): Only accept errors of up to 0.5ulps if
7359 also at most max_valid_error.
7360 (START): Take new argument EXACT and pass it to init_max_error.
7361 (acos_test): Update call to START.
7362 (acos_test_tonearest): Likewise.
7363 (acos_test_towardzero): Likewise.
7364 (acos_test_downward): Likewise.
7365 (acos_test_upward): Likewise.
7366 (acosh_test): Likewise.
7367 (asin_test): Likewise.
7368 (asin_test_tonearest): Likewise.
7369 (asin_test_towardzero): Likewise.
7370 (asin_test_downward): Likewise.
7371 (asin_test_upward): Likewise.
7372 (asinh_test): Likewise.
7373 (atan_test): Likewise.
7374 (atanh_test): Likewise.
7375 (atan2_test): Likewise.
7376 (cabs_test): Likewise.
7377 (cacos_test): Likewise.
7378 (cacosh_test): Likewise.
7379 (carg_test): Likewise.
7380 (casin_test): Likewise.
7381 (casinh_test): Likewise.
7382 (catan_test): Likewise.
7383 (catanh_test): Likewise.
7384 (cbrt_test): Likewise.
7385 (ccos_test): Likewise.
7386 (ccosh_test): Likewise.
7387 (ceil_test): Likewise.
7388 (cexp_test): Likewise.
7389 (cimag_test): Likewise.
7390 (clog_test): Likewise.
7391 (clog10_test): Likewise.
7392 (conj_test): Likewise.
7393 (copysign_test): Likewise.
7394 (cos_test): Likewise.
7395 (cos_test_tonearest): Likewise.
7396 (cos_test_towardzero): Likewise.
7397 (cos_test_downward): Likewise.
7398 (cos_test_upward): Likewise.
7399 (cosh_test): Likewise.
7400 (cosh_test_tonearest): Likewise.
7401 (cosh_test_towardzero): Likewise.
7402 (cosh_test_downward): Likewise.
7403 (cosh_test_upward): Likewise.
7404 (cpow_test): Likewise.
7405 (cproj_test): Likewise.
7406 (creal_test): Likewise.
7407 (csin_test): Likewise.
7408 (csinh_test): Likewise.
7409 (csqrt_test): Likewise.
7410 (ctan_test): Likewise.
7411 (ctan_test_tonearest): Likewise.
7412 (ctan_test_towardzero): Likewise.
7413 (ctan_test_downward): Likewise.
7414 (ctan_test_upward): Likewise.
7415 (ctanh_test): Likewise.
7416 (ctanh_test_tonearest): Likewise.
7417 (ctanh_test_towardzero): Likewise.
7418 (ctanh_test_downward): Likewise.
7419 (ctanh_test_upward): Likewise.
7420 (erf_test): Likewise.
7421 (erfc_test): Likewise.
7422 (exp_test): Likewise.
7423 (exp_test_tonearest): Likewise.
7424 (exp_test_towardzero): Likewise.
7425 (exp_test_downward): Likewise.
7426 (exp_test_upward): Likewise.
7427 (exp10_test): Likewise.
7428 (exp10_test_tonearest): Likewise.
7429 (exp10_test_towardzero): Likewise.
7430 (exp10_test_downward): Likewise.
7431 (exp10_test_upward): Likewise.
7432 (pow10_test): Likewise.
7433 (exp2_test): Likewise.
7434 (expm1_test): Likewise.
7435 (expm1_test_tonearest): Likewise.
7436 (expm1_test_towardzero): Likewise.
7437 (expm1_test_downward): Likewise.
7438 (expm1_test_upward): Likewise.
7439 (fabs_test): Likewise.
7440 (fdim_test): Likewise.
7441 (floor_test): Likewise.
7442 (fma_test): Likewise.
7443 (fma_test_towardzero): Likewise.
7444 (fma_test_downward): Likewise.
7445 (fma_test_upward): Likewise.
7446 (fmax_test): Likewise.
7447 (fmin_test): Likewise.
7448 (fmod_test): Likewise.
7449 (fpclassify_test): Likewise.
7450 (frexp_test): Likewise.
7451 (hypot_test): Likewise.
7452 (ilogb_test): Likewise.
7453 (isfinite_test): Likewise.
7454 (finite_test): Likewise.
7455 (isgreater_test): Likewise.
7456 (isgreaterequal_test): Likewise.
7457 (isinf_test): Likewise.
7458 (isless_test): Likewise.
7459 (islessequal_test): Likewise.
7460 (islessgreater_test): Likewise.
7461 (isnan_test): Likewise.
7462 (isnormal_test): Likewise.
7463 (issignaling_test): Likewise.
7464 (isunordered_test): Likewise.
7465 (j0_test): Likewise.
7466 (j1_test): Likewise.
7467 (jn_test): Likewise.
7468 (ldexp_test): Likewise.
7469 (lgamma_test): Likewise.
7470 (gamma_test): Likewise.
7471 (lrint_test): Likewise.
7472 (lrint_test_tonearest): Likewise.
7473 (lrint_test_towardzero): Likewise.
7474 (lrint_test_downward): Likewise.
7475 (lrint_test_upward): Likewise.
7476 (llrint_test): Likewise.
7477 (llrint_test_tonearest): Likewise.
7478 (llrint_test_towardzero): Likewise.
7479 (llrint_test_downward): Likewise.
7480 (llrint_test_upward): Likewise.
7481 (log_test): Likewise.
7482 (log10_test): Likewise.
7483 (log1p_test): Likewise.
7484 (log2_test): Likewise.
7485 (logb_test): Likewise.
7486 (logb_test_downward): Likewise.
7487 (lround_test): Likewise.
7488 (llround_test): Likewise.
7489 (modf_test): Likewise.
7490 (nearbyint_test): Likewise.
7491 (nextafter_test): Likewise.
7492 (nexttoward_test): Likewise.
7493 (pow_test): Likewise.
7494 (pow_test_tonearest): Likewise.
7495 (pow_test_towardzero): Likewise.
7496 (pow_test_downward): Likewise.
7497 (pow_test_upward): Likewise.
7498 (remainder_test): Likewise.
7499 (drem_test): Likewise.
7500 (remainder_test_tonearest): Likewise.
7501 (drem_test_tonearest): Likewise.
7502 (remainder_test_towardzero): Likewise.
7503 (drem_test_towardzero): Likewise.
7504 (remainder_test_downward): Likewise.
7505 (drem_test_downward): Likewise.
7506 (remainder_test_upward): Likewise.
7507 (drem_test_upward): Likewise.
7508 (remquo_test): Likewise.
7509 (rint_test): Likewise.
7510 (rint_test_tonearest): Likewise.
7511 (rint_test_towardzero): Likewise.
7512 (rint_test_downward): Likewise.
7513 (rint_test_upward): Likewise.
7514 (round_test): Likewise.
7515 (scalb_test): Likewise.
7516 (scalbn_test): Likewise.
7517 (scalbln_test): Likewise.
7518 (signbit_test): Likewise.
7519 (sin_test): Likewise.
7520 (sin_test_tonearest): Likewise.
7521 (sin_test_towardzero): Likewise.
7522 (sin_test_downward): Likewise.
7523 (sin_test_upward): Likewise.
7524 (sincos_test): Likewise.
7525 (sinh_test): Likewise.
7526 (sinh_test_tonearest): Likewise.
7527 (sinh_test_towardzero): Likewise.
7528 (sinh_test_downward): Likewise.
7529 (sinh_test_upward): Likewise.
7530 (sqrt_test): Likewise.
7531 (sqrt_test_tonearest): Likewise.
7532 (sqrt_test_towardzero): Likewise.
7533 (sqrt_test_downward): Likewise.
7534 (sqrt_test_upward): Likewise.
7535 (tan_test): Likewise.
7536 (tan_test_tonearest): Likewise.
7537 (tan_test_towardzero): Likewise.
7538 (tan_test_downward): Likewise.
7539 (tan_test_upward): Likewise.
7540 (tanh_test): Likewise.
7541 (tgamma_test): Likewise.
7542 (trunc_test): Likewise.
7543 (y0_test): Likewise.
7544 (y1_test): Likewise.
7545 (yn_test): Likewise.
7546 (significand_test): Likewise.
7547
e6b6a857
JM
7548 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7549 individual tests in comment.
7550 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7551 (prev_max_error): New variable.
7552 (prev_real_max_error): Likewise.
7553 (prev_imag_max_error): Likewise.
7554 (compare_ulp_data): Don't refer to test names in comment.
7555 (find_test_ulps): Remove function.
7556 (find_function_ulps): Likewise.
7557 (find_complex_function_ulps): Likewise.
7558 (init_max_error): Take function name as argument. Look up ulps
7559 for that function.
7560 (print_ulps): Remove function.
7561 (print_max_error): Use prev_max_error instead of calling
7562 find_function_ulps.
7563 (print_complex_max_error): Use prev_real_max_error and
7564 prev_imag_max_error instead of calling find_complex_function_ulps.
7565 (check_float_internal): Take max_ulp parameter instead of calling
7566 find_test_ulps. Don't call print_ulps.
7567 (check_float): Update call to check_float_internal.
7568 (check_complex): Update calls to check_float_internal.
7569 (START): Pass argument to init_max_error.
7570 * math/gen-libm-test.pl (%results): Don't include "kind"
7571 information.
7572 (parse_ulps): Don't handle ulps of individual tests.
7573 (print_ulps_file): Likewise.
7574 (output_ulps): Likewise.
7575 * math/README.libm-test: Update.
7576 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7577 individual tests.
7578 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7579 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7580 * sysdeps/arm/libm-test-ulps: Likewise.
7581 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7582 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7583 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7584 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7585 * sysdeps/microblaze/libm-test-ulps: Likewise.
7586 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7587 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7588 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7589 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7590 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7591 * sysdeps/sh/libm-test-ulps: Likewise.
7592 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7593 * sysdeps/tile/libm-test-ulps: Likewise.
7594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7595
45adef3c
JM
75962014-03-04 Joseph Myers <joseph@codesourcery.com>
7597
7598 * math/libm-test.inc (print_complex_max_error): Check separately
7599 whether real and imaginary errors are within allowed range and
7600 pass 0 to print_complex_function_ulps instead of value within
7601 allowed range.
7602
000232b9
SP
76032014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7604
d4b17258
SP
7605 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7606 formatting.
7607 (get_handles_fopen): Likewise.
7608 (do_write_test): Likewise.
7609
091eff71
SP
7610 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7611
fa3cd248
SP
7612 * libio/fileops.c (do_ftell): Use cached offset when
7613 available.
7614 * libio/iofwide.c (do_ftell_wide): Likewise.
7615 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7616 _IO_file_attach.
7617 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7618
000232b9
SP
7619 [BZ #16532]
7620 * libio/libioP.h (get_file_offset): New function.
7621 * libio/fileops.c (get_file_offset): Likewise.
7622 (do_ftell): Likewise.
7623 (_IO_new_file_seekoff): Split out ftell logic.
7624 * libio/wfileops.c (do_ftell_wide): Likewise.
7625 (_IO_wfile_seekoff): Split out ftell logic.
7626 * libio/tst-ftell-active-handler.c: New test case.
7627 * libio/Makefile (tests): Add it.
7628
116f4d1a
RM
76292014-03-03 Roland McGrath <roland@hack.frob.com>
7630
7631 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7632 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7633
532a6035
SP
76342014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7635
7636 [BZ #16639]
7637 * nscd/connections.c (nscd_init): Call do_exit.
7638 (start_threads): Call do_exit and notify_parent.
7639 (begin_drop_privileges): Call do_exit.
7640 (finish_drop_privileges): Likewise.
7641 * nscd/selinux.c (preserve_capabilities): Likewise.
7642 (install_real_capabilities): Likewise.
7643 (nscd_selinux_enabled): Likewise.
7644 (avc_create_thread): Likewise.
7645 (avc_alloc_lock): Likewise.
7646 (nscd_avc_init): Likewise.
7647 * nscd/nscd.c (parent_fd): New static variable.
7648 (main): Create a pipe between parent and child processes.
7649 Skip closing parent_fd.
7650 (monitor_child): New function.
7651 (do_exit): Likewise.
7652 (notify_parent): Likewise.
7653 * nscd/nscd.h (notify_parent): Likewise.
7654 (do_exit): Likewise.
7655
d6285c9f
CD
76562014-03-03 Carlos O'Donell <carlos@redhat.com>
7657
7658 * malloc/malloc.c (__libc_calloc): Revert last change.
7659
2b85d2a0
AZ
76602014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7661
7662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7663
c7debbdf
RS
76642014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7665
7666 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7668 implementation.
7669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7670 (__libc_ifunc_impl_list): Likewise.
7671 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7672 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7673 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7674 * string/strrchr.c: Define STRRCHR.
7675
235eed86
OB
76762014-02-28 Ondřej Bílka <neleai@seznam.cz>
7677
7678 * benchtest/bench-strtok.c (simple_strtok): Delete.
7679 (strtok_string): Use as benchmark.
7680 * string/strtok (STRTOK): New macro.
7681
8e25d1e7
CD
76822014-02-28 Carlos O'Donell <carlos@redhat.com>
7683
ef563f92
CD
7684 * manual/threads.texi: Add header and standard comments to all
7685 functions.
7686
8e25d1e7
CD
7687 * elf/dl-lookup.c (check_match): New function.
7688 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7689 (do_lookup_x): Remove nested function check_match. Use non-nested
7690 function check_match.
7691
ff71cc37
RM
76922014-02-28 Roland McGrath <roland@hack.frob.com>
7693
f08e9a26
RM
7694 * csu/Makefile (generated, before-compile): Use += rather than =.
7695 * catgets/Makefile (generated, generated-dirs): Likewise.
7696 * debug/Makefile (generated): Likewise.
7697 * dlfcn/Makefile (generated): Likewise.
7698 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7699 * iconvdata/Makefile (before-compile, generated): Likewise.
7700 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7701 * libio/Makefile (generated): Likewise.
7702 * malloc/Makefile (generated): Likewise.
7703 * manual/Makefile (generated, generated-dirs): Likewise.
7704 * misc/Makefile (generated): Likewise.
7705 * posix/Makefile (generated): Likewise.
7706 * resolv/Makefile (generated): Likewise.
7707 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7708 * timezone/Makefile (generated, generated-dirs): Likewise.
7709
ff71cc37
RM
7710 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7711
fe13a20c
AZ
77122014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7713
57f41c40
AS
7714 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7715 power8 implementation.
7716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7717 file: POWER8 llround ifunc implementation.
7718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7719 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
7720 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7721 POWER8 llround implementation.
7722
57f41c40
AS
7723 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7724 power8 implementation.
7725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7726 file: POWER8 llrint ifunc implementation.
7727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7728 Add POWER8 implementation.
1ad8950a
AZ
7729 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7730 POWER8 llrint implementation.
7731
57f41c40
AS
7732 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7733 power8 implementation.
7734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7735 file: POWER8 finite ifunc implementation.
7736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7737 Add POWER8 implementation.
cac626d6
AZ
7738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7739 Likewise.
7740 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7741 POWER8 finite implementation.
7742 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7743
57f41c40
AS
7744 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7745 power8 implementation.
7746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7747 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
7748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7749 POWER8 implementation.
7750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7751 Likewise.
57f41c40
AS
7752 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7753 isinf implementation.
4393fc11
AZ
7754 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7755
57f41c40
AS
7756 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7757 (INIT_ARCH): Add hwcap2 initialization.
7758 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7759 power8 implementation.
7760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7761 file: POWER8 isnan ifunc implementation.
487972ae
AZ
7762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7763 POWER8 implementation.
7764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7765 Likewise.
57f41c40
AS
7766 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7767 isnan implementation.
487972ae
AZ
7768 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7769
7d92b787
JY
77702014-02-27 Joey Ye <joey.ye@arm.com>
7771
7772 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7773 (_FP_NANFRAC_Q): Set to zero.
7774
1cadc858
SP
77752014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7776
7777 [BZ #16623]
7778 * math/auto-libm-test-in: New test inputs.
7779 * math/auto-libm-test-out: Regenerate.
7780 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7781 and DA.
7782 (__cos): Likewise.
7783 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7784
f8c17e79
JM
77852014-02-27 Joseph Myers <joseph@codesourcery.com>
7786
7787 * scripts/evaluate-test.sh: Take new argument indicating whether
7788 failure is expected.
7789 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7790 indicating whether failure is expected.
7791 * conform/Makefile (test-xfail-run-conformtest): New variable.
7792 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7793 level.
7794 * posix/Makefile (test-xfail-annexc): New variable.
7795 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7796
a5f891ac
JM
77972014-02-26 Joseph Myers <joseph@codesourcery.com>
7798
7799 * argp/Makefile: Include Makeconfig immediately after defining
7800 subdir.
7801 * assert/Makefile: Likewise.
7802 * benchtests/Makefile: Likewise.
7803 * catgets/Makefile: Likewise.
7804 * conform/Makefile: Likewise.
7805 * crypt/Makefile: Likewise.
7806 * csu/Makefile: Likewise.
7807 (all): Remove target.
7808 * ctype/Makefile: Include Makeconfig immediately after defining
7809 subdir.
7810 * debug/Makefile: Likewise.
7811 * dirent/Makefile: Likewise.
7812 * dlfcn/Makefile: Likewise.
7813 * gmon/Makefile: Likewise.
7814 * gnulib/Makefile: Likewise.
7815 * grp/Makefile: Likewise.
7816 * gshadow/Makefile: Likewise.
7817 * hesiod/Makefile: Likewise.
7818 * hurd/Makefile: Likewise.
7819 (all): Remove target.
7820 * iconvdata/Makefile: Include Makeconfig immediately after
7821 defining subdir.
7822 * inet/Makefile: Likewise.
7823 * intl/Makefile: Likewise.
7824 * io/Makefile: Likewise.
7825 * libio/Makefile: Likewise.
7826 (all): Remove target.
7827 * locale/Makefile: Include Makeconfig immediately after defining
7828 subdir.
7829 * login/Makefile: Likewise.
7830 * mach/Makefile: Likewise.
7831 (all): Remove target.
7832 * malloc/Makefile: Include Makeconfig immediately after defining
7833 subdir.
7834 (all): Remove target.
7835 * manual/Makefile: Include Makeconfig immediately after defining
7836 subdir.
7837 * math/Makefile: Likewise.
7838 * misc/Makefile: Likewise.
7839 * nis/Makefile: Likewise.
7840 * nss/Makefile: Likewise.
7841 * po/Makefile: Likewise.
7842 (all): Remove target.
7843 * posix/Makefile: Include Makeconfig immediately after defining
7844 subdir.
7845 * pwd/Makefile: Likewise.
7846 * resolv/Makefile: Likewise.
7847 * resource/Makefile: Likewise.
7848 * rt/Makefile: Likewise.
7849 * setjmp/Makefile: Likewise.
7850 * shadow/Makefile: Likewise.
7851 * signal/Makefile: Likewise.
7852 * socket/Makefile: Likewise.
7853 * soft-fp/Makefile: Likewise.
7854 * stdio-common/Makefile: Likewise.
7855 * stdlib/Makefile: Likewise.
7856 * streams/Makefile: Likewise.
7857 * string/Makefile: Likewise.
7858 * sunrpc/Makefile: Likewise.
7859 (all): Remove target.
7860 * sysvipc/Makefile: Include Makeconfig immediately after defining
7861 subdir.
7862 * termios/Makefile: Likewise.
7863 * time/Makefile: Likewise.
7864 * timezone/Makefile: Likewise.
7865 (all): Remove target.
7866 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7867 subdir.
7868 * wctype/Makefile: Likewise.
7869
5b456e9d
SE
78702014-02-26 Steve Ellcey <sellcey@mips.com>
7871
7872 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7873 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7874 (libc_feholdexcept_setround_mips): Ditto.
7875 (libc_feholdsetround): New.
7876 (libc_feholdsetroundf): New.
7877 (libc_feholdsetroundl): New.
7878 (libc_feupdateenv_test_mips): New.
7879 (libc_feupdateenv_test): New.
7880 (libc_feupdateenv_testf): New.
7881 (libc_feupdateenv_testl): New.
7882 (libc_feresetround): New.
7883 (libc_feresetroundf): New.
7884 (libc_feresetroundl): New.
7885 (libc_fetestexcept_mips): New.
7886 (libc_fetestexcept): New.
7887 (libc_fetestexceptf): New.
7888 (libc_fetestexceptl): New.
7889 (HAVE_RM_CTX): New.
7890 (libc_feholdexcept_setround_mips_ctx): New.
7891 (libc_feholdexcept_setround_ctx): New.
7892 (libc_feholdexcept_setroundf_ctx): New.
7893 (libc_feholdexcept_setroundl_ctx): New.
7894 (libc_fesetenv_mips_ctx): New.
7895 (libc_fesetenv_ctx): New.
7896 (libc_fesetenv_ctxf): New.
7897 (libc_fesetenv_ctxl): New.
7898 (libc_feupdateenv_mips_ctx): New.
7899 (libc_feupdateenv_ctx): New.
7900 (libc_feupdateenvf_ctx): New.
7901 (libc_feupdateenvl_ctx): New.
7902 (libc_feholdsetround_mips_ctx): New.
7903 (libc_feholdsetround_ctx): New.
7904 (libc_feholdsetroundf_ctx): New.
7905 (libc_feholdsetroundl_ctx): New.
7906 (libc_feresetround_mips_ctx): New.
7907 (libc_feresetround_ctx): New.
7908 (libc_feresetroundf_ctx): New.
7909 (libc_feresetroundl_ctx): New.
7910
085d0e35
CD
79112014-02-26 Carlos O'Donell <carlos@redhat.com>
7912
f067bf1f
CD
7913 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7914
085d0e35
CD
7915 * manual/ipc.texi: New file.
7916 * manual/Makefile (chapters): Add ipc.
7917 * manual/job.texi: Add "Inter-Process Communication" to next.
7918 * manual/process.texi: Add "Inter-Process Communication" to prev.
7919
86e58c08
AZ
79202014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7921
7922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7923
4248f0da
OB
79242014-02-26 Ondřej Bílka <neleai@seznam.cz>
7925
7926 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7927
cf822e3c
OB
7928 * manual/arith.texi: Fix spaces after sentences.
7929 * manual/charset.texi: Likewise.
7930 * manual/errno.texi: Likewise.
7931 * manual/install.texi: Likewise.
7932 * manual/llio.texi: Likewise.
7933 * manual/locale.texi: Likewise.
7934 * manual/maint.texi: Likewise.
7935 * manual/math.texi: Likewise.
7936 * manual/memory.texi: Likewise.
7937 * manual/message.texi: Likewise.
7938 * manual/probes.texi: Likewise.
7939 * manual/resource.texi: Likewise.
7940 * manual/signal.texi: Likewise.
7941 * manual/socket.texi: Likewise.
7942 * manual/stdio.texi: Likewise.
7943 * manual/string.texi: Likewise.
7944 * manual/time.texi: Likewise.
7945 * manual/users.texi: Likewise.
7946
ade40b10
CD
79472014-02-25 Carlos O'Donell <carlos@redhat.com>
7948
7949 [BZ #16632]
7950 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7951 _DEFAULT_SOURCE is defined.
7952
d0503676
CD
79532014-02-25 Ulrich Drepper <drepper@gmail.com>
7954 Carlos O'Donell <carlos@redhat.com>
7955
7956 [BZ #16613]
7957 * elf/dl-tls.c (_dl_count_modids): New function.
7958 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7959 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7960 audit library and increment generation counter.
7961 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7962 * elf/tst-audit9.c: New file.
7963 * elf/tst-auditmod9a.c: New file.
7964 * elf/tst-auditmod9b.c: New file.
7965 * elf/Makefile: Add rules to build and run tst-audit9.
7966
4cbf380c
FW
79672014-02-25 Florian Weimer <fweimer@redhat.com>
7968
7969 [BZ #15347]
7970 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7971
80a56cc3
WN
79722014-02-25 Will Newton <will.newton@linaro.org>
7973
7974 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7975 (__longjmp): Restore sp and lr before restoring callee
7976 saved registers. Add longjmp and longjmp_target
7977 SystemTap probe point.
7978 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7979 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7980 Define to zero to match jmpbuf layout.
7981 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7982 (__sigsetjmp): Save sp and lr before saving callee
7983 saved registers. Add setjmp SystemTap probe point.
7984
3ea0f74e
SL
79852014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7986
7987 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7988
b04acb26
AS
79892014-02-24 Andreas Schwab <schwab@suse.de>
7990
7991 [BZ #15804]
7992 * elf/pldd.c (wait_for_ptrace_stop): New function.
7993 (main): Call it after attaching.
7994
098ad55c
RM
79952014-02-22 Roland McGrath <roland@hack.frob.com>
7996
d4ec6ae1
RM
7997 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7998 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7999 Versions files is now verboten.
8000 * hurd/Versions (libc: GLIBC_2.0):
8001 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8002 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8003 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8004 * mach/Versions: Likewise.
8005
098ad55c
RM
8006 * csu/Versions: Remove unused %include.
8007 * resolv/Versions: Likewise.
8008
acd7f096
JM
80092014-02-21 Joseph Myers <joseph@codesourcery.com>
8010
f0881698
JM
8011 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8012 ($(objpfx)check-local-headers.out): Likewise.
8013 ($(objpfx)begin-end-check.out): Likewise.
8014 * Makerules (check-abi-%.out): Likewise.
8015 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8016 ($(objpfx)test2.cat): Likewise.
8017 ($(objpfx)de/libc.cat): Likewise.
8018 ($(objpfx)test-gencat.out): Likewise.
8019 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8020 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8021 ($(objpfx)noload-mem): Likewise.
8022 ($(objpfx)tst-pathopt.out): Likewise.
8023 ($(objpfx)tst-rtld-load-self.out): Likewise.
8024 ($(objpfx)tst-array1-cmp.out): Likewise.
8025 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8026 ($(objpfx)tst-array2-cmp.out): Likewise.
8027 ($(objpfx)tst-array3-cmp.out): Likewise.
8028 ($(objpfx)tst-array4-cmp.out): Likewise.
8029 ($(objpfx)tst-array5-cmp.out): Likewise.
8030 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8031 ($(objpfx)check-textrel.out): Likewise.
8032 ($(objpfx)check-execstack.out): Likewise.
8033 ($(objpfx)check-localplt.out): Likewise.
8034 ($(objpfx)order2-cmp.out): Likewise.
8035 ($(objpfx)tst-leaks1-mem): Likewise.
8036 ($(objpfx)tst-leaks1-static-mem): Likewise.
8037 ($(objpfx)tst-initorder-cmp.out): Likewise.
8038 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8039 ($(objpfx)tst-unused-dep.out): Likewise.
8040 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8041 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8042 * iconv/Makefile (test-iconvconfig): Likewise.
8043 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8044 ($(objpfx)iconv-test.out): Likewise.
8045 ($(objpfx)tst-tables.out): Likewise.
8046 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8047 ($(objpfx)tst-gettext.out): Likewise.
8048 ($(objpfx)tst-translit.out): Likewise.
8049 ($(objpfx)tst-gettext2.out): Likewise.
8050 ($(objpfx)tst-gettext4.out): Likewise.
8051 ($(objpfx)tst-gettext6.out): Likewise.
8052 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8053 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8054 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8055 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8056 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8057 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8058 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8059 ($(objpfx)wordexp-tst.out): Likewise.
8060 ($(objpfx)annexc.out): Likewise.
8061 ($(objpfx)tst-fnmatch-mem): Likewise.
8062 ($(objpfx)bug-regex2-mem): Likewise.
8063 ($(objpfx)bug-regex14-mem): Likewise.
8064 ($(objpfx)bug-regex21-mem): Likewise.
8065 ($(objpfx)bug-regex31-mem): Likewise.
8066 ($(objpfx)tst-vfork3-mem): Likewise.
8067 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8068 ($(objpfx)tst-pcre-mem): Likewise.
8069 ($(objpfx)tst-boost-mem): Likewise.
8070 ($(objpfx)tst-getconf.out): Likewise.
8071 ($(objpfx)bug-ga2-mem): Likewise.
8072 ($(objpfx)bug-glob2-mem): Likewise.
8073 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8074 ($(objpfx)mtrace-tst-leaks2): Likewise.
8075 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8076 ($(objpfx)tst-printf.out): Likewise.
8077 ($(objpfx)tst-setvbuf1.out): Likewise.
8078 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8079 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8080 ($(objpfx)tst-fmtmsg.out): Likewise.
8081 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8082 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8083
acd7f096
JM
8084 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8085 * bits/sigaction.h [__USE_MISC]: Likewise.
8086 * bits/waitstatus.h: Update #endif comments.
8087 * ctype/ctype.h: Likewise.
8088 * dirent/dirent.h: Likewise.
8089 [__USE_MISC]: Remove redundant conditionals.
8090 * grp/grp.h: Update #endif comments.
8091 [__USE_GNU]: Remove redundant conditionals.
8092 [__USE_MISC]: Likewise.
8093 * inet/netinet/in.h [__USE_GNU]: Likewise.
8094 * io/sys/stat.h [__USE_MISC]: Likewise.
8095 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8096 * libio/bits/stdio.h: Update #endif comments.
8097 [__USE_MISC]: Remove redundant conditionals.
8098 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8099 * libio/stdio.h: Update #endif comments.
8100 [__USE_MISC]: Remove redundant conditionals.
8101 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8102 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8103 * math/math.h: Update #else and #endif comments.
8104 [__USE_MISC]: Remove redundant conditionals.
8105 * misc/sys/uio.h: Update #endif comments.
8106 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8107 * posix/glob.h [__USE_MISC]: Likewise.
8108 * posix/sys/types.h: Update #endif comments.
8109 [__USE_MISC]: Remove redundant conditionals.
8110 * posix/sys/wait.h: Update #endif comments.
8111 [__USE_MISC]: Remove redundant conditionals.
8112 * posix/unistd.h: Update #endif comments.
8113 [__USE_MISC]: Remove redundant conditionals.
8114 * pwd/pwd.h [__USE_GNU]: Likewise.
8115 [__USE_MISC]: Likewise.
8116 * resolv/netdb.h [__USE_GNU]: Likewise.
8117 * signal/signal.h: Update #endif comments.
8118 [__USE_MISC]: Remove redundant conditionals.
8119 * stdlib/stdlib.h: Update #else and #endif comments.
8120 [__USE_MISC]: Remove redundant conditionals.
8121 [__USE_GNU]: Likewise.
8122 * string/bits/string2.h [__USE_MISC]: Likewise.
8123 * string/string.h: Update #endif comments.
8124 [__USE_MISC]: Remove redundant conditionals.
8125 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8126 Likewise.
8127 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8128 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8129 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8130 Likewise.
8131 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8132 Likewise.
8133 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8134 comments.
8135 [__USE_MISC]: Remove redundant conditionals.
8136 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8137 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8138 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8139 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8140 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8141 Likewise.
8142 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8143 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8144 Likewise.
8145 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8146 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8147 Likewise.
8148 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8149 Likewise.
8150 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8151 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8152 Likewise.
8153 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8154 Likewise.
8155 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8156 * sysdeps/x86/bits/string.h: Update #endif comments.
8157 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8158 conditionals.
8159 * time/sys/time.h: Update #endif comments.
8160 * time/time.h: Likewise.
8161 [__USE_MISC]: Remove redundant conditionals.
8162
a5d82e4e
YG
81632014-02-21 Yury Gribov <y.gribov@samsung.com>
8164
8165 [BZ #16600]
8166 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8167
9a80491d
AS
81682014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8169
8170 * Versions.def (librt): Add GLIBC_2.17.
8171
105fa381
AC
81722014-02-21 Adam Conrad <adconrad@0c3.net>
8173
8174 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8175 synonym for _SYS_AUXV_H to allow direct inclusion.
8176 * sysdeps/sparc/bits/hwcap.h: Likewise.
8177 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8178 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8179 * sysdeps/sparc/sysdep.h: Likewise.
8180
b8cd1c4e
SP
81812014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8182
8183 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8184
bd939d23
RS
81852014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8186
8187 * benchtests/bench-strrchr.c: Print length instead of position.
8188
5d7b57ca
JM
81892014-02-20 Joseph Myers <joseph@codesourcery.com>
8190
bc688c10
JM
8191 [BZ #16611]
8192 * sysdeps/unix/sysv/linux/kernel-features.h
8193 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8194 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8195 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8196 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8197 Likewise.
8198 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8199 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8200 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8201 (__ASSUME_SENDMMSG): Define instead of using previous
8202 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8203 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8204 (__ASSUME_SENDMMSG_SYSCALL): Define.
8205 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8206 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8207 Likewise.
8208 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8209 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8210 Likewise.
8211 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8212 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8213 Likewise.
8214 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8215 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8216 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8217 [__ASSUME_SENDMMSG]: Change conditionals to
8218 [__ASSUME_SENDMMSG_SOCKETCALL].
8219 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8220 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8221 Define.
8222 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8223 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8224 Likewise.
8225 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8226 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8227 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8228 [!__ASSUME_SENDMMSG]: Change conditional to
8229 [!__ASSUME_SENDMMSG_SOCKETCALL].
8230 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8231 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8232 Define.
8233
0e31b18c
JM
8234 [BZ #16610]
8235 * sysdeps/unix/sysv/linux/kernel-features.h
8236 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8237 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8238 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8239 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8240 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8241 [__i386__ || __sparc__]
8242 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8243 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8244 (__ASSUME_RECVMMSG): Define instead of using previous
8245 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8246 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8247 (__ASSUME_RECVMMSG_SYSCALL): Define.
8248 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8249 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8250 Likewise.
8251 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8252 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8253 Likewise.
8254 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8255 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8256 Likewise.
8257 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8258 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8259 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8260 [__ASSUME_RECVMMSG]: Change condition to
8261 [__ASSUME_RECVMMSG_SOCKETCALL].
8262 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8263 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8264 Define.
8265 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8266 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8267 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8268 Likewise.
8269 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8270 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8271 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8272 [!__ASSUME_RECVMMSG]: Change condition to
8273 [!__ASSUME_RECVMMSG_SOCKETCALL].
8274 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8275 (__ASSUME_RECVMMSG_SYSCALL): Define.
8276
dd481ccf
JM
8277 [BZ #16609]
8278 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8279 __powerpc__ || __s390__ || __sh__ || __sparc__]
8280 (__ASSUME_SOCKETCALL): Define.
8281 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8282 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8283 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8284 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8285 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8286 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8287 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8288 (__ASSUME_ACCEPT4): Define instead of using previous
8289 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8290 __powerpc__ || __sparc__ || __s390__)] condition.
8291 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8292 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8293 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8294 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8295 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8296 [!__ASSUME_ACCEPT4]: Change condition to
8297 [!__ASSUME_ACCEPT4_SOCKETCALL].
8298 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8299 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8300 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8301 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8302 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8303 __ASSUME_ACCEPT4_SYSCALL.
8304 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8305 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8306 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8307 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8308 __ASSUME_ACCEPT4_SYSCALL.
8309 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8310 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8311 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8312 [__ASSUME_ACCEPT4]: Change condition to
8313 [__ASSUME_ACCEPT4_SOCKETCALL].
8314 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8315 (__ASSUME_SOCKETCALL): Define.
8316 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8317 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8318 (__ASSUME_SOCKETCALL): Define.
8319 (__ASSUME_ACCEPT4): Remove.
8320 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8321 Define.
8322 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8323 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8324 Likewise.
8325 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8326 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8327
5d7b57ca
JM
8328 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8329 macro.
8330 (HWCAP_ARM_LPAE): Likewise.
8331 (HWCAP_ARM_EVTSTRM): Likewise.
8332 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8333 Add vpfd32, lpae and evtstrm.
8334 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8335 Increase to 22.
8336
63689d61
JM
83372014-02-19 Joseph Myers <joseph@codesourcery.com>
8338
8339 * math/auto-libm-test-in: Add tests of clog10.
8340 * math/auto-libm-test-out: Regenerated.
8341 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8342 * sysdeps/i386/fpu/libm-test-ulps: Update.
8343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8344
ab09bf61
AS
83452014-02-18 Andreas Schwab <schwab@suse.de>
8346
8347 [BZ #16574]
8348 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8349 Store non-zero if the second buffer was newly allocated.
8350 (send_dg): Likewise.
8351 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8352 to send_vc and send_dg.
8353 (res_nsend): Pass NULL for ansp2_malloced.
8354 * resolv/res_query.c (__libc_res_nquery): Add parameter
8355 answerp2_malloced and pass it down to __libc_res_nsend.
8356 (res_nquery): Pass additional NULL to __libc_res_nquery.
8357 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8358 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8359 second answer buffer if answerp2_malloced was set.
8360 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8361 (__libc_res_nquerydomain): Add parameter
8362 answerp2_malloced and pass it down to __libc_res_nquery.
8363 (res_nquerydomain): Pass additional NULL to
8364 __libc_res_nquerydomain.
8365 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8366 additional NULL to __libc_res_nsend and __libc_res_nquery.
8367 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8368 additional NULL to __libc_res_nsearch.
8369 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8370 parameter of __libc_res_nsearch to check for separately allocated
8371 second buffer.
8372 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8373 __libc_res_nquery.
8374 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8375 additional NULL to __libc_res_nquery.
8376 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8377 __libc_res_nsearch.
8378 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8379 * include/resolv.h: Update prototypes of __libc_res_nquery,
8380 __libc_res_nsearch, __libc_res_nsend.
8381
a4fb7861
JM
83822014-02-18 Joseph Myers <joseph@codesourcery.com>
8383
c6af2d89
JM
8384 * math/auto-libm-test-in: Add tests of fma.
8385 * math/auto-libm-test-out: Regenerated.
8386 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8387 (fma_towardzero_test_data): Likewise.
8388 (fma_downward_test_data): Likewise.
8389 (fma_upward_test_data): Likewise.
8390 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8391 mpc_mode.
8392 (rounding_modes): Add values for new field.
8393 (func_calc_method): Add value mpfr_fff_f.
8394 (func_calc_desc): Add mpfr_fff_f union field.
8395 (test_function): Add field exact_args.
8396 (FUNC): Add macro argument EXACT_ARGS.
8397 (FUNC_mpfr_f_f): Update call to FUNC.
8398 (FUNC_mpfr_f_f): Likewise.
8399 (FUNC_mpfr_ff_f): Likewise.
8400 (FUNC_mpfr_if_f): Likewise.
8401 (FUNC_mpc_c_f): Likewise.
8402 (FUNC_mpc_c_c): Likewise.
8403 (test_functions): Add fma. Update calls to FUNC.
8404 (handle_input_arg): Add argument exact_args.
8405 (add_test): Update call to handle_input_arg.
8406 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8407 (output_for_one_input_case): Update call to calc_generic_results.
8408 Recalculate exact zero results in each rounding mode.
8409
a4fb7861
JM
8410 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8411 non-negative before setting low bit.
8412 * math/auto-libm-test-in: Mark one asin test possibly having
8413 spurious underflow.
8414 * math/auto-libm-test-out: Regenerated.
8415 * sysdeps/i386/fpu/libm-test-ulps: Update.
8416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8417
ef114eaf
DH
84182014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8419
2b7f4f2c
SP
8420 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8421 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8422 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
8423 * README: Add missing listing for microblaze*-*-linux-gnu.
8424
c70a4b1d
MF
84252014-02-16 Mike Frysinger <vapier@gentoo.org>
8426
8427 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8428 * sysdeps/unix/sysv/linux/ia64: Move directory from
8429 ports/sysdeps/unix/sysv/linux/ia64.
8430 * README: Update listing for ia64-*-linux-gnu.
8431
591aeaf7
TD
84322014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8433 Joseph Myers <joseph@codesourcery.com>
8434
8435 * Makeconfig (test-name): New variable.
8436 (evaluate-test): Likewise.
8437 * Makerules (do-test-clean): Remove .test-result files.
8438 (common-mostlyclean): Likewise.
8439 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8440 * scripts/evaluate-test.sh: New file.
8441
6e89caf1
JM
84422014-02-14 Joseph Myers <joseph@codesourcery.com>
8443
7f98f180
JM
8444 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8445 separate $(objpfx)tst-fopenloc-cmp.out and
8446 $(objpfx)tst-fopenloc-mem.out targets.
8447 (tests): Update dependencies.
8448 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8449 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8450 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8451 (tst-rxspencer-no-utf8-ARGS): New variable.
8452 (tst-rxspencer-no-utf8-ENV): Likewise.
8453 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8454 instead of $(objpfx)tst-rxspencer-mem.
8455 ($(objpfx)tst-rxspencer-mem): Change target to
8456 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8457 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8458 * posix/tst-rxspencer-no-utf8.c: New file.
8459
6e89caf1
JM
8460 * elf/Makefile ($(objpfx)order.out): Remove rule.
8461 [$(run-built-tests) = yes] (tests): Depend on
8462 $(objpfx)order-cmp.out.
8463 ($(objpfx)order-cmp.out): New rule.
8464 [$(run-built-tests) = yes] (tests): Depend on
8465 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8466 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8467 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8468 $(objpfx)tst-array5-static-cmp.out.
8469 ($(objpfx)tst-array1.out): Remove rule.
8470 ($(objpfx)tst-array1-cmp.out): New rule.
8471 ($(objpfx)tst-array1-static.out): Remove rule.
8472 ($(objpfx)tst-array1-static-cmp.out): New rule.
8473 ($(objpfx)tst-array2.out): Remove rule.
8474 ($(objpfx)tst-array2-cmp.out): New rule.
8475 ($(objpfx)tst-array3.out): Remove rule.
8476 ($(objpfx)tst-array3-cmp.out): New rule.
8477 ($(objpfx)tst-array4.out): Remove rule.
8478 ($(objpfx)tst-array4-cmp.out): New rule.
8479 ($(objpfx)tst-array5.out): Remove rule.
8480 ($(objpfx)tst-array5-cmp.out): New rule.
8481 ($(objpfx)tst-array5-static.out): Remove rule.
8482 ($(objpfx)tst-array5-static-cmp.out): New rule.
8483 [$(run-built-tests) = yes] (tests): Depend on
8484 $(objpfx)order2-cmp.out.
8485 ($(objpfx)order2.out): Remove rule.
8486 ($(objpfx)order2-cmp.out): New rule.
8487 ($(objpfx)tst-initorder.out): Remove rule.
8488 [$(run-built-tests) = yes] (tests): Depend on
8489 $(objpfx)tst-initorder-cmp.out.
8490 ($(objpfx)tst-initorder-cmp.out): New rule.
8491 ($(objpfx)tst-initorder2.out): Remove rule.
8492 [$(run-built-tests) = yes] (tests): Depend on
8493 $(objpfx)tst-initorder2-cmp.out.
8494 ($(objpfx)tst-initorder2-cmp.out): New rule.
8495 [$(run-built-tests) = yes] (tests): Depend on
8496 $(objpfx)tst-unused-dep-cmp.out.
8497 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8498 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8499 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8500 on $(objpfx)tst-setvbuf1-cmp.out.
8501 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8502 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8503 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8504 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8505 ($(objpfx)tst-svc.out): Remove rule.
8506 ($(objpfx)tst-svc-cmp.out): New rule.
8507
ed9a38e2
JM
85082014-02-13 Joseph Myers <joseph@codesourcery.com>
8509
8510 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8511 * ctype/ctype.h [__USE_MISC]: Likewise.
8512 * dirent/dirent.h [__USE_MISC]: Likewise.
8513 * grp/grp.h [__USE_MISC]: Likewise.
8514 * io/fcntl.h [__USE_MISC]: Likewise.
8515 * io/sys/stat.h [__USE_MISC]: Likewise.
8516 * libio/stdio.h [__USE_MISC]: Likewise.
8517 * posix/unistd.h [__USE_MISC]: Likewise.
8518 * pwd/pwd.h [__USE_MISC]: Likewise.
8519 * stdlib.h [__USE_MISC]: Likewise.
8520 * string/bits/string2.h [__USE_MISC]: Likewise.
8521 * string/string.h [__USE_MISC]: Likewise.
8522 * time/time.h [__USE_MISC]: Likewise.
8523
d6680619
AS
85242014-02-13 Andreas Schwab <schwab@suse.de>
8525
8526 [BZ #16574]
8527 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8528 second answer buffer if it was separately allocated.
8529
ace614b8
JM
85302014-02-12 Joseph Myers <joseph@codesourcery.com>
8531
743151ae
JM
8532 * sysdeps/mips/math-tests.h: Include <features.h>.
8533 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8534 (ROUNDING_TESTS_long_double): Do not define.
8535 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8536 (EXCEPTION_TESTS_long_double): Likewise.
8537 * sysdeps/mips/mips64/libm-test-ulps: Update.
8538
498afc54
JM
8539 * include/features.h (__USE_BSD): Remove macro definitions.
8540 (__USE_SVID): Likewise.
8541 (_BSD_SOURCE): Likewise.
8542 (_SVID_SOURCE): Likewise.
8543 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8544 from definition of _DEFAULT_SOURCE.
8545 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8546 [_DEFAULT_SOURCE].
8547 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8548 * bits/mman.h [__USE_BSD]: Likewise.
8549 * bits/termios.h [__USE_BSD]: Likewise.
8550 * bits/waitstatus.h [__USE_BSD]: Likewise.
8551 * ctype/ctype.h [__USE_SVID]: Likewise.
8552 * dirent/dirent.h [__USE_BSD]: Likewise.
8553 * grp/grp.h [__USE_SVID]: Likewise.
8554 [__USE_BSD]: Likewise.
8555 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8556 * io/fcntl.h [__USE_BSD]: Likewise.
8557 * io/ftw.h [__USE_BSD]: Likewise.
8558 * io/sys/stat.h [__USE_BSD]: Likewise.
8559 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8560 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8561 * libio/stdio.h [__USE_SVID]: Likewise.
8562 [__USE_BSD]: Likewise.
8563 * math/math.h [__USE_SVID]: Likewise.
8564 [__USE_BSD]: Likewise.
8565 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8566 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8567 * misc/search.h [__USE_SVID]: Likewise.
8568 * misc/sys/mman.h [__USE_BSD]: Likewise.
8569 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8570 * misc/sys/uio.h [__USE_BSD]: Likewise.
8571 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8572 * posix/glob.h [__USE_BSD]: Likewise.
8573 * posix/regex.h [__USE_BSD]: Likewise.
8574 * posix/sys/types.h [__USE_BSD]: Likewise.
8575 [__USE_SVID]: Likewise.
8576 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8577 * posix/sys/wait.h [__USE_BSD]: Likewise.
8578 [__USE_SVID]: Likewise.
8579 * posix/unistd.h [__USE_BSD]: Likewise.
8580 [__USE_SVID]: Likewise.
8581 * pwd/pwd.h [__USE_SVID]: Likewise.
8582 * resolv/netdb.h [__USE_BSD]: Likewise.
8583 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8584 * signal/signal.h [__USE_BSD]: Likewise.
8585 [__USE_SVID]: Likewise.
8586 * socket/sys/socket.h [__USE_BSD]: Likewise.
8587 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8588 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8589 [__USE_SVID]: Likewise.
8590 * string/bits/string2.h [__USE_BSD]: Likewise.
8591 [__USE_SVID]: Likewise.
8592 * string/bits/string3.h [__USE_BSD]: Likewise.
8593 * string/endian.h [__USE_BSD]: Likewise.
8594 * string/string.h [__USE_SVID]: Likewise.
8595 [__USE_BSD]: Likewise.
8596 * string/strings.h [__USE_BSD]: Likewise.
8597 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8598 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8599 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8600 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8601 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8602 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8603 Likewise.
8604 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8605 Likewise.
8606 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8607 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8608 Likewise.
8609 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8610 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8611 Likewise.
8612 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8613 Likewise.
8614 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8615 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8616 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8617 Likewise.
8618 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8619 Likewise.
8620 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8621 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8622 * termios/termios.h [__USE_BSD]: Likewise.
8623 * time/sys/time.h [__USE_BSD]: Likewise.
8624 * time/time.h [__USE_BSD]: Likewise.
8625 [__USE_SVID]: Likewise.
8626
dd7b064c
JM
8627 * Makefile (subdir_targets): Remove subdir_lint.out.
8628
a2c4c199
JM
8629 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8630 (do-tst-printf): Likewise.
8631 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8632 $(objpfx)tst-printf.out.
8633
8756f740
JM
8634 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8635
1b6dd3f1
JM
8636 * Makerules (check-abi-%): Change target to
8637 $(objpfx)check-abi-%.out.
8638 (check-abi target): Update dependencies.
8639 (check-abi-pattern variable): Redirect output of diff to $@.
8640 (check-abi variable): Likewise.
8641 * elf/Makefile (check-abi): Update dependencies.
8642
ace614b8
JM
8643 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8644 unused.
8645 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8646 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8647 subnormal range.
8648 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8649 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8650 value has largest subnormal exponent.
8651 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8652 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8653 * sysdeps/aarch64/soft-fp/sfp-machine.h
8654 (_FP_TININESS_AFTER_ROUNDING): New macro.
8655 * sysdeps/alpha/soft-fp/sfp-machine.h
8656 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8657 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8658 Likewise.
8659 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8660 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8661 * sysdeps/mips/soft-fp/sfp-machine.h
8662 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8663 * sysdeps/powerpc/soft-fp/sfp-machine.h
8664 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8665 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8666 Likewise.
8667 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8668 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8669 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8670 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8671 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8672 Likewise.
8673
fbfdf9cb
DAS
86742014-02-12 Dylan Alex Simon <dylan@dylex.net>
8675
8676 [BZ #16545]
8677 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8678 model 1.
8679
68b7efaa
RH
86802014-02-12 Richard Henderson <rth@redhat.com>
8681
c70a4b1d 8682 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
8683 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8684 * sysdeps/unix/sysv/linux/alpha: Move directory from
8685 ports/sysdeps/unix/sysv/linux/alpha.
8686 * README: Update listing for alpha-*-linux-gnu.
8687
cb4a2928
JM
86882014-02-11 Joseph Myers <joseph@codesourcery.com>
8689
c941736c
JM
8690 * include/features.h: Update comment documenting feature test
8691 macros.
8692 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8693 _DEFAULT_SOURCE.
8694 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8695 (_SVID_SOURCE): Likewise.
8696 (_DEFAULT_SOURCE): Update description of default features.
8697 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8698 with _GNU_SOURCE.
8699 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8700 (S_ISVTX): Likewise.
8701 * manual/math.texi (Mathematical Constants): Likewise.
8702 * manual/signal.texi (Interrupted Primitives): Likewise.
8703 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8704 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8705 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8706 Don't refer to _SVID_SOURCE in warning text.
8707
e8d8d7ec
JM
8708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8709
cb4a2928
JM
8710 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8711 already defined.
8712 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8713 * sysdeps/mips/dl-lookup.c: Remove.
8714 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8715
7e6424e3
AK
87162014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8717
8718 [BZ #16447]
8719 * math/auto-libm-test-in: Add testcase for expl.
8720 * math/auto-libm-test-out: Regenerate.
8721 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8722 calculation of unsafe.
8723 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8724
75eff3fe
MS
87252014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8726
8727 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8728 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8729 ports/sysdeps/unix/sysv/linux/aarch64.
8730 * README: Update listing for aarch64*-*-linux-gnu.
8731
d35f1e80
WN
87322014-02-11 Will Newton <will.newton@linaro.org>
8733
8734 * manual/probes.texi (Mathematical Function Probes): Use
8735 "triggered" instead of "hit".
8736
7b3436d4
WN
8737 * manual/probes.texi (Internal Probes): Add documentation
8738 of setjmp, longjmp and longjmp_target probes.
8739
b4f12ca3
WN
8740 * include/stap-probe.h: Add comment about probe argument
8741 format.
8742
c13a72b7
WN
8743 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8744 definition. (tr_where, tr_freehook, tr_mallochook,
8745 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8746
195b8165
DM
87472014-02-11 David S. Miller <davem@davemloft.net>
8748
8749 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8750 processing int_tests.
8751
2ad7600b
JM
87522014-02-10 Joseph Myers <joseph@codesourcery.com>
8753
8754 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8755 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8756 * sysdeps/unix/sysv/linux/mips: Move directory from
8757 ports/sysdeps/unix/sysv/linux/mips.
8758 * README: Update listing for mips-*-linux-gnu and
8759 mips64-*-linux-gnu.
8760
73588a72
AS
87612014-02-10 Andreas Schwab <schwab@linux-m68k.org>
8762
8763 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8764 * sysdeps/unix/sysv/linux/m68k: Move directory from
8765 ports/sysdeps/unix/sysv/linux/m68k.
8766 * README: Update listing for m68k-*-linux-gnu.
8767
4372980f
CM
87682014-02-10 Chris Metcalf <cmetcalf@tilera.com>
8769
8770 * sysdeps/tile: Move directory from ports/sysdeps/tile.
8771 * sysdeps/unix/sysv/linux/generic: Move directory from
8772 ports/sysdeps/unix/sysv/linux/generic.
8773 * sysdeps/unix/sysv/linux/tile: Move directory from
8774 ports/sysdeps/unix/sysv/linux/tile.
8775 * README: Update listing for tile*-*-linux-gnu.
8776
a1ffb40e
OB
87772014-02-10 Ondřej Bílka <neleai@seznam.cz>
8778
57f41c40
AS
8779 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8780 __builtin_expect.
a1ffb40e
OB
8781 * benchtests/bench-memmem.c (simple_memmem): Likewise.
8782 * catgets/open_catalog.c (__open_catalog): Likewise.
8783 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8784 * debug/confstr_chk.c: Likewise.
8785 * debug/fread_chk.c (__fread_chk): Likewise.
8786 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8787 * debug/getgroups_chk.c: Likewise.
8788 * debug/mbsnrtowcs_chk.c: Likewise.
8789 * debug/mbsrtowcs_chk.c: Likewise.
8790 * debug/mbstowcs_chk.c: Likewise.
8791 * debug/memcpy_chk.c: Likewise.
8792 * debug/memmove_chk.c: Likewise.
8793 * debug/mempcpy_chk.c: Likewise.
8794 * debug/memset_chk.c: Likewise.
8795 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8796 * debug/strcat_chk.c (__strcat_chk): Likewise.
8797 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8798 * debug/strncat_chk.c (__strncat_chk): Likewise.
8799 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8800 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8801 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8802 * debug/wcpncpy_chk.c: Likewise.
8803 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8804 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8805 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8806 * debug/wcsncpy_chk.c: Likewise.
8807 * debug/wcsnrtombs_chk.c: Likewise.
8808 * debug/wcsrtombs_chk.c: Likewise.
8809 * debug/wcstombs_chk.c: Likewise.
8810 * debug/wmemcpy_chk.c: Likewise.
8811 * debug/wmemmove_chk.c: Likewise.
8812 * debug/wmempcpy_chk.c: Likewise.
8813 * debug/wmemset_chk.c: Likewise.
8814 * dirent/scandirat.c (SCANDIRAT): Likewise.
8815 * dlfcn/dladdr1.c (dladdr1): Likewise.
8816 * dlfcn/dladdr.c (dladdr): Likewise.
8817 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8818 * dlfcn/dlerror.c (__dlerror): Likewise.
8819 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8820 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8821 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8822 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8823 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8824 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8825 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8826 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8827 Likewise.
8828 * elf/dl-conflict.c: Likewise.
8829 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8830 * elf/dl-dst.h: Likewise.
8831 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8832 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8833 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8834 * elf/dl-init.c (call_init, _dl_init): Likewise.
8835 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
8836 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8837 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8838 Likewise.
a1ffb40e
OB
8839 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8840 Likewise.
8841 * elf/dl-minimal.c (__libc_memalign): Likewise.
8842 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8843 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8844 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8845 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
8846 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8847 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
8848 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8849 * elf/dl-writev.h (_dl_writev): Likewise.
8850 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
8851 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8852 (dl_main): Likewise.
a1ffb40e
OB
8853 * elf/setup-vdso.h (setup_vdso): Likewise.
8854 * grp/compat-initgroups.c (compat_call): Likewise.
8855 * grp/fgetgrent.c (fgetgrent): Likewise.
8856 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8857 * grp/putgrent.c (putgrent): Likewise.
8858 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8859 Likewise.
8860 * hurd/hurdinit.c: Likewise.
8861 * iconvdata/8bit-gap.c (struct): Likewise.
8862 * iconvdata/ansi_x3.110.c : Likewise.
8863 * iconvdata/big5.c : Likewise.
8864 * iconvdata/big5hkscs.c : Likewise.
8865 * iconvdata/cp1255.c: Likewise.
8866 * iconvdata/cp1258.c : Likewise.
8867 * iconvdata/cp932.c : Likewise.
8868 * iconvdata/euc-cn.c: Likewise.
8869 * iconvdata/euc-jisx0213.c : Likewise.
8870 * iconvdata/euc-jp.c: Likewise.
8871 * iconvdata/euc-jp-ms.c : Likewise.
8872 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8873 * iconvdata/gb18030.c : Likewise.
8874 * iconvdata/gbbig5.c (const): Likewise.
8875 * iconvdata/gbgbk.c: Likewise.
8876 * iconvdata/gbk.c : Likewise.
8877 * iconvdata/ibm1364.c : Likewise.
8878 * iconvdata/ibm930.c : Likewise.
8879 * iconvdata/ibm932.c: Likewise.
8880 * iconvdata/ibm933.c : Likewise.
8881 * iconvdata/ibm935.c : Likewise.
8882 * iconvdata/ibm937.c : Likewise.
8883 * iconvdata/ibm939.c : Likewise.
8884 * iconvdata/ibm943.c: Likewise.
8885 * iconvdata/iso_11548-1.c: Likewise.
8886 * iconvdata/iso-2022-cn.c : Likewise.
8887 * iconvdata/iso-2022-cn-ext.c : Likewise.
8888 * iconvdata/iso-2022-jp-3.c: Likewise.
8889 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8890 * iconvdata/iso-2022-kr.c : Likewise.
8891 * iconvdata/iso646.c (gconv_end): Likewise.
8892 * iconvdata/iso_6937-2.c : Likewise.
8893 * iconvdata/iso_6937.c : Likewise.
8894 * iconvdata/iso8859-1.c: Likewise.
8895 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8896 * iconvdata/shift_jisx0213.c : Likewise.
8897 * iconvdata/sjis.c : Likewise.
8898 * iconvdata/t.61.c : Likewise.
8899 * iconvdata/tcvn5712-1.c : Likewise.
8900 * iconvdata/tscii.c: Likewise.
8901 * iconvdata/uhc.c : Likewise.
8902 * iconvdata/unicode.c (gconv_end): Likewise.
8903 * iconvdata/utf-16.c (gconv_end): Likewise.
8904 * iconvdata/utf-32.c (gconv_end): Likewise.
8905 * iconvdata/utf-7.c (base64): Likewise.
8906 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8907 * iconv/gconv_close.c (__gconv_close): Likewise.
8908 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
8909 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8910 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8911 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8912 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8913 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
8914 * iconv/iconv.c (iconv): Likewise.
8915 * iconv/iconv_close.c: Likewise.
8916 * iconv/loop.c (SINGLE): Likewise.
8917 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8918 * include/atomic.h: Likewise.
8919 * inet/inet6_option.c (option_alloc): Likewise.
8920 * intl/bindtextdom.c (set_binding_values): Likewise.
8921 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8922 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8923 * intl/localealias.c (read_alias_file): Likewise.
8924 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
8925 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8926 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
8927 * libio/fmemopen.c (fmemopen): Likewise.
8928 * libio/iofgets.c (_IO_fgets): Likewise.
8929 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8930 * libio/iofgetws.c (fgetws): Likewise.
8931 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8932 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
8933 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8934 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
8935 * locale/findlocale.c (_nl_find_locale): Likewise.
8936 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8937 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8938 Likewise.
8939 * locale/setlocale.c (setlocale): Likewise.
8940 * login/programs/pt_chown.c (main): Likewise.
8941 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8942 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
8943 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8944 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
8945 * math/e_exp2l.c: Likewise.
8946 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8947 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8948 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8949 * math/s_catan.c (__catan): Likewise.
8950 * math/s_catanf.c (__catanf): Likewise.
8951 * math/s_catanh.c (__catanh): Likewise.
8952 * math/s_catanhf.c (__catanhf): Likewise.
8953 * math/s_catanhl.c (__catanhl): Likewise.
8954 * math/s_catanl.c (__catanl): Likewise.
8955 * math/s_ccosh.c (__ccosh): Likewise.
8956 * math/s_ccoshf.c (__ccoshf): Likewise.
8957 * math/s_ccoshl.c (__ccoshl): Likewise.
8958 * math/s_cexp.c (__cexp): Likewise.
8959 * math/s_cexpf.c (__cexpf): Likewise.
8960 * math/s_cexpl.c (__cexpl): Likewise.
8961 * math/s_clog10.c (__clog10): Likewise.
8962 * math/s_clog10f.c (__clog10f): Likewise.
8963 * math/s_clog10l.c (__clog10l): Likewise.
8964 * math/s_clog.c (__clog): Likewise.
8965 * math/s_clogf.c (__clogf): Likewise.
8966 * math/s_clogl.c (__clogl): Likewise.
8967 * math/s_csin.c (__csin): Likewise.
8968 * math/s_csinf.c (__csinf): Likewise.
8969 * math/s_csinh.c (__csinh): Likewise.
8970 * math/s_csinhf.c (__csinhf): Likewise.
8971 * math/s_csinhl.c (__csinhl): Likewise.
8972 * math/s_csinl.c (__csinl): Likewise.
8973 * math/s_csqrt.c (__csqrt): Likewise.
8974 * math/s_csqrtf.c (__csqrtf): Likewise.
8975 * math/s_csqrtl.c (__csqrtl): Likewise.
8976 * math/s_ctan.c (__ctan): Likewise.
8977 * math/s_ctanf.c (__ctanf): Likewise.
8978 * math/s_ctanh.c (__ctanh): Likewise.
8979 * math/s_ctanhf.c (__ctanhf): Likewise.
8980 * math/s_ctanhl.c (__ctanhl): Likewise.
8981 * math/s_ctanl.c (__ctanl): Likewise.
8982 * math/w_pow.c: Likewise.
8983 * math/w_powf.c: Likewise.
8984 * math/w_powl.c: Likewise.
8985 * math/w_scalb.c (sysv_scalb): Likewise.
8986 * math/w_scalbf.c (sysv_scalbf): Likewise.
8987 * math/w_scalbl.c (sysv_scalbl): Likewise.
8988 * misc/error.c (error_tail): Likewise.
8989 * misc/pselect.c (__pselect): Likewise.
8990 * nis/nis_callback.c (__nis_create_callback): Likewise.
8991 * nis/nis_call.c (__nisfind_server): Likewise.
8992 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8993 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8994 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8995 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8996 * nis/nis_lookup.c (nis_lookup): Likewise.
8997 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
8998 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8999 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 9000 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
9001 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9002 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9003 * nis/nss_compat/compat-initgroups.c (add_group)
9004 (internal_getgrent_r): Likewise.
9005 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9006 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9007 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9008 (internal_getspnam_r): Likewise.
9009 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9010 (_nss_nis_getaliasbyname_r): Likewise.
9011 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9012 (_nss_nis_getntohost_r): Likewise.
9013 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9014 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9015 (_nss_nis_getgrgid_r): Likewise.
9016 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9017 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9018 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9019 (_nss_nis_gethostbyname4_r): Likewise.
9020 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9021 (initgroups_netid): Likewise.
a1ffb40e 9022 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
9023 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9024 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9025 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9026 (_nss_nis_getprotobynumber_r): Likewise.
9027 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9028 (_nss_nis_getsecretkey): Likewise.
9029 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9030 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9031 (_nss_nis_getpwuid_r): Likewise.
9032 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9033 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9034 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9035 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9036 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9037 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
9038 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9039 Likewise.
57f41c40
AS
9040 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9041 (_nss_nisplus_getntohost_r): Likewise.
9042 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9043 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9044 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9045 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 9046 Likewise.
57f41c40
AS
9047 * nis/nss_nisplus/nisplus-initgroups.c
9048 (_nss_nisplus_initgroups_dyn): Likewise.
9049 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9050 (_nss_nisplus_getnetbyaddr_r): Likewise.
9051 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9052 (_nss_nisplus_getprotobynumber_r): Likewise.
9053 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9054 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
9055 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9056 Likewise.
57f41c40
AS
9057 * nis/nss_nisplus/nisplus-service.c
9058 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9059 (_nss_nisplus_getservbyport_r): Likewise.
9060 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9061 (_nss_nisplus_getspnam_r): Likewise.
9062 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9063 Likewise.
a1ffb40e
OB
9064 * nscd/aicache.c (addhstaiX): Likewise.
9065 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
9066 * nscd/connections.c (register_traced_file, send_ro_fd)
9067 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9068 (main_loop_epoll): Likewise.
a1ffb40e
OB
9069 * nscd/grpcache.c (addgrbyX): Likewise.
9070 * nscd/hstcache.c (addhstbyX): Likewise.
9071 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9072 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
9073 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9074 (addinnetgrX): Likewise.
9075 * nscd/nscd-client.h (__nscd_acquire_maplock)
9076 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
9077 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9078 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9079 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9080 Likewise.
9081 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9082 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
9083 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9084 (__nscd_get_map_ref): Likewise.
a1ffb40e 9085 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
9086 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9087 Likewise.
a1ffb40e
OB
9088 * nscd/pwdcache.c (addpwbyX): Likewise.
9089 * nscd/selinux.c (preserve_capabilities): Likewise.
9090 * nscd/servicescache.c (addservbyX): Likewise.
9091 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9092 * posix/fnmatch.c (fnmatch): Likewise.
9093 * posix/getopt.c (_getopt_internal_r): Likewise.
9094 * posix/glob.c (glob, glob_in_dir): Likewise.
9095 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
9096 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9097 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
9098 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9099 * resolv/res_init.c: Likewise.
9100 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9101 * resolv/res_query.c (__libc_res_nquery): Likewise.
9102 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9103 Likewise.
9104 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9105 * stdio-common/perror.c (perror): Likewise.
9106 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9107 * stdio-common/tmpnam.c (tmpnam): Likewise.
9108 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9109 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
9110 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9111 Likewise.
a1ffb40e
OB
9112 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9113 * stdlib/putenv.c (putenv): Likewise.
9114 * stdlib/setenv.c (__add_to_environ): Likewise.
9115 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9116 * stdlib/strtol_l.c (INTERNAL): Likewise.
9117 * string/memmem.c (memmem): Likewise.
9118 * string/strerror.c (strerror): Likewise.
9119 * string/strnlen.c (__strnlen): Likewise.
9120 * string/test-memmem.c (simple_memmem): Likewise.
9121 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9122 * sunrpc/pm_getport.c (__get_socket): Likewise.
9123 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9124 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
9125 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9126 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
9127 Likewise.
9128 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9129 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9130 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9131 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9132 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
9133 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9134 Likewise.
9135 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9136 Likewise.
a1ffb40e
OB
9137 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9138 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9139 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9140 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9141 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9142 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9143 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9144 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9145 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9146 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9147 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9148 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9149 Likewise.
9150 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9151 Likewise.
9152 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9153 Likewise.
9154 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9155 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9156 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9157 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9158 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9159 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9160 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9161 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9162 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9163 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9164 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9165 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9166 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9167 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
9169 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9170 Likewise.
a1ffb40e
OB
9171 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9172 Likewise.
9173 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9174 Likewise.
9175 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9176 Likewise.
9177 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9178 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9179 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9180 Likewise.
9181 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9182 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9183 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9184 * sysdeps/posix/sleep.c: Likewise.
9185 * sysdeps/posix/tempname.c: Likewise.
9186 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9187 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9188 Likewise.
57f41c40
AS
9189 * sysdeps/powerpc/powerpc32/dl-machine.h
9190 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
9191 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9192 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9193 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9194 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9195 Likewise.
9196 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9197 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9198 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9199 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9200 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9201 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9202 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9203 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9204 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9205 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9206 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9207 (elf_machine_lazy_rel): Likewise.
a1ffb40e 9208 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9209 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9210 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9211 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9212 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9213 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9214 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9215 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9216 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9217 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9219 Likewise.
9220 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9221 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9222 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9223 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9224 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9225 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9226 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9227 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9228 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9229 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9230 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9231 Likewise.
9232 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9233 (__posix_fallocate64_l64): Likewise.
9234 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9235 (posix_fallocate): Likewise.
57f41c40
AS
9236 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9237 Likewise.
a1ffb40e 9238 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
9239 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9240 (getifaddrs_internal): Likewise.
a1ffb40e
OB
9241 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9242 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9243 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9244 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9245 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9246 (__posix_fallocate64_l64): Likewise.
9247 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9248 Likewise.
9249 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
9250 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9251 (__get_clockfreq): Likewise.
a1ffb40e
OB
9252 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9253 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9254 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9255 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9256 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9257 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9258 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9259 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9260 Likewise.
9261 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9262 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9263 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9264 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9265 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9266 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9267 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9268 Likewise.
9269 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9270 (posix_fallocate): Likewise.
9271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9272 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9273 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9274 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9275 (elf_machine_rela, elf_machine_rela_relative)
9276 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9277 * time/asctime.c (asctime_internal): Likewise.
9278 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9279 * time/tzset.c (__tzset_parse_tz): Likewise.
9280 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9281 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9282 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9283 * wcsmbs/wcsmbsload.h: Likewise.
9284
f3d338c9
OB
9285 [BZ #15894]
9286 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9287
57f41c40
AS
9288 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9289 (arena_get2): Remove THREAD_STATS conditionals.
9290 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9291 (__malloc_stats, int): Likewise.
bdfe308a 9292
d674667c
MF
92932014-02-08 Mike Frysinger <vapier@gentoo.org>
9294
9295 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9296 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9297
6349768c
MF
9298 * manual/setjmp.texi: Fix typos/grammar errors.
9299
0b7c7473
MF
9300 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9301 Only return early when n is <= 0. Delete unused return statement.
9302
ac8cc9e3
MF
9303 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9304 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9305 * debug/tst-longjmp_chk3.c: New file.
9306
c5bb8e23
MF
9307 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9308 (test_main): Replace code with set_fortify_handler call.
9309 * debug/test-strcpy_chk.c: Likewise.
9310 * debug/tst-chk1.c: Likewise.
9311 * debug/tst-longjmp_chk.c: Likewise.
9312 * test-skeleton.c: Include fcntl.h & paths.h
9313 (set_fortify_handler): Define.
9314
10444e42
MF
9315 * debug/tst-longjmp_chk.c: Add header comment and include
9316 ../test-skeleton.c.
9317 (do_test): Mark static.
9318 (TEST_FUNCTION): Define.
9319
1e805e8d
MF
9320 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9321 (IP_PMTUDISC_INTERFACE): Likewise.
9322 (IP_MULTICAST_IF): Likewise.
9323 (IP_MULTICAST_TTL): Likewise.
9324 (IP_MULTICAST_LOOP): Likewise.
9325 (IP_ADD_MEMBERSHIP): Likewise.
9326 (IP_DROP_MEMBERSHIP): Likewise.
9327 (IP_UNBLOCK_SOURCE): Likewise.
9328 (IP_BLOCK_SOURCE): Likewise.
9329 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9330 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9331 (IP_MSFILTER): Likewise.
9332 (MCAST_JOIN_GROUP): Likewise.
9333 (MCAST_BLOCK_SOURCE): Likewise.
9334 (MCAST_UNBLOCK_SOURCE): Likewise.
9335 (MCAST_LEAVE_GROUP): Likewise.
9336 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9337 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9338 (MCAST_MSFILTER): Likewise.
9339 (IP_MULTICAST_ALL): Likewise.
9340 (IP_UNICAST_IF): Likewise.
9341
73f79bb7
MF
9342 * timezone/Makefile: Delete $(have-ksh) check.
9343 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9344 * timezone/tzselect.ksh: Add +x mode bits.
9345
8da79b60
MF
9346 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9347 (ANON_INODE_FS_MAGIC): Likewise.
9348 (BDEVFS_MAGIC): Likewise.
9349 (BINFMTFS_MAGIC): Likewise.
9350 (BTRFS_TEST_MAGIC): Likewise.
9351 (CRAMFS_MAGIC_WEND): Likewise.
9352 (DEBUGFS_MAGIC): Likewise.
9353 (ECRYPTFS_SUPER_MAGIC): Likewise.
9354 (EXT3_SUPER_MAGIC): Likewise.
9355 (EXT4_SUPER_MAGIC): Likewise.
9356 (FUTEXFS_SUPER_MAGIC): Likewise.
9357 (HOSTFS_SUPER_MAGIC): Likewise.
9358 (HUGETLBFS_MAGIC): Likewise.
9359 (MINIX3_SUPER_MAGIC): Likewise.
9360 (MTD_INODE_FS_MAGIC): Likewise.
9361 (NILFS_SUPER_MAGIC): Likewise.
9362 (OPENPROM_SUPER_MAGIC): Likewise.
9363 (PIPEFS_MAGIC): Likewise.
9364 (PSTOREFS_MAGIC): Likewise.
9365 (QNX6_SUPER_MAGIC): Likewise.
9366 (RAMFS_MAGIC): Likewise.
9367 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9368 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9369 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9370 (SECURITYFS_MAGIC): Likewise.
9371 (SELINUX_MAGIC): Likewise.
9372 (SMACK_MAGIC): Likewise.
9373 (SOCKFS_MAGIC): Likewise.
9374 (SQUASHFS_MAGIC): Likewise.
9375 (STACK_END_MAGIC): Likewise.
9376 (TMPFS_MAGIC): Likewise.
9377 (USBDEVICE_SUPER_MAGIC): Likewise.
9378 (V9FS_MAGIC): Likewise.
9379 (XENFS_SUPER_MAGIC): Likewise.
9380 (CRAMFS_MAGIC): Fix typo in comment.
9381 (EXT2_SUPER_MAGIC): Update comment.
9382 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9383
464263cc
JM
93842014-02-08 Joseph Myers <joseph@codesourcery.com>
9385
c6bfe5c4
JM
9386 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9387 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9388 * sysdeps/unix/sysv/linux/arm: Move directory from
9389 ports/sysdeps/unix/sysv/linux/arm.
9390 * README: Update listing for arm-*-linux-gnueabi.
9391
464263cc
JM
9392 * README: Remove mention of am33.
9393
32749f6c
RM
93942014-02-07 Roland McGrath <roland@hack.frob.com>
9395
9396 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9397 than the comma operator, to avoid "rhs of comma has no effect"
9398 compiler warnings.
9399 (__sigfillset, __sigandset, __sigorset): Likewise.
9400 * include/signal.h (__sigemptyset): Likewise.
9401 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9402
d5b396c1
AM
94032014-02-07 Allan McRae <allan@archlinux.org>
9404
9405 * version.h (RELEASE): Set to "development".
9406 (VERSION): Set to "2.19.90"
9407 * NEWS: Add 2.20 section.
9408
3bfff2ed
CD
94092014-02-06 Carlos O'Donell <carlos@redhat.com>
9410
9411 [BZ #16529]
9412 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9413
ee7cc385
SP
94142014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9415
9416 * manual/contrib.texi: Update entry for Carlos O'Donell,
9417 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9418
f877c4f2
CD
94192014-02-05 Carlos O'Donell <carlos@rehdat.com>
9420
27e839f6
CD
9421 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9422
f877c4f2
CD
9423 * sysdeps/unix/sysv/linux/kernel-features.h
9424 [__LINUX_KERNEL_VERSION >= 0x020621]
9425 (__ASSUME_PROC_PID_TASK_COMM): Define.
9426
68159946
SP
94272014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9428
ba17cdbd
SP
9429 [BZ #16398]
9430 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9431 conversion when destination buffer does not have enough space.
9432 * libio/tst-ftell-partial-wide.c: New test case.
9433 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9434
68159946
SP
9435 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9436 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9437 Leonard and Allan McRae.
9438
2b528732
DM
94392014-02-04 David S. Miller <davem@davemloft.net>
9440
9441 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9442 32-bit.
9443
0ff82463
AZ
94442014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9445
57f41c40
AS
9446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9447 New file
c01603f7
AZ
9448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9449 New file
57f41c40
AS
9450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9451 New file.
9452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9453 New file.
c01603f7
AZ
9454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9455 New file.
57f41c40
AS
9456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9457 New file.
9458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9459 New file.
c01603f7
AZ
9460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9461 New file.
9462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9463 New file.
9464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9465 New file.
9466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9467 New file.
9468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9469 New file.
9470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9471 New file.
9472
94732014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9474
0ff82463
AZ
9475 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9476 * shlib-versions: Likewise.
9477
1695c773
AZ
94782014-02-04 Roland McGrath <roland@hack.frob.com>
9479 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9480
9481 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9482 (abilist-pattern): New variable, set to %-le.abilist.
9483
9484 * Makerules (abilist-pattern): New variable.
9485 (vpath): Use $(abilist-pattern) in place of %.abilist.
9486 (check-abi-% pattern rule): Likewise.
9487 (check-abi, update-abi): Likewise.
9488
6c0ce4b4
EW
94892014-02-04 Eric Wong <normalperson@yhbt.net>
9490
9491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9492
481e3524
CD
94932014-02-03 Carlos O'Donell <carlos@redhat.com>
9494
9495 * manual/startup.texi: Add next, previous, and top entries for
9496 the `Program Arguments' and `Environment Variables' nodes.
9497
375592d3
AO
94982014-02-03 Alexandre Oliva <aoliva@redhat.com>
9499
9500 * manual/macros.texi: Add comments before MTASC-safety macros.
9501
f54838ba
AO
9502 * manual/users.texi: Document MTASC-safety properties.
9503
57f41c40
AS
9504 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9505 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
9506 @deftypefun, and add @safety note.
9507 * manual/signal.texi: Move comments that analyze the above
9508 functions to their home place.
9509
fd3daba4
AM
95102014-02-03 Allan McRae <allan@archlinux.org>
9511
9512 * po/sl.po: Update Slovenian translation from translation project.
9513
597636d7
AO
95142014-02-02 Alexandre Oliva <aoliva@redhat.com>
9515
9516 * manual/time.texi (timegm): Add missing blank after @c.
9517 Reported by Joseph Myers <joseph@codesourcery.com>.
9518
ee196e3c
AO
95192014-02-01 Alexandre Oliva <aoliva@redhat.com>
9520
9521 * manual/check-safety.sh: New.
9522 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9523
f8d529d5
AO
9524 * manual/terminal.texi: Document MTASC-safety properties.
9525
de55fdf4
AO
9526 * manual/filesys.texi: Document MTASC-safety properties.
9527
c3299c08
AO
9528 * manual/errno.texi: Document MTASC-safety properties.
9529
06e90b14
AO
9530 * manual/intro.texi: Document safety identifiers and
9531 conditionals.
9532
1acd4371
AO
9533 * manual/string.texi (wcstok): Fix prototype.
9534 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9535
23e5b8cb
AO
9536 * manual/time.texi: Document MTASC-safety properties.
9537
11087373
AO
9538 * manual/string.texi: Document MTASC-safety properties.
9539
5da2c93d
AO
9540 * manual/threads.texi: Document MTASC-safety properties.
9541
171e9210
AO
9542 * manual/stdio.texi: Document MTASC-safety properties.
9543
d9e02532
AO
9544 * manual/syslog.texi: Document MTASC-safety properties.
9545
6af8bab7
AO
9546 * manual/sysinfo.texi: Document MTASC-safety properties.
9547
663b02d7
AO
9548 * manual/startup.texi: Document MTASC-safety properties.
9549
973f180b
AO
9550 * manual/socket.texi: Document MTASC-safety properties.
9551
8f3c25c8
AO
9552 * manual/signal.texi: Document MTASC-safety properties.
9553
542210fb
AO
95542014-01-31 Alexandre Oliva <aoliva@redhat.com>
9555
9556 * manual/setjmp.texi: Document MTASC-safety properties.
9557
433c45a2
AO
9558 * manual/search.texi: Document MTASC-safety properties.
9559
c8ce789c
AO
9560 * manual/resource.texi: Document MTASC-safety properties.
9561
19f5d29c
AO
9562 * manual/process.texi: Document MTASC-safety properties.
9563
e2dfb7f4
AO
9564 * manual/platform.texi: Document MTASC-safety properties.
9565
8c1413f5
AO
9566 * manual/pipe.texi: Document MTASC-safety properties.
9567
03483ada
AO
9568 * manual/pattern.texi: Document MTASC-safety properties.
9569
29e7e2df
AO
9570 * manual/message.texi: Document MTASC-safety properties.
9571
9f529d7c
AO
9572 [BZ #12751]
9573 * manual/memory.texi: Document MTASC-safety properties.
9574
27aaa791
AO
9575 * manual/math.texi: Document MTASC-safety properties.
9576
f2d58726
AO
9577 * manual/locale.texi: Document MTASC-safety properties.
9578
2cc3615c
AO
9579 * manual/llio.texi: Document MTASC-safety properties.
9580
d9f0ec97
AO
9581 * manual/libdl.texi: New.
9582
e7c4409a
AO
9583 * manual/lang.texi: Document MTASC-safety properties.
9584
27bdc63c
AO
9585 * manual/job.texi: Document MTASC-safety properties.
9586
a7b90ea9
AO
9587 * manual/getopt.texi: Document MTASC-safety properties.
9588
c49130e3
AO
9589 * manual/ctype.texi: Document MTASC-safety properties.
9590
0d23a5c1
MR
95912014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9592
9593 [BZ #16046]
9594 * csu/libc-tls.c (static_map): Remove variable.
9595 (__libc_setup_tls): Use main executable's link map for TLS data.
9596 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9597 casing for LM_ID_BASE and GL(dl_nns).
9598 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9599 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9600 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9601 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9602 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9603 member.
9604 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9605 l_phnum members.
9606
0037bb60
AO
96072014-01-30 Alexandre Oliva <aoliva@redhat.com>
9608
9609 * manual/debug.texi: Document MTASC-safety properties.
9610
409e00bd
L
96112014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9612
9613 [BZ #16510]
9614 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9615 of __x86_64__ when disabling x87 inline functions.
9616
86e60666
AO
96172014-01-29 Alexandre Oliva <aoliva@redhat.com>
9618
9619 * manual/charset.texi: Document MTASC-safety properties.
9620
76167637
AO
9621 * manual/crypt.texi: Document MTASC-safety properties.
9622
e567f2a0
AO
9623 * manual/conf.texi: Document MTASC-safety properties.
9624
b719dafd
AO
9625 * manual/arith.texi: Document MTASC-safety properties.
9626
4a16c662
AO
9627 * manual/argp.texi: Document MTASC-safety properties.
9628
0a57b83e
AO
9629 * manual/macros.texi: Introduce macros to document multi
9630 thread, asynchronous signal and asynchronous cancellation
9631 safety properties.
9632 * manual/intro.texi: Introduce the properties themselves.
9633
feab2397
KK
96342014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9635
9636 * sysdeps/sh/sh4/Makefile: New file.
9637
1c0d11bc
AS
96382014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9639
9640 * math/gen-libm-test.pl ($srcdir): New variable.
9641 ($auto_input): Use it.
9642
af37a8a3
SP
96432014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9644
d7b00f98
SP
9645 [BZ #16506]
9646 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9647 access beyond array bounds when parsing netgroups file.
9648
af37a8a3
SP
9649 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9650 the old buffer before realloc.
9651
0c00f062
AM
96522014-01-27 Allan McRae <allan@archlinux.org>
9653
9654 * po/fr.po: Update French translation from translation project.
9655
7d69a1b0
KK
96562014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9657
9658 * sysdeps/sh/libm-test-ulps: Regenerate.
9659
6e697ff7
DM
96602014-01-24 David S. Miller <davem@davemloft.net>
9661
9662 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9663
9cadb35c
KK
96642014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9665
9666 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9667 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9668
5d41dadf
SP
96692013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9670
9671 [BZ #16474]
9672 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9673 string pointers after reallocation.
9674
0bad441c
KK
96752014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9676
9677 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9678 __SH4A__ instead of __SH_FPU_ANY__.
9679
7007c661
KK
96802014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9681
9682 * sysdeps/sh/fpu_control.h: New file.
9683 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9684 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9685 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9686 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9687 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9688 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9689 * sysdeps/sh/sys/ucontext.h: Remove.
9690 * sysdeps/sh/sys: Remove directory.
9691
0f0c35e4
AK
96922014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9693
9694 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9695 s390/sys/ucontext.h.
9696 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9697 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9698
4959e284
L
96992014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9700
9701 [BZ #15605]
9702 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9703
d98720e0
AZ
97042014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9705
9706 [BZ#16431]
9707 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9708 Adjust the vDSO correctly for internal calls.
9709 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9710
91cbd0bc
AM
97112014-01-20 Allan McRae <allan@archlinux.org>
9712
9713 * po/ca.po: Update Catalan translation from translation project.
9714
7a02cfad
MF
97152014-01-16 Mike Frysinger <vapier@gentoo.org>
9716
9717 * sysdeps/s390/sotruss-lib.c: New file.
9718
736c304a
AZ
97192014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9720
9721 [BZ#16430]
6e077ee5 9722 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
9723 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9724 local calls issues by not having a PLT stub required for IFUNC calls.
9725 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9726
94d0cea0
JM
97272014-01-16 Joseph Myers <joseph@codesourcery.com>
9728
9729 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9730 * math/test-fpucw-static.c: Likewise.
9731
980cb518
SP
97322013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9733
9734 [BZ #16453]
9735 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9736
2393fc01
AZ
97372014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9738
9739 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9740 implementation for powerpc.
9741
d359bcc2
OB
97422014-01-15 Ondřej Bílka <neleai@seznam.cz>
9743
9744 [BZ #14782]
9745 * sysdeps/posix/system.c (__libc_system): Do not enable
9746 asynchronous cancellation.
9747
7beb48cb
AK
97482014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9749
9750 [BZ #16427]
9751 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9752 handling only for numbers special also in the IEEE case.
9753
c20d5bf5
AK
97542014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9755
9756 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9757
e83bd4ee
AM
97582014-01-11 Allan McRae <allan@archlinux.org>
9759
76d0ea69
AM
9760 * po/bg.po: Update Bulgarian translation from translation project.
9761
e83bd4ee
AM
9762 * po/de.po: Update German translation from translation project.
9763
bc2ba20a
RM
97642014-01-10 Roland McGrath <roland@hack.frob.com>
9765
9766 * sysdeps/generic/gcc-compat.h: New file.
9767
649ecea2
SP
97682014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9769
9770 * benchtests/asin-inputs: Correct slow inputs.
9771 * benchtests/acos-inputs: Likewise.
9772
1b19c006
AM
97732014-01-10 Allan McRae <allan@archlinux.org>
9774
a46dab08
AM
9775 * po:sv.po: Update Swedish translation from translation project.
9776
421df74a
AM
9777 * po/vi.po: Update Vietnamese translation from translation project.
9778
d61c51a7
AM
9779 * po/eo.po: Update Esperanto translation from translation project.
9780
0339a319
AM
9781 * po/cs.po: Update Czech translation from translation project.
9782
94ad3e99
AM
9783 * po/nl.po: Update Dutch translation from translation project.
9784
e349ca71
AM
9785 * po/pl.po: Update Polish translation from translation project.
9786
ddf930c1
AM
9787 * po/ru.po: Update Russian translation from translation project.
9788
1b19c006
AM
9789 * po/uk.po: Update Ukrainian translation from translation project.
9790
9f236c49
BM
97912014-01-08 Brooks Moses <bmoses@google.com>
9792
9793 * elf/dl-load.c: Fix comment typo.
9794
cd6701cf
CD
97952014-01-08 Carlos O'Donell <carlos@redhat.com>
9796
9797 * po/header.pot: Rename to...
9798 * po/pot.header: ... this.
9799 * po/Makefile: Use pot.header.
9800
66671c84
YK
98012014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9802 Maxim Kuvyrkov <maxim@kugelworks.com>
9803
9804 [BZ #16394]
cd6701cf
CD
9805 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9806 SRC and DEST against LEN.
66671c84 9807
38f34581
AZ
98082014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9809
9810 [BZ #16414]
9811 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9812 implementation.
9813 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9814
98152014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
9816
9817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9818
4c327f2a
JM
98192014-01-08 Joseph Myers <joseph@codesourcery.com>
9820
9821 [BZ #16408]
9822 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9823 for large positive arguments.
9824
b821f414
JM
98252014-01-07 Joseph Myers <joseph@codesourcery.com>
9826
1f0f2067
JM
9827 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9828
a5a326f6
JM
9829 * math/auto-libm-test-in: Mark various tests with
9830 xfail-rounding:ldbl-128ibm.
9831 * math/auto-libm-test-out: Regenerated.
9832
b821f414
JM
9833 [BZ #16407]
9834 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9835 Increase overflow threshold.
9836
94c8a4bc
OB
98372014-01-07 Ondřej Bílka <neleai@seznam.cz>
9838
9839 [BZ #14286]
9840 * stdio-common/vfprintf.c: Check for integer overflow.
9841
87ded0c3
AK
98422014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9843
9844 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9845 the first argument and return value of __tls_get_addr_internal.
9846
c5eebdd0
AK
98472014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9848
9849 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9850 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9851
05d138ef
AK
98522014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9853
9854 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9855 * sysdeps/s390/rtld-global-offsets.sym: New file.
9856 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9857 GLIBC_2.19 symbol.
9858 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9859 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9860 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9861 ... this.
9862 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9863 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9864 ... this.
9865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9866 Regenerate.
9867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9868 Regenerate.
9869 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9870 halfs of GPRs for high_gprs contexts.
9871 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9872 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9873 field.
9874 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9875 uc_flags field.
9876 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9877 64 bit versions:
9878 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9879 for high GPRs (uc_high_gprs) and for future extensions
9880 (__reserved).
9881 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9882 for future extensions (__reserved).
9883 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9884 64 bit versions:
9885 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9886 SC_HIGHGPRS offset definition.
9887 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9888 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9889
93a45ff1
AK
9890 * Versions.def: Add GLIBC_2.19 for libpthread.
9891 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9892 siglongjmp for libpthread with GLIBC_2.19 symver.
9893 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9894 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9895 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9896 * sysdeps/s390/__longjmp.c: New file.
9897 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9898 * sysdeps/s390/longjmp.c: New file.
9899 * sysdeps/s390/setjmp.S: New file.
9900 * sysdeps/s390/sigjmp.S: New file.
9901 * sysdeps/s390/v1-longjmp.c: New file.
9902 * sysdeps/s390/v1-setjmp.h: New file.
9903 * sysdeps/s390/v1-sigjmp.c: New file.
9904 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9905 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9906 GLIBC_2.19 version.
9907 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9908 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9909 versioned symbols for ____longjmp_chk.
9910 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9911 Likewise.
9912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9913 Regenerate.
9914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9915 Regenerate.
9916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9917 Regenerate.
9918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9919 Regenerate.
9920 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9921 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9922 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9923 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9924 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9925 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9926 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9927 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9928 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9929 * sysdeps/s390/rtld-__longjmp.c: New file.
9930 * sysdeps/s390/rtld-setjmp.S: New file.
9931
eb3fc44b
JM
99322014-01-06 Joseph Myers <joseph@codesourcery.com>
9933
9934 [BZ #16400]
9935 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9936 Return -__logl (x) for small positive arguments without evaluating
9937 a polynomial.
9938
9341dde4
MF
99392014-01-06 Mike Frysinger <vapier@gentoo.org>
9940
9941 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9942 Rename to ...
9943 (__ptrace_peeksiginfo_args): ... this.
9944 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9945 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9946 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9947
4cff0293
AM
99482014-01-06 Allan McRae <allan@archlinux.org>
9949
9950 * inet/netinet/in.h: Fix typo in comment.
9951
75595dcf
AJ
99522014-01-05 Andreas Jaeger <aj@suse.de>
9953
9954 * sysdeps/i386/fpu/libm-test-ulps: Update.
9955
79c1e109
AM
99562014-01-05 Allan McRae <allan@archlinux.org>
9957
dd804818
AM
9958 * po/libc.pot: Regenerated.
9959
79c1e109
AM
9960 * malloc/memusagestat.c: Fix gettext call formatting.
9961
0c813d1f
SK
99622014-01-04 Sami Kerola <kerolasa@iki.fi>
9963
9964 * nscd/nscd.c: Improve usage() output.
9965
20f4a8d9
MF
99662014-01-04 Mike Frysinger <vapier@gentoo.org>
9967
9968 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9969 * sysdeps/unix/sysv/linux/configure: Regenerated.
9970 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9971 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9972
22562bb2
JM
99732014-01-03 Joseph Myers <joseph@codesourcery.com>
9974
9975 [BZ #16390]
9976 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9977 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9978
d7ad2d9b
AZ
99792014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9980
9981 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9982 extra tokens at end of #undef directive.
9983 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9984 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9985 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9986
7dd009d8
JM
99872014-01-03 Joseph Myers <joseph@codesourcery.com>
9988
24db925a
JM
9989 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9990
7dd009d8
JM
9991 * math/auto-libm-test-in: Mark various tests with
9992 xfail-rounding:ldbl-128ibm.
9993 * math/auto-libm-test-out: Regenerated.
9994
396e3ecf
JM
99952014-01-02 Joseph Myers <joseph@codesourcery.com>
9996
819e5d50
JM
9997 [BZ #16386]
9998 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9999 numbers with subnormal high part when calculating exponent.
10000
90b6a1e5
JM
10001 [BZ #16385]
10002 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10003 fabs.
10004
396e3ecf
JM
10005 [BZ #16384]
10006 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10007 M_LN2l.
10008 (__ieee754_acoshl): Use __log1pl not __log1p.
10009
6c8dbf00
OB
100102013-01-02 Ondřej Bílka <neleai@seznam.cz>
10011
57f41c40
AS
10012 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10013 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10014 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10015 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10016 (reused_arena, arena_get2): Convert to GNU style.
10017 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10018 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10019 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 10020 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
10021 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10022 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10023 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10024 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10025 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10026 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 10027 * malloc/malloc.h: Likewise.
57f41c40
AS
10028 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10029 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 10030 * malloc/mcheck.h: Likewise.
57f41c40
AS
10031 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10032 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
10033 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10034 * malloc/morecore.c (__default_morecore): Likewise.
10035 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
10036 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10037 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10038 (print_and_abort): Likewise.
6c8dbf00
OB
10039 * malloc/obstack.h: Likewise.
10040 * malloc/set-freeres.c (__libc_freeres): Likewise.
10041 * malloc/tst-mallocstate.c (main): Likewise.
10042 * malloc/tst-mtrace.c (main): Likewise.
10043 * malloc/tst-realloc.c (do_test): Likewise.
10044
d4124212
SP
100452013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10046
9a3c6a6f
SP
10047 [BZ #16366]
10048 * nscd/netgroupcache.c (do_notfound): New function.
10049 (addgetnetgrentX): Use it.
10050
d4124212
SP
10051 [BZ # 16365]
10052 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10053 NSS_STATUS_NOTFOUND.
10054
97b9a009
JM
100552014-01-01 Joseph Myers <joseph@codesourcery.com>
10056
10057 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10059
d4697bc9
AM
100602014-01-01 Allan McRae <allan@archlinux.org>
10061
ddb3687f
AM
10062 * scripts/update-copyrights: Update configure input file suffix.
10063
88726d48
AM
10064 * NEWS: Update copyright year.
10065 * catgets/gencat.c: Likewise.
10066 * csu/version.c: Likewise.
10067 * debug/catchsegv.sh: Likewise.
10068 * debug/pcprofiledump.c: Likewise.
10069 * debug/xtrace.sh: Likewise.
10070 * elf/ldconfig.c: Likewise.
10071 * elf/ldd.bash.in: Likewise.
10072 * elf/pldd.c: Likewise.
10073 * elf/sotruss.ksh: Likewise.
10074 * elf/sprof.c: Likewise.
10075 * iconv/iconv_prog.c: Likewise.
10076 * iconv/iconvconfig.c: Likewise.
10077 * locale/programs/locale.c: Likewise.
10078 * locale/programs/localedef.c: Likewise.
10079 * login/programs/pt_chown.c: Likewise.
10080 * malloc/memusage.sh: Likewise.
10081 * malloc/memusagestat.c: Likewise.
10082 * malloc/mtrace.pl: Likewise.
10083 * manual/libc.texinfo: Likewise.
10084 * nscd/nscd.c: Likewise.
10085 * nss/getent.c: Likewise.
10086 * nss/makedb.c: Likewise.
10087 * posix/getconf.c: Likewise.
10088 * scripts/test-installation.pl: Likewise.
10089
d4697bc9
AM
10090 * All files with FSF copyright notices: Update copyright dates
10091 using scripts/update-copyrights.
10092 * intl/plural.c: Regenerated.
10093 * locale/programs/charmap-kw.h: Likewise.
10094 * locale/programs/locfile-kw.h: Likewise.
10095
c8590f9d
MF
100962013-12-31 Mike Frysinger <vapier@gentoo.org>
10097
10098 * sysdeps/unix/sysv/linux/configure: Regenerated.
10099 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10100 the linux/fanotify.h header.
10101 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10102 HAVE_LINUX_FANOTIFY_H is defined.
10103
b19221b9
SP
101042013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10105
dd1d85e5
SP
10106 * benchtests/cos-inputs: New inputs.
10107 * benchtests/sin-inputs: Likewise.
10108
1acbb90f
SP
10109 * benchtests/atan-inputs: New inputs. Fix name of multiple
10110 precision fallback inputs.
10111
4c012ed3
SP
10112 * benchtests/atanh-inputs: New inputs.
10113 * benchtests/tanh-inputs: Likewise.
10114
eff98324
SP
10115 * benchtests/acosh-inputs: New inputs.
10116 * benchtests/asinh-inputs: Likewise.
10117
ce641152
SP
10118 * benchtests/cosh-inputs: New inputs.
10119 * benchtests/sinh-inputs: Likewise.
10120
b19221b9
SP
10121 * benchtests/acos-inputs: Add more inputs.
10122 * benchtests/asin-inputs: Likewise.
10123
030a4976 101242013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 10125
030a4976 10126 [BZ #16375]
9dcc8f11
VS
10127 * manual/arith.texi: Fix spelling.
10128 * manual/charset.texi: Likewise.
10129 * manual/errno.texi: Likewise.
10130 * manual/filesys.texi: Likewise.
10131 * manual/lang.texi: Likewise.
10132 * manual/llio.texi: Likewise.
10133 * manual/locale.texi: Likewise.
10134 * manual/message.texi: Likewise.
10135 * manual/resource.texi: Likewise.
10136 * manual/search.texi: Likewise.
10137 * manual/setjmp.texi: Likewise.
10138 * manual/stdio.texi: Likewise.
10139 * manual/string.texi: Likewise.
10140 * manual/sysinfo.texi: Likewise.
10141 * manual/time.texi: Likewise.
10142
11520a57
CD
101432013-12-27 Carlos O'Donell <carlos@redhat.com>
10144
10145 * po/sl.po: New file.
10146
471103ae
MF
101472013-12-27 Mike Frysinger <vapier@gentoo.org>
10148
10149 * .gitignore: Add core/.gdbinit/.gdb_history.
10150
6c9642ed
AM
101512013-12-27 Allan McRae <allan@archlinux.org>
10152
10153 [BZ #16369]
10154 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10155 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10156
3f637079
BM
101572013-12-24 Brooks Moses <bmoses@google.com>
10158
10159 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10160 all compilers that claim C++98 compliance, not just GCC.
10161 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10162 Likewise.
10163
abc26e99
MK
101642013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10165
10166 * NEWS: Restore accidentally deleted bug-fix entries.
10167
362b47fe
MK
101682013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10169 Ondřej Bílka <neleai@seznam.cz>
10170
10171 [BZ #15073]
10172 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 10173 have_lock.
362b47fe 10174
b9bcbbcb
OB
101752013-12-23 Ondřej Bílka <neleai@seznam.cz>
10176
10177 [BZ #12986]
10178 * manual/stdio.texi (String Input Conversions): Clarify that character
10179 classes are not supported.
10180
fb55fcd2
AZ
101812013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10182
10183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10184
ef7344f0
JM
101852013-12-22 Joseph Myers <joseph@codesourcery.com>
10186
4f40e4b3
JM
10187 [BZ #16337]
10188 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10189 Calculate results for small negative arguments directly rather
10190 than using reflection formula with special underflow handling.
10191
ef7344f0
JM
10192 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10193 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10194 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10195 (fchflags): Likewise.
10196 (revoke): Likewise.
10197 (setlogin): Likewise.
10198 (sigaltstack): Likewise.
10199 (wait4): Likewise.
10200 (sigblock): Remove.
10201 (sigsetmask): Likewise.
10202 (wait3): Likewise.
10203 (waitpid): Likewise.
10204 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10205 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10206 file.
10207 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10208 * sysdeps/unix/bsd/Makefile: ... here.
10209 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10210 * sysdeps/unix/bsd/Versions: ... here.
10211 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10212 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10213 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10214 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10215 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10216 * sysdeps/unix/bsd/sigblock.c: ... here.
10217 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10218 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10219 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10220 * sysdeps/unix/bsd/sigvec.c: ... here.
10221 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10222 * sysdeps/unix/bsd/tcdrain.c: ... here.
10223 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10224 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10225 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10226 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10227 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10228 * sysdeps/unix/bsd/wait.c: ... here.
10229 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10230 * sysdeps/unix/bsd/wait3.c: ... here.
10231 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10232 * sysdeps/unix/bsd/waitpid.c: ... here.
10233
5b0626b9
JM
102342013-12-21 Joseph Myers <joseph@codesourcery.com>
10235
10236 [BZ #16356]
10237 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10238 round-to-nearest for [!USE_AS_EXPM1L].
10239 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10240 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10241 more tests of exp and exp10. Expect some exp10 tests to miss
10242 exceptions or fail in directed rounding modes.
10243 * math/auto-libm-test-out: Regenerated.
10244 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10245 (exp10_test_tonearest): New function.
10246 (exp10_towardzero_test_data): New array.
10247 (exp10_test_towardzero): New function.
10248 (exp10_downward_test_data): New array.
10249 (exp10_test_downward): New function.
10250 (exp10_upward_test_data): New array.
10251 (exp10_test_upward): New function.
10252 (main): Call the new functions.
10253 * sysdeps/i386/fpu/libm-test-ulps: Update.
10254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10255
7fda5682
JM
102562013-12-20 Joseph Myers <joseph@codesourcery.com>
10257
31e3a405
JM
10258 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10259 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10260 * math/auto-libm-test-out: Regenerated.
10261 * math/libm-test.inc (acosh_test_data): Add more tests.
10262 (atanh_test_data): Likewise.
10263 (ceil_test_data): Likewise.
10264 (copysign_test_data): Likewise.
10265 * sysdeps/i386/fpu/libm-test-ulps: Update.
10266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10267
85bff96a
JM
10268 * timezone/checktab.awk: Update from tzcode 2013i.
10269 * timezone/private.h: Likewise.
10270 * timezone/scheck.c: Likewise.
10271 * timezone/tzfile.h: Likewise.
10272 * timezone/tzselect.ksh: Likewise.
10273 * timezone/zdump.c: Likewise.
10274 * timezone/zic.c: Likewise.
10275
b7867a3b
JM
10276 * math/auto-libm-test-in: Add tests of cpow.
10277 * math/auto-libm-test-out: Regenerated.
10278 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 10279 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
10280 mpc_cc_c.
10281 (func_calc_desc): Add mpc_cc_c union field.
10282 (test_functions): Add cpow.
10283 (special_fill_2pi): New function.
10284 (special_real_inputs): Add 2pi.
10285 (calc_generic_results): Handle mpc_cc_c.
10286 * sysdeps/i386/fpu/libm-test-ulps: Update.
10287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10288
7fda5682
JM
10289 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10290 csqrt, ctan and ctanh.
10291 * math/auto-libm-test-out: Regenerated.
10292 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10293 (TEST_COND_x86): Likewise.
10294 (ccos_test_data): Use AUTO_TESTS_c_c.
10295 (ccosh_test_data): Likewise.
10296 (cexp_test_data): Likewise.
10297 (clog_test_data): Likewise.
10298 (csqrt_test_data): Likewise.
10299 (ctan_test_data): Likewise.
10300 (ctan_tonearest_test_data): Likewise.
10301 (ctan_towardzero_test_data): Likewise.
10302 (ctan_downward_test_data): Likewise.
10303 (ctan_upward_test_data): Likewise.
10304 (ctanh_test_data): Likewise.
10305 (ctanh_tonearest_test_data): Likewise.
10306 (ctanh_towardzero_test_data): Likewise.
10307 (ctanh_downward_test_data): Likewise.
10308 (ctanh_upward_test_data): Likewise.
10309 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10310 mpc_c_c.
10311 (func_calc_desc): Add mpc_c_c union field.
10312 (FUNC_mpc_c_c): New macro.
10313 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10314 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10315 ctanh.
10316 (special_fill_min_subnorm_p120): New function.
10317 (special_real_inputs): Add min_subnorm_p120.
10318 (calc_generic_results): Handle mpc_c_c.
10319 * sysdeps/i386/fpu/libm-test-ulps: Update.
10320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10321
5ff8d60e
SP
103222013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10323
57f41c40
AS
10324 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10325 (do_sin_slow): New functions.
10326 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10327 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 10328
84ba214c
SP
10329 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10330 Use M to change sign of result instead of X. Assume X is
10331 positive.
10332 (csloww1): Likewise.
10333 (__sin): Adjust.
10334 (__cos): Adjust.
10335
975195e4
SP
10336 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10337 arguments A and DA.
10338 (__sin): Adjust.
10339 (__cos): Likewise.
10340
5ff8d60e
SP
10341 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10342 (__cos): Likewise.
10343 (sloww1): Don't adjust sign of DX.
10344 (csloww1): Likewise.
10345 (sloww2): Use X directly and don't adjust sign of DX.
10346 (csloww2): Likewise.
10347
eb983568
JM
103482013-12-19 Joseph Myers <joseph@codesourcery.com>
10349
64a17f1a
JM
10350 * math/auto-libm-test-in: Add tests of cabs and carg.
10351 * math/auto-libm-test-out: Regenerated.
10352 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10353 (carg_test_data): Likewise.
10354 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10355 mpc_c_f.
10356 (func_calc_desc): Add mpc_c_f union field.
10357 (test_functions): Add cabs and carg.
10358 (calc_generic_results): Handle mpc_c_f.
10359
eb983568
JM
10360 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10361 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10362 as a macro and a compat symbol.
10363 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10364 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10365 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10366 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10367 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10368 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10369 not use .hidden.
10370 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10371 Likewise.
10372 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10373 Likewise.
10374 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10375 Likewise.
10376 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10377 Likewise.
10378 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10379 Likewise.
10380 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10381 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10382 from GLIBC_2.3.2.
10383
6eeb678a
AZ
103842013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10385
10386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10387
6f6fc482
JM
103882013-12-19 Joseph Myers <joseph@codesourcery.com>
10389
21fea2e2
JM
10390 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10391 trailing whitespace removed.
10392 * scripts/config.guess: Update to version 2013-11-29.
10393 * scripts/config.sub: Update to version 2013-10-01.
10394
6f6fc482
JM
10395 * math/auto-libm-test-in: Add tests of sincos.
10396 * math/auto-libm-test-out: Regenerated.
10397 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10398 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10399 mpfr_f_11.
10400 (func_calc_desc): Add mpfr_f_11 union field.
10401 (test_functions): Add sincos.
10402 (calc_generic_results): Handle mpfr_f_11.
10403 * sysdeps/i386/fpu/libm-test-ulps: Update.
10404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10405
83f5c32d
AS
104062013-12-19 Andreas Schwab <schwab@suse.de>
10407
10408 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10409 CALL_MCOUNT.
10410 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10411 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10412 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10413
c688b419
JM
104142013-12-19 Joseph Myers <joseph@codesourcery.com>
10415
335ee092
JM
10416 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10417 * sysdeps/i386/fpu/libm-test-ulps: Update.
10418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10419
f88acd39
JM
10420 [BZ #16293]
10421 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10422 round-to-nearest mode when using frndint.
10423 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10424 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10425 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10426 Likewise.
10427 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10428 sinh test to fail.
10429 * math/auto-libm-test-out: Regenerated.
10430 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10431 (TEST_COND_x86): Likewise.
10432 (expm1_tonearest_test_data): New array.
10433 (expm1_test_tonearest): New function.
10434 (expm1_towardzero_test_data): New array.
10435 (expm1_test_towardzero): New function.
10436 (expm1_downward_test_data): New array.
10437 (expm1_test_downward): New function.
10438 (expm1_upward_test_data): New array.
10439 (expm1_test_upward): New function.
10440 (main): Run the new test functions.
10441 * sysdeps/i386/fpu/libm-test-ulps: Update.
10442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10443
c688b419
JM
10444 * include/features.h: Update comment documenting feature test
10445 macros. Mention _DEFAULT_SOURCE in comment.
10446 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10447 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10448 _BSD_SOURCE and _SVID_SOURCE.
10449 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10450 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10451 !_SVID_SOURCE]: Likewise.
10452 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10453 (__USE_POSIX_IMPLICITLY): Define.
10454 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10455 (_POSIX_SOURCE): Undefine and redefine.
10456 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10457 (_POSIX_C_SOURCE): Likewise.
10458 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10459 (Feature Test Macros): Update documentation of default features.
10460
9f6e964c
RS
104612013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10462
10463 * benchtests/Makefile: Add bench-strtok.
10464 * benchtests/bench-strtok.c: New file: strtok benchtest.
10465
ee0a148a
AM
104662013-12-19 Allan McRae <allan@archlinux.org>
10467
10468 * manual/install.texi: Suppress menu for plain text output.
10469 * INSTALL: Regenerated.
10470
b9ab448f
BM
104712013-12-18 Brooks Moses <bmoses@google.com>
10472
10473 [BZ #15846]
10474 * misc/getauxval.c: Include errno.h.
10475 (__getauxval): Set errno to ENOENT if the requested type is not
10476 found.
10477 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10478 don't declare with __attribute_const__.
10479 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10480 * manual/startup.texi: Document that getauxval sets errno.
10481
23776487
JM
104822013-12-18 Joseph Myers <joseph@codesourcery.com>
10483
f889953b
JM
10484 * math/auto-libm-test-in: Add tests of jn and yn.
10485 * math/auto-libm-test-out: Regenerated.
10486 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10487 (yn_test_data): Likewise.
10488 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10489 mpfr_if_f.
10490 (func_calc_desc): Add mpfr_if_f union field.
10491 (FUNC_mpfr_if_f): New macro.
10492 (test_functions): Add jn and yn.
10493 (calc_generic_results): Assert type of second input for
10494 mpfr_ff_f. Handle mpfr_if_f.
10495 (output_for_one_input_case): Disable all checking for arguments
10496 fitting floating-point types in case of an integer argument.
10497 * sysdeps/i386/fpu/libm-test-ulps: Update.
10498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10499
23776487
JM
10500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10501 Don't expect fegetround reference in libm.so.
10502
cb756c6d
MS
105032013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10504
10505 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10506 $(config-cflags-nofma).
10507
2dec468f
JM
105082013-12-18 Joseph Myers <joseph@codesourcery.com>
10509
5953eb3a
JM
10510 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10511 * math/auto-libm-test-out: Regenerated.
10512
2dec468f
JM
10513 [BZ #16338]
10514 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10515 to determine exponent and adjust argument to have exponent of -1.
10516 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10517 log2.
10518 * math/auto-libm-test-out: Regenerated.
10519 * sysdeps/i386/fpu/libm-test-ulps: Update.
10520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10521
4d84e6ad
OB
105222013-12-18 Ondřej Bílka <neleai@seznam.cz>
10523
10524 * manual/probes.texi: Remove cases when per-thread arenas are
10525 disabled.
10526
1818483b
AS
105272013-12-18 Andreas Schwab <schwab@suse.de>
10528
10529 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10530 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10531 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10532 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10533 * sysdeps/i386/i686/multiarch/Makefile: Update.
10534 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10535
25de95bf
JM
105362013-12-17 Joseph Myers <joseph@codesourcery.com>
10537
10538 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10539 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10540
674762d9
PE
105412013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10542
ed27ed83 10543 [BZ #15968]
0748546f
PE
10544 Support TZ transition times < 00:00:00.
10545 This is needed for version-3 tz-format files; it supports time
10546 stamps past 2037 for America/Godthab (the only entry in the tz
10547 database for which this change is relevant).
10548 * manual/time.texi (TZ Variable): Document transition times
10549 from -167:59:59 through -00:00:01.
10550 * time/tzset.c (tz_rule): Time of day is now signed.
10551 (__tzset_parse_tz): Parse negative time of day.
10552
4480e934
PE
10553 Document TZ transition times >= 25:00:00.
10554 * manual/time.texi (TZ Variable): Document transition times from
10555 25:00:00 through 167:59:59. These are already supported, and this
10556 support will help with version-3 tz-format files.
10557
69947401
PE
10558 * manual/time.texi (TZ Variable): Modernize North America example
10559 to reflect current (i.e., 2007-and-later) daylight saving rules.
10560
674762d9
PE
10561 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10562
7011c262
JM
105632013-12-17 Joseph Myers <joseph@codesourcery.com>
10564
2fc6557e
JM
10565 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10566 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10567 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10568 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10569 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10570 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10571 * sysdeps/unix/bsd/clock.c: Likewise.
10572 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10573 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10574 * sysdeps/unix/bsd/init-posix.c: Likewise.
10575 * sysdeps/unix/bsd/poll.c: Likewise.
10576 * sysdeps/unix/bsd/ptsname.c: Likewise.
10577 * sysdeps/unix/bsd/seekdir.c: Likewise.
10578 * sysdeps/unix/bsd/setegid.c: Likewise.
10579 * sysdeps/unix/bsd/seteuid.c: Likewise.
10580 * sysdeps/unix/bsd/setgid.c: Likewise.
10581 * sysdeps/unix/bsd/setrgid.c: Likewise.
10582 * sysdeps/unix/bsd/setruid.c: Likewise.
10583 * sysdeps/unix/bsd/setsid.c: Likewise.
10584 * sysdeps/unix/bsd/setuid.c: Likewise.
10585 * sysdeps/unix/bsd/sigaction.c: Likewise.
10586 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10587 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10588 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10589 * sysdeps/unix/bsd/telldir.c: Likewise.
10590 * sysdeps/unix/bsd/times.c: Likewise.
10591 * sysdeps/unix/bsd/usleep.c: Likewise.
10592
029c7b25
JM
10593 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10594 ($(objpfx)libbsd-compat.a): Remove rule.
10595
7011c262
JM
10596 * include/features.h (__FAVOR_BSD): Do not define.
10597 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10598 features conflicting with POSIX.
10599 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10600 (_BSD_SOURCE): Remove description of not being a subset of other
10601 feature test macros.
10602 * manual/job.texi (getpgrp): Do not document BSD version.
10603 (getpgid): Do not document by reference to BSD getpgrp.
10604 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10605 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10606 * signal/signal.h [__FAVOR_BSD]: Likewise.
10607 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10608 instead of making contents conditional on [__FAVOR_BSD].
10609 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10610
affb6f78
AZ
106112013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10612
10613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10614
c88769dd
JM
106152013-12-17 Joseph Myers <joseph@codesourcery.com>
10616
6432a540
JM
10617 [BZ #16314]
10618 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10619 values below 2**-450, not 2**-500.
10620 * math/auto-libm-test-in: Don't allow spurious underflow from
10621 hypot.
10622 * math/auto-libm-test-out: Regenerated.
10623
c88769dd
JM
10624 [BZ #16316]
10625 [BZ #16330]
10626 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10627 values of ha and hb and sort them after adjusting subnormal
10628 arguments.
10629 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10630 Likewise.
10631 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10632 values of ea and eb and sort them after adjusting subnormal
10633 arguments.
10634 * math/auto-libm-test-in: Do not expect some hypot tests of
10635 subnormals to fail. Add more hypot tests.
10636 * math/auto-libm-test-out: Regenerated.
10637
29618f6b
KK
106382013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10639
10640 [BZ #13304]
10641 * sysdeps/sh/s_fma.c: New file.
10642 * sysdeps/sh/s_fmaf.c: New file.
10643 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10644 version.
10645 * sysdeps/sh/Implies: Add sh/soft-fp.
10646
eacfdfbf
RM
106472013-12-16 Roland McGrath <roland@hack.frob.com>
10648
10649 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10650 level of indirection to members `objname', `errstring', `malloced'.
10651 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10652 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10653 it as the __longjmp argument (just pass 1 instead).
10654 (_dl_catch_error): Initialize C with argument pointers and address of
10655 volatile local ERRCODE rather than copying values out of C at return.
10656
ff362e5b
JM
106572013-12-16 Joseph Myers <joseph@codesourcery.com>
10658
10659 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10660 * math/auto-libm-test-out: Regenerated.
10661 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10662 (hypot_test_data): Likewise.
10663 (pow_test_data): Likewise.
10664 (pow_tonearest_test_data): Likewise.
10665 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10666 mpfr_ff_f.
10667 (func_calc_desc): Add mpfr_ff_f union field.
10668 (FUNC_mpfr_ff_f): New macro.
10669 (test_functions): Add atan2, hypot and pow.
10670 (special_fill_min): New function.
10671 (special_fill_minus_min): Likewise.
10672 (special_fill_min_subnorm): Likewise.
10673 (special_fill_minus_min_subnorm): Likewise.
10674 (special_real_inputs): Add min, -min, min_subnorm and
10675 -min_subnorm.
10676 (calc_generic_results): Handle mpfr_ff_f.
10677 * sysdeps/i386/fpu/libm-test-ulps: Update.
10678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10679
5764c27f
WN
106802013-12-16 Will Newton <will.newton@linaro.org>
10681
10682 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10683 (Aligned Memory Blocks): Add documentation for aligned_alloc
10684 and suggest it as an alternative to posix_memalign.
10685 (Hooks for Malloc): Document __memalign_hook is also called
10686 for aligned_alloc. (Summary of Malloc): Add summary for
10687 aligned alloc. Document __memalign_hook is also called
10688 for aligned_alloc.
10689
0a096e44
WN
106902013-12-16 Will Newton <will.newton@linaro.org>
10691
10692 * manual/memory.texi (Malloc Examples): Clarify default
10693 alignment documentation. Suggest posix_memalign rather
10694 than memalign or valloc.
10695 (Aligned Memory Blocks): Remove suggestion to use memalign
10696 or valloc. Remove obsolete comment about BSD.
10697 Document memalign errno values and mark the function obsolete.
10698 Document posix_memalign returned error codes. Mark valloc
10699 as obsolete. (Hooks for Malloc): __memalign_hook is also
10700 called for posix_memalign and valloc.
10701 (Summary of Malloc): Add posix_memalign to function summary.
10702 __memalign_hook is also called for posix_memalign and valloc.
10703
8d561986
SP
107042013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10705
10706 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10707 TAYLOR_SIN.
10708 (__sin): Adjust.
10709 (__cos): Likewise.
10710 (sloww): Use mynumber union. Expand ternary operator into
10711 if-else statements.
10712 (cslow): use mynumber union.
10713
73616a74
AM
107142013-12-16 Allan McRae <allan@archlinux.org>
10715
9e8ac24b
AM
10716 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10717 * configure: Regenerated.
10718
6f8e37eb
AM
10719 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10720
8894bad3
AM
10721 [BZ #14120]
10722 * configure.ac: Added --enable-maintainer-mode. Check for
10723 autoconf when enabled.
10724 * configure: Regenerated.
10725
73616a74
AM
10726 * nscd/nscd.service: New file.
10727 * nscd/nscd.tmpfiles: New file.
10728
584b18eb
OB
107292013-12-14 Ondřej Bílka <neleai@seznam.cz>
10730
10731 [BZ #12100]
10732 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10733 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10734 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10735 (strstr): Add __strstr_sse2_unaligned ifunc.
10736 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10737 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10738 (strcasestr): Remove __strcasestr_sse42 ifunc.
10739 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10740 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10742
8a5c7897
KK
107432013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10744
10745 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10746 * sysdeps/sh/bits/fenv.h: ... here.
10747 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10748
fd712ef3
AZ
107492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10750
10751 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10752
42fcb46c
AZ
10753 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10754 hypotf multiarch implementations.
10755 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10756 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10757 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10758 multiarch hypot for PPC64.
10759 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10760 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10761 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10762 multiarch hypotf for PPC64.
10763
83efded4
AZ
10764 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10765 modff multiarch implementations.
10766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10769 multiarch modf for PPC64.
10770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10773 multiarch modff for PPC64.
10774
43e246d2
AZ
10775 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10776 and logl multiarch implementations.
10777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10780 multiarch logb for PPC64.
10781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10784 multiarch logb for PPC64.
10785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10788 multiarch logb for PPC64.
10789
8fdad123
AZ
10790 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10791 isinff multiarch implementation.
10792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10793 file.
10794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10796 multiarch isinf for PPC64.
10797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10798 file.
10799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10800 multiarch isinff for PPC64.
10801
1481d706
AZ
10802 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10803 finitef multiarch implementation.
10804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10805 file.
10806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10808 multiarch finite for PPC64.
10809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10810 file.
10811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10812 multiarch finitef for PPC64.
10813
5ccd5fc8
AZ
10814 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10815 lrint multiarch implementation.
10816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10817 file.
10818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10820 multiarch llrint for PPC64.
10821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10822 multiarch lrint for PPC64.
10823
2568f3fa
AZ
10824 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10825 copysignf multiarch implementation.
10826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10827 file.
10828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10829 file.
10830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10831 multiarch copysign for PPC64.
10832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10833 multiarch copysignf for PPC64.
10834
1cb341fd
AZ
10835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10836 multiarch implementation.
10837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10838 file.
10839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10840 file.
10841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10842 file.
10843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10844 file.
10845 multiarch llround for PPC64.
10846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10847 multiarch trunc for PPC64.
10848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10849 multiarch truncf for PPC64.
10850
59a3e194
AZ
10851 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10852 multiarch implementation.
10853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10854 file.
10855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10856 file.
10857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10858 file.
10859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10860 file.
10861 multiarch llround for PPC64.
10862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10863 multiarch round for PPC64.
10864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10865 multiarch roundf for PPC64.
10866
357fd3b4
AZ
10867 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10868 multiarch implementation.
10869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10870 file.
10871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10872 file.
10873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10874 file.
10875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10876 file.
10877 multiarch llround for PPC64.
10878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10879 multiarch floor for PPC64.
10880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10881 multiarch floorf for PPC64.
10882
96770f12
AZ
10883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10884 multiarch implementation.
10885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10886 file.
10887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10888 file.
10889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10890 file.
10891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10892 file.
10893 multiarch llround for PPC64.
10894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10895 multiarch ceil for PPC64.
10896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10897 multiarch ceilf for PPC64.
10898
c3627f6e
AZ
10899 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10900 multiarch implementation.
10901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10902 file.
10903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10904 file.
10905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10906 file.
10907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10908 multiarch llround for PPC64.
10909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10910 multiarch lround for PPC64.
10911
b2284ad7
AZ
10912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10913 multiarch implementation.
10914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10917 file.
10918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10921 multiarch isnan for PPC64.
10922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10923 multiarch isnanf for PPC64.
10924
69bbc63d
AZ
10925 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10926 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10927 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10928 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10929 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10931
c24517c9
AZ
10932 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10933 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10934 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10935 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10936
a52374e8
AZ
10937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10938 multiarch implementations.
10939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10940 (__libc_ifunc_impl_list): Likewise.
10941 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10942 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10943 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10944 multiarch stpcpy for PPC64.
10945
7f5ec113
AZ
10946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10947 multiarch implementations.
10948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10949 (__libc_ifunc_impl_list): Likewise.
10950 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10951 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10952 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10953 multiarch strcpy for PPC64.
10954
e28bcd42
AZ
10955 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10956 redefine function name.
10957 (_wordcopy_fwd_dest_aligned): Likewise.
10958 (_wordcopy_bwd_aligned): Likewise.
10959 (_wordcopy_bwd_dest_aligned): Likewise.
10960 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10961 multiarch implementations.
10962 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10963 (__libc_ifunc_impl_list): Likewise.
10964 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10965 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10966 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10967 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10968 multiarch wcscpy for PPC64.
10969
92cacfce
AZ
10970 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10971 multiarch implementations.
10972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10973 (__libc_ifunc_impl_list): Likewise.
10974 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10975 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10976 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10977 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10978 multiarch wcscpy for PPC64.
10979
7b714620
AZ
10980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10981 multiarch implementations.
10982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10983 (__libc_ifunc_impl_list): Likewise.
10984 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10985 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10986 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10987 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10988 multiarch wcsrchr for PPC64.
10989
16fd2ae3
AZ
10990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10991 multiarch implementations.
10992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10993 (__libc_ifunc_impl_list): Likewise.
10994 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10995 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10996 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10997 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10998 multiarch wcschr for PPC64.
10999
9ee2969b
AZ
11000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11001 multiarch implementations.
11002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11003 (__libc_ifunc_impl_list): Likewise.
11004 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11005 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11006 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11007 multiarch strchrnul for PPC64.
11008
372dc060
AZ
11009 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11010 implementations.
11011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11012 (__libc_ifunc_impl_list): Likewise.
11013 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11014 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11015 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11016 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11017 strchr for PPC64.
11018
24c2c3b9
AZ
11019 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11020 implementations.
11021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11022 (__libc_ifunc_impl_list): Likewise.
11023 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11024 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11025 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11026 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11027 strncmp for PPC64.
11028
1c92d9a0
AZ
11029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11030 multiarch implementations.
11031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11032 (__libc_ifunc_impl_list): Likewise.
11033 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11034 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11035 strncasecmp for PPC64.
11036 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11037 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11038 multiarch strncasecmp_l for PPC64.
11039
17de3ee3
AZ
11040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11041 multiarch implementations.
11042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11043 (__libc_ifunc_impl_list): Likewise.
11044 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11045 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11046 multiarch strcasecmp for PPC64.
11047 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11048 file.
11049 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11050 multiarch strcasecmp_l for PPC64.
11051
62982bf9
AZ
11052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11053 implementations.
11054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11055 (__libc_ifunc_impl_list): Likewise.
11056 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11057 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11058 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11059 strnlen for PPC64.
11060
a65f4904
AZ
11061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11062 implementations.
11063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11064 (__libc_ifunc_impl_list): Likewise.
11065 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11066 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11067 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11068 strlen for PPC64.
11069
1fd005ad
AZ
11070 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11071 implementations.
11072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11073 (__libc_ifunc_impl_list): Likewise.
11074 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11075 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11076 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11077 rawmemrchr for PPC64.
11078
cd05ba91
AZ
11079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11080 implementation.
11081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11082 (__libc_ifunc_impl_list): Likewise.
11083 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11084 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11085 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11086 memrchr for PPC64.
11087
870f8676
AZ
11088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11089 implementation.
11090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11091 (__libc_ifunc_impl_list): Likewise.
11092 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11093 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11094 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11095 memchr for PPC64.
11096
f00be62b
AZ
11097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11098 implementation.
11099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11100 (__libc_ifunc_impl_list): Likewise.
11101 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11102 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11103 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11104 mempcpy for PPC64.
11105
8a29a3d0
AZ
11106 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11107 avoid cretion of __bzero symbol.
11108 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11109 Likewise.
11110 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11111 Likewise.
11112 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11113 Likewise.
11114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11115 multiarch implementations.
11116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11117 (__libc_ifunc_impl_list): Likewise.
11118 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11119 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11120 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11121 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11122 bzero for PPC32.
11123 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11124 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11125 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11126 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11127 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11128 memset for PPC64.
11129 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11130
07253fcf
AZ
11131 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11133 implementations.
11134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11135 (__libc_ifunc_impl_list): Likewise.
11136 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11137 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11138 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11139 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11140 memcmp for PPC64.
11141
b5beafbc
AZ
11142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11143 multiarch for POWER/PPC64.
11144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11145 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11146 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11147 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11148 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11149 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11150 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11151 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11152 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11153 memcpy for PPC64.
11154
5e6a4d4b
AZ
11155 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11156 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11157 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11158 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11159 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11160 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11161 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11162 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11163 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11164 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11165 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11166 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11167 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11168 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11169 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11177
ddfab6dc
KK
111782013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11179
11180 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11181
19b5525e
SP
111822013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11183
11184 * benchtests/Makefile (bench): Add exp2 and log2.
11185 (LDLIBS-bench-exp2): Add -lm.
11186 (LDLIBS-bench-log2): Likewise.
11187 * benchtests/exp2-inputs: New inputs file.
11188 * benchtests/log2-inputs: New inputs file.
11189 * benchtests/log-inputs: Add new inputs.
11190 * benchtests/tan-inputs: Likewise.
11191
196f7f5d
SP
111922013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11193
7a74607f
SP
11194 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11195 definition...
57f41c40
AS
11196 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11197 (csloww2): ... from here.
7a74607f 11198
196f7f5d
SP
11199 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11200 instead of structures.
11201 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11202 (POLYNOMIAL): Likewise.
11203 (TAYLOR_SLOW): Likewise.
11204 (__sin): Likewise.
11205 (__cos): Likewise.
11206 (slow1): Likewise.
11207 (slow2): Likewise.
11208 (sloww): Likewise.
11209 (sloww1); Likewise.
11210 (sloww2): Likewise.
11211 (bsloww1): Likewise.
11212 (bsloww2): Likewise.
11213 (cslow2): Likewise.
11214 (csloww): Likewise.
11215 (csloww1): Likewise.
11216 (csloww2): Likewise.
11217
0dfa665c
OB
112182013-12-10 Ondřej Bílka <neleai@seznam.cz>
11219
11220 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
11221 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11222 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
11223 * malloc/hooks.c (realloc_check): Likewise.
11224
5782a80f
OB
11225 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11226 * malloc/arena.c: Remove PER_THREAD conditional.
11227 [!PER_THREAD]: Remove code.
11228 (ptmalloc_unlock_all2): Likewise.
11229 (ptmalloc_init): Likewise.
11230 (_int_new_arena): Likewise.
11231 (arena_get2): Likewise.
11232 * malloc/hooks.c (__malloc_get_state): Likewise.
11233 (__malloc_set_state): Likewise.
11234 * malloc/malloc.c: Likewise.
11235 (struct malloc_state): Likewise.
11236 (struct malloc_par): Likewise.
11237 (__libc_realloc): Likewise.
11238 (__libc_mallopt): Likewise.
11239
aeb95445
AZ
112402013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11241
11242 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11243
e8349efd
OB
112442013-12-09 Ondřej Bílka <neleai@seznam.cz>
11245
11246 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11247 macro to a function. Check for zero perturb_byte.
11248 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11249
f3eeb3fc 11250 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
11251 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11252 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
11253 force_reg by atomic_forced_read.
11254 * malloc/arena.c (ptmalloc_init): Likewise.
11255 * malloc/hooks.c (top_check): Likewise.
11256
be2f9009
AZ
112572013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11258
11259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11260
e7b914bd
MT
112612013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11262
11263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11264
9f0be4f8
JM
112652013-12-08 Joseph Myers <joseph@codesourcery.com>
11266
11267 * math/auto-libm-test-in: Add tests of lgamma.
11268 * math/auto-libm-test-out: Regenerated.
11269 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11270 (M_LOG_2_SQRT_PIl): Likewise.
11271 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11272 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11273 mpfr_f_f1.
11274 (func_calc_desc): Add mpfr_f_f1 union field.
11275 (ARGS1): New macro.
11276 (ARGS2): Likewise.
11277 (ARGS3): Likewise.
11278 (ARGS4): Likewise.
11279 (RET1): Likewise.
11280 (RET2): Likewise.
11281 (CALC): Likewise.
11282 (FUNC): Likewise.
11283 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11284 (test_functions): Add lgamma.
11285 (calc_generic_results): Handle mpfr_f_f1.
11286 * sysdeps/i386/fpu/libm-test-ulps: Update.
11287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11288
24eeafdb
AZ
112892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11290
11291 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11292 __mpn_add_n for PowerPC64/POWER7.
11293 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11294 __mpn_sub_n for PowerPC64/POWER7.
11295
4a2c0fd4
AZ
11296 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11297 __mpn_addmul_1 for PowerPC64.
11298 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11299 __mpn_submul_1 for PowerPC64.
11300 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11301 for PowerPC64.
11302 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11303 for PowerPC64.
11304
4b5b548c
FS
113052013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11306
11307 [BZ #15089]
11308 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11309
0a3ac0aa
AZ
113102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11311
11312 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11313
ccdc8438
AZ
11314 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11315 add multiarch folders.
11316 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11317 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11318 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11319 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11320 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11321 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11322 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11323 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11324 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11325 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11326 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11333
2e973d99
AZ
11334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11335 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11337 New file.
11338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11339 New file.
11340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11341 multiarch __ieee754_hypot for PowerPC32.
11342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11343 New file.
11344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11345 New file.
11346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11347 multiarch __ieee754_hypotf for PowerPC32.
11348
2d9470b2
AZ
11349 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11350 long_double_symbol only if __logbl is defined.
11351 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11352 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11353 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11354 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11355 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11356 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11357 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11358 path for implementation.
11359 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11360 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11362 logb, and logbl multiarch implementations for PowerPC32.
11363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11364 file.
11365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11366 file.
11367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11368 multiarch logb for PowerPC32.
11369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11370 file.
11371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11372 file.
11373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11374 multiarch logbf for PowerPC32.
11375 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11377 file.
11378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11379 multiarch logbl implementation for PowerPC32.
11380
5212ffce
AZ
11381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11382 and modff multiarch implementations.
11383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11384 New file.
11385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11386 New file.
11387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11388 multiarch modf for PowerPC32.
11389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11390 New file.
11391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11392 New file.
11393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11394 multiarch modff for PowerPC32.
11395
79dccf31
AZ
11396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11397 and lrintf multiarch implementations.
11398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11399 New file.
11400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11401 New file.
11402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11403 multiarch lrint for PowerPC32.
11404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11405 file: multiarch lrintf for PowerPC32.
11406
deb66480
AZ
11407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11408 and lroundf multiarch implementations.
11409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11410 New file.
11411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11412 New file.
11413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11414 New file.
11415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11416 multiarch lround for PowerPC32.
11417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11418 file: multiarch lroundf for PowerPC32.
11419
264b036b
AZ
11420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11421 copysign and copysignf multiarch implementations.
11422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11423 New file.
11424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11425 New file.
11426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11427 file: multiarch copysign for PowerPC32.
11428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11429 file: multiarch copysignf for PowerPC32.
11430
d47db6c9
AZ
11431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11432 and truncf multiarch implementations.
11433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11434 New file.
11435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11436 file.
11437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11438 multiarch trunc for PowerPC32.
11439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11440 New file.
11441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11442 New file.
11443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11444 multiarch truncf for PowerPC32.
11445
ddb60b5a
AZ
11446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11447 and roundf multiarch implementations.
11448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11449 New file.
11450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11451 file.
11452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11453 multiarch round for PowerPC32.
11454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11455 New file.
11456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11457 New file.
11458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11459 multiarch roundf for PowerPC32.
11460
bedcf49b
AZ
11461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11462 and floorf multiarch implementations.
11463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11464 New file.
11465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11466 file.
11467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11468 multiarch floor for PowerPC32.
11469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11470 New file.
11471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11472 New file.
11473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11474 multiarch floorf for PowerPC32.
11475
35ae5b40
AZ
11476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11477 and ceilf multiarch implementations.
11478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11479 New file.
11480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11481 file.
11482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11483 multiarch ceil for PowerPC32.
11484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11485 New file.
11486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11487 file.
11488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11489 multiarch ceilf for PowerPC32.
11490
ae1a4cd9
AZ
11491 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11492 is defined.
11493 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11494 FINITEF is defined.
11495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11496 and finitef multiarch implementations.
11497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11498 New file.
11499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11500 file.
11501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11502 multiarch finite for PowerPC32.
11503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11504 New file.
11505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11506 file: multiarch finitef for PowerPC32.
11507
64fffd65
AZ
11508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11509 and isinff multiarch implementations.
11510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11511 file.
11512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11513 file.
11514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11515 multiarch isinf for PowerPC32.
11516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11517 New file.
11518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11519 multiarch isinff for PowerPC32.
11520
8e4e7ba2
AZ
11521 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11522 alias when __isnan is defined.
11523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11524 and isnanf multiarch implementations.
11525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11526 file.
11527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11528 file.
11529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11530 file.
11531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11532 file.
11533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11534 multiarch isnan for PowerPC32.
11535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11536 New file.
11537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11538 New file.
11539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11540 multiarch isnanf for PowerPC32.
11541
ddba588e
AZ
11542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11543 and sqrtf multiarch implementations.
11544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11545 file.
11546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11547 file.
11548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11549 multiarch sqrt for PowerPC32.
11550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11551 file.
11552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11553 file.
11554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11555 multiarch sqrtf for PowerPC32.
11556
0f96a2f0
AZ
11557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11558 and llroundf multiarch implementations.
11559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11560 New file.
11561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11562 New file.
11563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11564 New file.
11565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11566 file: multiarch llround for PowerPC32.
11567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11568 file: multiarch llroundf for PowerPC32.
11569
c9b5d79e
AZ
11570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11571 multiarch PowerPC32 fpu implementations.
11572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11573 New file.
11574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11575 New file.
11576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11577 multiarch llrint for PowerPC32.
11578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11579 New file.
11580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11581 New file.
11582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11583 file.
11584
9cbb3aab
AZ
11585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11586
ea5a72f8
AZ
11587 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11588 file.
11589 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11590 file.
11591 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11592 file.
11593 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11594 multiarch wordcopy for PPC32.
11595 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11596 wordcopy objects.
11597 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11598 (__libc_ifunc_impl_list): Likewise.
11599 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11600 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11601 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11602 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11603 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11604 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11605
93be09e7
AZ
11606 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11607 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11608 file.
11609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11610 file.
11611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11612 file.
11613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11614 multiarch wcscpy for PPC32.
11615 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11616 multiarch objects.
11617 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11618 (__libc_ifunc_impl_list): Likewise.
11619 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11620 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11621 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11622 sysdeps/powerpc/power6/wcscpy.c.
11623
bb04e529
AZ
11624 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11625 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11626 file.
11627 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11628 file.
11629 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11630 file.
11631 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11632 multiarch wcsrchr for PPC32.
11633 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11634 multiarch objects.
11635 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11636 (__libc_ifunc_impl_list): Likewise.
11637 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11638 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11639 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11640 sysdeps/powerpc/power6/wcsrchr.c.
11641
05b5cd1c
AZ
11642 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11643 file.
11644 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11645 file.
11646 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11647 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11648 multiarch wcschr for PPc32.
11649 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11650 multiarch objects.
11651 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11652 (__libc_ifunc_impl_list): Likewise.
11653 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11654 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11655 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11656 sysdeps/powerpc/power6/wcschr.c.
11657
ba964147
AZ
11658 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11659 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11660 file.
11661 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11662 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11663 file: multiarch strchr for PPC32.
11664 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11665 multiarch objects.
11666 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11667 (__libc_ifunc_impl_list): Likewise.
11668
31c81aaa
AZ
11669 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11670 name.
11671 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11672 file.
11673 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11674 file.
11675 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11676 multiarch strchrnul for PPC32.
11677 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11678 multiarch objects.
11679 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11680 (__libc_ifunc_impl_list): Likewise.
11681
0d0607d9
AZ
11682 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11683 file.
11684 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11685 multiarch strncasecmp for PPC32.
11686 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11687 file.
11688 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11689 multiarch strncasecmp_l for PPC32.
11690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11691 strncasecmp multiarch objects.
11692 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11693 (__libc_ifunc_impl_list): Likewise.
11694
4dfd5c86
AZ
11695 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11696 file.
11697 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11698 multiarch strncasecmp for PPC32.
11699 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11700 New file.
11701 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11702 multiarch strcasecmp_l for PPC32.
11703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11704 multiarch objects.
11705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11706 (__libc_ifunc_impl_list): Likewise.
11707
a19e01a3
AZ
11708 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11709 file.
11710 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11711 file.
11712 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11713 multiarch strncmp for PPC32.
11714 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11715 multiarch objects.
11716 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11717 (__libc_ifunc_impl_list): Likewise.
11718
ae9cf7a2
AZ
11719 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11720 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11721 file.
11722 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11723 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11724 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11725 multiarch objects.
11726 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11727 (__libc_ifunc_impl_list): Likewise.
11728
3148bb7d
AZ
11729 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11730 file.
11731 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11732 file.
11733 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11735 multiarch objects.
11736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11737 (__libc_ifunc_impl_list): Likewise.
11738
7af8b946
AZ
11739 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11740 file.
11741 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11742 file.
11743 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11744 multiarch rawmemchr for PPC32.
11745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11746 multiarch objects.
11747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11748 (__libc_ifunc_impl_list): Likewise.
11749
03a6aa6a
AZ
11750 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11751 file.
11752 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11753 file.
11754 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11755 file: memrchr multiarch for PPC32.
11756 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11757 multiarch objects.
11758 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11759 (__libc_ifunc_impl_list): Likewise.
11760
1c62e6d9
AZ
11761 * string/memchr.c (__memchr): Using macro to redefine symbol name.
11762 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11763 file.
11764 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11765 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11766 multiarch memchr for PPC32.
11767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11768 multiarch objects.
11769 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11770 (__libc_ifunc_impl_list): Likewise.
11771
87da8bdb
AZ
11772 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11773 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11774 file.
11775 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11776 file.
11777 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11778 file: multiarch mempcpy for PPC32.
11779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11780 multiarch objects.
11781 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11782 (__libc_ifunc_impl_list): Likewise.
11783
20ed4714
AZ
11784 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11785 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11786 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11787 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11788 multiarch bzero for PPC32.
11789 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11790 file.
11791 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11792 file.
11793 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11794 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11795 file: multiarch memset for PPC32.
11796 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11798 memset multiarch objects.
11799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11800 (__libc_ifunc_impl_list): Likewise.
11801
ab3e3a46
AZ
11802 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11803 file.
11804 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11805 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11806 memcmp for PPC32.
11807 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11809 multiarch objects.
11810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11811 (__libc_ifunc_impl_list): Likewise.
11812
930de6f0
AZ
11813 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11814 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11815 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11816 file.
11817 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11818 file.
11819 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11820 file.
11821 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11822 multiarch memcpy for PPC32.
11823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11824 multiarch objects.
11825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11826 (__libc_ifunc_impl_list): Likewise.
11827
4c628e00
AZ
11828 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11829 support multiarch for POWER/PPC32.
11830 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11831 Likewise.
11832 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11834 Implies file to make multiarch folder appers before the fpu and
11835 default folder for power4 configuration.
11836
f4479220
SP
118372013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11838
11839 * scripts/bench.pl: Append volatile keyword to type.
11840
8517800f
KK
118412013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11842
11843 * sysdeps/sh/sotruss-lib.c: New file.
11844 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11845
180138f1
AZ
118462013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11847
11848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11849
bbf37bdc
JM
118502013-12-05 Joseph Myers <joseph@codesourcery.com>
11851
e47cc4e0
JM
11852 [BZ #6810]
11853 * math/w_tgamma.c: Include <errno.h>.
11854 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11855 * math/w_tgammaf.c: Include <errno.h>.
11856 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11857 * math/w_tgammal.c: Include <errno.h>.
11858 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11859 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11860 underflow. Add more tgamma tests.
11861 * math/auto-libm-test-out: Regenerated.
11862 * sysdeps/i386/fpu/libm-test-ulps: Update.
11863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11864
bbf37bdc
JM
11865 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11866 sin, sinh, tan, tanh, tgamma, y0 and y1.
11867 * math/auto-libm-test-out: Regenerated.
11868 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11869 (TEST_COND_x86): Likewise.
11870 (M_E2l): Remove macro.
11871 (M_E3l): Likewise.
11872 (M_2_SQRT_PIl): Likewise.
11873 (M_SQRT_PIl): Likewise.
11874 (M_1_DIV_El): Likewise.
11875 (log_test_data): Use AUTO_TESTS_f_f.
11876 (log10_test_data): Likewise.
11877 (log1p_test_data): Likewise.
11878 (log2_test_data): Likewise.
11879 (sin_test_data): Likewise.
11880 (sin_tonearest_test_data): Likewise.
11881 (sin_towardzero_test_data): Likewise.
11882 (sin_downward_test_data): Likewise.
11883 (sin_upward_test_data): Likewise.
11884 (sinh_test_data): Likewise.
11885 (sinh_tonearest_test_data): Likewise.
11886 (sinh_towardzero_test_data): Likewise.
11887 (sinh_downward_test_data): Likewise.
11888 (sinh_upward_test_data): Likewise.
11889 (tan_test_data): Likewise.
11890 (tan_tonearest_test_data): Likewise.
11891 (tan_towardzero_test_data): Likewise.
11892 (tan_downward_test_data): Likewise.
11893 (tan_upward_test_data): Likewise.
11894 (tanh_test_data): Likewise.
11895 (tgamma_test_data): Likewise.
11896 (y0_test_data): Likewise.
11897 (y1_test_data): Likewise.
11898 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11899 (special_real_inputs): Add pi/4.
11900 * sysdeps/i386/fpu/libm-test-ulps: Update.
11901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11902
eb5ad6b9
AZ
119032013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11904
11905 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11906 "longjmp_target" static probes.
11907 (__longjmp): Rename to __longjmp_symbol.
11908 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11909 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11910 on which longjmp to generate.
11911 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11912 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11913 probe.
11914 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11915 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11916 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11917 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11918 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11919 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11921 __longjmp_symbol based on which __longjmp to generate.
11922 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11923 probe.
11924 (setjmp): Rename to setjmp_symbol.
11925 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11926 (_setjmp): Rename to _setjmp_symbol.
11927 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11928 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11929 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11930 which setjmp to generate.
11931 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11932 "longjmp_target" static probes.
11933
d136c6dc
SP
119342013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11935
9298ecba
SP
11936 * benchtests/README: Add note about output arguments.
11937 * benchtests/bench-sincos.c: Remove file.
11938 * benchtests/sincos-inputs: New file.
11939 * scripts/bench.pl: Identify output arguments and define
11940 static variables for them.
11941
232983e9
SP
11942 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11943
d136c6dc
SP
11944 [BZ #15941]
11945 * Makefile (INSTALL): Add install-plain.texi as the primary
11946 dependency.
11947 * manual/install-plain.texi: New file.
11948 * manual/install.texi: Include node directive only for
11949 non-plaintext output.
11950
699ff837
JM
119512013-12-04 Joseph Myers <joseph@codesourcery.com>
11952
ab07cea8
JM
11953 * stdlib/longlong.h: Update from GCC.
11954
699ff837
JM
11955 [BZ #6807]
11956 [BZ #15901]
11957 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11958 * math/w_j0f.c (y0f): Likewise.
11959 * math/w_j0l.c (__y0l): Likewise.
11960 * math/w_j1.c (y1): Likewise.
11961 * math/w_j1f.c (y1f): Likewise.
11962 * math/w_j1l.c (__y1l): Likewise
11963 * math/w_jn.c (yn): Likewise.
11964 * math/w_jnf.c (ynf): Likewise.
11965 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11966 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11967 value for Bessel function domain errors outside _SVID_ mode.
11968 Adjust sign of return value for yn (negative integer, 0).
11969 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11970 by zero in return for negative x and set sign appropriately for
11971 negative n.
11972 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11973 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11974 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11975 expectations in error cases.
11976 (y1_test_data): Likewise.
11977 (yn_test_data): Likewise.
11978 * sysdeps/i386/fpu/libm-test-ulps: Update.
11979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11980
5b118558
UW
119812013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11982
11983 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11984 "64" to "64-v1". Add "64-v2".
11985 (abi-64-options): Rename to ...
11986 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11987 (abi-64-condition): Rename to ...
11988 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11989 (abi-64-ld-soname): Rename to ...
11990 (abi-64-v1-ld-soname): ... this.
11991 (abi-64-v2-options): Define.
11992 (abi-64-v2-condition): Likewise.
11993 (abi-64-v2-ld-soname): Likewise.
11994 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11995 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11999
61cd8fe4
UW
120002013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12001 Alan Modra <amodra@gmail.com>
12002
12003 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12004 New versions for use with the ELFv2 ABI.
12005 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12006 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12007 declaration.
12008 (struct La_ppc64v2_retval): Likewise.
12009 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12010 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12011 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12012 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12013 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12014 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12015 Do not save or restore CR.
12016 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12017 (_dl_profile_resolve): Do no save or restore CR. Support extended
12018 return values for ELFv2 ABI. Fix location of FPR return registers.
12019 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12020 updated values for _CALL_ELF == 2.
12021 (La_regs, La_retval, int_retval): Likewise.
12022
8b8a692c
UW
120232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12024
12025 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12026 (FRAME_MIN_SIZE_PARM): Likewise.
12027 (FRAME_BACKCHAIN): Likewise.
12028 (FRAME_CR_SAVE): Likewise.
12029 (FRAME_LR_SAVE): Likewise.
12030 (FRAME_TOC_SAVE): Likewise.
12031 (FRAME_PARM_SAVE): Likewise.
12032 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12033 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12034 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12035 (call_mcount_parm_offset): New macro.
12036 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12037 (PROF): Use symbolic stack frame offsets.
12038 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12039 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12040 Redefine in terms of FRAME_MIN_SIZE.
12041 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12042 (_dl_profile_resolve): Likewise. Update comment.
12043 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12044 symbols stack frame offsets.
12045 (__sigsetjmp): Likewise.
12046 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12047 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12048 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12049 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12050
12051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12052 (FRAME_BACKCHAIN): Remove.
12053 (FRAME_CR_SAVE): Likewise.
12054 (FRAME_LR_SAVE): Likewise.
12055 (FRAME_COMPILER_DW): Likewise.
12056 (FRAME_LINKER_DW): Likewise.
12057 (FRAME_TOC_SAVE): Likewise.
12058 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
12059 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12060 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12061 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
12062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12063 (CHECK_SP): Use symbolic stack frame offsets.
12064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12065 zone" instead of caller's parameter save area for temp storage.
12066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12067 Likewise. Also, use symbolic stack frame offsets.
12068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12069 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12070 our own stack frame instead of the caller's.
12071 (__socket): Use symbolic stack frame offsets.
12072
122b66de
UW
120732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12074 Alan Modra <amodra@gmail.com>
12075
12076 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12077 Define.
57f41c40
AS
12078 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12079 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
12080 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12081 New function.
12082 (elf_machine_fixup_plt): Call it.
12083 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12084 reloc arguments.
12085 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
12086 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12087 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
12088 r2 before calling target.
12089
696caf1d
UW
120902013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12091 Alan Modra <amodra@gmail.com>
12092
12093 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12094 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12095 versions of macros to support ELFv2 ABI.
12096 (LOCALENTRY): New macro.
12097 (ENTRY, EALIGN): Use it.
12098 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12099 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12100 fall through into ENTRY entry point.
12101 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12102 Only define if _CALL_ELF != 2.
12103
12104 (elf_machine_matches_host): Verify ABI version matches.
12105 (RTLD_START): Use LOCALENTRY.
12106 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12107 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12108 (PLT_ENTRY_WORDS): New macro.
12109 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12110 (elf_machine_runtime_setup): Support ELFv2 ABI.
12111 (elf_machine_fixup_plt): Likewise.
12112 (elf_machine_plt_conflict): Likewise.
12113 (resolve_ifunc): Likewise.
12114 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12115 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12116 Likewise.
12117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12118 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12120 (makecontext): Support ELFv2 ABI.
12121 * elf/elf.h (EF_PPC64_ABI): Define.
12122
d31beafa
UW
121232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12124
57f41c40
AS
12125 * sysdeps/powerpc/powerpc64/sysdep.h
12126 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12127 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12128 (ENTRY) [ASSEMBLER]: ... but instead here ...
12129 (EALIGN) [ASSEMBLER]: ... and here.
12130 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12131 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12132 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
12133 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12134 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
12135 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12136 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
12137 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12139 Use PPC64_LOAD_FUNCPTR.
12140
b525166b
UW
12141 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12142
7ec07d9a
AM
121432013-12-04 Alan Modra <amodra@gmail.com>
12144
12145 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12146 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12147 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12148 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12149
12150 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12151 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12152 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12153 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12154 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12155 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12156
5162e7dd
UW
121572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12158
12159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12160 (__makecontext): Fix incorrect CFI when backtracing out of
12161 context created via makecontext.
12162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12163 (__setcontext): Fix incorrect CFI during switch to new context.
12164 (__novec_setcontext): Likewise.
12165
19e3372b
OB
121662013-12-04 Ondřej Bílka <neleai@seznam.cz>
12167
12168 [BZ #4772]
12169 * time/strptime_l.c (__strptime_internal): Allow modifiers
12170 in strptime.
12171 * time/tst-strptime.c (day_tests): Add testcase.
12172
ecaf142d
SP
121732013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12174
12175 * scripts/bench.pl: Skip over blank lines.
12176
fbf964ae
PE
121772013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12178
12179 [BZ #926]
12180 * manual/time.texi (Calendar Time): Clarify what timezone functions
12181 use.
12182
fa60a674
AZ
121832013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12184
12185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12186
d674f0ef
OB
121872013-12-04 Ondřej Bílka <neleai@seznam.cz>
12188
12189 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12190 implementation.
12191 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12192 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12193 * debug/memset_chk.c (__memset_chk): Likewise.
12194 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12195 * debug/strncpy_chk.c: Likewise.
12196
17dea188
JM
121972013-12-03 Joseph Myers <joseph@codesourcery.com>
12198
749008ff
JM
12199 [BZ #15268]
12200 [BZ #15425]
12201 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12202 (__ieee754_exp): For possibly underflowing results, check size of
12203 result and force underflow exception if required.
12204 * math/auto-libm-test-in: Add more tests of exp.
12205 * math/auto-libm-test-out: Regenerated.
12206 * sysdeps/i386/fpu/libm-test-ulps: Update.
12207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12208
17dea188
JM
12209 [BZ #16283]
12210 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12211 * math/w_exp2f.c (__exp2f): Likewise.
12212 * math/w_exp2l.c (__exp2l): Likewise.
12213 * math/auto-libm-test-in: Do not allow missing errno on exp2
12214 underflow.
12215 * math/auto-libm-test-out: Regenerated.
12216
b20de2c3
OB
122172013-12-03 Ondřej Bílka <neleai@seznam.cz>
12218
12219 [BZ #16274]
12220 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12221 handle filename validation.
12222 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12223 (do_open): Delete.
12224
d8e2dbe3
JM
122252013-12-03 Joseph Myers <joseph@codesourcery.com>
12226
34e16df5
JM
12227 [BZ #6786]
12228 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12229 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12230 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12231 <float.h>.
12232 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12233 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12234 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12235 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12236 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12237 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12238 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12239 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12240 Add more erfc tests.
12241 * math/auto-libm-test-out: Regenerated.
12242 * sysdeps/i386/fpu/libm-test-ulps: Update.
12243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12244
d8e2dbe3
JM
12245 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12246 exp2, expm1, j0 and j1.
12247 * math/auto-libm-test-out: Regenerated.
12248 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12249 (erfc_test_data): Likewise.
12250 (exp_test_data): Likewise.
12251 (exp_tonearest_test_data): Likewise.
12252 (exp_towardzero_test_data): Likewise.
12253 (exp_downward_test_data): Likewise.
12254 (exp_upward_test_data): Likewise.
12255 (exp10_test_data): Likewise.
12256 (exp2_test_data): Likewise.
12257 (expm1_test_data): Likewise.
12258 (j0_test_data): Likewise.
12259 (j1_test_data): Likewise.
12260 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12261 (input_flag_type): Add flag_xfail_rounding.
12262 (input_flags): Add xfail-rounding.
12263 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12264 (output_for_one_input_case): Handle flag_xfail_rounding.
12265 * sysdeps/i386/fpu/libm-test-ulps: Update.
12266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12267
18d14251
AJ
122682013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12269
3d2e6075 12270 [BZ #16289]
18d14251
AJ
12271 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12272 division by 0.
12273
520d437b
SP
122742013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12275
12276 [BZ #16195]
12277 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12278 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12279 (STAP_PROBE0): New macro.
12280 (STAP_PROBE1): Likewise.
12281 (STAP_PROBE2): Likewise.
12282 (STAP_PROBE3): Likewise.
12283 (STAP_PROBE4): Likewise.
12284
416e0145
OB
122852013-12-02 Ondřej Bílka <neleai@seznam.cz>
12286
12287 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12288
9d17796a
SE
122892013-12-02 Steve Ellcey <sellcey@mips.com>
12290
12291 * benchtests/Makefile (bench): Add sqrt.
12292 (LDLIBS-bench-sqrt): New.
12293 * benchtests/sqrt-input: New.
12294
f524d6a8
PS
122952013-12-02 Pavel Simerda <psimerda@redhat.com>
12296
639a0ef8
PS
12297 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12298 (GAIH_EAI): Likewise.
12299 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12300 (gaih_inet): Likewise.
12301 (getaddrinfo): Don't use GAIH_EAI.
12302
f524d6a8
PS
12303 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12304 (struct gaih): Remove definition.
12305
df3aedaf
SP
123062013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12307
12308 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12309 Use HERRNOP directly.
12310
1ab19dec
AZ
123112013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12312
b42ad38d 12313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 12314
176b0c79
JM
123152013-11-30 Joseph Myers <joseph@codesourcery.com>
12316
12317 * math/gen-auto-libm-tests.c (test_functions): Add more
12318 single-argument functions.
12319 (special_fill_pi_2): New function.
12320 (special_fill_minus_pi_2): Likewise.
12321 (special_fill_pi_6): Likewise.
12322 (special_fill_minus_pi_6): Likewise.
12323 (special_fill_pi_3): Likewise.
12324 (special_fill_2pi_3): Likewise.
12325 (special_fill_e): Likewise.
12326 (special_fill_1_e): Likewise.
12327 (special_fill_e_minus_1): Likewise.
12328 (special_real_inputs): Add more special inputs.
12329 (output_for_one_input_case): Do not require ERANGE on underflow to
12330 zero if round-to-nearest result does not underflow to zero, unless
12331 exact results required.
12332 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12333 atan, atanh, cbrt, cos and cosh.
12334 * math/auto-libm-test-out: Regenerated.
12335 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12336 (acos_tonearest_test_data): Likewise.
12337 (acos_towardzero_test_data): Likewise.
12338 (acos_downward_test_data): Likewise.
12339 (acos_upward_test_data): Likewise.
12340 (acosh_test_data): Likewise.
12341 (asin_test_data): Likewise.
12342 (asin_tonearest_test_data): Likewise.
12343 (asin_towardzero_test_data): Likewise.
12344 (asin_upward_test_data): Likewise.
12345 (asinh_test_data): Likewise.
12346 (atan_test_data): Likewise.
12347 (atanh_test_data): Likewise.
12348 (cbrt_test_data): Likewise.
12349 (cos_test_data): Likewise.
12350 (cos_tonearest_test_data): Likewise.
12351 (cos_towardzero_test_data): Likewise.
12352 (cos_downward_test_data): Likewise.
12353 (cos_upward_test_data): Likewise.
12354 (cosh_test_data): Likewise.
12355 (cosh_tonearest_test_data): Likewise.
12356 (cosh_towardzero_test_data): Likewise.
12357 (cosh_downward_test_data): Likewise.
12358 (cosh_upward_test_data): Likewise.
12359 * sysdeps/i386/fpu/libm-test-ulps: Update.
12360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12361
ffb536d0
JM
123622013-11-29 Joseph Myers <joseph@codesourcery.com>
12363
2a77a467
JM
12364 [BZ #6787]
12365 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12366 * math/w_exp10f.c (__exp10f): Likewise.
12367 * math/w_exp10l.c (__exp10l): Likewise.
12368 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12369 errno settings in existing tests.
12370
ea3bc4e8
JM
12371 [BZ #14032]
12372 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12373 precision control set to double precision.
12374 * sysdeps/i386/fpu/w_sqrt.c: New file.
12375 * math/auto-libm-test-in: Add more tests.
12376 * math/auto-libm-test-out: Update.
12377
0712c9d8
JM
12378 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12379 (sqrt_test_tonearest): New function.
12380 (sqrt_towardzero_test_data): New variable.
12381 (sqrt_test_towardzero): New function.
12382 (sqrt_downward_test_data): New variable.
12383 (sqrt_test_downward): New function.
12384 (sqrt_upward_test_data): New variable.
12385 (sqrt_test_upward): New function.
12386 (main): Call the new functions.
12387
ffb536d0
JM
12388 * math/gen-auto-libm-tests.c: New file.
12389 * math/auto-libm-test-in: Likewise.
12390 * math/auto-libm-test-out: New generated file.
12391 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12392 variables.
12393 (%beautify): Add generated representations of zero.
12394 (top level): Set $auto_input and call parse_auto_input.
12395 (beautify): Remove trailing "f" from hex float constants.
12396 (parse_args): Handle XFAIL_TEST.
12397 (convert_condition): New function.
12398 (or_value): Likewise.
12399 (or_cond_value): Likewise.
12400 (generate_testfile): Handle AUTO_TESTS_* lines.
12401 (parse_auto_input): New function.
12402 * math/libm-test.inc (XFAIL_TEST): New macro.
12403 (ERRNO_UNCHANGED): Update value.
12404 (ERRNO_EDOM): Likewise.
12405 (ERRNO_ERANGE): Likewise.
12406 (IGNORE_RESULT): Likewise.
12407 (TEST_COND_flt_32): New macro.
12408 (TEST_COND_dbl_64): Likewise.
12409 (TEST_COND_ldbl_96_intel): Likewise.
12410 (TEST_COND_ldbl_96_m68k): Likewise.
12411 (TEST_COND_ldbl_128): Likewise.
12412 (TEST_COND_ldbl_128ibm): Likewise.
12413 (TEST_COND_long32): Likewise.
12414 (TEST_COND_long64): Likewise.
12415 (TEST_COND_before_rounding): Likewise.
12416 (TEST_COND_after_rounding): Likewise.
12417 (enable_test): Handle XFAIL_TEST flag.
12418 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12419 with finite results.
12420 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12421 auto-libm-test-out.
12422
acd98a8e
AK
124232013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12424 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12425
12426 [BZ #16214]
12427 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12428 __tls_get_addr_internal instead of __tls_get_offset in order to
12429 avoid GOT pointer dependency. Make rtld export
12430 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12431 __tls_get_addr since we are a __tls_get_offset platform.
12432 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12433 GOT pointer being set up before.
12434 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12435
3c1c46a6
JM
124362013-11-28 Joseph Myers <joseph@codesourcery.com>
12437
7475aef5
JM
12438 * manual/math.texi (Errors in Math Functions): Document accuracy
12439 goals.
12440
8bca7cd8
JM
12441 [BZ #15004]
12442 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12443 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12444 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12445 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12446 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12447 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12448 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12449 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12450 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12451 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12452 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12453 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12454 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12455 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12456 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12457 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12458
91a1f3fe
JM
12459 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12460 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12461 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12462 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12463 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12464 Likewise.
12465 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12466 Likewise.
12467 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12468 Likewise.
12469 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12470 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12471 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12472 atomic-feupdateenv and flt-rounds.
12473 * sysdeps/powerpc/nofpu/Versions (libc): Add
12474 __atomic_feholdexcept, __atomic_feclearexcept,
12475 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12476 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12477 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12478 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12479 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12480 here.
12481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12482 Update.
12483
c5df7609
JM
12484 * manual/arith.texi (FP Exceptions): Document that exceptions may
12485 not be raised when matherr is used.
12486 (Math Error Reporting): Document overflow in directed rounding
12487 modes. Document that errno may not be set when finite values are
12488 returned on overflow. Document intent to set errno on underflow
12489 only for underflow to zero.
12490
3c1c46a6
JM
12491 [BZ #16271]
12492 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12493 round-to-nearest then adjust result for other rounding modes.
12494 * include/fenv.h (fegetround): Use libm_hidden_proto.
12495 * math/fegetround.c (fegetround): Use libm_hidden_def.
12496 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12497 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12498 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12499 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12500 Likewise.
12501 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12502 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12503 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12504 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12505
5a4c6d53
SP
125062013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12507
12508 [BZ #16077]
12509 * nss/Versions (libnss_files): Add
12510 _nss_files_gethostbyname3_r.
12511 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12512 New function.
12513 (HOST_DB_LOOKUP): Remove macro.
12514 (_nss_files_gethostbyname_r): Implement function without the
12515 HOST_DB_LOOKUP macro.
12516 (_nss_files_gethostbyname2_r): Likewise.
12517
897b98ba
OB
125182013-11-28 Ondřej Bílka <neleai@seznam.cz>
12519
12520 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12521
6f476861
UB
125222013-11-26 Uros Bizjak <ubizjak@gmail.com>
12523
12524 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12525 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12526 warning.
12527
bd12ab55
AZ
125282013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12529
12530 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12531 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12532 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12533 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12534 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12535 __fe_nomask_env_priv and attribute_hidden.
12536 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12537 (libc_feupdateenv_test_ppc): Likewise.
12538 (libc_feresetround_ppc): Likewise.
12539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12540 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12541 compat_symbol macro.
12542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12543 (__fe_nomask_env): Likewise.
12544 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12545
52bb6543
OB
125462013-11-26 Ondřej Bílka <neleai@seznam.cz>
12547
12548 * string/Makefile: Remove ifunc tests.
12549 * string/test-string.h: Define TEST_IFUNC.
12550 * string/test-bcopy-ifunc.c: Remove.
12551 * string/test-bzero-ifunc.c: Likewise.
12552 * string/test-memccpy-ifunc.c: Likewise.
12553 * string/test-memchr-ifunc.c: Likewise.
12554 * string/test-memcmp-ifunc.c: Likewise.
12555 * string/test-memcpy-ifunc.c: Likewise.
12556 * string/test-memmem-ifunc.c: Likewise.
12557 * string/test-memmove-ifunc.c: Likewise.
12558 * string/test-mempcpy-ifunc.c: Likewise.
12559 * string/test-memrchr-ifunc.c: Likewise.
12560 * string/test-memset-ifunc.c: Likewise.
12561 * string/test-rawmemchr-ifunc.c: Likewise.
12562 * string/test-stpcpy-ifunc.c: Likewise.
12563 * string/test-stpncpy-ifunc.c: Likewise.
12564 * string/test-strcasecmp-ifunc.c: Likewise.
12565 * string/test-strcasestr-ifunc.c: Likewise.
12566 * string/test-strcat-ifunc.c: Likewise.
12567 * string/test-strchr-ifunc.c: Likewise.
12568 * string/test-strchrnul-ifunc.c: Likewise.
12569 * string/test-strcmp-ifunc.c: Likewise.
12570 * string/test-strcpy-ifunc.c: Likewise.
12571 * string/test-strcspn-ifunc.c: Likewise.
12572 * string/test-strlen-ifunc.c: Likewise.
12573 * string/test-strncasecmp-ifunc.c: Likewise.
12574 * string/test-strncat-ifunc.c: Likewise.
12575 * string/test-strncmp-ifunc.c: Likewise.
12576 * string/test-strncpy-ifunc.c: Likewise.
12577 * string/test-strnlen-ifunc.c: Likewise.
12578 * string/test-strpbrk-ifunc.c: Likewise.
12579 * string/test-strrchr-ifunc.c: Likewise.
12580 * string/test-strspn-ifunc.c: Likewise.
12581 * string/test-strstr-ifunc.c: Likewise.
12582
ab260039 125832013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
12584
12585 * benchtests/Makefile: Remove ifunc tests.
12586 * benchtests/bench-string.h: Define TEST_IFUNC.
12587 * benchtests/bench-bcopy-ifunc.c: Remove.
12588 * benchtests/bench-bzero-ifunc.c: Likewise.
12589 * benchtests/bench-memccpy-ifunc.c: Likewise.
12590 * benchtests/bench-memchr-ifunc.c: Likewise.
12591 * benchtests/bench-memcmp-ifunc.c: Likewise.
12592 * benchtests/bench-memcpy-ifunc.c: Likewise.
12593 * benchtests/bench-memmem-ifunc.c: Likewise.
12594 * benchtests/bench-memmove-ifunc.c: Likewise.
12595 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12596 * benchtests/bench-memrchr-ifunc.c: Likewise.
12597 * benchtests/bench-memset-ifunc.c: Likewise.
12598 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12599 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12600 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12601 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12602 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12603 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12604 * benchtests/bench-strcat-ifunc.c: Likewise.
12605 * benchtests/bench-strchr-ifunc.c: Likewise.
12606 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12607 * benchtests/bench-strcmp-ifunc.c: Likewise.
12608 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12609 * benchtests/bench-strcpy-ifunc.c: Likewise.
12610 * benchtests/bench-strcspn-ifunc.c: Likewise.
12611 * benchtests/bench-strlen-ifunc.c: Likewise.
12612 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12613 * benchtests/bench-strncat-ifunc.c: Likewise.
12614 * benchtests/bench-strncmp-ifunc.c: Likewise.
12615 * benchtests/bench-strncpy-ifunc.c: Likewise.
12616 * benchtests/bench-strnlen-ifunc.c: Likewise.
12617 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12618 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 12619 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
12620 * benchtests/bench-strspn-ifunc.c: Likewise.
12621 * benchtests/bench-strstr-ifunc.c: Likewise.
12622
126232013-11-26 Ondřej Bílka <neleai@seznam.cz>
12624
ab260039
OB
12625 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12626
d1d9eaf4 126272013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 12628
d1d9eaf4
OB
12629 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12630 * rt/aio.h: Likewise.
12631 * sysdeps/gnu/bits/utmp.h: Likewise.
12632 * sysdeps/gnu/bits/utmpx.h: Likewise.
12633 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12634 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12635 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12636 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12637 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12638 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12639 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12640 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12641 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12642 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12643 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12644 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12645 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12647 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12648 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12649 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12650 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12651 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12652 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12653 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12654 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12655 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12656 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12657 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12659 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12660 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12661 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12662 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12663 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12664 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12665 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12666 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12667 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12668 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12669 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12670 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12671 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12672 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12673 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12674 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12675
a7624ed9
CD
126762013-11-25 Carlos O'Donell <carlos@redhat.com>
12677
12678 [BZ #16245]
12679 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12680 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12681
63cfe52b
JM
126822013-11-25 Joseph Myers <joseph@codesourcery.com>
12683
12684 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12685 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12686 Likewise.
12687
41e8926a
AZ
126882013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12689
12690 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12691 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12692 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12693 (__fesetround): Remove define.
12694 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12695 rounding and exceptions handling.
12696 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12697 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12698 (__fe_nomask_env): Likewise.
12699 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12700 __fegetround instead of fegetround.
12701 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12702 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12703
6851bd4d
RM
127042013-11-21 Roland McGrath <roland@hack.frob.com>
12705
070906ff
RM
12706 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12707 it's there.
12708
6851bd4d
RM
12709 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12710
84ae135d
MI
127112013-11-21 Meador Inge <meadori@codesourcery.com>
12712
12713 [BZ #11157]
12714 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12715 (encrypt_r): Likewise.
12716 * malloc/obstack.h (obstack_free): Likewise.
12717 * posix/unistd.h (encrypt): Likewise.
12718
daf75146
GM
127192013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12720
12721 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12722 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12723 DL_CALL_DT_FINI() that call the functions directly.
12724 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12725 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12726 * elf/dl-fini.c: Likewise.
12727
10ad46bc
OB
127282013-11-20 Ondřej Bílka <neleai@seznam.cz>
12729
12730 * malloc/hooks.c (memalign_check): Add alignment rounding.
12731 * malloc/malloc.c (_mid_memalign): New function.
12732 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12733 Implement by calling _mid_memalign.
12734 * manual/probes.texi (Memory Allocation Probes): Remove
12735 memory_valloc_retry and memory_pvalloc_retry.
12736
f3fd2628
SP
127372013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12738
4712799f
SP
12739 * locale/programs/locarchive.c (open_archive): Add const
12740 qualifier to ARCHIVEFNAME and copy default fname to
12741 DEFAULT_FNAME.
12742
0417b20f
SP
12743 [BZ #15601]
12744 * libio/tst-widetext.input: Rename Oriya to Odia.
12745 * locale/iso-639.def: Likewise.
12746
f3fd2628
SP
12747 * manual/probes.texi (Mathematical Function Probes): Add
12748 documentation for sin, cos, asin and acos probes.
12749 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12750 (__sin32): Add slowasin probe.
12751 (__cos32): Add slowacos probe.
12752 (__mpsin): Add slowsin probe.
12753 (__mpcos): Add slowcos probe.
12754
73c1ce4f
JM
127552013-11-19 Joseph Myers <joseph@codesourcery.com>
12756
12757 [BZ #15483]
12758 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12759 thread-local __sim_exceptions_thread and global
12760 __sim_exceptions_global.
12761 (__sim_disabled_exceptions): Change to thread-local
12762 __sim_disabled_exceptions_thread and global
12763 __sim_disabled_exceptions_global.
12764 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12765 and global __sim_round_mode_global.
12766 (__simulate_exceptions): Use thread-local floating-point state and
12767 set global state from it as needed.
12768 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12769 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12770 __sim_round_mode_thread.
12771 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12772 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12773 and global __sim_exceptions_global.
12774 (__sim_disabled_exceptions): Change to thread-local
12775 __sim_disabled_exceptions_thread and global
12776 __sim_disabled_exceptions_global.
12777 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12778 and global __sim_round_mode_global.
12779 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12780 (SIM_SET_GLOBAL): Likewise.
12781 * sysdeps/powerpc/soft-fp/sfp-machine.h
12782 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12783 __sim_round_mode_thread.
12784 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12785 __sim_disabled_exceptions_thread.
12786 (__sim_exceptions): Change to __sim_exceptions_thread.
12787 (__sim_disabled_exceptions): Change to
12788 __sim_disabled_exceptions_thread.
12789 (__sim_round_mode): Change to __sim_round_mode_thread.
12790 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12791 thread-local floating-point state and set global state from it as
12792 needed.
12793 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12794 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12795 (__sim_disabled_exceptions): Remove extern declaration.
12796 (feenableexcept): Use thread-local floating-point state and set
12797 global state from it as needed.
12798 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12799 extern declaration.
12800 (__sim_disabled_exceptions): Likewise.
12801 (__sim_round_mode): Likewise.
12802 (__fegetenv): Use thread-local floating-point state.
12803 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12804 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12805 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12806 floating-point state and set global state from it as needed.
12807 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12808 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12809 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12810 Likewise.
12811 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12812 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12813 Likewise.
12814 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12815 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12816 Use __sim_round_mode_thread.
12817 * math/test-fenv-tls.c: New file.
12818 * math/Makefile (tests): Add test-fenv-tls.
12819 ($(objpfx)test-fenv-tls): Depend on
12820 $(common-objpfx)nptl/libpthread.so.
12821
b5449b12
AS
128222013-11-19 Andreas Schwab <schwab@suse.de>
12823
12824 * locale/programs/locale.c (show_info): Decode wordarray elements.
12825 * locale/categories.def (LC_MONETARY): Add element for
12826 _NL_MONETARY_CRNCYSTR.
12827 * locale/C-monetary.c (conversion_rate): New variable.
12828 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12829 element.
12830
e186536b
CM
128312013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12832
12833 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12834 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12835
5c349950
PP
128362013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12837
12838 * elf/Makefile (tst-auxv): New test.
12839 * elf/tst-auxv.c: New
12840 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12841
699df45b
JM
128422013-11-18 Joseph Myers <joseph@codesourcery.com>
12843
12844 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12845 (hidden_proto): Caller changed.
12846 (hidden_tls_proto): New macro.
12847 (libc_hidden_tls_proto): Likewise.
12848 (rtld_hidden_tls_proto): Likewise.
12849 (libm_hidden_tls_proto): Likewise.
12850 (libresolv_hidden_tls_proto): Likewise.
12851 (librt_hidden_tls_proto): Likewise.
12852 (libdl_hidden_tls_proto): Likewise.
12853 (libnss_files_hidden_tls_proto): Likewise.
12854 (libnsl_hidden_tls_proto): Likewise.
12855 (libnss_nisplus_hidden_tls_proto): Likewise.
12856 (libutil_hidden_tls_proto): Likewise.
12857
b7589107
OB
128582013-11-18 Ondřej Bílka <neleai@seznam.cz>
12859
12860 [BZ #10253]
12861 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12862 (decompose_rpath): Defer expansion to fillin_rpath.
12863 (_dl_init_paths): Pass linkmap to fillin_rpath.
12864
250c23bd
RS
128652013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12866
12867 * benchtests/Makefile: Add strsep.
12868 * benchtests/bench-strsep.c: New file: strsep benchtest.
12869 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12870
a7931fcf
AS
128712013-11-18 Andreas Schwab <schwab@suse.de>
12872
12873 * locale/programs/locale.c (show_info) [case byte]: Check for
12874 '\377' instead of '\177'.
12875 * locale/C-monetary.c (not_available): Always use "\377".
12876 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12877 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12878 detect unavailable sign_posn locale elements.
12879 * locale/localeconv.c (__localeconv): For grouping and
12880 mon_grouping handle "\177" and "\377" like no grouping.
12881 (INT_ELEM): New macro. Use it to set all numeric members.
12882 * locale/programs/ld-monetary.c (monetary_read)
12883 <tok_mon_grouping>: Normalize single -1 to the empty string.
12884 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12885 Likewise.
12886
728dab0e
OB
128872013-11-07 Ondřej Bílka <neleai@seznam.cz>
12888
12889 [BZ #16055]
12890 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12891 when we match (nil).
12892 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12893
66294491
JM
128942013-11-16 Joseph Myers <joseph@codesourcery.com>
12895
ce665817
JM
12896 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12897 (NO_TEST_INLINE): Update value.
12898 (ERRNO_UNCHANGED): Likewise.
12899 (ERRNO_EDOM): Likewise.
12900 (ERRNO_ERANGE): Likewise.
12901 (IGNORE_RESULT): Likewise.
12902 (check_float_internal): Check signs of NaN results if
12903 TEST_NAN_SIGN used.
12904 (check_complex): Pass TEST_NAN_SIGN flag through to second
12905 check_float_internal call.
12906 (copysign_test_data): Add tests with quiet NaNs as second
12907 argument. Use TEST_NAN_SIGN.
12908 (fabs_test_data): Add test of negative quiet NaN argument. Use
12909 TEST_NAN_SIGN.
12910 (signbit_test_data): Add tests of quiet NaN argument.
12911 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12912
ee1466a9
JM
12913 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12914 $ignore_result.
12915 (parse_args): Handle function results specified as IGNORE.
12916 * math/libm-test.inc (IGNORE_RESULT): New macro.
12917 (check_float_internal): Do not check numerical result if flag
12918 IGNORE_RESULT set.
12919 (check_complex): Pass through IGNORE_RESULT to second
12920 check_float_internal call.
12921 (check_int): Do not check numerical result if flag IGNORE_RESULT
12922 set.
12923 (check_long): Likewise.
12924 (check_bool): Likewise.
12925 (check_longlong): Likewise.
12926 (lrint_test_data): Add tests of infinite and NaN arguments.
12927 (lrint_tonearest_test_data): Likewise.
12928 (lrint_towardzero_test_data): Likewise.
12929 (lrint_downward_test_data): Likewise.
12930 (lrint_upward_test_data): Likewise.
12931 (llrint_test_data): Likewise.
12932 (llrint_tonearest_test_data): Likewise.
12933 (llrint_towardzero_test_data): Likewise.
12934 (llrint_downward_test_data): Likewise.
12935 (llrint_upward_test_data): Likewise.
12936 (lround_test_data): Likewise.
12937 (llround_test_data): Likewise.
12938
14407b7e
JM
12939 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12940 (ERRNO_UNCHANGED): Update value.
12941 (ERRNO_EDOM): Likewise.
12942 (ERRNO_ERANGE): Likewise.
12943 (NO_TEST_INLINE_FLOAT): New macro.
12944 (NO_TEST_INLINE_DOUBLE): Likewise.
12945 (enable_test): New function.
12946 (RUN_TEST_f_f): Check enable_test before running test.
12947 (RUN_TEST_2_f): Likewise.
12948 (RUN_TEST_fff_f): Likewise.
12949 (RUN_TEST_c_f): Likewise.
12950 (RUN_TEST_f_f1): Likewise.
12951 (RUN_TEST_fF_f1): Likewise.
12952 (RUN_TEST_fI_f1): Likewise.
12953 (RUN_TEST_ffI_f1): Likewise.
12954 (RUN_TEST_c_c): Likewise.
12955 (RUN_TEST_cc_c): Likewise.
12956 (RUN_TEST_f_i): Likewise.
12957 (RUN_TEST_f_i_tg): Likewise.
12958 (RUN_TEST_ff_i_tg): Likewise.
12959 (RUN_TEST_f_b): Likewise.
12960 (RUN_TEST_f_b_tg): Likewise.
12961 (RUN_TEST_f_l): Likewise.
12962 (RUN_TEST_f_L): Likewise.
12963 (RUN_TEST_fFF_11): Likewise.
12964 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12965 conditionals.
12966 (cosh_test_data): Likewise.
12967 (exp_test_data): Likewise.
12968 (expm1_test_data): Likewise.
12969 (hypot_test_data): Likewise.
12970 (pow_test_data): Likewise.
12971 (sinh_test_data): Likewise.
12972 (tanh_test_data): Likewise.
12973 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12974 flags argument.
12975
ca07f197
JM
12976 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12977 tests with quiet NaN input and output.
12978 (acosh_test_data): Likewise.
12979 (asin_test_data): Likewise.
12980 (asinh_test_data): Likewise.
12981 (atan_test_data): Likewise.
12982 (atanh_test_data): Likewise.
12983 (atan2_test_data): Likewise.
12984 (cbrt_test_data): Likewise.
12985 (cos_test_data): Likewise.
12986 (cosh_test_data): Likewise.
12987 (erf_test_data): Likewise.
12988 (erfc_test_data): Likewise.
12989 (exp_test_data): Likewise.
12990 (exp10_test_data): Likewise.
12991 (exp2_test_data): Likewise.
12992 (expm1_test_data): Likewise.
12993 (hypot_test_data): Likewise.
12994 (j0_test_data): Likewise.
12995 (j1_test_data): Likewise.
12996 (jn_test_data): Likewise.
12997 (lgamma_test_data): Likewise.
12998 (log_test_data): Likewise.
12999 (log10_test_data): Likewise.
13000 (log1p_test_data): Likewise.
13001 (log2_test_data): Likewise.
13002 (pow_test_data): Likewise.
13003 (scalb_test_data): Likewise.
13004 (sin_test_data): Likewise.
13005 (sincos_test_data): Likewise.
13006 (sinh_test_data): Likewise.
13007 (tan_test_data): Likewise.
13008 (tanh_test_data): Likewise.
13009 (tgamma_test_data): Likewise.
13010 (y0_test_data): Likewise.
13011 (y1_test_data): Likewise.
13012 (yn_test_data): Likewise.
13013
66294491
JM
13014 [BZ #16167]
13015 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13016 argument being NaN and avoid computations with second argument in
13017 that case.
13018 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13019 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13020 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13021
1820b143
CL
130222013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13023
13024 * locale/iso-639.def: Add Chitwani Tharu (the).
13025
714bd261
AS
130262013-11-14 Andreas Schwab <schwab@suse.de>
13027
13028 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13029 word instead of empty string.
13030
7ab44563
AZ
130312013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13032
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13034 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13036 (__fe_nomask_env): Likewise.
13037
e8470ea2
SE
130382013-11-13 Steve Ellcey <sellcey@mips.com>
13039
13040 * benchtests/bench-timing.h: Include time.h.
13041
17c1d9f0
L
130422013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13043
13044 [BZ #15997]
13045 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13046 to 3.4.0 for x32.
13047 * sysdeps/unix/sysv/linux/configure: Regenerated.
13048
9310c284
JM
130492013-11-13 Joseph Myers <joseph@codesourcery.com>
13050
13051 [BZ #16151]
13052 * stdlib/strtod_l.c (round_and_return): Do not consider
13053 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13054 exponent one less than half the least subnormal exponent.
13055 * stdlib/test-strtod-round-data: Add more tests.
13056 * stdlib/tst-strtod-round.c (tests): Regenerated.
13057
7a2ad8cf
AZ
130582013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13059
13060 [BZ #14143]
13061 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13062 (__fe_mask_env): Likewise.
13063 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13064 libm_hidden_proto and add function prototype.
13065 (__fe_mask_env): Add function prototype.
13066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13067 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13069 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13071 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13072
50727aa7
MS
130732013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13074
b2f386c1 13075 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
13076 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13077
a615be46
MS
130782013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13079
13080 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13081 of htab_find_slot().
13082
7ddace62
DM
130832013-11-11 David S. Miller <davem@davemloft.net>
13084
13085 [BZ #16150]
13086 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13087 symbol in the non-vis3 case in static builds.
13088 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13089 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13090 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13091 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13092
9182aa67
JK
130932013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13094
13095 [BZ #387]
13096 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13097 it is empty.
13098
450a2e2d
AZ
130992013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13100
b2f386c1
SP
13101 * benchtests/Makefile: Add bench-strtod.
13102 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 13103
8ec3f656
AS
131042013-11-11 Andreas Schwab <schwab@suse.de>
13105
13106 [BZ #16153]
13107 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13108 terminating NUL in key length.
13109
76a9b998
AZ
131102013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13111
13112 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13113 Add artificial ODP entry for vDSO symbol for PPC64.
13114 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13115 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13116
e4368156
OB
131172013-11-07 Ondřej Bílka <neleai@seznam.cz>
13118
13119 [BZ #15374]
13120 * nss/getent.c (services_keys): Recognize services starting with digit.
13121
8d6bb57c
DM
131222013-11-06 David S. Miller <davem@davemloft.net>
13123
13124 [BZ #15985]
13125 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13126 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13127
e256c421
WN
131282013-11-06 Will Newton <will.newton@linaro.org>
13129
13130 * manual/memory.texi (Malloc Examples): Remove register
13131 keyword from examples.
13132
f6e12daa 131332013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 13134
f6e12daa 13135 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 13136
9d880655
AS
131372013-11-04 Joseph Myers <joseph@codesourcery.com>
13138
fd2f9486 13139 [BZ #6981]
9d880655
AS
13140 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13141 depending on [__GCC_IEC_559 > 0].
13142 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13143 depending on [__GCC_IEC_559_COMPLEX > 0].
13144
ae129d3c
CL
131452013-11-03 Chris Leonard <cjl@sugarlabs.org>
13146
13147 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13148 to iso-639.def.
13149
4a15c2a4 131502013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
13151
13152 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13153
8b35e35d
OB
131542013-11-01 Ondřej Bílka <neleai@seznam.cz>
13155
13156 [BZ #16112]
13157 * malloc/malloc (malloc_info): Do not handle first bin as
13158 special case.
13159
1d70fd6c
CL
131602013-11-01 Chris Leonard <cjl@sugarlabs.org>
13161
13162 * locale/iso-639.def: Add Central Nahuatl (nhn).
13163
8c5c2600
BH
131642013-11-01 Bruno Haible <bruno@clisp.org>
13165
13166 [BZ #7003]
13167 * manual/math.texi (BSD Random): Specify range upper bound as
13168 in POSIX.
13169
da5579c2
CL
131702013-10-31 Chris Leonard <cjl@sugarlabs.org>
13171
13172 * locale/iso-639.def: Add Meadow Mari (mhr).
13173
5d30d853
OB
131742013-10-31 Ondřej Bílka <neleai@seznam.cz>
13175
13176 [BZ #14752], [BZ #15763]
13177 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13178 Validate name.
13179 * rt/tst_shm.c: Add test for escaping directory.
13180
a4966c61
AS
131812013-10-31 Andreas Schwab <schwab@suse.de>
13182
8a43e768 13183 [BZ #15917]
a4966c61
AS
13184 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13185 followed by 'x' as part of digit sequence.
13186 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13187
28d708c4
MAP
131882013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13189
13190 [BZ #16037]
13191 * configure.ac: allow GNU Make 4.0 and greater.
13192 * configure: Regenerated.
13193
a56ee40b
WN
131942013-10-30 Will Newton <will.newton@linaro.org>
13195
13196 [BZ #16038]
13197 * malloc/hooks.c (memalign_check): Limit alignment to the
13198 maximum representable power of two.
13199 * malloc/malloc.c (__libc_memalign): Likewise.
13200 * malloc/tst-memalign.c (do_test): Add test for very
13201 large alignment values.
13202 * malloc/tst-posix_memalign.c (do_test): Likewise.
13203
c6e4925d
OB
132042013-10-30 Ondřej Bílka <neleai@seznam.cz>
13205
13206 [BZ #11087]
13207 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13208 (munmap_chunk): Likewise.
13209 (mremap_chunk): Likewise.
13210
132112013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 13212
8a43e768 13213 [BZ #15799]
bbea82f7
OB
13214 * stdlib/div.c (div): Remove obsolete code.
13215 * stdlib/ldiv.c (ldiv): Likewise.
13216 * stdlib/lldiv.c (lldiv): Likewise.
13217
977f4b31
SP
132182013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13219
13220 [BZ #16071]
13221 * nss/nss_files/files-XXX.c (get_contents_ret): New
13222 enumerator.
13223 (get_contents): New function.
13224 (internal_getent): Use it. Expand size of LINEBUFLEN.
13225
cb8a6dbd
MF
132262013-10-30 Mike Frysinger <vapier@gentoo.org>
13227
13228 * configure.in: Moved to ...
13229 * configure.ac: ... here. Change reference to configure.in
13230 to configure.ac.
13231 * sysdeps/arm/preconfigure.ac: ... here.
13232 configure.in to configure.ac.
13233 * sysdeps/gnu/configure.in: Moved to ...
13234 * sysdeps/gnu/configure.ac: ... here.
13235 * sysdeps/i386/configure.in: Moved to ...
13236 * sysdeps/i386/configure.ac: ... here.
13237 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13238 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13239 * sysdeps/mach/configure.in: Moved to ...
13240 * sysdeps/mach/configure.ac: ... here.
13241 * sysdeps/mach/hurd/configure.in: Moved to ...
13242 * sysdeps/mach/hurd/configure.ac: ... here.
13243 * sysdeps/powerpc/configure.in: Moved to ...
13244 * sysdeps/powerpc/configure.ac: ... here.
13245 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13246 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13247 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13248 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13249 * sysdeps/s390/s390-32/configure.in: Moved to ...
13250 * sysdeps/s390/s390-32/configure.ac: ... here.
13251 * sysdeps/s390/s390-64/configure.in: Moved to ...
13252 * sysdeps/s390/s390-64/configure.ac: ... here.
13253 * sysdeps/sh/configure.in: Moved to ...
13254 * sysdeps/sh/configure.ac: ... here.
13255 * sysdeps/sparc/configure.in: Moved to ...
13256 * sysdeps/sparc/configure.ac: ... here.
13257 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13258 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13259 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13260 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13261 * sysdeps/x86_64/configure.in: Moved to ...
13262 * sysdeps/x86_64/configure.ac: ... here.
13263 * sysdeps/x86_64/preconfigure.in: Moved to ...
13264 * sysdeps/x86_64/preconfigure.ac: ... here.
13265 * aclocal.m4: Change reference to configure.in to configure.ac.
13266 * config.h.in: Likewise.
13267 * manual/install.texi: Likewise.
13268 * manual/maint.texi: Likewise.
13269 * Makefile: Likewise.
13270 * malloc/Makefile: Likewise.
13271 * nscd/Makefile: Likewise.
13272 * Makeconfig: Change reference to configure.in and
13273 preconfigure.in to configure.ac and preconfigure.ac
13274 respectively.
13275 * INSTALL: Regenerated.
13276 * configure: Likewise.
13277 * sysdeps/gnu/configure: Likewise.
13278 * sysdeps/i386/configure: Likewise.
13279 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13280 * sysdeps/mach/configure: Likewise.
13281 * sysdeps/mach/hurd/configure: Likewise.
13282 * sysdeps/powerpc/configure: Likewise.
13283 * sysdeps/powerpc/powerpc32/configure: Likewise.
13284 * sysdeps/powerpc/powerpc64/configure: Likewise.
13285 * sysdeps/s390/s390-32/configure: Likewise.
13286 * sysdeps/s390/s390-64/configure: Likewise.
13287 * sysdeps/sh/configure: Likewise.
13288 * sysdeps/sparc/configure: Likewise.
13289 * sysdeps/unix/sysv/linux/configure: Likewise.
13290 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13291 * sysdeps/x86_64/configure: Likewise.
13292 * sysdeps/x86_64/preconfigure: Likewise.
13293
36a4953a
AS
132942013-10-29 Andreas Schwab <schwab@suse.de>
13295
13296 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13297
c79a1204
SP
132982013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13299
dfa1b402
SP
13300 * benchtests/pow-inputs: Add new inputs.
13301
54f73d9c
SP
13302 * benchtests/exp-inputs: Add new inputs.
13303
c79a1204
SP
13304 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13305 conditional check for return value.
13306 (__cos32): Likewise.
13307
67beb545 133082013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
13309
13310 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13311 to provide a boost for large inputs with word alignment.
13312 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13313 implementation based on optimized PPC64 strcpy.
13314 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13315 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13316 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13317 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13318
151659f6
OB
133192013-10-25 Ondřej Bílka <neleai@seznam.cz>
13320
482a077e 13321 [BZ #2801]
151659f6
OB
13322 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13323
10b0f26b
OB
133242013-10-25 Ondřej Bílka <neleai@seznam.cz>
13325
13326 [BZ #14876]
13327 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13328 * time/tst-strptime.c (day_tests): Add testcase.
13329
ca42d35e
OB
133302013-10-25 Ondřej Bílka <neleai@seznam.cz>
13331
482a077e 13332 [BZ #14029]
ca42d35e
OB
13333 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13334
52e6d801
FB
133352013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13336
13337 [BZ #16074]
13338 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13339 MAP_FAILED on error.
13340
7cbcdb36
SP
133412013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13342
13343 [BZ #16072]
13344 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13345 heap for large requests.
13346
894f3f10
AM
133472013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13348
13349 [BZ #9954]
13350 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13351 result if the result has no associated interface.
13352 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13353 interface for all 127.X.Y.Z addresses.
13354
b85545a6
CL
133552013-10-24 Chris Leonard <cjl@sugarlabs.org>
13356
13357 * locale/iso-639.def: Add Ligurian (lij)
13358
d1f23d46
OB
133592013-10-21 Ondřej Bílka <neleai@seznam.cz>
13360
13361 [BZ #15825]
13362 * sunrpc/rpc_main.c: Document rpcgen -5.
13363
4db5b08f
MS
133642013-10-19 Michael Stahl <mstahl@redhat.com>
13365
13366 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13367
a471e96a
OB
133682013-10-19 Ondřej Bílka <neleai@seznam.cz>
13369
d1f23d46 13370 [BZ #10278]
a471e96a
OB
13371 * posix/glob.c: Match only directories when trailing slash is present.
13372 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13373 (main): Add testcase.
13374
45c30c61
OB
133752013-10-19 Ondřej Bílka <neleai@seznam.cz>
13376
13377 [BZ #15670]
13378 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13379
484c12fb
CD
133802013-10-18 Carlos O'Donell <carlos@redhat.com>
13381
3d7dc513
CD
13382 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13383 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13384 AUTH_DES and cindex for FIPS 140-2.
13385 (DES Encryption): Add cindex FIPS 46-3.
13386
484c12fb
CD
13387 * locale/locarchive.h (struct locarhandle): Add fname.
13388 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13389 if an optional argument was specified to --list-archive,
13390 otherwise NULL.
13391 * locale/programs/locarchive.c (show_archive_content): Take new
13392 argument fname and pass it via ah.fname to open_archive.
13393 * locale/programs/localedef.h: Update decl.
13394 (open_archive): If AH->fname is non-null, open that file
13395 rather than the default file name, and don't ignore ENOENT.
13396 (create_archive): Set AH.fname to NULL.
13397 (delete_locales_from_archive): Likewise.
13398 (add_locales_to_archive): Likewise.
13399 * locale/programs/locfile.c (write_all_categories): Likewise.
13400
3c8325fb
JM
134012013-10-18 Joseph Myers <joseph@codesourcery.com>
13402 Aldy Hernandez <aldyh@redhat.com>
13403
13404 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13405 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13406 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13407 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13408 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13409 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13410 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13411 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13412 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13413 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13414 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13415 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13416 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13417 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13418 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13419 Likewise.
13420 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13421 Likewise.
13422 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13423 Likewise.
13424 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13425 Likewise.
13426 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13427 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13428 Likewise.
13429 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13430 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13431 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13432 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13433 Likewise.
13434 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13435 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13436 * sysdeps/powerpc/preconfigure: Likewise.
13437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13438 Likewise.
13439 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13440 Replace contents of file by #include of <fenv_libc.h>.
13441 * sysdeps/powerpc/soft-fp/sfp-machine.h
13442 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13443 and <sys/prctl.h>.
13444 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13445 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13446 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13447 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13448 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13449 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13450 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13451 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13452 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13453 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13454 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13455 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13457 Allow copysignl PLT reference to be missing.
13458
5abe0682
RS
134592013-10-18 Richard Sandiford <richard@codesourcery.com>
13460 Joseph Myers <joseph@codesourcery.com
13461
13462 [BZ #15948]
13463 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13464 single character.
13465 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13466
c7738d08
SP
134672013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13468
13469 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13470 * elf/tst-tls1.c: Likewise.
13471 * elf/tst-tls10.h: Likewise.
13472 * elf/tst-tls14.c: Likewise.
13473 * elf/tst-tls2.c: Likewise.
13474 * elf/tst-tls3.c: Likewise.
13475 * elf/tst-tls4.c: Likewise.
13476 * elf/tst-tls5.c: Likewise.
13477 * elf/tst-tls6.c: Likewise.
13478 * elf/tst-tls7.c: Likewise.
13479 * elf/tst-tls8.c: Likewise.
13480 * elf/tst-tls9.c: Likewise.
13481 * elf/tst-tlsmod1.c: Likewise.
13482 * elf/tst-tlsmod13.c: Likewise.
13483 * elf/tst-tlsmod13a.c: Likewise.
13484 * elf/tst-tlsmod14a.c: Likewise.
13485 * elf/tst-tlsmod16a.c: Likewise.
13486 * elf/tst-tlsmod16b.c: Likewise.
13487 * elf/tst-tlsmod2.c: Likewise.
13488 * elf/tst-tlsmod3.c: Likewise.
13489 * elf/tst-tlsmod4.c: Likewise.
13490 * elf/tst-tlsmod5.c: Likewise.
13491 * elf/tst-tlsmod6.c: Likewise.
13492
0bfcf2c7
OB
134932013-10-18 Ondřej Bílka <neleai@seznam.cz>
13494
13495 [BZ #12486]
13496 * malloc/malloc.c: remove checks for statistics.
13497
264aad1e
OB
134982013-10-17 Ondřej Bílka <neleai@seznam.cz>
13499
13500 [BZ #15277]
13501 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13502 * inet/tst-network.c: Add testcase.
13503
b957ced8
AS
135042013-10-17 Andreas Schwab <schwab@suse.de>
13505
13506 [BZ #15218]
13507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13508 to determine canonical name.
13509
c5d5d574
OB
135102013-10-17 Ondřej Bílka <neleai@seznam.cz>
13511
13512 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13513 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13515 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13520 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13523 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13524 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13525 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13526 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13529 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13530 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13536 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13537 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13539 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13540 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13541 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13542 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13544 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13545 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13546 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13547 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13548 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13549 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13550 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13551 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13552 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13553 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13555 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13556 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13557 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13558 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13559 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13560 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13561 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13562 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13563 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13564 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13565 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13566 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13567 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13568 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13570
e5c2c2d0
JM
135712013-10-17 Joseph Myers <joseph@codesourcery.com>
13572
13573 [BZ #16041]
13574 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13575 make result into a quiet NaN.
13576
51ca9e29
JM
135772013-10-16 Joseph Myers <joseph@codesourcery.com>
13578
13579 * soft-fp/adddf3.c: Fix horizontal whitespace.
13580 * soft-fp/addsf3.c: Likewise.
13581 * soft-fp/addtf3.c: Likewise.
13582 * soft-fp/divdf3.c: Likewise.
13583 * soft-fp/divsf3.c: Likewise.
13584 * soft-fp/divtf3.c: Likewise.
13585 * soft-fp/double.h: Likewise.
13586 * soft-fp/eqdf2.c: Likewise.
13587 * soft-fp/eqsf2.c: Likewise.
13588 * soft-fp/eqtf2.c: Likewise.
13589 * soft-fp/extenddftf2.c: Likewise.
13590 * soft-fp/extended.h: Likewise.
13591 * soft-fp/extendsfdf2.c: Likewise.
13592 * soft-fp/extendsftf2.c: Likewise.
13593 * soft-fp/extendxftf2.c: Likewise.
13594 * soft-fp/fixdfdi.c: Likewise.
13595 * soft-fp/fixdfsi.c: Likewise.
13596 * soft-fp/fixdfti.c: Likewise.
13597 * soft-fp/fixsfdi.c: Likewise.
13598 * soft-fp/fixsfsi.c: Likewise.
13599 * soft-fp/fixsfti.c: Likewise.
13600 * soft-fp/fixtfdi.c: Likewise.
13601 * soft-fp/fixtfsi.c: Likewise.
13602 * soft-fp/fixtfti.c: Likewise.
13603 * soft-fp/fixunsdfdi.c: Likewise.
13604 * soft-fp/fixunsdfsi.c: Likewise.
13605 * soft-fp/fixunsdfti.c: Likewise.
13606 * soft-fp/fixunssfdi.c: Likewise.
13607 * soft-fp/fixunssfsi.c: Likewise.
13608 * soft-fp/fixunssfti.c: Likewise.
13609 * soft-fp/fixunstfdi.c: Likewise.
13610 * soft-fp/fixunstfsi.c: Likewise.
13611 * soft-fp/fixunstfti.c: Likewise.
13612 * soft-fp/floatdidf.c: Likewise.
13613 * soft-fp/floatdisf.c: Likewise.
13614 * soft-fp/floatditf.c: Likewise.
13615 * soft-fp/floatsidf.c: Likewise.
13616 * soft-fp/floatsisf.c: Likewise.
13617 * soft-fp/floatsitf.c: Likewise.
13618 * soft-fp/floattidf.c: Likewise.
13619 * soft-fp/floattisf.c: Likewise.
13620 * soft-fp/floattitf.c: Likewise.
13621 * soft-fp/floatundidf.c: Likewise.
13622 * soft-fp/floatundisf.c: Likewise.
13623 * soft-fp/floatunditf.c: Likewise.
13624 * soft-fp/floatunsidf.c: Likewise.
13625 * soft-fp/floatunsisf.c: Likewise.
13626 * soft-fp/floatunsitf.c: Likewise.
13627 * soft-fp/floatuntidf.c: Likewise.
13628 * soft-fp/floatuntisf.c: Likewise.
13629 * soft-fp/floatuntitf.c: Likewise.
13630 * soft-fp/fmadf4.c: Likewise.
13631 * soft-fp/fmasf4.c: Likewise.
13632 * soft-fp/fmatf4.c: Likewise.
13633 * soft-fp/gedf2.c: Likewise.
13634 * soft-fp/gesf2.c: Likewise.
13635 * soft-fp/getf2.c: Likewise.
13636 * soft-fp/ledf2.c: Likewise.
13637 * soft-fp/lesf2.c: Likewise.
13638 * soft-fp/letf2.c: Likewise.
13639 * soft-fp/muldf3.c: Likewise.
13640 * soft-fp/mulsf3.c: Likewise.
13641 * soft-fp/multf3.c: Likewise.
13642 * soft-fp/negdf2.c: Likewise.
13643 * soft-fp/negsf2.c: Likewise.
13644 * soft-fp/negtf2.c: Likewise.
13645 * soft-fp/op-1.h: Likewise.
13646 * soft-fp/op-2.h: Likewise.
13647 * soft-fp/op-4.h: Likewise.
13648 * soft-fp/op-8.h: Likewise.
13649 * soft-fp/op-common.h: Likewise.
13650 * soft-fp/quad.h: Likewise.
13651 * soft-fp/single.h: Likewise.
13652 * soft-fp/soft-fp.h: Likewise.
13653 * soft-fp/sqrtdf2.c: Likewise.
13654 * soft-fp/sqrtsf2.c: Likewise.
13655 * soft-fp/sqrttf2.c: Likewise.
13656 * soft-fp/subdf3.c: Likewise.
13657 * soft-fp/subsf3.c: Likewise.
13658 * soft-fp/subtf3.c: Likewise.
13659 * soft-fp/truncdfsf2.c: Likewise.
13660 * soft-fp/trunctfdf2.c: Likewise.
13661 * soft-fp/trunctfsf2.c: Likewise.
13662 * soft-fp/trunctfxf2.c: Likewise.
13663 * soft-fp/unorddf2.c: Likewise.
13664 * soft-fp/unordsf2.c: Likewise.
13665 * soft-fp/unordtf2.c: Likewise.
13666
9ebb0332
JM
136672013-10-15 Joseph Myers <joseph@codesourcery.com>
13668
13669 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13670 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13671
4b1a6d8b
OB
136722013-10-15 Ondřej Bílka <neleai@seznam.cz>
13673
13674 * elf/dl-libc.c: Clear initfini list after freeing.
13675
1e145589
JM
136762013-10-14 Joseph Myers <joseph@codesourcery.com>
13677
13678 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13679 * soft-fp/addsf3.c: Likewise.
13680 * soft-fp/addtf3.c: Likewise.
13681 * soft-fp/divdf3.c: Likewise.
13682 * soft-fp/divsf3.c: Likewise.
13683 * soft-fp/divtf3.c: Likewise.
13684 * soft-fp/double.h: Likewise.
13685 * soft-fp/eqdf2.c: Likewise.
13686 * soft-fp/eqsf2.c: Likewise.
13687 * soft-fp/eqtf2.c: Likewise.
13688 * soft-fp/extenddftf2.c: Likewise.
13689 * soft-fp/extended.h: Likewise.
13690 * soft-fp/extendsfdf2.c: Likewise.
13691 * soft-fp/extendsftf2.c: Likewise.
13692 * soft-fp/extendxftf2.c: Likewise.
13693 * soft-fp/fixdfdi.c: Likewise.
13694 * soft-fp/fixdfsi.c: Likewise.
13695 * soft-fp/fixdfti.c: Likewise.
13696 * soft-fp/fixsfdi.c: Likewise.
13697 * soft-fp/fixsfsi.c: Likewise.
13698 * soft-fp/fixsfti.c: Likewise.
13699 * soft-fp/fixtfdi.c: Likewise.
13700 * soft-fp/fixtfsi.c: Likewise.
13701 * soft-fp/fixtfti.c: Likewise.
13702 * soft-fp/fixunsdfdi.c: Likewise.
13703 * soft-fp/fixunsdfsi.c: Likewise.
13704 * soft-fp/fixunsdfti.c: Likewise.
13705 * soft-fp/fixunssfdi.c: Likewise.
13706 * soft-fp/fixunssfsi.c: Likewise.
13707 * soft-fp/fixunssfti.c: Likewise.
13708 * soft-fp/fixunstfdi.c: Likewise.
13709 * soft-fp/fixunstfsi.c: Likewise.
13710 * soft-fp/fixunstfti.c: Likewise.
13711 * soft-fp/floatdidf.c: Likewise.
13712 * soft-fp/floatdisf.c: Likewise.
13713 * soft-fp/floatditf.c: Likewise.
13714 * soft-fp/floatsidf.c: Likewise.
13715 * soft-fp/floatsisf.c: Likewise.
13716 * soft-fp/floatsitf.c: Likewise.
13717 * soft-fp/floattidf.c: Likewise.
13718 * soft-fp/floattisf.c: Likewise.
13719 * soft-fp/floattitf.c: Likewise.
13720 * soft-fp/floatundidf.c: Likewise.
13721 * soft-fp/floatundisf.c: Likewise.
13722 * soft-fp/floatunsidf.c: Likewise.
13723 * soft-fp/floatunsisf.c: Likewise.
13724 * soft-fp/floatuntidf.c: Likewise.
13725 * soft-fp/floatuntisf.c: Likewise.
13726 * soft-fp/floatuntitf.c: Likewise.
13727 * soft-fp/fmadf4.c: Likewise.
13728 * soft-fp/fmasf4.c: Likewise.
13729 * soft-fp/fmatf4.c: Likewise.
13730 * soft-fp/gedf2.c: Likewise.
13731 * soft-fp/gesf2.c: Likewise.
13732 * soft-fp/getf2.c: Likewise.
13733 * soft-fp/ledf2.c: Likewise.
13734 * soft-fp/lesf2.c: Likewise.
13735 * soft-fp/letf2.c: Likewise.
13736 * soft-fp/muldf3.c: Likewise.
13737 * soft-fp/mulsf3.c: Likewise.
13738 * soft-fp/multf3.c: Likewise.
13739 * soft-fp/negdf2.c: Likewise.
13740 * soft-fp/negsf2.c: Likewise.
13741 * soft-fp/negtf2.c: Likewise.
13742 * soft-fp/op-1.h: Likewise.
13743 * soft-fp/op-2.h: Likewise.
13744 * soft-fp/op-4.h: Likewise.
13745 * soft-fp/op-8.h: Likewise.
13746 * soft-fp/op-common.h: Likewise.
13747 * soft-fp/quad.h: Likewise.
13748 * soft-fp/single.h: Likewise.
13749 * soft-fp/soft-fp.h: Likewise.
13750 * soft-fp/sqrtdf2.c: Likewise.
13751 * soft-fp/sqrtsf2.c: Likewise.
13752 * soft-fp/sqrttf2.c: Likewise.
13753 * soft-fp/subdf3.c: Likewise.
13754 * soft-fp/subsf3.c: Likewise.
13755 * soft-fp/subtf3.c: Likewise.
13756 * soft-fp/truncdfsf2.c: Likewise.
13757 * soft-fp/trunctfdf2.c: Likewise.
13758 * soft-fp/trunctfsf2.c: Likewise.
13759 * soft-fp/trunctfxf2.c: Likewise.
13760 * soft-fp/unorddf2.c: Likewise.
13761 * soft-fp/unordsf2.c: Likewise.
13762 * soft-fp/unordtf2.c: Likewise.
13763
17c48a60
OB
137642013-10-14 Ondřej Bílka <neleai@seznam.cz>
13765
13766 [BZ #15672]
13767 * misc/error.c (error_tail): Fix possible buffer overflow.
13768
cabba934
OB
137692013-10-14 Aurelien Jarno <aurelien@aurel32.net>
13770
13771 [BZ #13028]
13772 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13773 address.
13774
94bf958a
PM
137752013-10-14 P. J. McDermott <pj@pehjota.net>
13776
13777 [BZ #832]
13778 * elf/ldd.bash.in (try_trace): New function. Delete previous code
13779 testing pipefail option.
13780
71b4dea7
JM
137812013-10-12 Joseph Myers <joseph@codesourcery.com>
13782
13783 * soft-fp/double.h: Indent preprocessor directives inside #if.
13784 * soft-fp/extended.h: Likewise.
13785 * soft-fp/op-2.h: Likewise.
13786 * soft-fp/op-4.h: Likewise.
13787 * soft-fp/op-common.h: Likewise.
13788 * soft-fp/quad.h: Likewise.
13789 * soft-fp/single.h: Likewise.
13790 * soft-fp/soft-fp.h: Likewise.
13791
55602758
YC
137922013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13793
13794 * iconv/iconv_prog.c: Fix typos.
13795 * stdio-common/psiginfo-data.h: Likewise.
13796
9cd83302
RT
137972013-10-12 Reuben Thomas <rrt@sc3d.org>
13798
13799 [BZ #15764]
13800 * locale/setlocale.c: Fix typo.
13801
99fd9f47
JM
138022013-10-12 Joseph Myers <joseph@codesourcery.com>
13803
b7ea74f0
JM
13804 [BZ #16036]
13805 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13806 signaling NaN arguments.
13807 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13808 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13809
8a509447
JM
13810 [BZ #14910]
13811 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13812 unordered operands.
13813 * soft-fp/gesf2.c (__gesf2): Likewise.
13814 * soft-fp/getf2.c (__getf2): Likewise.
13815 * soft-fp/ledf2.c (__ledf2): Likewise.
13816 * soft-fp/lesf2.c (__lesf2): Likewise.
13817 * soft-fp/letf2.c (__letf2): Likewise.
13818
98998e9f
JM
13819 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13820 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13821 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13822 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13823 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13824 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13825 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13826 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13827 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13828 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13829 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13830 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13831 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13832 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13833 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13834 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13835 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13836 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13837 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13838 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13839 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13840 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13841 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13842 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13843 * soft-fp/floattidf.c (__floattidf): Likewise.
13844 * soft-fp/floattisf.c (__floattisf): Likewise.
13845 * soft-fp/floattitf.c (__floattitf): Likewise.
13846 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13847 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13848 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13849 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13850 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13851 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13852 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13853 * soft-fp/gesf2.c (__gesf2): Likewise.
13854 * soft-fp/getf2.c (__getf2): Likewise.
13855 * soft-fp/ledf2.c (__ledf2): Likewise.
13856 * soft-fp/lesf2.c (__lesf2): Likewise.
13857 * soft-fp/letf2.c (__letf2): Likewise.
13858
8edc4a11
JM
13859 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13860 Undefine and redefine.
13861 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13862 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13863 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13864 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13865 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13866 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13867 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13868 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13869 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13870 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13871 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13872 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13873 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13874 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13875 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13876
8399acaf
JM
13877 [BZ #16032]
13878 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13879 without decrementing exponent if mantissa >= that for the
13880 denominator, not >.
13881 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13882 denominator, not >. Decrement exponent in < case instead of
13883 incrementing in >= case.
13884 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13885 without decrementing exponent if mantissa >= that for the
13886 denominator, not >.
13887
99fd9f47
JM
13888 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13889 computing saturated result for unsigned overflow.
13890
10e1cf6b
SP
138912013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13892 Jeff Law <law@redhat.com>
13893
13894 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13895 (atan2Mp): Add systemtap probe marker.
13896 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13897 (__ieee754_log): Add systemtap probe marker.
13898 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13899 (atanMp): Add systemtap probe marker.
13900 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13901 (tanMp): Add systemtap probe marker.
13902 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13903 (__slowexp): Add systemtap probe marker.
13904 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13905 (__slowpow): Add systemtap probe marker.
13906 * manual/probes.texi: Document probes.
13907
3d110c7c
EB
139082013-10-11 Eric Biggers <ebiggers3@gmail.com>
13909
13910 [BZ #15362]
13911 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13912 written.
13913 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13914 written.
13915 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13916 written to buffer but not flushed.
13917 * libio/iofwrite_u.c: Likewise.
13918 * libio/iopadn.c: Return bytes returned even if EOF was
13919 encountered.
13920 * libio/iowpadn.c: Likewise.
13921 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13922 if _IO_padn does not write the whole buffer.
13923 [!COMPILE_WPRINTF] (PAD): Likewise.
13924
75b4202a
DM
139252013-10-10 David S. Miller <davem@davemloft.net>
13926
13927 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13928 directory block.
13929
6c6352e6
JM
139302013-10-10 Joseph Myers <joseph@codesourcery.com>
13931
33b853c3
JM
13932 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13933 instead of FSF address.
13934 * soft-fp/fixdfti.c: Likewise.
13935 * soft-fp/fixsfti.c: Likewise.
13936 * soft-fp/fixtfti.c: Likewise.
13937 * soft-fp/fixunsdfti.c: Likewise.
13938 * soft-fp/fixunssfti.c: Likewise.
13939 * soft-fp/fixunstfti.c: Likewise.
13940 * soft-fp/floattidf.c: Likewise.
13941 * soft-fp/floattisf.c: Likewise.
13942 * soft-fp/floattitf.c: Likewise.
13943 * soft-fp/floatuntidf.c: Likewise.
13944 * soft-fp/floatuntisf.c: Likewise.
13945 * soft-fp/floatuntitf.c: Likewise.
13946 * soft-fp/trunctfxf2.c: Likewise.
13947
6c6352e6
JM
13948 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13949 * soft-fp/fixdfti.c: Likewise.
13950 * soft-fp/fixsfti.c: Likewise.
13951 * soft-fp/fixtfti.c: Likewise.
13952 * soft-fp/fixunsdfti.c: Likewise.
13953 * soft-fp/fixunssfti.c: Likewise.
13954 * soft-fp/fixunstfti.c: Likewise.
13955 * soft-fp/floattidf.c: Likewise.
13956 * soft-fp/floattisf.c: Likewise.
13957 * soft-fp/floattitf.c: Likewise.
13958 * soft-fp/floatuntidf.c: Likewise.
13959 * soft-fp/floatuntisf.c: Likewise.
13960 * soft-fp/floatuntitf.c: Likewise.
13961 * soft-fp/trunctfxf2.c: Likewise.
13962
3bf78b71
DM
139632013-10-10 David S. Miller <davem@davemloft.net>
13964
13965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13966
6f10289e
JM
139672013-10-10 Joseph Myers <joseph@codsourcery.com>
13968
bd878fc0
JM
13969 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13970 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13971 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13972 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13973 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13974 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13975 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13976
6f10289e
JM
13977 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13978 for NaNs before doing comparisons on argument.
13979 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13980 Likewise.
13981
321e2684
WN
139822013-10-10 Will Newton <will.newton@linaro.org>
13983
13984 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13985 passed to _int_memalign does not overflow.
13986
40fefba1
TR
139872013-10-10 Torvald Riegel <triegel@redhat.com>
13988
13989 * scripts/bench.pl: Add include-sources directive.
13990 * benchtests/README: Update documentation.
13991
2ae21ed2
JM
139922013-10-10 Joseph Myers <joseph@codesourcery.com>
13993
dcc2dd3f
JM
13994 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13995 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13996 instead of FP_INIT_ROUNDMODE.
13997 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13998 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13999
2ae21ed2
JM
14000 [BZ #16034]
14001 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14002 copy class of input value.
14003 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14004 not handle exceptions.
14005 * soft-fp/negsf2.c (__negsf2): Likewise.
14006 * soft-fp/negtf2.c (__negtf2): Likewise.
14007 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14008
cb8f9562
JM
140092013-10-09 Joseph Myers <joseph@codesourcery.com>
14010
14011 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14012 semicolon. From Linux kernel.
14013
5b60c59d
AB
140142013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14015
14016 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14017
b86835ca
YC
140182013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14019
14020 [BZ #156]
14021 * manual/socket.texi: Added statement about buffer
14022 for gethostbyname2_r.
14023
e7044ea7
OB
140242013-10-08 Ondřej Bílka <neleai@seznam.cz>
14025
14026 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14027 Use .p2align directive instead, throughout.
14028 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14029 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14030 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14031 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14032 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14033 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14034 * sysdeps/x86_64/strchr.S: Likewise.
14035 * sysdeps/x86_64/strrchr.S: Likewise.
14036
09544cbc
SP
140372013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14038
88576635
SP
14039 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14040
e7b2d1dd
SP
14041 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14042
09544cbc
SP
14043 * sysdeps/generic/math_private.h (__mpsin1): Remove
14044 declaration.
14045 (__mpcos1): Likewise.
14046 (__mpsin): New argument __range_reduce.
14047 (__mpcos): Likewise.
14048 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14049 (slow): Use __mpsin and __mpcos.
14050 (slow1): Likewise.
14051 (slow2): Likewise.
14052 (sloww): Likewise.
14053 (sloww1): Likewise.
14054 (sloww2): Likewise.
14055 (bsloww): Likewise.
14056 (bsloww1): Likewise.
14057 (bsloww2): Likewise.
14058 (cslow2): Likewise.
14059 (csloww): Likewise.
14060 (csloww1): Likewise.
14061 (csloww2): Likewise.
14062 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14063 range_reduce. Merge in __mpsin1.
14064 (__mpcos): Likewise.
14065 (__mpsin1): Remove.
14066 (__mpcos1): Likewise.
14067
7602d070
JM
140682013-10-07 Joseph Myers <joseph@codesourcery.com>
14069
14070 * locale/loadlocale.c (_nl_intern_locale_data): Use
14071 LOCFILE_ALIGNED_P.
14072 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14073 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14074 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14075 obstack data is appropriately aligned.
14076 (obstack_int32_grow_fast): Likewise.
14077 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14078 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14079 (add_locale_uint32_array): Likewise.
14080
a357259b
SP
140812013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14082
14083 * benchtests/Makefile: Remove ARGLIST and RET variables.
14084 ($(objpfx)bench-%.c): Pass only function name to the script.
14085 * benchtests/README: Update documentation.
14086 * benchtests/acos-inputs: Add new directives.
14087 * benchtests/acosh-inputs: Likewise.
14088 * benchtests/asin-inputs: Likewise.
14089 * benchtests/asinh-inputs: Likewise.
14090 * benchtests/atan-inputs: Likewise.
14091 * benchtests/atanh-inputs: Likewise.
14092 * benchtests/cos-inputs: Likewise.
14093 * benchtests/cosh-inputs: Likewise.
14094 * benchtests/exp-inputs: Likewise.
14095 * benchtests/log-inputs: Likewise.
14096 * benchtests/pow-inputs: Likewise.
14097 * benchtests/rint-inputs: Likewise.
14098 * benchtests/sin-inputs: Likewise.
14099 * benchtests/sinh-inputs: Likewise.
14100 * benchtests/tan-inputs: Likewise.
14101 * benchtests/tanh-inputs: Likewise.
14102 * scripts/bench.pl: Add support for new directives.
14103
9ec1b13d
AM
141042013-10-07 Alan Modra <amodra@gmail.com>
14105
14106 * README: Fix careless merge.
14107
8b7d57cd
AM
141082013-10-05 Alan Modra <amodra@gmail.com>
14109
14110 * NEWS: Mention powerpc64le support and bugs fixed.
14111 * README: Both big-endian and little-endian powerpc64 supported.
14112
7b7bab13
ST
141132013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14114
57f41c40
AS
14115 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14116 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
14117 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14118 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14119
d39baad1
RA
141202013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14121
14122 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14123 match prototype.
14124
cd78f7e7
JM
141252013-10-04 Joseph Myers <joseph@codesourcery.com>
14126
29d73d86
JM
14127 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14128 Move -mhard-float appending from
14129 ports/sysdeps/powerpc/powerpc32/Makefile.
14130 [$(with-fp) = yes] (ASFLAGS): Likewise.
14131 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14132 * sysdeps/powerpc/nofpu: Move directory from
14133 ports/sysdeps/powerpc/nofpu.
14134 * sysdeps/powerpc/soft-fp: Move directory from
14135 ports/sysdeps/powerpc/soft-fp.
14136 * sysdeps/powerpc/powerpc32/405: Move directory from
14137 ports/sysdeps/powerpc/powerpc32/405.
14138 * sysdeps/powerpc/powerpc32/440: Move directory from
14139 ports/sysdeps/powerpc/powerpc32/440.
14140 * sysdeps/powerpc/powerpc32/464: Move directory from
14141 ports/sysdeps/powerpc/powerpc32/464.
14142 * sysdeps/powerpc/powerpc32/476: Move directory from
14143 ports/sysdeps/powerpc/powerpc32/476.
14144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14145 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14147 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14149 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14151 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14153 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14154 * README: Update for powerpc-*-linux-gnu software floating point
14155 support in libc.
14156
e246b347
JM
14157 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14158 case to powerpc/powerpc32*.
14159 * sysdeps/unix/sysv/linux/configure: Regenerated.
14160
89c2003e
JM
14161 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14162 (_FPU_MASK_OM): Define as 0x04.
14163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14165 0x00c10080.
14166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14167 0x0000003c.
14168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14169
cd78f7e7
JM
14170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14171 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14172 getcontext_e500.
14173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14174 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14175 setcontext_e500.
14176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14177 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14178 and setcontext_e500.
14179
c755294d
CL
141802013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14181
14182 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14183
e16d221c
SP
141842013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14185
14186 * manual/threads.texi (Default Thread Attributes): Fix typo.
14187
215c7d43
WN
141882013-10-04 Will Newton <will.newton@linaro.org>
14189
14190 * malloc/Makefile: Add tst-memalign.
14191 * malloc/tst-memalign.c: New file.
14192
27d0461b
WN
14193 * malloc/tst-posix_memalign.c: Add comments.
14194 (do_test): Add comments and call free on all potentially
14195 allocated pointers. Add space after cast.
14196
1bc92709
WN
14197 * malloc/tst-pvalloc.c: Add comments.
14198 (do_test): Add comments and call free on all potentially
14199 allocated pointers. Remove duplicate check for NULL pointer.
14200 Add space after cast.
14201
66a9be9d
WN
14202 * malloc/tst-valloc.c: Add comments.
14203 (do_test): Add comments and call free on all potentially
14204 allocated pointers. Remove duplicate check for NULL pointer.
14205 Add space after cast.
14206
4cb81307
AM
142072013-10-04 Alan Modra <amodra@gmail.com>
14208
14209 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14210 Use stdint types in rather than __attribute__((mode())).
14211 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14212
f8e3e9f3
AM
142132013-10-04 Alan Modra <amodra@gmail.com>
14214
14215 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14216 Correct handling of unaligned relocs for little-endian.
14217 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14218
8f9ebb08
AM
142192013-10-04 Alan Modra <amodra@gmail.com>
14220
14221 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14222 * configure: Regenerate.
14223 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14224 * shlib-versions: Likewise.
14225
0edf96c2
AM
142262013-10-04 Alan Modra <amodra@gmail.com>
14227
14228 * string/tester.c (test_memrchr): Increment reported test cycle.
14229
e0f7a380
AM
142302013-10-04 Alan Modra <amodra@gmail.com>
14231
14232 * string/test-memcpy.c (do_one_test): When reporting errors, print
14233 string address and don't overrun end of string.
14234
466b0393
AM
142352013-10-04 Alan Modra <amodra@gmail.com>
14236
14237 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14238 insrdi. Make better use of reg selection to speed exit slightly.
14239 Schedule entry path a little better. Remove useless "are we done"
14240 checks on entry to main loop. Handle wrapping around zero address.
14241 Correct main loop count. Handle single left-over word from main
14242 loop inline rather than by using loop_small. Remove extra word
14243 case in loop_small caused by wrong loop count. Add little-endian
14244 support.
14245 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14246 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14247 cache hint.
14248 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14249 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14250 support. Avoid rlwimi.
14251 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14252
3be87c77
AM
142532013-10-04 Alan Modra <amodra@gmail.com>
14254
14255 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 14256 insrdi. Formatting.
3be87c77
AM
14257 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14258 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14259 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14260 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14261 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14262 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14263
759cfef3
AM
142642013-10-04 Alan Modra <amodra@gmail.com>
14265
14266 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14267 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14268 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14269 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14270 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14271 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14272 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14273 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14274 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14275 use of regs. Use power7 mtocrf. Tidy function tails.
14276
fe6e95d7
AM
142772013-10-04 Alan Modra <amodra@gmail.com>
14278
14279 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14280 Formatting. Consistently use rXXX register defines or rN defines.
14281 Use early exit labels that avoid restoring unused non-volatile regs.
14282 Make cr field use more consistent with rWORDn compares. Rename
14283 regs used as shift registers for unaligned loop, using rN defines
14284 for short lifetime/multiple use regs.
14285 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14286 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14287 addi 1,1,64 to pop stack frame. Simplify return value code.
14288 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14289
664318c3
AM
142902013-10-04 Alan Modra <amodra@gmail.com>
14291
14292 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14293 support. Correct typos, formatting. Optimize tail. Use insrdi
14294 rather than rlwimi.
14295 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14296 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14297 little-endian support. Correct typos.
14298 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14299 rather than rlwimi.
14300 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14301 in loop and entry code to keep "and." results.
14302 (strchr): Add little-endian support. Comment. Move cntlzd
14303 earlier in tail.
14304 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14305
43b84013
AM
143062013-10-04 Alan Modra <amodra@gmail.com>
14307
14308 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14309 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14310 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14311 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14312
8a7413f9
AM
143132013-10-04 Alan Modra <amodra@gmail.com>
14314
14315 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14316 (rTMP): Define as r11.
14317 (strcmp): Add little-endian support. Optimise tail.
14318 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14319 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14320 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14321 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14322 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14323 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14324 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14325
33ee81de
AM
143262013-10-04 Alan Modra <amodra@gmail.com>
14327
14328 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14329 little-endian support. Remove unnecessary "are we done" tests.
14330 Handle "s" wrapping around zero and extremely large "size".
14331 Correct main loop count. Handle single left-over word from main
14332 loop inline rather than by using small_loop. Correct comments.
14333 Delete "zero" tail, use "end_max" instead.
14334 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14335
db9b4570
AM
143362013-10-04 Alan Modra <amodra@gmail.com>
14337
14338 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14339 support. Don't branch over align.
14340 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14341 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14342 support. Rearrange tmp reg use to suit. Comment.
14343 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14344
f7c399cf
AM
143452013-10-04 Alan Modra <amodra@gmail.com>
14346
14347 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14348
0b2c2ace
AM
143492013-10-04 Alan Modra <amodra@gmail.com>
14350
14351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14352 conditional form of branch and link when obtaining pc.
14353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14354
02f04a6c
AM
143552013-10-04 Alan Modra <amodra@gmail.com>
14356
14357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14358 HIWORD/LOWORD.
14359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14361
9b874b2f
AM
143622013-10-04 Alan Modra <amodra@gmail.com>
14363
14364 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14365 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14366 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14367 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14368 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14369 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14370 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14371 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14372 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14373 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14374
be1e5d31
AB
143752013-10-04 Anton Blanchard <anton@au1.ibm.com>
14376 Alistair Popple <alistair@ozlabs.au.ibm.com>
14377 Alan Modra <amodra@gmail.com>
14378
14379 [BZ #15723]
14380 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14381 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14382 _dl_hwcap access for little-endian.
14383 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14384 destroy vmx regs when saving unaligned.
14385 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14386 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14387 destroy vmx regs when saving unaligned.
14388
fef13a78
AM
143892013-10-04 Alan Modra <amodra@gmail.com>
14390
14391 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14392 Don't use a union to pack hi/low value.
14393
76a66d51
AB
143942013-10-04 Anton Blanchard <anton@au1.ibm.com>
14395
14396 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14397 for little-endian.
14398 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14399 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14400 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14401 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14402 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14403
6a31fe7f
AM
144042013-10-04 Alan Modra <amodra@gmail.com>
14405
14406 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14407 constants to usual value for .cst8 section, and remove redundant
14408 high address load.
14409 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14410 constant for 0x1p52. Load little-endian words of double from
14411 correct stack offsets.
14412
7b88401f
AM
144132013-10-04 Alan Modra <amodra@gmail.com>
14414
14415 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14416 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14417 words of double from correct stack offsets.
14418 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14419 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14420 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14421 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14422 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14423 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14424 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14425 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14426 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14427 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14428 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14429 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14430 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14431 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14432 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14433 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14434 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14435
9c008155
AM
144362013-10-04 Alan Modra <amodra@gmail.com>
14437
14438 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14439 64-bit int/double union.
14440 (_FPU_SETCW): Likewise.
14441 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14442 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14443
da13146d
AM
144442013-10-04 Alan Modra <amodra@gmail.com>
14445
14446 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14447 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14448
603e8410
AM
144492013-10-04 Alan Modra <amodra@gmail.com>
14450
14451 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14452 use vector int constants.
14453 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14454
4a28b3ca
AB
144552013-10-04 Anton Blanchard <anton@au1.ibm.com>
14456
14457 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14458 array with long long.
14459 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14460 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14461 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14462 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14463 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14464 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14465 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14466 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14467 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14468 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14469 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14470 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14471 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14472
2ca85d2b
AB
144732013-10-04 Anton Blanchard <anton@au1.ibm.com>
14474
14475 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14476 (__signbit): Likewise. Correct for little-endian.
14477 (__signbitl): Call __signbit.
14478 (lrint): Correct for little-endian.
14479 (lrintf): Call lrint.
14480
62a728ae
AM
144812013-10-04 Alan Modra <amodra@gmail.com>
14482
14483 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14484 union 32-bit int array member with 64-bit int array.
14485 (t515, tm256): Double rather than long double.
14486 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14487
32c301df
AM
144882013-10-04 Alan Modra <amodra@gmail.com>
14489
14490 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14491 Delete.
14492 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14493 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14494 version of math_ldbl.h.
14495
650ef4bd
AM
144962013-10-04 Alan Modra <amodra@gmail.com>
14497
14498 [BZ #15734], [BZ #15735]
14499 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14500 all uses of ieee875 long double macros and unions. Simplify test
14501 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14502 ldbl_extract_mantissa value for ix,iy exponents. Properly
14503 normalize after ldbl_extract_mantissa, and don't add hidden bit
14504 already handled. Don't treat low word of ieee854 mantissa like
14505 low word of IBM long double and mask off bit when testing for
14506 zero.
14507 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14508 all uses of ieee875 long double macros and unions. Simplify tests
14509 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14510 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14511 two1022, instead use their values. Recognise that tests for large
14512 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14513 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14514 Rewrite all uses of ieee875 long double macros and unions. Simplify
14515 test for 0.0L and nan. Correct negation.
14516 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14517 ieee875 long double macros and unions. Correct output for large
14518 magnitude x. Correct absolute value calculation.
14519 (__erfcl): Likewise.
14520 * math/libm-test.inc: Add tests for errors discovered in IBM long
14521 double versions of fmodl, remainderl, erfl and erfcl.
14522
765714ca
AM
145232013-10-04 Alan Modra <amodra@gmail.com>
14524
14525 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14526 all uses of ieee854 long double macros and unions. Simplify tests
14527 for long doubles that are fully specified by the high double.
14528 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14529 Likewise.
14530 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14531 Remove dead code too.
14532 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14533 (__ieee754_ynl): Likewise.
14534 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14535 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14536 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14537 Remove dead code too.
14538 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14539 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14540 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14541 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14542 Simplify.
14543 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14544 Simplify.
14545 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14546 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14547 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14548 Comment on variable precision.
14549 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14550 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14551 Likewise.
14552 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14553 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14554 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14555 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14556 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14557
4ebd120c
AM
145582013-10-04 Alan Modra <amodra@gmail.com>
14559
14560 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14561 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14562 all uses of ieee854 long double macros and unions.
14563 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14564 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14565 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14566 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14567 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14568 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14569 Likewise.
14570 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14571 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14572 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14573 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14574 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14575 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14576 Simplify sign and nan test too.
14577 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14578 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14579 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14580 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14581 Likewise.
14582 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14583 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14584 Likewise.
14585 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14586 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14587 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14588 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14589 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14590 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14591
1b6adf88
AM
145922013-10-04 Alan Modra <amodra@gmail.com>
14593
14594 * stdio-common/printf_size.c (__printf_size): Don't use
14595 union ieee854_long_double in fpnum union.
14596 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14597 signbit macro to retrieve sign from long double.
14598 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14599 retrieve sign from long double.
14600 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14601 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14602 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14603 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14604 * math/test-misc.c (main): Don't use union ieee854_long_double.
14605
4cf69995
AM
146062013-10-04 Alan Modra <amodra@gmail.com>
14607
14608 [BZ #15680]
14609 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14610 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14611 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14612 calculation. Remove unnecessary test for denormal exponent.
14613 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14614 Correct handling of denormals. Avoid undefined shift behaviour.
14615 Correct normalisation of low mantissa when low double is denormal.
14616 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14617 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14618 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14619 Correct normalisation of low mantissa. Test for overflow of high
14620 mantissa and normalise.
14621 (ldbl_nearbyint): Use more readable constant for two52.
14622 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14623 (__mpn_construct_long_double): Fix test for overflow of high
14624 mantissa and correct normalisation. Avoid undefined shift.
14625
9605ca6c
AM
146262013-10-04 Alan Modra <amodra@gmail.com>
14627
14628 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14629 (union ibm_extended_long_double): Define as an array of ieee754_double.
14630 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14631 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14632 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14633 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14634 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14635 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14636 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14637 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14638 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14639 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14640 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14641
975569d0
JM
146422013-10-03 Joseph Myers <joseph@codesourcery.com>
14643
d3d23756
JM
14644 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14645 page size instead of calling getpagesize.
14646
975569d0
JM
14647 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14648 (LOCFILE_ALIGN_MASK): Likewise.
14649 (LOCFILE_ALIGN_UP): Likewise.
14650 (LOCFILE_ALIGNED_P): Likewise.
14651 * locale/programs/ld-collate.c (collate_output): Use the new
14652 macros instead of __alignof__ (int32_t).
14653 * locale/weight.h (findidx): Likewise.
14654
b1fe1f2b
OB
146552013-10-03 Ondřej Bílka <neleai@seznam.cz>
14656
14657 [BZ #431]
14658 * manual/string.texi: Fix strncat and wcsncat.
14659
5f855e35
BM
146602013-10-03 Brooks Moses <bmoses@google.com>
14661
14662 [BZ #15915]
14663 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14664 * Makerules: ...here, and adjust associated comments.
14665
3cef6009
WN
146662013-10-02 Will Newton <will.newton@linaro.org>
14667
14668 * malloc/Makefile: Add tst-pvalloc.
14669 * malloc/tst-pvalloc.c: New file.
14670
7815420b
WN
146712013-10-02 Will Newton <will.newton@linaro.org>
14672
14673 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14674 improve test coverage.
14675
4868b204
WN
146762013-10-02 Will Newton <will.newton@linaro.org>
14677
14678 * malloc/Makefile: Add tst-posix_memalign.
14679 * malloc/tst-posix_memalign.c: New file.
14680
29c793b3
EB
146812013-10-01 Eric Blake <eblake@redhat.com>
14682
14683 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14684 Use __THROWNL rather than __THROW on static functions.
14685
fd967522
PM
146862013-09-30 Petr Machata <pmachata@redhat.com>
14687
14688 * elf/elf.h (R_AARCH64_ABS16): New macro.
14689 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14690 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14691 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14692 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14693 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14694 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14695 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14696 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14697 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14698 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14699 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14700 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14701 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14702 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14703 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14704 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14705 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14706 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14707 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14708 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14709 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14710 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14711 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14712 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14713 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14714 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14715 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14716 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14717 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14718 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14719 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14720 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14721 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14722 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14723 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14724 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14725 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14726 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14727 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14728 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14729 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14730 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14731 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14732 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14733 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14734 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14735 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14736 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14737 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14738 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14739 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14740 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14741 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14742 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14743 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14744 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14745 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14746 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14747 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14748 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14749 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14750 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14751 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14752 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14753 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14754 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14755 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14756 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14757 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14758 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14759 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14760 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14761 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14762 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14763 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14764 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14765 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14766 (R_AARCH64_TLSDESC_LDR): Likewise.
14767 (R_AARCH64_TLSDESC_ADD): Likewise.
14768 (R_AARCH64_TLSDESC_CALL): Likewise.
14769
b2179107
AS
147702013-09-30 Andreas Schwab <schwab@suse.de>
14771
14772 [BZ #15048]
14773 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14774 the nss database lookup.
14775 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14777
47f28d0a
MF
147782013-09-28 Mike Frysinger <vapier@gentoo.org>
14779
14780 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14781
147822013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
14783
14784 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14785 ${Bash-specific parameter/pattern/string} parameter expansion.
14786 * sysdeps/unix/make-syscalls.sh: Likewise.
14787
f4518a17
KK
147882013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14789
14790 * sysdeps/sh/stackguard-macros.h: New file.
14791
dc1a95c7
OB
147922013-09-26 Ondřej Bílka <neleai@seznam.cz>
14793
14794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14795 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14796 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14797 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14798 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14799 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14800
5ebbff8f
AZ
148012013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14802
14803 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14804 Fix thread ID register.
14805
4fd2cf9f
JM
148062013-09-25 Joseph Myers <joseph@codesourcery.com>
14807
14808 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14809 [POSIX || UNIX98]: Require rather than permitting all symbols from
14810 <time.h>.
14811 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14812 element of struct sched_param.
14813 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14814 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14815 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14816 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14817 constant.
14818
12c22bc4
OL
148192013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14820
14821 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14822 argument calculation.
14823
a03d8ea7
JM
148242013-09-24 Joseph Myers <joseph@codesourcery.com>
14825
14826 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14827 Expect macro.
14828 [POSIX] (pthread_attr_t): Do not require type.
14829 [POSIX] (pthread_cond_t): Likewise.
14830 [POSIX] (pthread_condattr_t): Likewise.
14831 [POSIX] (pthread_key_t): Likewise.
14832 [POSIX] (pthread_mutex_t): Likewise.
14833 [POSIX] (pthread_mutexattr_t): Likewise.
14834 [POSIX] (pthread_once_t): Likewise.
14835 [POSIX] (pthread_t): Likewise.
14836 [POSIX-based standards] (pthread_atfork): Expect function.
14837
6055173a
JM
148382013-09-24 Joseph Myers <joseph@codesourcery.com>
14839 Richard Sandiford <richard@codesourcery.com>
14840
14841 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14842 (swap_endianness_p): New extern variable.
14843 (set_big_endian): New inline function.
14844 (maybe_swap_uint32): Likewise.
14845 (maybe_swap_uint32_array): Likewise.
14846 (maybe_swap_uint32_obstack): Likewise.
14847 * locale/programs/locfile.c: Include <stdbool.h>.
14848 (swap_endianness_p): New variable.
14849 (add_locale_uint32): Call maybe_swap_uint32.
14850 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14851 (write_locale_data): Call maybe_swap_uint32_array.
14852 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14853 maybe_swap_uint32.
14854 (obstack_int32_grow_fast): Likewise.
14855 (output_weightwc): Call maybe_swap_uint32_obstack.
14856 (collate_output): Likewise.
14857 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14858 (OPT_LITTLE_ENDIAN): Likewise.
14859 (options): Add --little-endian and --big-endian options.
14860 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14861 * locale/programs/locarchive.c: Include "locfile.h".
14862 (GET): New macro.
14863 (SET): Likewise.
14864 (INC): Likewise.
14865 (create_archive): Use the new macros to access fields of
14866 structures directly mapped from or written to locale archives.
14867 (oldlocrecentcmp): Likewise.
14868 (enlarge_archive): Likewise.
14869 (insert_name): Likewise.
14870 (add_alias): Likewise.
14871 (add_locale): Likewise.
14872 (delete_locales_from_archive): Likewise.
14873 (show_archive_content): Likewise.
14874 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14875 locale data.
14876
39bf0bb4
RM
148772013-09-24 Roland McGrath <roland@hack.frob.com>
14878
14879 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14880 http://www.gnu.org/doc/freemanuals.texi.
14881 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14882
f02eed10
WN
148832013-09-24 Will Newton <will.newton@linaro.org>
14884
14885 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14886 macro.
14887
a3a6c312
JM
148882013-09-23 Joseph Myers <joseph@codesourcery.com>
14889
14890 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14891 unsigned char.
14892
107375ac
MR
148932013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14894
14895 * manual/threads.texi (POSIX Threads): Fix a typo.
14896
141f3a77
SP
148972013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14898
303e567a
SP
14899 [BZ #14547]
14900 * string/tst-strcoll-overflow.c: New test case.
14901 * string/Makefile (xtests): Add tst-strcoll-overflow.
14902 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14903 cache if string sizes may cause integer overflow.
14904
141f3a77
SP
14905 [BZ #14547]
14906 * string/strcoll_l.c (coll_seq): New members rule, idx,
14907 save_idx and back_us.
14908 (get_next_seq_nocache): New function.
14909 (do_compare_nocache): New function.
14910 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14911 when malloc fails.
14912
c61b4d41
CD
149132013-09-23 Carlos O'Donell <carlos@redhat.com>
14914
0b1f8e35
CD
14915 [BZ #15754]
14916 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14917 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14918 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14919
c61b4d41
CD
14920 [BZ #15754]
14921 * elf/Makefile (tests): Add tst-ptrguard1.
14922 (tests-static): Add tst-ptrguard1-static.
14923 (tst-ptrguard1-ARGS): Define.
14924 (tst-ptrguard1-static-ARGS): Define.
14925 * elf/tst-ptrguard1.c: New file.
14926 * elf/tst-ptrguard1-static.c: New file.
14927 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14928 * sysdeps/i386/stackguard-macros.h: Likewise.
14929 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14930 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14931 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14932 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14933 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14934 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14935
149362013-09-23 Hector Marco <hecmargi@upv.es>
14937 Ismael Ripoll <iripoll@disca.upv.es>
14938 Carlos O'Donell <carlos@redhat.com>
14939
14940 [BZ #15754]
14941 * sysdeps/generic/stackguard-macros.h: Define
14942 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14943 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14944 Define __pointer_chk_guard_local.
14945 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14946 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14947
f5f4e7b4
VV
149482013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14949
14950 [BZ #15859]
14951 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14952
5bb43a43
AS
149532013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14954
14955 * include/string.h (__ffs): Declare as hidden.
14956 * string/ffs.c (__ffs): Define as hidden.
14957 * sysdeps/i386/ffs.c (__ffs): Likewise.
14958 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14959 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14960 * sysdeps/s390/ffs.c (__ffs): Likewise.
14961 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14962
3ea5be54
AO
149632013-09-20 Alexandre Oliva <aoliva@redhat.com>
14964
ffb89e53
AO
14965 * NEWS: Mention malloc probes.
14966
322dea08
AO
14967 * malloc/arena.c (new_heap): New memory_heap_new probe.
14968 (grow_heap): New memory_heap_more probe.
14969 (shrink_heap): New memory_heap_less probe.
14970 (heap_trim): New memory_heap_free probe.
14971 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14972 (systrim): New memory_sbrk_less probe.
14973 * manual/probes.texi: Document them.
14974
655673f3
AO
14975 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14976 * manual/probes.texi: Document it.
14977
35fed6f1
AO
14978 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14979 (__libc_realloc): Add memory_realloc_retry probe.
14980 (__libc_memalign): Add memory_memalign_retry probe.
14981 (__libc_valloc): Add memory_valloc_retry probe.
14982 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14983 (__libc_calloc): Add memory_calloc_retry probe.
14984 * manual/probes.texi: Document them.
14985
6999d38c
AO
14986 * malloc/arena.c (get_free_list): Add probe
14987 memory_arena_reuse_free_list.
14988 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14989 and memory_arena_reuse.
14990 (arena_get2) [!PER_THREAD]: Likewise.
14991 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14992 memory_arena_reuse_realloc.
14993 * manual/probes.texi: Document them.
14994
0653427f
AO
14995 * malloc/malloc.c (__libc_free): Add
14996 memory_mallopt_free_dyn_thresholds probe.
14997 (__libc_mallopt): Add multiple memory_mallopt probes.
14998 * manual/probes.texi: Document them.
14999
3ea5be54
AO
15000 * malloc/malloc.c: Include stap-probe.h.
15001 (__libc_mallopt): Add memory_mallopt probe.
15002 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15003 * manual/probes.texi: New.
15004 * manual/Makefile (chapters): Add probes.
15005 * manual/threads.texi: Set next node.
15006
e35696c3 150072013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 15008
e35696c3
CL
15009 [BZ #15963, #13985]
15010 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15011 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15012 Add `Chinese' to `nan' entry name.
15013
4aafb73c
SP
150142013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15015
15016 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15017 (POLYNOMIAL): Likewise.
15018 (TAYLOR_SINCOS): Likewise.
15019 (TAYLOR_SLOW): Likewise.
15020 (__sin): Use TAYLOR_SINCOS.
15021 (__cos): Likewise.
15022 (slow): Use TAYLOR_SLOW.
15023 (sloww): Likewise.
15024 (bsloww): Likewise.
15025 (csloww): Likewise.
15026
d84f25c7
LD
150272013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15028
15029 * stdlib/strtod_l.c: Fix buffer overrun.
15030
5eea0404
SP
150312013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15032
7849ff93
SP
15033 * benchtests/Makefile (bench): Add sincos.
15034 * benchtests/bench-sincos.c: New file.
15035
cfa3c886
SP
15036 * math/libm-test.inc (cos_test_data): New test inputs.
15037 (sin_test_data): Likewise.
15038
b348e1e3
SP
15039 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15040 macro.
15041 (__sin): Use it.
15042 (__cos): Likewise.
15043 (slow1): Likewise.
15044 (slow2): Likewise.
15045 (sloww1): Likewise.
15046 (sloww2): Likewise.
15047 (bsloww1): Likewise.
15048 (bsloww2): Likewise.
15049 (cslow2): Likewise.
15050 (csloww1): Likewise.
15051 (csloww2): Likewise.
15052
6cce25f8
SP
15053 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15054 function.
15055 (__sin): Use it.
15056 (__cos): Likewise.
15057
5eea0404
SP
15058 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15059 gotos.
15060 (__cos): Likewise.
15061
9c21573c
MR
150622013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15063
15064 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15065 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15066 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15067 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15068 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15069 * elf/cache.c (print_entry): Handle the new cache flags.
15070
24d22e65
JM
150712013-09-18 Joseph Myers <joseph@codesourcery.com>
15072 Aldy Hernandez <aldyh@redhat.com>
15073
15074 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15075 Change condition to [_SOFT_FLOAT].
15076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15080 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15081 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15083 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15084 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15085 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15086 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15087 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15088 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15089 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15090 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15091 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15092 declaration.
15093
d13ef066
JM
150942013-09-18 Joseph Myers <joseph@codesourcery.com>
15095
2e071de0
JM
15096 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15097 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15098 (__longjmp): Use LOAD_GP to load saved GPRs.
15099 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15100 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15101 (__sigsetjmp): Use SAVE_GP to save GPRs.
15102
d13ef066
JM
15103 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15104 Do not append -msoft-float.
15105 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15106
97a0650b
SP
151072013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15108
15109 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15110
11ca09e9
JM
151112013-09-17 Joseph Myers <joseph@codesourcery.com>
15112
15113 [BZ #15966]
15114 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15115 (_FPU_GETCW): Use initial "__" on variable and field names but not
15116 on macro parameter name.
15117 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15118 parentheses around reference to macro parameter.
15119
08ffcf34
RS
151202013-09-13 Richard Sandiford <richard@codesourcery.com>
15121
15122 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15123 prototype.
15124 (ctype_startup): Use uint32_t in cast and sizeof for
15125 ctype->charnames.
15126
ae7080d3
JL
151272013-09-11 Jia Liu <proljc@gmail.com>
15128
15129 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15130 __daddr_t_defined.
15131 [__FreeBSD__]: Likewise.
15132
5905e7b3
OB
151332013-09-11 Ondřej Bílka <neleai@seznam.cz>
15134
15135 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15136 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15137 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15138 (strchr): Remove __strchr_sse42 ifunc selection.
15139 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15140 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15141
b987c776
WN
151422013-09-11 Will Newton <will.newton@linaro.org>
15143
15144 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15145 parameter to RES. Remove hardcoded 1000 value.
15146 * benchtests/bench-skeleton.c (main): Pass RES parameter
15147 to TIMING_INIT and multiply result by 1000.
15148
ddf985af
AZ
151492013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15150
15151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15152
ffdd3181
AS
151532013-09-11 Andreas Schwab <schwab@suse.de>
15154
15155 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15156 if not defined.
15157 (O_TMPFILE) [__USE_GNU]: Define.
15158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15159 Define.
15160
b73ed247
WN
151612013-09-11 Will Newton <will.newton@linaro.org>
15162
15163 [BZ #15857]
15164 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15165 does not overflow.
15166
55e17aad
WN
151672013-09-11 Will Newton <will.newton@linaro.org>
15168
15169 [BZ #15856]
15170 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15171 does not overflow.
15172
1159a193
WN
151732013-09-11 Will Newton <will.newton@linaro.org>
15174
15175 [BZ #15855]
15176 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15177 does not overflow.
15178
5905e7b3 151792013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
15180
15181 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15182 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15183 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15184 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15185 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15186
cdfc721b
AM
151872013-09-10 Allan McRae <allan@archlinux.org>
15188
aa04af00
AM
15189 [BZ #15748]
15190 * manual/arith.texi (Parsing of Floats): Clarify
15191 cross-reference.
15192
cdfc721b
AM
15193 [BZ #15849]
15194 * manual/install.texi (Running make install): Mention
15195 --enable-pt-chown.
15196 * INSTALL: Regenerated.
15197
95e7cf29
MR
151982013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15199
15200 * csu/init-first.c (_init): Remove the !SHARED condition around
15201 FPU control word initialization.
15202 * elf/dl-support.c (_dl_fpu_control): New variable.
15203 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15204 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15205 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15206 * math/test-fpucw-static.c: New file.
15207 * math/test-fpucw-ieee.c: New file.
15208 * math/test-fpucw-ieee-static.c: New file.
15209 * math/Makefile (tests): Add `test-fpucw-ieee' and
15210 `$(tests-static)'.
15211 (tests-static): New variable.
15212 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15213 dependency to...
15214 [($(build-shared),yes)]
15215 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15216 ... this.
15217 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15218 New dependency.
15219
83e43bf0
AM
152202013-09-09 Allan McRae <allan@archlinux.org>
15221
a9f5ce09
AM
15222 [BZ #15939]
15223 * manual/string.texi (Collation Functions): Fix typo in
15224 strcoll example.
15225 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15226
34829bc2
AM
15227 [BZ #15893]
15228 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15229
3932737d
AM
15230 [BZ #15892]
15231 * libio/memstream.c (open_memstream): Fix memory leak.
15232 * libio/wmemstream.c (open_wmemstream): Likewise.
15233
83e43bf0
AM
15234 [BZ #15895]
15235 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15236
0c66b8e9
WN
152372013-09-09 Will Newton <will.newton@linaro.org>
15238
15239 * malloc/Makefile: Add tst-realloc to tests.
15240 * malloc/tst-realloc.c: New file.
15241
f6b00fd1
AM
152422013-09-09 Allan McRae <allan@archlinux.org>
15243
15244 [BZ #15844]
15245 * COPYING: Update from GNU website to fix FSF address.
15246 * COPYING.LIB: Likewise.
15247
eec55e16
DM
152482013-09-06 David S. Miller <davem@davemloft.net>
15249
15250 * po/zh_TW.po: Update Chinese (traditional) translation from
15251 translation project.
15252
1ecbb381
RS
152532013-09-06 Richard Sandiford <richard@codesourcery.com>
15254 Joseph Myers <joseph@codesourcery.com>
15255
15256 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15257 "localeinfo.h".
15258 (obstack_chunk_alloc): New macro.
15259 (obstack_chunk_free): Likewise.
15260 (record_offset): New function.
15261 (init_locale_data): Likewise.
15262 (align_locale_data): Likewise.
15263 (add_locale_empty): Likewise.
15264 (add_locale_raw_data): Likewise.
15265 (add_locale_raw_obstack): Likewise.
15266 (add_locale_string): Likewise.
15267 (add_locale_wstring): Likewise.
15268 (add_locale_uint32): Likewise.
15269 (add_locale_uint32_array): Likewise.
15270 (add_locale_char): Likewise.
15271 (start_locale_structure): Likewise.
15272 (end_locale_structure): Likewise.
15273 (start_locale_prelude): Likewise.
15274 (end_locale_prelude): Likewise.
15275 (write_locale_data): Take locale_file structure rather than an
15276 iovec.
15277 * locale/programs/locfile.h: Include "obstack.h".
15278 (struct locale_file): Change to store locale file contents instead
15279 of header.
15280 (init_locale_data): New prototype.
15281 (align_locale_data): Likewise.
15282 (add_locale_empty): Likewise.
15283 (add_locale_raw_data): Likewise.
15284 (add_locale_raw_obstack): Likewise.
15285 (add_locale_string): Likewise.
15286 (add_locale_wstring): Likewise.
15287 (add_locale_uint32): Likewise.
15288 (add_locale_uint32_array): Likewise.
15289 (add_locale_char): Likewise.
15290 (start_locale_structure): Likewise.
15291 (end_locale_structure): Likewise.
15292 (start_locale_prelude): Likewise.
15293 (end_locale_prelude): Likewise.
15294 (write_locale_data): Update prototype.
15295 * locale/programs/3level.h (struct TABLE): Remove result field.
15296 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15297 Use new locale_file interface.
15298 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15299 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15300 * locale/programs/ld-address.c (address_output): Use new
15301 locale_file interface.
15302 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15303 NO_ADD_LOCALE.
15304 (collate_finish): Don't call collseq_table_finalize.
15305 (collate_output): Use new locale_file interface.
15306 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15307 in file.
15308 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15309 (TABLE): Move defines earlier in file.
15310 (ELEMENT): Likewise.
15311 (DEFAULT): Likewise.
15312 (wctrans_table_add): Move macro and inline function earlier in
15313 file.
15314 (struct wctype_table): Move type earlier in file.
15315 (add_locale_wctype_table): New static prototype.
15316 (struct locale_ctype_t): Use logical types instead of struct iovec
15317 pointers for members.
15318 (ctype_output): Use new locale_file interface.
15319 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15320 new locale_file interface.
15321 (allocate_arrays): Update for use of new locale_file interface.
15322 * locale/programs/ld-identification.c (identification_output): Use
15323 new locale_file interface.
15324 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15325 * locale/programs/ld-messages.c (messages_output): Likewise.
15326 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15327 * locale/programs/ld-name.c (name_output): Likewise.
15328 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15329 * locale/programs/ld-paper.c (paper_output): Likewise.
15330 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15331 * locale/programs/ld-time.c (time_output): Likewise.
15332
e029e2e5
AZ
153332013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15334
15335 * benchtests/Makefile: Add memrchr benchmark.
15336 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15337 benchmark as memrchr.
15338 * benchtests/bench-memrchr-ifunc.c: New file.
15339 * benchtests/bench-memrchr.c: New file.
15340
bbf6e8e4
WN
153412013-09-06 Will Newton <will.newton@linaro.org>
15342
15343 * benchtests/Makefile (string-bench): Add memcpy.
15344
6c82a2f8
CD
153452013-09-05 Carlos O'Donell <carlos@redhat.com>
15346 Cong Wang <amwang@redhat.com>
15347
e732c5f0 15348 [BZ #15850]
6c82a2f8
CD
15349 * sysdeps/unix/sysv/linux/bits/in.h
15350 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15351 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15352 before __USE_KERNEL_IPV6_DEFS uses.
15353 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15354 IPPROTO_BEETPH.
15355 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15356 sockaddr_in6, or ipv6_mreq.
15357
5430fc65
AZ
153582013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15359
15360 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15361 memory access for final bytes in some large inputs.
15362 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15363
4660856c
AZ
153642013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15365
15366 * string/test-memrchr.c: New file.
15367 * string/test-memrchr-ifunc.c: New file.
15368 * string/Makefile: Add new memrchr testcase.
15369
bb8ea713
MF
153702013-09-05 Mike Frysinger <vapier@gentoo.org>
15371
15372 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15373 fanotify_init returns EPERM.
15374
b92a20b5
JM
153752013-09-04 Joseph Myers <joseph@codesourcery.com>
15376
15377 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15378 errors.
15379 (top level): Treat second token from macro or constant entries for
15380 allowed headers as allowed.
15381 * include/complex.h: Condition internal declarations on
15382 [!_ISOMAC].
15383 * include/fenv.h: Condition include of <stdbool.h> and internal
15384 declarations on [!_ISOMAC].
7447ccd9
CL
15385
153862013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15387
3e181dda 15388 [BZ #15923]
7447ccd9
CL
15389 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15390
3f2e46a4
JM
153912013-09-04 Joseph Myers <joseph@codesourcery.com>
15392
15393 * configure.in (--enable-versioning): Remove configure option.
15394 (libc_cv_asm_symver_directive): Remove configure test.
15395 (libc_cv_ld_version_script_option): Likewise.
15396 (VERSIONING): Remove variable and AC_SUBST.
15397 (DO_VERSIONING): Remove AC_DEFINE.
15398 * configure: Regenerated.
15399 * config.h.in (DO_VERSIONING): Remove macro.
15400 * Makerules [$(versioning) = yes]: Change conditionals to
15401 [$(build-shared) = yes].
15402 * config.make.in (versioning): Remove variable.
15403 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15404 [$(build-shared) = yes].
15405 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15406 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15407 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15408 [$(build-shared) = yes].
15409 * extra-lib.mk [$(versioning) = yes]: Likewise.
15410 * hurd/Makefile [$(versioning) = yes]: Likewise.
15411 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15412 [SHARED].
15413 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15414 [SHARED].
15415 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15416 [SHARED && !NO_HIDDEN].
15417 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15418 [SHARED].
15419 [SHARED && DO_VERSIONING]: Likewise..
15420 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15421 [$(build-shared) = yes].
15422 * manual/install.texi (--disable-versioning): Remove
15423 documentation.
15424 * INSTALL: Regenerated.
15425 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15426 to [SHARED].
15427 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15428 [$(build-shared) = yes].
15429 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15430 * sysdeps/i386/i686/multiarch/strstr-c.c
15431 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15432 [SHARED && !NO_HIDDEN].
15433 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15434 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15435 * sysdeps/powerpc/powerpc32/dl-machine.c
15436 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15437 * sysdeps/powerpc/powerpc32/sysdep.h
15438 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15439 to [SHARED && PIC && !NO_HIDDEN].
15440 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15441 conditional to [SHARED].
15442
44558701
WN
154432013-09-04 Will Newton <will.newton@linaro.org>
15444
15445 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15446 * benchtests/bench-string.h: Include bench-timing.h instead
15447 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15448 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15449 call to HP_TIMING_DIFF_INIT.
15450 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15451 instead of hp-timing.h macros.
15452 * benchtests/bench-memchr.c: Likewise.
15453 * benchtests/bench-memcmp.c: Likewise.
15454 * benchtests/bench-memcpy.c: Likewise.
15455 * benchtests/bench-memmem.c: Likewise.
15456 * benchtests/bench-memmove.c: Likewise.
15457 * benchtests/bench-memset.c: Likewise.
15458 * benchtests/bench-rawmemchr.c: Likewise.
15459 * benchtests/bench-strcasecmp.c: Likewise.
15460 * benchtests/bench-strcasestr.c: Likewise.
15461 * benchtests/bench-strcat.c: Likewise.
15462 * benchtests/bench-strchr.c: Likewise.
15463 * benchtests/bench-strcmp.c: Likewise.
15464 * benchtests/bench-strcpy.c: Likewise.
15465 * benchtests/bench-strcpy_chk.c: Likewise.
15466 * benchtests/bench-strlen.c: Likewise.
15467 * benchtests/bench-strncasecmp.c: Likewise.
15468 * benchtests/bench-strncat.c: Likewise.
15469 * benchtests/bench-strncmp.c: Likewise.
15470 * benchtests/bench-strncpy.c: Likewise.
15471 * benchtests/bench-strnlen.c: Likewise.
15472 * benchtests/bench-strpbrk.c: Likewise.
15473 * benchtests/bench-strrchr.c: Likewise.
15474 * benchtests/bench-strspn.c: Likewise.
15475 * benchtests/bench-strstr.c: Likewise.
15476
cae16d66
WN
154772013-09-04 Will Newton <will.newton@linaro.org>
15478
15479 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15480
ffa3cd7f
JM
154812013-09-03 Joseph Myers <joseph@codesourcery.com>
15482
15483 [BZ #15427]
15484 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15485 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15486 * math/libm-test.inc (lgamma_test_data): Add more tests.
15487 * sysdeps/i386/fpu/libm-test-ulps: Update.
15488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15489
8f02859f
OB
154902013-09-03 Ondřej Bílka <neleai@seznam.cz>
15491
15492 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15493 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15494 Add ifunc.
15495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15496 Add strcmp-sse2-unaligned
15497 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15498
18d43716
MF
154992013-09-02 Mike Frysinger <vapier@gentoo.org>
15500
15501 * Versions.def (libc): Add GLIBC_2.19.
15502
ac444012
MF
155032013-09-02 Mike Frysinger <vapier@gentoo.org>
15504
15505 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15506 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15507
b7835e32
JM
155082013-09-02 Joseph Myers <joseph@codesourcery.com>
15509
15510 [BZ #14155]
15511 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15512 intermediate calculations in recurrence.
15513 (__ieee754_ynf): Likewise.
15514 * math/libm-test.inc (jn_test_data): Do not allow spurious
15515 underflow exception. Add more tests.
15516 (yn_test_data): Add more tests.
15517 * sysdeps/i386/fpu/libm-test-ulps: Update.
15518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15519
8220f4f0
OB
155202013-09-02 Ondřej Bílka <neleai@seznam.cz>
15521
15522 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15523
f24a6d08
OB
155242013-08-30 Ondřej Bílka <neleai@seznam.cz>
15525
15526 * csu/init-first.c: Fix then/than typos.
15527 * locale/programs/ld-collate.c: Likewise.
15528 * locale/programs/linereader.h: Likewise.
15529 * manual/charset.texi: Likewise.
15530 * manual/filesys.texi: Likewise.
15531 * manual/stdio.texi: Likewise.
15532 * manual/string.texi: Likewise.
15533 * stdlib/fmtmsg.c: Likewise.
15534 * sysdeps/i386/stpncpy.S: Likewise.
15535 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15536 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15537 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15538 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15539
382466e0
OB
155402013-08-30 Ondřej Bílka <neleai@seznam.cz>
15541
15542 * elf/dl-open.c: Fix typos.
15543 * iconvdata/gbbig5.c: Likewise.
15544 * iconvdata/iso-2022-jp.c: Likewise.
15545 * iconv/gconv_int.h: Likewise.
15546 * iconv/loop.c: Likewise.
15547 * nis/rpcsvc/nis.h: Likewise.
15548 * resolv/ns_name.c: Likewise.
15549 * stdio-common/vfscanf.c: Likewise.
15550 * streams/stropts.h: Likewise.
15551 * sunrpc/rpc_thread.c: Likewise.
15552 * sysdeps/i386/strpbrk.S: Likewise.
15553 * sysdeps/ieee754/k_standard.c: Likewise.
15554 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15555 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15556 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15557 * sysdeps/mach/hurd/profil.c: Likewise.
15558 * sysdeps/s390/dl-procinfo.h: Likewise.
15559 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15560 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15561 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15562 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15563 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15564
0186c6e9
OB
155652013-08-30 Ondřej Bílka <neleai@seznam.cz>
15566
15567 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15568 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15569
d4e16af1
OB
155702013-08-29 Ondřej Bílka <neleai@seznam.cz>
15571
15572 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15573 aix specific files.
15574 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15575 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15576 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15577 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15578 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15579 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15580 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15581 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15582
88335980
TS
155832013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15584 Roland McGrath <roland@hack.frob.com>
15585
15586 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15587 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15588
ed479b02
ST
155892013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15590
15591 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15592 __executable_start symbol instead of _start.
15593
f1cc4c86
TS
155942013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15595
d821f07c
TS
15596 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15597 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15598 Move macros to...
15599 * sysdeps/gnu/ldsodefs.h: ... this new file.
15600
c54290cf
TS
15601 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15602 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15603 instead of ELFOSABI_LINUX.
15604
0007fc9b 15605 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
15606 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15607 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15608 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15609 Likewise.
15610 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15611 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15612 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15613 Likewise.
15614 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15615 (ibm_extended_long_double): Add ieee_nan member.
15616 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15617 (do_test): New function.
15618
f1cc4c86
TS
15619 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15620 TEST_TRUNC.
15621 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15622 functions, renamed from truncdfsf_test, trunctfsf_test,
15623 trunctfdf_test.
15624 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15625 functions.
15626 (do_test): Run all these.
15627
6f65e668
OB
156282013-08-29 Ondřej Bílka <neleai@seznam.cz>
15629
15630 * argp/argp-help.c: Fix typos.
15631 * argp/argp-parse.c: Likewise.
15632 * debug/backtracesyms.c: Likewise.
15633 * elf/elf.h: Likewise.
15634 * malloc/malloc.c: Likewise.
15635 * nis/nis_print.c: Likewise.
15636 * resolv/res_comp.c: Likewise.
15637 * stdlib/stdlib.h: Likewise.
15638 * sunrpc/clnt_tcp.c: Likewise.
15639 * sunrpc/clnt_udp.c: Likewise.
15640 * sunrpc/clnt_unix.c: Likewise.
15641 * sysdeps/unix/bsd/ptsname.c: Likewise.
15642 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15643 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
15644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15645 Likewise.
15646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15647 Likewise.
15648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15649 Likewise.
6f65e668
OB
15650 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15651
3a309239
SP
156522013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15653
15654 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15655 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15656
3b813b29
MF
156572013-08-27 Mike Frysinger <vapier@gentoo.org>
15658
15659 [BZ #15897]
15660 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15661 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15662 ($(objpfx)bug-dl-leaf): New rule.
15663 ($(objpfx)bug-dl-leaf.so): Likewise.
15664 ($(objpfx)bug-dl-leaf.out): Likewise.
15665 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15666 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15667 * dlfcn/bug-dl-leaf.c: New test.
15668 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15669 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15670 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15671 (dlclose): Likewise.
15672 (dlmopen): Likewise.
15673
8cc3269f
RM
156742013-08-27 Roland McGrath <roland@hack.frob.com>
15675
7f9d0034
RM
15676 * include/netdb.h [!_ISOMAC]:
15677 Don't include <tls.h>.
15678 (h_errno, __libc_h_errno): Move declaration and macros out of
15679 [_LIBC_REENTRANT].
15680
fb431262
RM
15681 * include/resolv.h [_RESOLV_H_]:
15682 Don't include <tls.h>.
15683 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15684 * resolv/res_libc.c: Don't include <tls.h>.
15685 (_res): Use __attribute__ ((nocommon)) in place of
15686 __attribute__ ((section (".bss"))).
15687
bd81123a
RM
15688 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15689 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15690
c4e42566
RM
15691 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15692
f890a59b
RM
15693 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15694 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15695
15696 * resolv/res_mkquery.c: Include <sys/time.h>.
15697
5d1f0a09
RM
15698 * inet/ifreq.c: Moved to ...
15699 * sysdeps/unix/ifreq.c: ... here.
15700 * inet/ifreq.c: New file, true stub version.
15701
6fcf28b3
RM
15702 * socket/sa_len.c: New file.
15703 * socket/Makefile (aux): Add it.
15704 * sysdeps/unix/sysv/linux/Makefile
15705 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15706 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15707 and #include <socket/sa_len.c>.
15708 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15709 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15710
e041fb8b
RM
15711 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15712 * bits/socket.h: ... here.
15713
8cc3269f
RM
15714 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15715 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15716 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15717
5d228a43
AS
157182013-08-27 Andreas Schwab <schwab@suse.de>
15719
45b8accc
AS
15720 [BZ #15736]
15721 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15722 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15723 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15724 * string/test-strcasecmp.c (test_main): Run tests in several
15725 locales.
15726 * string/test-strncasecmp.c (test_main): Likewise.
15727
5d228a43
AS
15728 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15729 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15730 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15731 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15732 (__strncasecmp_ssse3) [PIC]: Likewise.
15733
59d112a4
RM
157342013-08-26 Roland McGrath <roland@hack.frob.com>
15735
53234cc3
RM
15736 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15737
59d112a4
RM
15738 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15739 instead of explicitly declaring xdecrypt.
15740 * nis/nss_nis/nis-publickey.c: Likewise.
15741
595aba70
SP
157422013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15743
15744 [BZ #15890]
15745 * nscd/aicache.c: Include res_hconf.h.
15746 (addhstaiX): Initialize res_hconf.
15747
ffabd393
AS
157482013-08-26 Andreas Schwab <schwab@suse.de>
15749
15750 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15751 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15752
e0a69f5c
SP
157532013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15754
15755 * nscd/aicache.c (addhstaiX): Fix indentation.
15756
8c12f01d
MF
157572013-08-25 Mike Frysinger <vapier@gentoo.org>
15758
15759 * configure.ac: Quote $build_pt_chown test.
15760 * configure: Regenerated.
15761
8fe89494
JM
157622013-08-23 Joseph Myers <joseph@codesourcery.com>
15763
15764 [BZ #15532]
15765 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15766 * math/s_cexpf.c (__cexpf): Likewise.
15767 * math/s_cexpl.c (__cexpl): Likewise.
15768 * math/libm-test.inc (cexp_test_data): Correct expected return
15769 value for NaN + i0. Add another test.
15770
75b181d6
DM
157712013-08-22 David S. Miller <davem@davemloft.net>
15772
15773 * po/ca.po: Update Catalan translation from translation project.
936241e4 15774 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 15775
acd06bb1
JM
157762013-08-21 Joseph Myers <joseph@codesourcery.com>
15777
15778 [BZ #15797]
15779 * math/s_fdim.c (__fdim): Check for infinite arguments if result
15780 is infinite, not alongside NaN test.
15781 * math/s_fdimf.c (__fdimf): Likewise.
15782 * math/s_fdiml.c (__fdiml): Likewise.
15783 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
15784 errno is unchanged.
15785
c0c3f78a
OB
157862013-08-21 Ondřej Bílka <neleai@seznam.cz>
15787
15788 * argp/argp-help.c: Fix typos.
15789 * crypt/speeds.c: Likewise.
15790 * csu/check_fds.c: Likewise.
15791 * elf/dl-load.c: Likewise.
15792 * elf/dl-open.c: Likewise.
15793 * elf/reldep3.c: Likewise.
15794 * elf/reldep.c: Likewise.
15795 * elf/sprof.c: Likewise.
15796 * iconv/iconv_charmap.c: Likewise.
15797 * iconv/skeleton.c: Likewise.
15798 * iconv/strtab.c: Likewise.
15799 * io/lockf64.c: Likewise.
15800 * libio/libioP.h: Likewise.
15801 * resolv/gai_notify.c: Likewise.
15802 * resolv/ns_name.c: Likewise.
15803 * resolv/ns_samedomain.c: Likewise.
15804 * resolv/res_send.c: Likewise.
15805 * stdlib/random.c: Likewise.
15806 * sunrpc/rpc/xdr.h: Likewise.
15807 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15808 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15809 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15810 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15811 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15812 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15813 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15814 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15815 * sysdeps/mach/hurd/check_fds.c: Likewise.
15816 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15817 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15818 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15819 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15820 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15821 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15822 * sysdeps/pthread/aio_notify.c: Likewise.
15823 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15824 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15825 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15826 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15827 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15828
46ed1038
LD
158292013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15830
15831 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15832 version if bit_Slow_SSE4_2 is set.
15833 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15834 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15835
d400dcac
AZ
158362013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15837
15838 [BZ #15867]
15839 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15840 trampoline stack frame information.
15841 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15842 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15843 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15844 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15845 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15846 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15847 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15848 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15849 sa_flags value.
15850 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15851 interrupting a syscall and set with option SA_SIGINFO.
15852
42c8fdd8
JM
158532013-08-20 Joseph Myers <joseph@codesourcery.com>
15854
c980f2f4
JM
15855 [BZ #15531]
15856 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15857 argument is infinite.
15858 * math/s_cprojf.c (__cprojf): Likewise.
15859 * math/s_cprojl.c (__cprojl): Likewise.
15860 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15861 * math/libm-test.inc (cproj_test_data): Add more tests.
15862
0716c4fc
JM
15863 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15864
42c8fdd8
JM
15865 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15866 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15867 size. Use __ffs to determine corresponding shift.
15868
b31469d0
JM
158692013-08-20 Joseph Myers <joseph@codesourcery.com>
15870 Roland McGrath <roland@hack.frob.com>
15871
15872 * Makefile (INSTALL): Remove trailing blank lines from output of
15873 makeinfo.
15874
4e39af6e
AK
158752013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15876
15877 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15878 Align 32 bit compat elf_greg to 8 bytes.
15879
f315524e
AA
158802013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15881
15882 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15883
1326ba1a
SP
158842013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15885
15886 * string/strcoll_l.c (coll_seq): New structure.
15887 (get_next_seq_cached): New function.
15888 (get_next_seq): New function.
15889 (do_compare): New function.
15890 (STRCOLL): Use GNU style definition. Simplify implementation
15891 by using get_next_seq, get_next_seq_cached and do_compare.
15892
91ce4085
FW
158932013-08-16 Florian Weimer <fweimer@redhat.com>
15894
15895 [BZ #14699]
15896 CVE-2013-4237
15897 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15898 member.
15899 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15900 member.
15901 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15902 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15903 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15904 conditional.
15905 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15906 GETDENTS_64BIT_ALIGNED.
15907 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15908 * manual/filesys.texi (Reading/Closing Directory): Document
15909 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15910 strongly.
15911 * manual/conf.texi (Limits for Files): Add portability note to
15912 NAME_MAX, PATH_MAX.
15913 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15914
ca0a6bc4
AS
159152013-08-13 Andreas Schwab <schwab@suse.de>
15916
15917 [BZ #15749]
15918 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15919 of fabs.
15920 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15921 LDBL_MAX_EXP >= 16384]: Add tests for it.
15922
6c1fd795
DM
159232013-08-12 David S. Miller <davem@davemloft.net>
15924
15925 * version.h (RELEASE): Set to "development".
15926 (VERSION): Set to "2.18.90".
15927 * NEWS: Add 2.19 section.
15928
31ad488d
DM
159292013-08-03 David S. Miller <davem@davemloft.net>
15930
15931 * po/ko.po: Update Korean translation from translation project.
15932
db24e684
DM
159332013-08-01 David S. Miller <davem@davemloft.net>
15934
15935 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15936 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15937 Bilka.
15938
f723285b
DM
159392013-07-30 David S. Miller <davem@davemloft.net>
15940
15941 * po/fr.po: Update French translation from translation project.
15942
3cbc52db
DM
159432013-07-28 David S. Miller <davem@davemloft.net>
15944
30bbc0cc
DM
15945 * po/cs.po: Update Czech translation from translation project.
15946
3cbc52db
DM
15947 * po/sv.po: Update Swedish translation from translation project.
15948
d492e6d0
DM
159492013-07-27 David S. Miller <davem@davemloft.net>
15950
f1a7f492
DM
15951 * po/eo.po: Update Esperanto translation from translation project.
15952
90e62a4a
DM
15953 * po/vi.po: Update Vietnamese translation from translation project.
15954
d492e6d0
DM
15955 * po/de.po: Update German translation from translation project.
15956
d4baa62d
DM
159572013-07-26 David S. Miller <davem@davemloft.net>
15958
641aa7b4
DM
15959 * po/bg.po: Update Bulgarian translation from translation project.
15960
d4baa62d
DM
15961 * po/nl.po: Update Dutch translation from translation project.
15962 * po/pl.po: Update Polish translation from translation project.
15963 * po/ru.po: Update Russian translation from translation project.
15964
61a9dcb9
DM
159652013-07-24 David S. Miller <davem@davemloft.net>
15966
15967 * po/libc.pot: Update.
15968
7b1f8b58
AZ
159692013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15970
15971 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15972 variable page size.
15973 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15974 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15975 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15976
a8fc7a03
AK
159772013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15978
15979 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15980
e4608715
CD
159812013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15982 Andreas Schwab <schwab@suse.de>
15983 Roland McGrath <roland@hack.frob.com>
15984 Joseph Myers <joseph@codesourcery.com>
15985 Carlos O'Donell <carlos@redhat.com>
15986
15987 [BZ #15755]
15988 * config.h.in: Define HAVE_PT_CHOWN.
15989 * config.make.in (build-pt-chown): New variable.
15990 * configure.in (--enable-pt_chown): New configure option.
15991 * configure: Regenerate.
15992 * login/Makefile: Include Makeconfig. Build pt_chown only if
15993 build-pt-chown is enabled.
15994 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15995 pt_chown to fix pty ownership.
15996 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15997 CLOSE_ALL_FDS.
15998 * manual/install.texi (Configuring and compiling): Mention
15999 --enable-pt_chown. Add @findex for grantpt.
16000 * INSTALL: Regenerate.
16001
da2d62df
DM
160022013-07-20 David S. Miller <davem@davemloft.net>
16003
16004 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16005 difference between 32-bit and 64-bit.
16006
d7e06450
CD
160072013-07-15 Carlos O'Donell <carlos@redhat.com>
16008
16009 [BZ #15711]
16010 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16011 Avoid system header dependency with -ffreestanding.
16012 ($(objpfx)bits/syscall%d): Likewise.
16013
f959cfd7
DM
160142013-07-13 David S. Miller <davem@davemloft.net>
16015
16016 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16017 underflows from atanl/atan2l due to bug 15319.
16018 (casinh_test_data): Likewise.
16019
c61f8513
DM
160202013-07-07 David S. Miller <davem@davemloft.net>
16021
16022 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16023
72c90ed0
JA
160242013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16025
16026 * sysdeps/i386/fpu/libm-test-ulps: Update.
16027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16028
52dfbe13
SP
160292013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16030
16031 * configure.in (--enable-lock-elision): Fix message text.
16032 * INSTALL: Regenerate.
16033 * configure: Regenerate.
16034
3f169543
AZ
160352013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16036
16037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16038
521c6785
AJ
160392013-07-03 Andreas Jaeger <aj@suse.de>
16040
16041 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16042 define.
16043 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16044 (ptrace_peeksiginfo_args): Add.
16045 (__ptrace_peeksiginfo_flags): Add.
16046 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16047 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16048 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16049
d2cc15cb
AM
160502013-07-03 Allan McRae <allan@archlinux.org>
16051
16052 * sysdeps/i386/fpu/libm-test-ulps: Update.
16053
3aaeeca7
DM
160542013-07-02 David S. Miller <davem@davemloft.net>
16055
16056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16057
5314ed1a
MT
160582013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16059
16060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16061
67338156
JM
160622013-07-02 Joseph Myers <joseph@codesourcery.com>
16063
16064 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16066
1717da59
AK
160672013-07-02 Andi Kleen <ak@linux.intel.com>
16068
16069 * config.h.in (ENABLE_LOCK_ELISION): Add.
16070 * configure.in (--enable-lock-elision): Add option.
16071 * manual/install.texi: Document --enable lock elision.
16072 * configure: Regenerate
16073 * INSTALL: Regenerate.
16074
1c81621c
L
160752013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16076
16077 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16078 SSE4.2 strcasecmp for libc.a.
16079 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16080
77f01ab5
JM
160812013-07-02 Joseph Myers <joseph@codesourcery.com>
16082
16083 [BZ #13304]
16084 * soft-fp/op-common.h (_FP_FMA): New macro.
16085 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16086 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16087 (_FP_MUL_MEAT_1_imm): ... here.
16088 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16089 (_FP_MUL_MEAT_1_wide): ... here.
16090 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16091 (_FP_MUL_MEAT_1_hard): ... here.
16092 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16093 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16094 (_FP_MUL_MEAT_2_wide): ... here.
16095 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16096 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16097 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16098 (_FP_MUL_MEAT_2_gmp): ... here.
16099 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16100 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16101 (_FP_MUL_MEAT_4_wide): ... here.
16102 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16103 (_FP_MUL_MEAT_4_gmp): ... here.
16104 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16105 (_FP_WFRACBITS_DW_S): Likewise.
16106 (_FP_WFRACXBITS_DW_S): Likewise.
16107 (_FP_HIGHBIT_DW_S): Likewise.
16108 (FP_FMA_S): Likewise.
16109 (_FP_FRAC_HIGH_DW_S): Likewise.
16110 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16111 (_FP_WFRACBITS_DW_D): Likewise.
16112 (_FP_WFRACXBITS_DW_D): Likewise.
16113 (_FP_HIGHBIT_DW_D): Likewise.
16114 (FP_FMA_D): Likewise.
16115 (_FP_FRAC_HIGH_DW_D): Likewise.
16116 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16117 (_FP_WFRACBITS_DW_E): Likewise.
16118 (_FP_WFRACXBITS_DW_E): Likewise.
16119 (_FP_HIGHBIT_DW_E): Likewise.
16120 (FP_FMA_E): Likewise.
16121 (_FP_FRAC_HIGH_DW_E): Likewise.
16122 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16123 (_FP_WFRACBITS_DW_Q): Likewise.
16124 (_FP_WFRACXBITS_DW_Q): Likewise.
16125 (_FP_HIGHBIT_DW_Q): Likewise.
16126 (FP_FMA_Q): Likewise.
16127 (_FP_FRAC_HIGH_DW_Q): Likewise.
16128 * soft-fp/fmasf4.c: New file.
16129 * soft-fp/fmadf4.c: Likewise.
16130 * soft-fp/fmatf4.c: Likewise.
16131
6308fd9a
LD
161322013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16133
16134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16135 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16136 Silvermont.
16137 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16138 macro.
16139 (index_Slow_SSE4_2): Likewise.
16140 (index_Prefer_PMINUB_for_stringop): Likewise.
16141 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16142 bit_Slow_SSE4_2 is set.
16143 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16144 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16145
89cd9569
RA
161462013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16147
16148 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16149 rtld_global._dl_hwcap2.
16150 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16151 POWER8.
16152 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16153 POWER8 feature descriptions defined in _dl_hwcap2.
16154 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16155 string handling for POWER8 feature bits.
16156 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16157 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16158 _dl_powerpc_cap_flags.
16159 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16160 * sysdeps/powerpc/rtld-global-offsets.sym
16161 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16162 _dl_hwcap2 in the rtld_global_ro structure.
16163
1ae8bfe0
RA
161642013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16165
16166 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16167 hardware capabilities in support of AT_HWCAP2.
16168 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16169 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16170 GLRO(dl_hwcap2).
16171 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16172 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16173 explicitly the unknown a_type display mechanism is used.
16174 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16175 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16176 struct member.
16177 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16178 to macro prototype for AT_HWCAP2 support.
16179 * sysdeps/i386/dl-procinfo.h: Likewise.
16180 * sysdeps/s390/dl-procinfo.h: Likewise.
16181 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16182 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16183 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16184 return -1 for unknown a_type display fallback.
16185 * sysdeps/sparc/dl-procinfo.h: Likewise.
16186 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16187 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16188
8fbec010
JM
161892013-06-28 Joseph Myers <joseph@codesourcery.com>
16190
16191 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16192 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16193
0432680e
PY
161942013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16195
16196 [BZ #12492]
16197 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16198 mprotect making __stack_prot writable.
16199
ce61a2ad
NF
162002013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16201 Joseph Myers <joseph@codesourcery.com>
16202
16203 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16204 as being properly aligned.
16205
f91f1c0f
MR
162062013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16207
3d0f5d0c
MR
16208 * dlfcn/modstatic5.c: New file.
16209 * dlfcn/tststatic5.c: New file.
16210 * dlfcn/Makefile (tests): Add tststatic5.
16211 (tests-static): Likewise.
16212 (modules-names): Add modstatic5.
16213 (tststatic5-ENV): New variable.
16214 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16215
f91f1c0f
MR
16216 [BZ #15022]
16217 * elf/dl-support.c (_dl_main_map): New variable.
16218 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16219 (_dl_nns, _dl_load_adds): Set to 1.
16220 (_dl_initial_searchlist): Refer to _dl_main_map.
16221 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16222 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16223 call to _dl_get_origin.
16224 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16225 around call_map.
16226 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16227 * dlfcn/modstatic3.c: New file.
16228 * dlfcn/tststatic3.c: New file.
16229 * dlfcn/tststatic4.c: New file.
16230 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16231 (tests-static): Likewise.
16232 (modules-names): Add modstatic3.
16233 (tststatic3-ENV, tststatic4-ENV): New variables.
16234 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16235 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16236
cbe7d24b
JM
162372013-06-26 Joseph Myers <joseph@codesourcery.com>
16238
16239 * configure.in (CC): Require GCC version 4.4 or later.
16240 * configure: Regenerated.
16241 * manual/install.texi (Tools for Compilation): Update GCC version
16242 requirement.
16243 * INSTALL: Regenerated.
16244
11b8a0e1
LD
162452013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16246
16247 [BZ #15674]
bb5bb87c
L
16248 * string/test-memcmp.c (check2): New.
16249 (main): Call check2.
16250
11b8a0e1
LD
16251 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16252
b0037103
MR
162532013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16254
16255 [BZ #15022]
16256 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16257 over to...
16258 (dl_open_worker) [!SHARED]: ... here.
16259
c18c701d
RA
162602013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16261
16262 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16263
1d17fa5f
RH
162642013-06-25 Richard Henderson <rth@redhat.com>
16265
16266 * locale/programs/locarchive.c: Include <libc-internal.h>
16267
8fcb833a
JM
162682013-06-25 Joseph Myers <joseph@codesourcery.com>
16269
16270 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16271 trailing whitespace removed.
16272
17db6e8d
MF
162732013-06-24 Mike Frysinger <vapier@gentoo.org>
16274
16275 [BZ #10283]
17db6e8d
MF
16276 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16277 * locale/programs/locarchive.c: Include libc-mmap.h.
16278 (prepare_address_space): Take two new outputs (the mmap base and len).
16279 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16280 values.
16281 (create_archive): Declare new mmap base and len values for
16282 prepare_address_space, and store the result in ah.
16283 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16284 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16285 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16286 Declare new mmap base and len values for
16287 prepare_address_space, and store the result in new_ah.
16288 (open_archive): Declare new mmap base and len values for
16289 prepare_address_space, and store the result in ah.
16290 (close_archive): If ah->mmap_base is not NULL, use that and
16291 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16292 * sysdeps/generic/libc-mmap.h: New file.
16293
d605071e
MF
162942013-06-24 Mike Frysinger <vapier@gentoo.org>
16295
16296 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16297 (ALIGN_UP): Likewise.
16298 (PTR_ALIGN_DOWN): Likewise.
16299 (PTR_ALIGN_UP): Likewise.
16300
2f063a6e
RA
163012013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16302
16303 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16304 entry mapped to PPC_PLATFORM_POWER8.
16305 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16306 POWER8.
16307 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16308 (_dl_string_platform): Add case for exporting platform position for
16309 POWER8.
16310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16311 search path to sysdeps/powerpc/powerpc32/power8 directory.
16312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16313 search path to sysdeps/powerpc/powerpc64/power8 directory.
16314 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16315 power7 directories.
16316 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16317 power7 directories.
16318
a31ee4b3
SP
163192013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16320
a74ca98f
SP
16321 * INSTALL: Regenerate.
16322
a31ee4b3
SP
16323 * nscd/connections.c (nscd_init): Fix comment.
16324
695c378f
JM
163252013-06-22 Joseph Myers <joseph@codesourcery.com>
16326
d8412221
JM
16327 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16328
695c378f
JM
16329 [BZ #15667]
16330 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16331 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16332
d1d54715
MR
163332013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16334
16335 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16336 DL_DST_REQ_STATIC.
16337 (DL_DST_REQ_STATIC): Remove macro.
16338
8fdda7af
JM
163392013-06-21 Joseph Myers <joseph@codesourcery.com>
16340
16341 [BZ #7006]
16342 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16343 with a shift of 0 bits.
16344
f3bc5e5a
MR
163452013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16346
16347 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16348 $(tststatic-ENV).
16349
be09e8c9
KK
163502013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16351
16352 [BZ #15655]
16353 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16354
85c2e611
AZ
163552013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16356
16357 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16358 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16359 accepts -fno-tree-loop-distribute-patterns.
16360 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16361 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16362 recursive call.
16363 * string/memset.c (memset): Likewise.
16364 * string/test-memmove.c (simple_memmove): Disable loop transformation
16365 to library calls.
16366 * string/test-memset.c (simple_memset): Likewise.
16367 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16368 * benchtests/bench-memset.c (simple_memset): Likewise.
16369 * configure: Regenerated.
16370
c91e0825
JM
163712013-06-20 Joseph Myers <joseph@codesourcery.com>
16372
b8c792af
JM
16373 * math/test-misc.c (main): Ignore fesetround failure when failures
16374 of subsequent rounding tests would be ignored.
16375
c91e0825
JM
16376 [BZ #15654]
16377 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16378 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16379 * math/fegetenv.c (__fegetenv): Return 0.
16380 * math/fegetexcept.c (fegetexcept): Return 0.
16381 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16382 FE_TONEAREST.
16383 * math/feholdexcpt.c (feholdexcept): Return 0.
16384 * math/fesetenv.c (__fesetenv): Return 0.
16385 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16386 argument FE_TONEAREST.
16387 * math/feupdateenv.c (__feupdateenv): Return 0.
16388 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16389
bfcacbde
RM
163902013-06-18 Roland McGrath <roland@hack.frob.com>
16391
16392 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16393 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16394 ($(objpfx)rtld-%.os rules): Use them.
16395
e55a9b25
AZ
163962013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16397
16398 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16399 fields.
16400
346d65b3
RM
164012013-06-17 Roland McGrath <roland@hack.frob.com>
16402
12086fb4
RM
16403 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16404 length of target pattern, then descending length of dependency pattern.
16405 * configure.in (AWK): Require gawk 3.1.2 or newer.
16406 * manual/install.texi (Tools for Compilation): Say that we do.
16407 * configure: Regenerated.
16408
346d65b3
RM
16409 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16410 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16411 * scripts/sysd-rules.awk: ... this new script.
16412 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16413 than a glob-style pattern.
16414
1a846317
JM
164152013-06-17 Joseph Myers <joseph@codesourcery.com>
16416
16417 * math/test-misc.c (main): Do not treat incorrectly rounded
16418 conversions as failure unless ROUNDING_TESTS passes.
16419
8fc75e6f
JM
164202013-06-15 Joseph Myers <joseph@codesourcery.com>
16421
3711a167
JM
16422 [BZ #15631]
16423 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16424 restore exception state around main square root computation, then
16425 check for inexactness explicitly.
16426
8fc75e6f
JM
16427 * math/libm-test.inc (fma_test_data): Add another test.
16428
61dd6208
SP
164292013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16430
adf23d2c
SP
16431 * manual/threads.texi (Non-POSIX Extensions): New document
16432 node. Document pthread_getattr_default_np and
16433 pthread_setattr_default_np.
16434
61dd6208
SP
16435 * Versions.def (libpthread): Add GLIBC_2.18.
16436 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16438 Likewise.
16439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16440 Likewise.
16441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16442 Likewise.
16443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16444 Likewise.
16445 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16446 Likewise.
16447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16448 Likewise.
16449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16450 Likewise.
16451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16452 Likewise.
16453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16454 Likewise.
16455
d086fc7b
LD
164562013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16457
16458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16459 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16460
747ef469
SP
164612013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16462 H.J. Lu <hjl.tools@gmail.com>
16463
16464 [BZ #15627]
16465 * sysdeps/x86_64/rtld-memset.c: Remove file.
16466 * sysdeps/x86_64/rtld-memset.S: New file.
16467
1b2feed2
JM
164682013-06-14 Joseph Myers <joseph@codesourcery.com>
16469
16470 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16471 (test_in_one_mode): Take arguments for whether the rounding mode
16472 is supported for each floating-point type.
16473 (do_test): Pass new arguments to test_in_one_mode using
16474 ROUNDING_TESTS.
16475
a58ad3f8
RM
164762013-06-13 Roland McGrath <roland@hack.frob.com>
16477
16478 * posix/tst-waitid.c (do_test): Distinguish different instances of
16479 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16480 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16481 before entering the kernel for waitpid.
16482
c204ab28
SP
164832013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16484
16485 * NEWS: Fix note on clock function precision. Text by Roland
16486 McGrath.
16487
f4a29fba
RM
164882013-06-13 Roland McGrath <roland@hack.frob.com>
16489
16490 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16491 it into place only when and if the sanity check passes.
16492
1f24b9ad
JM
164932013-06-13 Joseph Myers <joseph@codesourcery.com>
16494
16495 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16496 output for whether conversion result is exact. Take argument
16497 indicating whether type is IBM long double.
16498 (round_for_all): Change need_exact field to ibm_ld.
16499 * stdlib/tst-strtod-round.c (struct exactness): New type.
16500 (struct test): Change bool ld_ok field to struct exactness exact.
16501 (TEST): Update all definitions for change to field.
16502 (tests): Regenerate array contents.
16503 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16504 field value. Check for IBM long double here.
16505 (do_test): Update calls to test_in_one_mode.
16506
58206c68
SP
165072013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16508
16509 [BZ #12515]
16510 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16511 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16512
2d6f4c5b 165132013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
16514
16515 [BZ #15605]
16516 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16517 generated by the compiler on loop optimizations.
16518 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16519 general definitions.
16520
94f2c076
JM
165212013-06-12 Joseph Myers <joseph@codesourcery.com>
16522
16523 * math/bug-nextafter.c: Include <math-tests.h>.
16524 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16525 the relevant type.
16526 * math/bug-nexttoward.c: Include <math-tests.h>.
16527 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16528 the relevant type.
16529 * math/test-misc.c: Include <math-tests.h>.
16530 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16531 the relevant type.
16532
e0e50a0a
AJ
165332013-06-12 Andreas Jaeger <aj@suse.de>
16534
16535 * po/ia.po: Update Interlingua translation from translation
16536 project.
16537
25061094
SP
165382013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16539
16540 * include/fenv.h: Include stdbool.h.
16541 (struct rm_ctx): New structure.
16542 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16543 Define macro.
16544 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16545 (SET_RESTORE_ROUNDF): Likewise.
16546 (SET_RESTORE_ROUNDL): Likewise.
16547 (SET_RESTORE_ROUND_NOEX): Likewise.
16548 (SET_RESTORE_ROUND_NOEXF): Likewise.
16549 (SET_RESTORE_ROUND_NOEXL): Likewise.
16550 (SET_RESTORE_ROUND_53BIT): Likewise.
16551 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16552 (libc_feresetround_noexf_ctx): Likewise.
16553 (libc_feresetround_noexl_ctx): Likewise.
16554 (libc_feholdsetround_53bit_ctx): Likewise.
16555 (libc_feresetround_53bit_ctx): Likewise.
16556 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16557 (libc_feholdexcept_setround_sse_ctx): New function.
16558 (libc_fesetenv_sse_ctx): Likewise.
16559 (libc_feupdateenv_sse_ctx): Likewise.
16560 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16561 (libc_feholdexcept_setround_387_ctx): Likewise.
16562 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16563 (libc_feholdsetround_387_prec_ctx): Likewise.
16564 (libc_feholdsetround_387_ctx): Likewise.
16565 (libc_feholdsetround_387_53bit_ctx): Likewise.
16566 (libc_feholdsetround_sse_ctx): Likewise.
16567 (libc_feresetround_sse_ctx): Likewise.
16568 (libc_feresetround_387_ctx): Likewise.
16569 (libc_feupdateenv_387_ctx): Likewise.
16570 (libc_feholdexcept_setroundf_ctx): Define macro.
16571 (libc_fesetenvf_ctx): Likewise.
16572 (libc_feupdateenvf_ctx): Likewise.
16573 (libc_feholdsetroundf_ctx): Likewise.
16574 (libc_feresetroundf_ctx): Likewise.
16575 (libc_feholdexcept_setround_ctx): Likewise.
16576 (libc_fesetenv_ctx): Likewise.
16577 (libc_feupdateenv_ctx): Likewise.
16578 (libc_feholdsetround_ctx): Likewise.
16579 (libc_feresetround_ctx): Likewise.
16580 (libc_feholdexcept_setroundl_ctx): Likewise.
16581 (libc_feupdateenvl_ctx): Likewise.
16582 (libc_feholdsetroundl_ctx): Likewise.
16583 (libc_feresetroundl_ctx): Likewise.
16584 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16585 (libc_feresetround_53bit_ctx): Likewise.
16586
59b30555
SP
165872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16588
16589 * locale/iso-639.def: Convert to UTF-8.
16590
f1d73d30
JM
165912013-06-11 Joseph Myers <joseph@codesourcery.com>
16592
16593 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16594 (EXCEPTION_TESTS_double): Likewise.
16595 (EXCEPTION_TESTS_long_double): Likewise.
16596 (EXCEPTION_TESTS): Likewise.
16597 * math/libm-test.inc (test_exceptions): Only test exceptions if
16598 EXCEPTION_TESTS (FLOAT).
16599
94aca5e7
SP
166002013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16601
16602 * benchtests/Makefile (string-bench): Add strcpy_chk and
16603 stpcpy_chk.
16604 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16605 * benchtests/bench-stpcpy_chk.c: New file.
16606 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16607 * benchtests/bench-strcpy_chk.c: New file.
16608 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16609 code.
16610 (do_test): Likewise.
16611
fac0c5f2
RA
166122013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16613
16614 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16615 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16616 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16617 with tabs where appropriate.
16618 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16619 dl-procinfo.h.
16620 [PPC_PLATFORM_PPC440]: Likewise.
16621 [PPC_PLATFORM_PPC464]: Likewise.
16622 [PPC_PLATFORM_PPC476]: Likewise.
16623 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16624 ppc464, and ppc476 platform strings merging from ports/
16625 dl-procinfo.h.
16626
f22bc486
AS
166272013-06-11 Andreas Schwab <schwab@suse.de>
16628
16629 [BZ #14991]
16630 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16631 (from_ucs4_idx): Regenerate.
16632 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16633 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16634 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16635 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16636 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16637 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16638 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16639 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16640 from FROM_LOOP and TO_LOOP specific macros.
16641 (BODY): Handle combining characters.
16642 * iconvdata/BIG5HKSCS.irreversible: Update.
16643 * iconvdata/BIG5HKSCS.precomposed: New file.
16644 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16645 characters.
16646 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16647
c1f75dc3
SP
166482013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16649
4eacded2
SP
16650 * include/sys/time.h: Fix indentation and add copyright header.
16651
fec799f8
SP
16652 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16653 (do_test): Likewise.
16654 * string/test-memchr.c (do_one_test): Likewise.
16655 (do_test): Likewise.
16656 * string/test-memcmp.c (do_one_test): Likewise.
16657 (do_test): Likewise.
16658 * string/test-memcpy.c (do_one_test): Likewise.
16659 (do_test): Likewise.
16660 * string/test-memmem.c (do_one_test): Likewise.
16661 (do_test): Likewise.
16662 (do_random_tests): Likewise.
16663 * string/test-memmove.c (do_one_test): Likewise.
16664 (do_test): Likewise.
16665 * string/test-memset.c (do_one_test): Likewise.
16666 (do_test): Likewise.
16667 * string/test-rawmemchr.c (do_one_test): Likewise.
16668 (do_test): Likewise.
16669 * string/test-strcasecmp.c (do_one_test): Likewise.
16670 (do_test): Likewise.
16671 * string/test-strcasestr.c (do_one_test): Likewise.
16672 (do_test): Likewise.
16673 * string/test-strcat.c (do_one_test): Likewise.
16674 (do_test): Likewise.
16675 * string/test-strchr.c (do_one_test): Likewise.
16676 (do_test): Likewise.
16677 * string/test-strcmp.c (do_one_test): Likewise.
16678 (do_test): Likewise.
16679 * string/test-strcpy.c (do_one_test): Likewise.
16680 (do_test): Likewise.
16681 * string/test-string.h: Likewise.
16682 (test_init): Likewise.
16683 * string/test-strlen.c (do_one_test): Likewise.
16684 (do_test): Likewise.
16685 * string/test-strncasecmp.c (do_one_test): Likewise.
16686 (do_test): Likewise.
16687 * string/test-strncat.c (do_one_test): Likewise.
16688 (do_test): Likewise.
16689 * string/test-strncmp.c (do_one_test): Likewise.
16690 (do_test_limit): Likewise.
16691 (do_test): Likewise.
16692 * string/test-strncpy.c (do_one_test): Likewise.
16693 (do_test): Likewise.
16694 * string/test-strnlen.c (do_one_test): Likewise.
16695 (do_test): Likewise.
16696 * string/test-strpbrk.c (do_one_test): Likewise.
16697 (do_test): Likewise.
16698 * string/test-strrchr.c (do_one_test): Likewise.
16699 (do_test): Likewise.
16700 * string/test-strspn.c (do_one_test): Likewise.
16701 (do_test): Likewise.
16702 * string/test-strstr.c (do_one_test): Likewise.
16703 (do_test): Likewise.
16704
97020474
SP
16705 * benchtests/Makefile (string-bench): Add string benchmarks.
16706 * benchtests/bench-bcopy-ifunc.c: New file.
16707 * benchtests/bench-bcopy.c: New file.
16708 * benchtests/bench-bzero-ifunc.c: New file.
16709 * benchtests/bench-bzero.c: New file.
16710 * benchtests/bench-memccpy-ifunc.c: New file.
16711 * benchtests/bench-memccpy.c: New file.
16712 * benchtests/bench-memchr-ifunc.c: New file.
16713 * benchtests/bench-memchr.c: New file.
16714 * benchtests/bench-memcmp-ifunc.c: New file.
16715 * benchtests/bench-memcmp.c: New file.
16716 * benchtests/bench-memmem-ifunc.c: New file.
16717 * benchtests/bench-memmem.c: New file.
16718 * benchtests/bench-memmove-ifunc.c: New file.
16719 * benchtests/bench-memmove.c: New file.
16720 * benchtests/bench-mempcpy-ifunc.c: New file.
16721 * benchtests/bench-mempcpy.c: New file.
16722 * benchtests/bench-memset-ifunc.c: New file.
16723 * benchtests/bench-memset.c: New file.
16724 * benchtests/bench-rawmemchr-ifunc.c: New file.
16725 * benchtests/bench-rawmemchr.c: New file.
16726 * benchtests/bench-stpcpy-ifunc.c: New file.
16727 * benchtests/bench-stpcpy.c: New file.
16728 * benchtests/bench-stpncpy-ifunc.c: New file.
16729 * benchtests/bench-stpncpy.c: New file.
16730 * benchtests/bench-strcasecmp-ifunc.c: New file.
16731 * benchtests/bench-strcasecmp.c: New file.
16732 * benchtests/bench-strcasestr-ifunc.c: New file.
16733 * benchtests/bench-strcasestr.c: New file.
16734 * benchtests/bench-strcat-ifunc.c: New file.
16735 * benchtests/bench-strcat.c: New file.
16736 * benchtests/bench-strchr-ifunc.c: New file.
16737 * benchtests/bench-strchr.c: New file.
16738 * benchtests/bench-strchrnul-ifunc.c: New file.
16739 * benchtests/bench-strchrnul.c: New file.
16740 * benchtests/bench-strcmp-ifunc.c: New file.
16741 * benchtests/bench-strcmp.c: New file.
16742 * benchtests/bench-strcpy-ifunc.c: New file.
16743 * benchtests/bench-strcpy.c: New file.
16744 * benchtests/bench-strcspn-ifunc.c: New file.
16745 * benchtests/bench-strcspn.c: New file.
16746 * benchtests/bench-strlen-ifunc.c: New file.
16747 * benchtests/bench-strlen.c: New file.
16748 * benchtests/bench-strncasecmp-ifunc.c: New file.
16749 * benchtests/bench-strncasecmp.c: New file.
16750 * benchtests/bench-strncat-ifunc.c: New file.
16751 * benchtests/bench-strncat.c: New file.
16752 * benchtests/bench-strncmp-ifunc.c: New file.
16753 * benchtests/bench-strncmp.c: New file.
16754 * benchtests/bench-strncpy-ifunc.c: New file.
16755 * benchtests/bench-strncpy.c: New file.
16756 * benchtests/bench-strnlen-ifunc.c: New file.
16757 * benchtests/bench-strnlen.c: New file.
16758 * benchtests/bench-strpbrk-ifunc.c: New file.
16759 * benchtests/bench-strpbrk.c: New file.
16760 * benchtests/bench-strrchr-ifunc.c: New file.
16761 * benchtests/bench-strrchr.c: New file.
16762 * benchtests/bench-strspn-ifunc.c: New file.
16763 * benchtests/bench-strspn.c: New file.
16764 * benchtests/bench-strstr-ifunc.c: New file.
16765 * benchtests/bench-strstr.c: New file.
16766
c1f75dc3
SP
16767 * benchtests/Makefile: Disable parallel execution of targets.
16768 (string-bench): Add memcpy.
16769 (benchset): New variable to store a list of benchmark sets.
16770 (bench-func): Renamed from bench.
16771 (bench-set): New target.
16772 (bench): Depend on bench-func and bench-set.
16773 * benchtests/README: Add section on benchmark sets.
16774 * benchtests/bench-memcpy-ifunc.c: New file.
16775 * benchtests/bench-memcpy.c: New file.
16776 * benchtests/bench-string.h: New file.
16777
50fd745b
AS
167782013-06-11 Andreas Schwab <schwab@suse.de>
16779
16780 [BZ #15577]
16781 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16782 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16783 values in the triple.
16784 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16785 terminator in the group key.
16786
3ee7e9fe
AJ
167872013-06-11 Andreas Jaeger <aj@suse.de>
16788
16789 * po/zh_TW.po: Update Chinese (traditional) translation from
16790 translation project.
16791
89fb6835
SP
167922013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16793
16794 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16795 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16796 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16797 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16798 (clock_getcpuclockid): Likewise.
16799 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16800 Add weak_alias and libc_hidden_def.
16801 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16802 * rt/clock_gettime.c (clock_gettime): Rename to
16803 __clock_gettime. Add weak_alias and libc_hidden_def.
16804 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16805 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16806 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16807 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16808 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16809 Likewise.
16810 * rt/clock_settime.c (clock_settime): Rename to
16811 __clock_settime. Add weak_alias and libc_hidden_def.
16812 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16813
0efa6f8b
JM
168142013-06-10 Joseph Myers <joseph@codesourcery.com>
16815
b8c61b4b
JM
16816 * mach/err_boot.sub: Remove trailing whitespace.
16817 * mach/err_ipc.sub: Likewise.
16818 * mach/err_mach.sub: Likewise.
16819
0efa6f8b
JM
16820 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16821 (ROUNDING_TESTS_double): Likewise.
16822 (ROUNDING_TESTS_long_double): Likewise.
16823 (ROUNDING_TESTS): Likewise.
16824 * math/libm-test.inc: Include <math-tests.h>.
16825 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16826 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16827 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16828 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16829
50b818bf
SP
168302013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16831
16832 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16833 of assigning.
16834
60d2f8f3
JM
168352013-06-08 Joseph Myers <joseph@codesourcery.com>
16836
4902d2c3
JM
16837 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16838 otherwise empty TRANS lines.
16839 * sysdeps/gnu/errlist.c: Regenerated.
16840
60d2f8f3
JM
16841 * catgets/gencat.c (error_print): Use (void) in function
16842 definition.
16843 * crypt/crypt_util.c (__init_des): Likewise.
16844 * crypt/speeds.c (Stop): Likewise.
16845 (main): Likewise.
16846 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16847 * inet/ruserpass.c (token): Likewise.
16848 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16849 * intl/localealias.c (extend_alias_table): Likewise.
16850 * intl/plural-exp.c (init_germanic_plural): Likewise.
16851 * libio/fcloseall.c (__fcloseall): Likewise.
16852 * libio/genops.c (_IO_flush_all): Likewise.
16853 (_IO_flush_all_linebuffered): Likewise.
16854 (_IO_cleanup): Likewise.
16855 (_IO_iter_begin): Likewise.
16856 (_IO_iter_end): Likewise.
16857 (_IO_list_lock): Likewise.
16858 (_IO_list_unlock): Likewise.
16859 (_IO_list_resetlock): Likewise.
16860 * libio/getchar.c (getchar): Likewise.
16861 * libio/getchar_u.c (getchar_unlocked): Likewise.
16862 * libio/getwchar.c (getwchar): Likewise.
16863 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16864 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16865 * login/getpt.c (__getpt): Likewise.
16866 * login/tst-utmp.c (main): Likewise.
16867 * malloc/hooks.c (__malloc_check_init): Likewise.
16868 * malloc/malloc.c (__malloc_stats): Likewise.
16869 * malloc/mtrace.c (tr_break): Likewise.
16870 (mtrace): Likewise.
16871 (muntrace): Likewise.
16872 * misc/fstab.c (endfsent): Likewise.
16873 * misc/getclktck.c (__getclktck): Likewise.
16874 * misc/getdtsz.c (__getdtablesize): Likewise.
16875 * misc/gethostid.c (gethostid): Likewise.
16876 * misc/getpagesize.c (__getpagesize): Likewise.
16877 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16878 (__get_nprocs): Likewise.
16879 (__get_phys_pages): Likewise.
16880 (__get_avphys_pages): Likewise.
16881 * misc/getttyent.c (getttyent): Likewise.
16882 (setttyent): Likewise.
16883 (endttyent): Likewise.
16884 * misc/getusershell.c (getusershell): Likewise.
16885 (endusershell): Likewise.
16886 (setusershell): Likewise.
16887 (initshells): Likewise.
16888 * misc/hsearch.c (__hdestroy): Likewise.
16889 * misc/sync.c (sync): Likewise.
16890 * misc/syslog.c (closelog_internal): Likewise.
16891 (closelog): Likewise.
16892 * misc/ttyslot.c (ttyslot): Likewise.
16893 * misc/vhangup.c (vhangup): Likewise.
16894 * posix/fork.c (__fork): Likewise.
16895 * posix/getegid.c (__getegid): Likewise.
16896 * posix/geteuid.c (__geteuid): Likewise.
16897 * posix/getgid.c (__getgid): Likewise.
16898 * posix/getpid.c (__getpid): Likewise.
16899 * posix/getppid.c (__getppid): Likewise.
16900 * posix/getuid.c (__getuid): Likewise.
16901 * posix/pause.c (pause): Likewise.
16902 * posix/setpgrp.c (setpgrp): Likewise.
16903 * posix/setsid.c (__setsid): Likewise.
16904 * posix/test-vfork.c (noop): Likewise.
16905 * resolv/gethnamaddr.c (_endhtent): Likewise.
16906 (_gethtent): Likewise.
16907 (ht_endhostent): Likewise.
16908 (gethostent): Likewise.
16909 (dns_service): Likewise.
16910 * stdlib/drand48.c (drand48): Likewise.
16911 * stdlib/lrand48.c (lrand48): Likewise.
16912 * stdlib/mrand48.c (mrand48): Likewise.
16913 * stdlib/rand.c (rand): Likewise.
16914 * stdlib/random.c (__random): Likewise.
16915 * stdlib/setenv.c (clearenv): Likewise.
16916 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16917 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16918 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16919 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16920 (__get_nprocs): Likewise.
16921 (__get_phys_pages): Likewise.
16922 (__get_avphys_pages): Likewise.
16923 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16924 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16925 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16926 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16927 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16928 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16929 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16930 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16931 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16932 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16933 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16934 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16935 * sysdeps/posix/clock.c (clock): Likewise.
16936 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16937 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16938 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16939 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16940 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16941 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16942 (__get_nprocs_conf): Likewise.
16943 (__get_phys_pages): Likewise.
16944 (__get_avphys_pages): Likewise.
16945 * time/clock.c (clock): Likewise.
16946 * time/tzset.c (__tzname_max): Likewise.
16947
2e09a79a
JM
169482013-06-07 Joseph Myers <joseph@codesourcery.com>
16949
16950 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16951 (__bswap_32): Do not use "register".
16952 * crypt/crypt.c (_ufc_doit_r): Likewise.
16953 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16954 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16955 * gmon/gmon.c (__monstartup): Likewise.
16956 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16957 * hurd/hurdmalloc.c (more_memory): Likewise.
16958 (malloc): Likewise.
16959 (free): Likewise.
16960 (realloc): Likewise.
16961 (malloc_fork_prepare): Likewise.
16962 (malloc_fork_parent): Likewise.
16963 (malloc_fork_child): Likewise.
16964 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16965 (_svcauth_des): Likewise.
16966 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16967 * inet/inet_net.c (inet_network): Likewise.
16968 * inet/inet_netof.c (inet_netof): Likewise.
16969 * inet/rcmd.c (__validuser2_sa): Likewise.
16970 * io/fts.c (fts_open): Likewise.
16971 (fts_load): Likewise.
16972 (fts_close): Likewise.
16973 (fts_read): Likewise.
16974 (fts_children): Likewise.
16975 (fts_build): Likewise.
16976 (fts_stat): Likewise.
16977 (fts_sort): Likewise.
16978 (fts_alloc): Likewise.
16979 (fts_lfree): Likewise.
16980 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16981 (_IO_file_xsgetn): Likewise.
16982 (_IO_file_xsgetn_mmap): Likewise.
16983 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16984 (_IO_cookie_write): Likewise.
16985 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16986 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16987 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16988 * malloc/obstack.c (_obstack_begin): Likewise.
16989 (_obstack_begin_1): Likewise.
16990 (_obstack_newchunk): Likewise.
16991 (_obstack_allocated_p): Likewise.
16992 (obstack_free): Likewise.
16993 (_obstack_memory_used): Likewise.
16994 * misc/getttyent.c (getttynam): Likewise.
16995 (getttyent): Likewise.
16996 (skip): Likewise.
16997 (value): Likewise.
16998 * misc/getusershell.c (initshells): Likewise.
16999 * misc/syslog.c (__vsyslog_chk): Likewise.
17000 * misc/ttyslot.c (ttyslot): Likewise.
17001 * nis/nis_hash.c (__nis_hash): Likewise.
17002 * posix/fnmatch_loop.c (FCT): Likewise.
17003 * posix/getconf.c (print_all): Likewise.
17004 (main): Likewise.
17005 * posix/getopt.c (exchange): Likewise.
17006 * posix/glob.c (globfree): Likewise.
17007 (prefix_array): Likewise.
17008 (__glob_pattern_type): Likewise.
17009 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17010 (NS_GET32): Likewise.
17011 (NS_PUT16): Likewise.
17012 (NS_PUT32): Likewise.
17013 * resolv/gethnamaddr.c (getanswer): Likewise.
17014 (gethostbyname2): Likewise.
17015 (gethostbyaddr): Likewise.
17016 (_gethtent): Likewise.
17017 (_gethtbyname2): Likewise.
17018 (_gethtbyaddr): Likewise.
17019 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17020 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17021 * resolv/res_init.c (__res_vinit): Likewise.
17022 (net_mask): Likewise.
17023 * resolv/res_mkquery.c (outchar): Likewise.
17024 (PRINT): Likewise.
17025 * stdio-common/printf_fp.c (outchar): Likewise.
17026 (PRINT): Likewise.
17027 * stdio-common/printf_fphex.c (outchar): Likewise.
17028 (PRINT): Likewise.
17029 * stdio-common/printf_size.c (outchar): Likewise.
17030 (PRINT): Likewise.
17031 * stdio-common/test_rdwr.c (main): Likewise.
17032 * stdio-common/tfformat.c (matches): Likewise.
17033 * stdio-common/vfprintf.c (outchar): Likewise.
17034 (printf_unknown): Likewise.
17035 (buffered_vfprintf): Likewise.
17036 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17037 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17038 (ReadFile): Likewise.
17039 * stdlib/qsort.c (SWAP): Likewise.
17040 (_quicksort): Likewise.
17041 * stdlib/setenv.c (__add_to_environ): Likewise.
17042 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17043 * stdlib/strtol_l.c (__strtol_l): Likewise.
17044 * stdlib/tst-strtod.c (main): Likewise.
17045 * stdlib/tst-strtol.c (main): Likewise.
17046 * stdlib/tst-strtoll.c (main): Likewise.
17047 * string/bits/string2.h (__strcmp_cc): Likewise.
17048 (__strcmp_cg): Likewise.
17049 (__strcspn_c1): Likewise.
17050 (__strcspn_c2): Likewise.
17051 (__strcspn_c3): Likewise.
17052 (__strspn_c1): Likewise.
17053 (__strspn_c2): Likewise.
17054 (__strspn_c3): Likewise.
17055 (__strsep_1c): Likewise.
17056 (__strsep_2c): Likewise.
17057 (__strsep_3c): Likewise.
17058 * string/memccpy.c (__memccpy): Likewise.
17059 * string/stpcpy.c (__stpcpy): Likewise.
17060 * string/strcmp.c (strcmp): Likewise.
17061 * string/strrchr.c (strrchr): Likewise.
17062 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17063 Likewise.
17064 * sysdeps/mach/hurd/getcwd.c
17065 (_hurd_canonicalize_directory_name_internal): Likewise.
17066 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17067 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17068 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17069 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17070 Likewise, in both definitions.
17071 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17072 definitions.
17073 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17074 64] (__bswap_64): Likewise.
17075 * time/test_time.c (main): Likewise.
17076 * time/tzfile.c (__tzfile_read): Likewise.
17077 (__tzfile_compute): Likewise.
17078 * time/tzset.c (__tzset_parse_tz): Likewise.
17079 (tzset_internal): Likewise.
17080 (compute_change): Likewise.
17081 * wcsmbs/wcscat.c (__wcscat): Likewise.
17082 * wcsmbs/wcschr.c (wcschr): Likewise.
17083 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17084 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17085 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17086 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17087 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17088 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17089 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17090 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17091 * wcsmbs/wmemset.c (wmemset): Likewise.
17092
9e54314b
JM
170932013-06-06 Joseph Myers <joseph@codesourcery.com>
17094
17095 * scripts/config.guess: Update to version 2013-05-16.
17096 * scripts/config.sub: Update to version 2013-04-24.
17097 * scripts/install-sh: Update to version 2011-11-20.07.
17098 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17099 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17100
350635a5
OB
171012013-06-06 Ondřej Bílka <neleai@seznam.cz>
17102
17103 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17104 * elf/sln.c: Likewise.
17105 * hurd/hurd/ioctl.h: Likewise.
17106 * hurd/hurdmalloc.c: Likewise.
17107 * hurd/xattr.c: Likewise.
17108 * include/shlib-compat.h: Likewise.
17109 * inet/ruserpass.c: Likewise.
17110 * libio/iofgets_u.c: Likewise.
17111 * libio/iofgetws_u.c: Likewise.
17112 * locale/programs/ld-identification.c: Likewise.
17113 * locale/programs/ld-time.c: Likewise.
17114 * mach/msg-destroy.c: Likewise.
17115 * nss/nss_files/files-netgrp.c: Likewise.
17116 * resolv/res_data.c: Likewise.
17117 * soft-fp/op-1.h: Likewise.
17118 * soft-fp/op-2.h: Likewise.
17119 * soft-fp/op-4.h: Likewise.
17120 * soft-fp/op-common.h: Likewise.
17121 * stdio-common/printf_fphex.c: Likewise.
17122 * stdlib/strtod_l.c: Likewise.
17123 * sunrpc/rpc/clnt.h: Likewise.
17124 * sysdeps/generic/framestate.c: Likewise.
17125 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17126 * sysdeps/i386/bsd-setjmp.S: Likewise.
17127 * sysdeps/i386/__longjmp.S: Likewise.
17128 * sysdeps/i386/setjmp.S: Likewise.
17129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17130 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17131 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17132 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17133 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17134 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17135 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17136 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17137 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17138 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17139 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17140 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17141 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17142 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17143 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17144 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17145 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17146 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17147 * sysdeps/ieee754/support.c: Likewise.
17148 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17149 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17150 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17151 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17152 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17153 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17154 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17155 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17156 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17157 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17158 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17159 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17160 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17161 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17162 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17163 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17164 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17166
44a988af
OB
171672013-06-05 Ondřej Bílka <neleai@seznam.cz>
17168
25506f09 17169 * posix/transbug.c: Remove executable mode.
44a988af 17170
9c84384c
JM
171712013-06-05 Joseph Myers <joseph@codesourcery.com>
17172
17173 * crypt/speeds.c: Remove trailing whitespace.
17174 * dlfcn/default.c: Likewise.
17175 * elf/ifuncdep2.c: Likewise.
17176 * elf/ifuncmain1.c: Likewise.
17177 * elf/ifuncmain1vis.c: Likewise.
17178 * elf/testobj.h: Likewise.
17179 * elf/tst-stackguard1.c: Likewise.
17180 * gmon/sys/gmon.h: Likewise.
17181 * hurd/hurdmsg.c: Likewise.
17182 * hurd/new-fd.c: Likewise.
17183 * hurd/ports-get.c: Likewise.
17184 * iconvdata/ibm1008_420.c: Likewise.
17185 * inet/tst-getni1.c: Likewise.
17186 * inet/tst-getni2.c: Likewise.
17187 * libio/ioungetc.c: Likewise.
17188 * libio/wfiledoalloc.c: Likewise.
17189 * manual/libm-err-tab.pl: Likewise.
17190 * math/w_dremf.c: Likewise.
17191 * misc/ftruncate.c: Likewise.
17192 * posix/bug-glob2.c: Likewise.
17193 * posix/tst-pcre.c: Likewise.
17194 * posix/wait4.c: Likewise.
17195 * resolv/README: Likewise.
17196 * resolv/res_debug.h: Likewise.
17197 * resolv/tst-inet_ntop.c: Likewise.
17198 * setjmp/bug269-setjmp.c: Likewise.
17199 * soft-fp/extended.h: Likewise.
17200 * soft-fp/op-1.h: Likewise.
17201 * soft-fp/op-2.h: Likewise.
17202 * soft-fp/op-4.h: Likewise.
17203 * soft-fp/op-8.h: Likewise.
17204 * soft-fp/testit.c: Likewise.
17205 * stdio-common/bug16.c: Likewise.
17206 * stdlib/random.c: Likewise.
17207 * sunrpc/rpcsvc/rquota.x: Likewise.
17208 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17209 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17210 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17211 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17212 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17213 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17214 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17215 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17216 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17217 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17218 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17219 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17220 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17221 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17222 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17223 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17224 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17225 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17226 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17227 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17228 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17229 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17230 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17231 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17232 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17233 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17234 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17235 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17236 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17237 * sysdeps/ieee754/s_lib_version.c: Likewise.
17238 * sysdeps/mach/hurd/check_fds.c: Likewise.
17239 * sysdeps/mach/hurd/getsockname.c: Likewise.
17240 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17241 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17242 * sysdeps/powerpc/bits/link.h: Likewise.
17243 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17244 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17245 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17246 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17247 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17248 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17249 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17250 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17251 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17252 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17253 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17254 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17255 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17256 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17257 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17258 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17259 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17260 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17261 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17262 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17263 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17264 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17265 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17266 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17267 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17268 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17269 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17270 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17271 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17272 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17273 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17274 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17275 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17276 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17277 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17278 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17279 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17280 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17281 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17282 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17283 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17284 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17285 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17286 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17287 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17288 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17289 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17290 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17291 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17292 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17293 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17294 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17295 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17296 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17297 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17298 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17299 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17300 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17301 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17302 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17303 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17304 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17305 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17306 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17307 * sysdeps/powerpc/sysdep.h: Likewise.
17308 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17309 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17310 * sysdeps/sh/dl-trampoline.S: Likewise.
17311 * sysdeps/sh/memset.S: Likewise.
17312 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17313 * sysdeps/sh/strlen.S: Likewise.
17314 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17315 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17316 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17317 * sysdeps/sparc/sparc32/rem.S: Likewise.
17318 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17319 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17320 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17321 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17322 * sysdeps/sparc/sparc32/urem.S: Likewise.
17323 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17324 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17325 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17326 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17327 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17328 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17329 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17330 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17331 * sysdeps/unix/bsd/times.c: Likewise.
17332 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17333 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17337 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17338 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17339 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17340 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17341 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17342 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17343 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17344 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17345 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17346 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17347 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17348 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17349 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17350 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17351 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17352 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17353 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17354 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17355 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17356 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17357 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17358 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17359 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17360 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17361 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17362 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17363 * sysdeps/x86_64/strcspn.S: Likewise.
17364
869378a5
RA
173652013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17366
17367 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17368 generated file. Regenerate properly from gen-translit.pl.
17369 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17370 locale/C-translit.h.
17371
840e2943
AS
173722013-06-05 Andreas Schwab <schwab@suse.de>
17373
17374 [BZ #15100]
17375 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17376 week as 6 instead of -1.
17377 * time/tst-strptime.c (day_tests): Add test case.
17378
4c60cb0c
SP
173792013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17380
17381 * sysdeps/generic/math_private.h
17382 (libc_feholdexcept_setround_53bit): Replace with
17383 libc_feholdsetround_53bit.
17384 (libc_feupdateenv_53bit): Replace with
17385 libc_feresetround_53bit.
17386 (SET_RESTORE_ROUND_53BIT): Adjust.
17387
d180203e
SP
173882013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17389
96df079a
SP
17390 * string/test-strchrnul.c: Add copyright header.
17391
d180203e
SP
17392 * posix/tst-getaddrinfo4.c: Increase test timeout.
17393
8b0ccb2d
CD
173942013-06-03 Carlos O'Donell <carlos@redhat.com>
17395
17396 [BZ #15536]
17397 * math/libm-test.inc (MAX_EXP): Remove
17398 (MIN_EXP): Define.
17399 (ulp): Use MIN_EXP - MANT_DIG.
17400 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17401
3b3c4d40
CD
174022013-05-31 Carlos O'Donell <carlos@redhat.com>
17403
17404 * po/be.po: Revert last change.
17405 * po/zh_CN.po: Likewise.
17406 * po/header.pot: Likewise.
17407
fab7ce3f
JM
174082013-05-31 Joseph Myers <joseph@codesourcery.com>
17409
17410 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17411 link-libc-deps to empty as target-specific variable.
17412 * Makerules (link-libc-args): New variable.
17413 (libc-for-link): Likewise.
17414 (link-libc-deps): Likewise.
17415 (lib%.so): Depend on $(link-libc-deps). Link with
17416 $(link-libc-args).
17417 (build-module): Link with $(link-libc-args).
17418 (build-module-asneeded): Likewise.
17419 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17420 list of objects.
17421 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17422 target-specific variable.
17423 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17424 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17425 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17426 libc.
17427 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17428 libc and ld.so.
17429 ($(objpfx)libpcprofile.so): Likewise.
17430 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17431 libc_nonshared.a.
17432 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17433 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17434 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17435 $(link-libc-deps).
17436 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17437 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17438 * login/Makefile ($(objpfx)libutil.so): Likewise.
17439 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17440 * math/Makefile ($(objpfx)libm.so): Likewise.
17441 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17442 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17443 variable instead of depending directly on libc.
17444 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17445 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17446 $(link-libc-deps).
17447 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17448 libc.
17449 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17450 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17451 ($(objpfx)libanl.so): Likewise.
17452 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17453 ld.so.
17454 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17455 $(link-libc-deps).
17456 * sysdeps/i386/fpu/Makefile: Remove file.
17457 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17458 ($(objpfx)libm.so): Remove dependency on ld.so.
17459
eca5920c
PF
174602013-05-30 Patsy Franklin <pfrankli@redhat.com>
17461
17462 [BZ # 15553]
17463 * nis/yp_xdr.c (XDRMAXNAME): Define.
17464 (XDRMAXRECORD): Define.
17465 (xdr_domainname): Use XDRMAXNAME.
17466 (xdr_mapname): Likewise.
17467 (xdr_peername): Likewise.
17468 (xdr_keydat): Use XDRMAXRECORD.
17469 (xdr_valdat): Likewise.
17470
174712013-05-30 Jeff Law <law@redhat.com>
96945714
JL
17472
17473 [BZ #14256]
17474 * manual/errno.texi (ESTALE): Update to account for more than
17475 just NFS file systems.
17476 * sysdeps/gnu/errlist.c: Regenerated.
17477
b9375348
SP
174782013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17479
17480 [BZ #15465]
17481 * elf/Makefile (tests): Add tst-null-argv.
17482 (modules-names): Add tst-null-argv-lib.
17483 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17484 (tst-null-argv-ENV): Set environment for tst-null-argv.
17485 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17486 (RTLD_PROGNAME): New macro.
17487 * elf/tst-null-argv.c: New test case.
17488 * elf/tst-null-argv-lib.c: Library for test case.
17489 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17490 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17491 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17492 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17493 * elf/dl-init.c (call_init): Likewise.
17494 (_dl_init): Likewise.
17495 * elf/dl-load.c (print_search_path): Likewise.
17496 (_dl_map_object): Likewise.
17497 * elf/dl-lookup.c (do_lookup_x): Likewise.
17498 (add_dependency): Likewise.
17499 (_dl_lookup_symbol_x): Likewise.
17500 (_dl_debug_bindings): Likewise.
17501 * elf/dl-open.c (_dl_show_scope): Likewise.
17502 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17503 * elf/dl-version.c (match_symbol): Likewise.
17504 (_dl_check_map_versions): Likewise.
17505 * elf/rtld.c (dl_main): Likewise.
17506 (print_unresolved): Use RTLD_PROGNAME.
17507 (print_missing_version): Likewise.
17508 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17509 (elf_machine_rela): Likewise.
17510 * sysdeps/powerpc/powerpc32/dl-machine.c
17511 (__process_machine_rela): Likewise.
17512 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17513 Likewise.
17514 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17515 Likewise.
17516 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17517 Likewise.
17518 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17519 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17520 Likewise.
17521 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17522 Likewise.
17523 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17524
8a9f20c8
CD
175252013-05-28 Carlos O'Donell <carlos@redhat.com>
17526
17527 * po/be.po: Add descriptive title.
17528 * po/zh_CN.po: Likewise.
17529 * po/header.pot: Likewise.
17530
0e60d68e
MF
175312013-05-28 Mike Frysinger <vapier@gentoo.org>
17532
17533 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17534 error message.
17535 (enlarge_archive): Likewise.
17536
56b672e9
BN
175372013-05-28 Ben North <ben@redfrontdoor.org>
17538
17539 * manual/arith.texi (frexp): It is the magnitude of the return
17540 value which lies in [0.5, 1), not the return value itself.
17541
5e056687
AZ
175422013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17543
17544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17545
2b66ef5d
TS
175462013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17547
528c2405
TS
17548 * stdio-common/bug26.c (main): Correct fscanf template.
17549
07b4c13d
TS
17550 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17551 declare _dl_skip_args.
17552
ec9dd97c
TS
17553 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17554 Don't declare.
17555
2b66ef5d
TS
17556 * manual/platform.texi: Add missing @end deftypefun.
17557
4f8dfe27
JM
175582013-05-24 Joseph Myers <joseph@codesourcery.com>
17559
0323d086
JM
17560 [BZ #15529]
17561 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17562 bit of mantissa of 2^16382.
17563 * math/libm-test.inc (hypot_test_data): Add more tests.
17564
dd4259b9
JM
17565 * math/libm-test.inc: Add drem and pow10 to list of tested
17566 functions.
17567 (pow10_test): New function.
17568 (drem_test): Likewise.
17569 (drem_test_tonearest): Likewise.
17570 (drem_test_towardzero): Likewise.
17571 (drem_test_downward): Likewise.
17572 (drem_test_upward): Likewise.
17573 (main): Call the new functions.
17574
4f8dfe27
JM
17575 * math/libm-test.inc (finite_test_data): Remove.
17576 (finite_test): Run tests from isfinite_test_data.
17577 (gamma_test_data): Remove.
17578 (gamma_test): Run tests from lgamma_test_data.
17579 * sysdeps/i386/fpu/libm-test-ulps: Update.
17580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17581
d116b7c4
AZ
175822013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17583
17584 * manual/platform.texi: Add PowerPC PPR function set documentation.
17585 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17586 implementation.
17587
e96e3767
CD
175882013-05-24 Carlos O'Donell <carlos@redhat.com>
17589
17590 * math/libm-test.inc (MAX_EXP): Define.
17591 (ULPDIFF): Define.
17592 (ulp): New function.
17593 (check_float_internal): Use ULPDIFF.
17594 (cpow_test): Disable failing test.
17595 (check_ulp): Test ulp() implemetnation.
17596 (main): Call check_ulp before starting tests.
17597
b679a606
JM
175982013-05-24 Joseph Myers <joseph@codesourcery.com>
17599
e8bdba36
JM
17600 * math/gen-libm-test.pl (generate_testfile): Do not handle
17601 START_DATA and END_DATA.
17602 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17603 END_DATA.
17604 (acos_tonearest_test_data): Likewise.
17605 (acos_towardzero_test_data): Likewise.
17606 (acos_downward_test_data): Likewise.
17607 (acos_upward_test_data): Likewise.
17608 (acosh_test_data): Likewise.
17609 (asin_test_data): Likewise.
17610 (asin_tonearest_test_data): Likewise.
17611 (asin_towardzero_test_data): Likewise.
17612 (asin_downward_test_data): Likewise.
17613 (asin_upward_test_data): Likewise.
17614 (asinh_test_data): Likewise.
17615 (atan_test_data): Likewise.
17616 (atanh_test_data): Likewise.
17617 (atan2_test_data): Likewise.
17618 (cabs_test_data): Likewise.
17619 (cacos_test_data): Likewise.
17620 (cacosh_test_data): Likewise.
17621 (carg_test_data): Likewise.
17622 (casin_test_data): Likewise.
17623 (casinh_test_data): Likewise.
17624 (catan_test_data): Likewise.
17625 (catanh_test_data): Likewise.
17626 (cbrt_test_data): Likewise.
17627 (ccos_test_data): Likewise.
17628 (ccosh_test_data): Likewise.
17629 (ceil_test_data): Likewise.
17630 (cexp_test_data): Likewise.
17631 (cimag_test_data): Likewise.
17632 (clog_test_data): Likewise.
17633 (clog10_test_data): Likewise.
17634 (conj_test_data): Likewise.
17635 (copysign_test_data): Likewise.
17636 (cos_test_data): Likewise.
17637 (cos_tonearest_test_data): Likewise.
17638 (cos_towardzero_test_data): Likewise.
17639 (cos_downward_test_data): Likewise.
17640 (cos_upward_test_data): Likewise.
17641 (cosh_test_data): Likewise.
17642 (cosh_tonearest_test_data): Likewise.
17643 (cosh_towardzero_test_data): Likewise.
17644 (cosh_downward_test_data): Likewise.
17645 (cosh_upward_test_data): Likewise.
17646 (cpow_test_data): Likewise.
17647 (cproj_test_data): Likewise.
17648 (creal_test_data): Likewise.
17649 (csin_test_data): Likewise.
17650 (csinh_test_data): Likewise.
17651 (csqrt_test_data): Likewise.
17652 (ctan_test_data): Likewise.
17653 (ctan_tonearest_test_data): Likewise.
17654 (ctan_towardzero_test_data): Likewise.
17655 (ctan_downward_test_data): Likewise.
17656 (ctan_upward_test_data): Likewise.
17657 (ctanh_test_data): Likewise.
17658 (ctanh_tonearest_test_data): Likewise.
17659 (ctanh_towardzero_test_data): Likewise.
17660 (ctanh_downward_test_data): Likewise.
17661 (ctanh_upward_test_data): Likewise.
17662 (erf_test_data): Likewise.
17663 (erfc_test_data): Likewise.
17664 (exp_test_data): Likewise.
17665 (exp_tonearest_test_data): Likewise.
17666 (exp_towardzero_test_data): Likewise.
17667 (exp_downward_test_data): Likewise.
17668 (exp_upward_test_data): Likewise.
17669 (exp10_test_data): Likewise.
17670 (exp2_test_data): Likewise.
17671 (expm1_test_data): Likewise.
17672 (fabs_test_data): Likewise.
17673 (fdim_test_data): Likewise.
17674 (finite_test_data): Likewise.
17675 (floor_test_data): Likewise.
17676 (fma_test_data): Likewise.
17677 (fma_towardzero_test_data): Likewise.
17678 (fma_downward_test_data): Likewise.
17679 (fma_upward_test_data): Likewise.
17680 (fmax_test_data): Likewise.
17681 (fmin_test_data): Likewise.
17682 (fmod_test_data): Likewise.
17683 (fpclassify_test_data): Likewise.
17684 (frexp_test_data): Likewise.
17685 (gamma_test_data): Likewise.
17686 (hypot_test_data): Likewise.
17687 (ilogb_test_data): Likewise.
17688 (isfinite_test_data): Likewise.
17689 (isgreater_test_data): Likewise.
17690 (isgreaterequal_test_data): Likewise.
17691 (isinf_test_data): Likewise.
17692 (isless_test_data): Likewise.
17693 (islessequal_test_data): Likewise.
17694 (islessgreater_test_data): Likewise.
17695 (isnan_test_data): Likewise.
17696 (isnormal_test_data): Likewise.
17697 (issignaling_test_data): Likewise.
17698 (isunordered_test_data): Likewise.
17699 (j0_test_data): Likewise.
17700 (j1_test_data): Likewise.
17701 (jn_test_data): Likewise.
17702 (ldexp_test_data): Likewise.
17703 (lgamma_test_data): Likewise.
17704 (lrint_test_data): Likewise.
17705 (lrint_tonearest_test_data): Likewise.
17706 (lrint_towardzero_test_data): Likewise.
17707 (lrint_downward_test_data): Likewise.
17708 (lrint_upward_test_data): Likewise.
17709 (llrint_test_data): Likewise.
17710 (llrint_tonearest_test_data): Likewise.
17711 (llrint_towardzero_test_data): Likewise.
17712 (llrint_downward_test_data): Likewise.
17713 (llrint_upward_test_data): Likewise.
17714 (log_test_data): Likewise.
17715 (log10_test_data): Likewise.
17716 (log1p_test_data): Likewise.
17717 (log2_test_data): Likewise.
17718 (logb_test_data): Likewise.
17719 (logb_downward_test_data): Likewise.
17720 (lround_test_data): Likewise.
17721 (llround_test_data): Likewise.
17722 (modf_test_data): Likewise.
17723 (nearbyint_test_data): Likewise.
17724 (nextafter_test_data): Likewise.
17725 (nexttoward_test_data): Likewise.
17726 (pow_test_data): Likewise.
17727 (pow_tonearest_test_data): Likewise.
17728 (pow_towardzero_test_data): Likewise.
17729 (pow_downward_test_data): Likewise.
17730 (pow_upward_test_data): Likewise.
17731 (remainder_test_data): Likewise.
17732 (remainder_tonearest_test_data): Likewise.
17733 (remainder_towardzero_test_data): Likewise.
17734 (remainder_downward_test_data): Likewise.
17735 (remainder_upward_test_data): Likewise.
17736 (remquo_test_data): Likewise.
17737 (rint_test_data): Likewise.
17738 (rint_tonearest_test_data): Likewise.
17739 (rint_towardzero_test_data): Likewise.
17740 (rint_downward_test_data): Likewise.
17741 (rint_upward_test_data): Likewise.
17742 (round_test_data): Likewise.
17743 (scalb_test_data): Likewise.
17744 (scalbn_test_data): Likewise.
17745 (scalbln_test_data): Likewise.
17746 (signbit_test_data): Likewise.
17747 (sin_test_data): Likewise.
17748 (sin_tonearest_test_data): Likewise.
17749 (sin_towardzero_test_data): Likewise.
17750 (sin_downward_test_data): Likewise.
17751 (sin_upward_test_data): Likewise.
17752 (sincos_test_data): Likewise.
17753 (sinh_test_data): Likewise.
17754 (sinh_tonearest_test_data): Likewise.
17755 (sinh_towardzero_test_data): Likewise.
17756 (sinh_downward_test_data): Likewise.
17757 (sinh_upward_test_data): Likewise.
17758 (sqrt_test_data): Likewise.
17759 (tan_test_data): Likewise.
17760 (tan_tonearest_test_data): Likewise.
17761 (tan_towardzero_test_data): Likewise.
17762 (tan_downward_test_data): Likewise.
17763 (tan_upward_test_data): Likewise.
17764 (tanh_test_data): Likewise.
17765 (tgamma_test_data): Likewise.
17766 (trunc_test_data): Likewise.
17767 (y0_test_data): Likewise.
17768 (y1_test_data): Likewise.
17769 (yn_test_data): Likewise.
17770 (significand_test_data): Likewise.
17771
b679a606
JM
17772 * math/gen-libm-test.pl (@functions): Remove variable.
17773 (generate_testfile): Don't handle START and END lines.
17774 * math/libm-test.inc (START): New macro.
17775 (END): Likewise.
17776 (END_COMPLEX): Likewise.
17777 (acos_test): Use END macro without arguments.
17778 (acos_test_tonearest): Likewise.
17779 (acos_test_towardzero): Likewise.
17780 (acos_test_downward): Likewise.
17781 (acos_test_upward): Likewise.
17782 (acosh_test): Likewise.
17783 (asin_test): Likewise.
17784 (asin_test_tonearest): Likewise.
17785 (asin_test_towardzero): Likewise.
17786 (asin_test_downward): Likewise.
17787 (asin_test_upward): Likewise.
17788 (asinh_test): Likewise.
17789 (atan_test): Likewise.
17790 (atanh_test): Likewise.
17791 (atan2_test): Likewise.
17792 (cabs_test): Likewise.
17793 (cacos_test): Use END_COMPLEX macro without arguments.
17794 (cacosh_test): Likewise.
17795 (carg_test): Use END macro without arguments.
17796 (casin_test): Use END_COMPLEX macro without arguments.
17797 (casinh_test): Likewise.
17798 (catan_test): Likewise.
17799 (catanh_test): Likewise.
17800 (cbrt_test): Use END macro without arguments.
17801 (ccos_test): Use END_COMPLEX macro without arguments.
17802 (ccosh_test): Likewise.
17803 (ceil_test): Use END macro without arguments.
17804 (cexp_test): Use END_COMPLEX macro without arguments.
17805 (cimag_test): Use END macro without arguments.
17806 (clog_test): Use END_COMPLEX macro without arguments.
17807 (clog10_test): Likewise.
17808 (conj_test): Likewise.
17809 (copysign_test): Use END macro without arguments.
17810 (cos_test): Likewise.
17811 (cos_test_tonearest): Likewise.
17812 (cos_test_towardzero): Likewise.
17813 (cos_test_downward): Likewise.
17814 (cos_test_upward): Likewise.
17815 (cosh_test): Likewise.
17816 (cosh_test_tonearest): Likewise.
17817 (cosh_test_towardzero): Likewise.
17818 (cosh_test_downward): Likewise.
17819 (cosh_test_upward): Likewise.
17820 (cpow_test): Use END_COMPLEX macro without arguments.
17821 (cproj_test): Likewise.
17822 (creal_test): Use END macro without arguments.
17823 (csin_test): Use END_COMPLEX macro without arguments.
17824 (csinh_test): Likewise.
17825 (csqrt_test): Likewise.
17826 (ctan_test): Likewise.
17827 (ctan_test_tonearest): Likewise.
17828 (ctan_test_towardzero): Likewise.
17829 (ctan_test_downward): Likewise.
17830 (ctan_test_upward): Likewise.
17831 (ctanh_test): Likewise.
17832 (ctanh_test_tonearest): Likewise.
17833 (ctanh_test_towardzero): Likewise.
17834 (ctanh_test_downward): Likewise.
17835 (ctanh_test_upward): Likewise.
17836 (erf_test): Use END macro without arguments.
17837 (erfc_test): Likewise.
17838 (exp_test): Likewise.
17839 (exp_test_tonearest): Likewise.
17840 (exp_test_towardzero): Likewise.
17841 (exp_test_downward): Likewise.
17842 (exp_test_upward): Likewise.
17843 (exp10_test): Likewise.
17844 (exp2_test): Likewise.
17845 (expm1_test): Likewise.
17846 (fabs_test): Likewise.
17847 (fdim_test): Likewise.
17848 (finite_test): Likewise.
17849 (floor_test): Likewise.
17850 (fma_test): Likewise.
17851 (fma_test_towardzero): Likewise.
17852 (fma_test_downward): Likewise.
17853 (fma_test_upward): Likewise.
17854 (fmax_test): Likewise.
17855 (fmin_test): Likewise.
17856 (fmod_test): Likewise.
17857 (fpclassify_test): Likewise.
17858 (frexp_test): Likewise.
17859 (gamma_test): Likewise.
17860 (hypot_test): Likewise.
17861 (ilogb_test): Likewise.
17862 (isfinite_test): Likewise.
17863 (isgreater_test): Likewise.
17864 (isgreaterequal_test): Likewise.
17865 (isinf_test): Likewise.
17866 (isless_test): Likewise.
17867 (islessequal_test): Likewise.
17868 (islessgreater_test): Likewise.
17869 (isnan_test): Likewise.
17870 (isnormal_test): Likewise.
17871 (issignaling_test): Likewise.
17872 (isunordered_test): Likewise.
17873 (j0_test): Likewise.
17874 (j1_test): Likewise.
17875 (jn_test): Likewise.
17876 (ldexp_test): Likewise.
17877 (lgamma_test): Likewise.
17878 (lrint_test): Likewise.
17879 (lrint_test_tonearest): Likewise.
17880 (lrint_test_towardzero): Likewise.
17881 (lrint_test_downward): Likewise.
17882 (lrint_test_upward): Likewise.
17883 (llrint_test): Likewise.
17884 (llrint_test_tonearest): Likewise.
17885 (llrint_test_towardzero): Likewise.
17886 (llrint_test_downward): Likewise.
17887 (llrint_test_upward): Likewise.
17888 (log_test): Likewise.
17889 (log10_test): Likewise.
17890 (log1p_test): Likewise.
17891 (log2_test): Likewise.
17892 (logb_test): Likewise.
17893 (logb_test_downward): Likewise.
17894 (lround_test): Likewise.
17895 (llround_test): Likewise.
17896 (modf_test): Likewise.
17897 (nearbyint_test): Likewise.
17898 (nextafter_test): Likewise.
17899 (nexttoward_test): Likewise.
17900 (pow_test): Likewise.
17901 (pow_test_tonearest): Likewise.
17902 (pow_test_towardzero): Likewise.
17903 (pow_test_downward): Likewise.
17904 (pow_test_upward): Likewise.
17905 (remainder_test): Likewise.
17906 (remainder_test_tonearest): Likewise.
17907 (remainder_test_towardzero): Likewise.
17908 (remainder_test_downward): Likewise.
17909 (remainder_test_upward): Likewise.
17910 (remquo_test): Likewise.
17911 (rint_test): Likewise.
17912 (rint_test_tonearest): Likewise.
17913 (rint_test_towardzero): Likewise.
17914 (rint_test_downward): Likewise.
17915 (rint_test_upward): Likewise.
17916 (round_test): Likewise.
17917 (scalb_test): Likewise.
17918 (scalbn_test): Likewise.
17919 (scalbln_test): Likewise.
17920 (signbit_test): Likewise.
17921 (sin_test): Likewise.
17922 (sin_test_tonearest): Likewise.
17923 (sin_test_towardzero): Likewise.
17924 (sin_test_downward): Likewise.
17925 (sin_test_upward): Likewise.
17926 (sincos_test): Likewise.
17927 (sinh_test): Likewise.
17928 (sinh_test_tonearest): Likewise.
17929 (sinh_test_towardzero): Likewise.
17930 (sinh_test_downward): Likewise.
17931 (sinh_test_upward): Likewise.
17932 (sqrt_test): Likewise.
17933 (tan_test): Likewise.
17934 (tan_test_tonearest): Likewise.
17935 (tan_test_towardzero): Likewise.
17936 (tan_test_downward): Likewise.
17937 (tan_test_upward): Likewise.
17938 (tanh_test): Likewise.
17939 (tgamma_test): Likewise.
17940 (trunc_test): Likewise.
17941 (y0_test): Likewise.
17942 (y1_test): Likewise.
17943 (yn_test): Likewise.
17944 (significand_test): Likewise.
17945
bae143d2
OB
179462013-05-24 Ondřej Bílka <neleai@seznam.cz>
17947
17948 [BZ #15381]
17949 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17950
9323d39b
EM
179512013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17952
d4ea44a0 17953 [BZ #14894]
9323d39b
EM
17954 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17955 __ppc_mdoio and __ppc_mdoom.
17956 * manual/platform.texi: Document new functions __ppc_yield,
17957 __ppc_mdoio and __ppc_mdoom.
17958
13e23af7
CD
179592013-05-22 Carlos O'Donell <carlos@redhat.com>
17960
17961 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17962 (main): Mention "tls" pseudo-hwcap is legacy.
17963 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17964
351fe550
JM
179652013-05-22 Joseph Myers <joseph@codesourcery.com>
17966
17967 * math/gen-libm-test.pl (parse_args): Output only string of
17968 arguments as text for test name, not full call or descriptions of
17969 tests for extra outputs.
17970 (generate_testfile): Do not pass function name to parse_args.
17971 Generate this_func variable from START.
17972 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17973 field to arg_str.
17974 (struct test_ff_f_data): Likewise.
17975 (test_ff_f_data_nexttoward): Likewise.
17976 (struct test_fi_f_data): Likewise.
17977 (struct test_fl_f_data): Likewise.
17978 (struct test_if_f_data): Likewise.
17979 (struct test_fff_f_data): Likewise.
17980 (struct test_c_f_data): Likewise.
17981 (struct test_f_f1_data): Likewise. Remove field extra_name.
17982 (struct test_fF_f1_data): Likewise.
17983 (struct test_ffI_f1_data): Likewise.
17984 (struct test_c_c_data): Rename test_name field to arg_str.
17985 (struct test_cc_c_data): Likewise.
17986 (struct test_f_i_data): Likewise.
17987 (struct test_ff_i_data): Likewise.
17988 (struct test_f_l_data): Likewise.
17989 (struct test_f_L_data): Likewise.
17990 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17991 and extra2_name.
17992 (COMMON_TEST_SETUP): New macro.
17993 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17994 (COMMON_TEST_CLEANUP): Likewise.
17995 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17996 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17997 macros.
17998 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17999 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18000 macros.
18001 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18002 (RUN_TEST_fff_f): Take argument string. Call new setup and
18003 cleanup macros.
18004 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18005 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18006 macros.
18007 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18008 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18009 macros.
18010 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18011 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18012 cleanup macros.
18013 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18014 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18015 cleanup macros.
18016 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18017 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18018 cleanup macros.
18019 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18020 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18021 macros.
18022 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18023 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18024 macros.
18025 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18026 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18027 macros.
18028 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18029 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18030 cleanup macros.
18031 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18032 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18033 cleanup macros.
18034 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18035 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18036 macros.
18037 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18038 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18039 cleanup macros.
18040 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18041 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18042 macros.
18043 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18044 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18045 macros.
18046 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18047 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18048 cleanup macros.
18049 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18050
85118d4d
EBM
180512013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18052
18053 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18054 to _sifields.sigfault.
18055 (si_addr_lsb): Define new macro.
18056 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18057 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18058 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18059
7a44c18f
CD
180602013-05-03 Carlos O'Donell <carlos at redhat.com>
18061
18062 [BZ #15441]
18063 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18064 returns -1.
18065 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18066 null return -1.
18067 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18068 loading the domain.
18069
b50a7181
JM
180702013-05-22 Joseph Myers <joseph@codesourcery.com>
18071
18072 * math/gen-libm-test.pl (parse_args): Do not include expected
18073 result in test name.
18074 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18075 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18076 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18077 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18078 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18080
051063c8
SP
180812013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18082
3ce9e010
SP
18083 * benchtests/Makefile: Sort function entries.
18084
051063c8
SP
18085 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18086 tanh, asinh, acosh, atanh.
18087 * benchtests/acos-inputs: New file.
18088 * benchtests/acosh-inputs: New file.
18089 * benchtests/asin-inputs: New file.
18090 * benchtests/asinh-inputs: New file.
18091 * benchtests/atanh-inputs: New file.
18092 * benchtests/cosh-inputs: New file.
18093 * benchtests/log-inputs: New file.
18094 * benchtests/sinh-inputs: New file.
18095 * benchtests/tanh-inputs: New file.
18096
47c22455
DL
180972013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18098
18099 [BZ #15339]
18100 * posix/tst-getaddrinfo4.c: New test.
18101 * posix/Makefile (tests): Add it.
18102
3d04f5db
SP
181032013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18104
18105 [BZ #15339]
18106 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18107 when no services were used.
18108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18109 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18110
d5dd6189
AS
181112013-05-21 Andreas Schwab <schwab@suse.de>
18112
18113 [BZ #15014]
18114 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18115 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18116 successful.
18117 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18118 redundant variable declarations and reallocation of buffer when
18119 parsing as IPv6 address. Always set NSS status when called from
18120 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18121 buffer too small. Correct computation of needed size.
18122 * nss/Makefile (tests): Add test-digits-dots.
18123 * nss/test-digits-dots.c: New test.
18124
fef94eab
SP
181252013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18126
18127 * benchtests/Makefile: Remove instructions for adding
18128 benchmark tests.
18129 * benchtests/README: New file to explain how to execute and
18130 enhance the benchmark tests.
18131
e39adf43
AS
181322013-05-21 Andreas Schwab <schwab@suse.de>
18133
18134 [BZ #15493]
18135 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18136 * setjmp/tst-sigsetjmp.c: New test.
18137
b2b671b6
OB
181382013-05-20 Ondřej Bílka <neleai@seznam.cz>
18139
18140 * sysdeps/x86_64/memset.S (memset): New implementation.
18141 (__bzero): Likewise.
18142 (__memset_tail): New function.
18143
2d48b41c
OB
181442013-05-20 Ondřej Bílka <neleai@seznam.cz>
18145
18146 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18147 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18148 __memcpy_sse2_unaligned ifunc selection.
18149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18150 Add memcpy-sse2-unaligned.S.
18151 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18152 Add: __memcpy_sse2_unaligned.
18153
f16cc3eb
JM
181542013-05-19 Joseph Myers <joseph@codesourcery.com>
18155
3e694268
JM
18156 [BZ #15490]
18157 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18158 math_force_eval before restoring floating-point envrionment.
18159 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18160 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18161 Likewise.
18162 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18163 <math_private.h>.
18164 (__nearbyintl): Use math_force_eval before restoring
18165 floating-point environment.
18166 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18167
db62a907
JM
18168 * math/gen-libm-test.pl (special_functions): Remove.
18169 (parse_args): Don't handle TEST_extra. Handle functions with no
18170 return value.
18171 * math/libm-test.inc (struct test_sincos_data): Replace with
18172 struct test_fFF_11_data.
18173 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18174 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18175 (sincos_test_data): Change element type to struct
18176 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18177 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18178 RUN_TEST_LOOP_sincos.
18179 * math/README.libm-test: Don't mention special handling of
18180 individual functions.
18181 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18182 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18183 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18184 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18185 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18187
f16cc3eb
JM
18188 * math/gen-libm-test.pl (get_variable): Remove function.
18189 (parse_args): Don't show pointer parameters to call in test
18190 names. Use "extra output N" in test names for extra outputs
18191 rather than naming variables.
18192
3779b5b6
JM
181932013-05-18 Joseph Myers <joseph@codesourcery.com>
18194
2ee094ff
JM
18195 [BZ #15488]
18196 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18197 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18198 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18199 double tests.
18200 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18201 disable.
18202 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18203 check_long_double.
18204
3779b5b6
JM
18205 * math/gen-libm-test.pl (@tests): Remove variable.
18206 ($count): Likewise.
18207 (new_test): Remove function.
18208 (show_exceptions): New function.
18209 (special_functions): Use show_exceptions instead of new_test.
18210 (parse_args): Likewise.
18211 (generate_testfile): Pass only function name in generated call to
18212 print_max_error or print_complex_max_error.
18213 (get_ulps): Do not handle complex tests specially.
18214 (output_test): Rename to ...
18215 (get_all_ulps_for_test): ... this. Return a string rather than
18216 printing to a file. Require ulps to be present.
18217 (output_ulps): Generate arrays rather than #defines.
18218 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18219 (struct ulp_data): New type.
18220 (BUILD_COMPLEX_ULP): Remove macro.
18221 (compare_ulp_data): New function.
18222 (find_ulps): Likewise.
18223 (find_test_ulps): Likewise.
18224 (find_function_ulps): Likewise.
18225 (find_complex_function_ulps): Likewise.
18226 (print_max_error): Determine allowed ulps using
18227 find_function_ulps.
18228 (print_complex_max_error): Determine allowed ulps using
18229 find_complex_function_ulps.
18230 (check_float_internal): Determine max ulps using find_test_ulps.
18231 (check_float): Do not take max_ulp parameter. Update call to
18232 check_float_internal.
18233 (check_complex): Likewise.
18234 (check_int): Do not take max_ulp parameter.
18235 (check_long): Likewise.
18236 (check_bool): Likewise.
18237 (check_longlong): Likewise.
18238 (struct test_f_f_data): Remove max_ulp field.
18239 (struct test_ff_f_data): Likewise.
18240 (struct test_ff_f_data_nexttoward): Likewise.
18241 (struct test_fi_f_data): Likewise.
18242 (struct test_fl_f_data): Likewise.
18243 (struct test_if_f_data): Likewise.
18244 (struct test_fff_f_data): Likewise.
18245 (struct test_c_f_data): Likewise.
18246 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18247 (struct test_fF_f1_data): Likewise.
18248 (struct test_ffI_f1_data): Likewise.
18249 (struct test_c_c_data): Remove max_ulp field.
18250 (struct test_cc_c_data): Likewise.
18251 (struct test_f_i_data): Likewise.
18252 (struct test_ff_i_data): Likewise.
18253 (struct test_f_l_data): Likewise.
18254 (struct test_f_L_data): Likewise.
18255 (struct test_sincos_data): Likewise.
18256 (RUN_TEST_f_f): Do not handle ulps.
18257 (RUN_TEST_LOOP_f_f): Likewise.
18258 (RUN_TEST_2_f): Likewise.
18259 (RUN_TEST_LOOP_2_f): Likewise.
18260 (RUN_TEST_fff_f): Likewise.
18261 (RUN_TEST_LOOP_fff_f): Likewise.
18262 (RUN_TEST_c_f): Likewise.
18263 (RUN_TEST_LOOP_c_f): Likewise.
18264 (RUN_TEST_f_f1): Likewise.
18265 (RUN_TEST_LOOP_f_f1): Likewise.
18266 (RUN_TEST_fF_f1): Likewise.
18267 (RUN_TEST_LOOP_fF_f1): Likewise.
18268 (RUN_TEST_fI_f1): Likewise.
18269 (RUN_TEST_LOOP_fI_f1): Likewise.
18270 (RUN_TEST_ffI_f1): Likewise.
18271 (RUN_TEST_LOOP_ffI_f1): Likewise.
18272 (RUN_TEST_c_c): Likewise.
18273 (RUN_TEST_LOOP_c_c): Likewise.
18274 (RUN_TEST_cc_c): Likewise.
18275 (RUN_TEST_LOOP_cc_c): Likewise.
18276 (RUN_TEST_f_i): Likewise.
18277 (RUN_TEST_LOOP_f_i): Likewise.
18278 (RUN_TEST_f_i_tg): Likewise.
18279 (RUN_TEST_LOOP_f_i_tg): Likewise.
18280 (RUN_TEST_ff_i_tg): Likewise.
18281 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18282 (RUN_TEST_f_b): Likewise.
18283 (RUN_TEST_LOOP_f_b): Likewise.
18284 (RUN_TEST_f_b_tg): Likewise.
18285 (RUN_TEST_LOOP_f_b_tg): Likewise.
18286 (RUN_TEST_f_l): Likewise.
18287 (RUN_TEST_LOOP_f_l): Likewise.
18288 (RUN_TEST_f_L): Likewise.
18289 (RUN_TEST_LOOP_f_L): Likewise.
18290 (RUN_TEST_sincos): Likewise.
18291 (RUN_TEST_LOOP_sincos): Likewise.
18292
8269107f
JM
182932013-05-17 Joseph Myers <joseph@codesourcery.com>
18294
bb38759d
JM
18295 [BZ #15480]
18296 [BZ #15485]
18297 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18298 main case of finite arguments, set rounding mode to FE_TONEAREST
18299 and discard exceptions.
18300 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18301 exceptions.
18302 (remainder_tonearest_test_data): New variable.
18303 (remainder_test_tonearest): New function.
18304 (remainder_towardzero_test_data): New variable.
18305 (remainder_test_towardzero): New function.
18306 (remainder_downward_test_data): New variable.
18307 (remainder_test_downward): New function.
18308 (remainder_upward_test_data): New variable.
18309 (remainder_test_upward): New function.
18310 (main): Call the new test functions.
18311
a00bdcf0
JM
18312 * math/libm-test.inc (struct test_f_f1_data): Remove field
18313 extra_init.
18314 (struct test_fF_f1_data): Likewise.
18315 (struct test_ffI_f1_data): Likewise.
18316 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18317 based on value of EXTRA_EXPECTED.
18318 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18319 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18320 EXTRA_VAR based on value of EXTRA_EXPECTED.
18321 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18322 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18323 EXTRA_VAR based on value of EXTRA_EXPECTED.
18324 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18325 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18326 EXTRA_VAR based on value of EXTRA_EXPECTED.
18327 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18328 * math/gen-libm-test.pl (parse_args): Don't output initializers
18329 for extra output values.
18330
de407f79
JM
18331 * math/libm-test.inc (check_int): Expect result to be exactly
18332 equal to expected value and do not handle ulps.
18333 (check_long): Likewise.
18334 (check_longlong): Likewise.
18335
8269107f
JM
18336 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18337 exceptions.
18338 (cimag_test_data): Likewise.
18339 (conj_test_data): Likewise.
18340 (copysign_test_data): Likewise.
18341 (cproj_test_data): Likewise.
18342 (creal_test_data): Likewise.
18343 (fabs_test_data): Likewise.
18344 (fdim_test_data): Likewise.
18345 (finite_test_data): Likewise.
18346 (floor_test_data): Likewise.
18347 (fmax_test_data): Likewise.
18348 (fmin_test_data): Likewise.
18349 (fmod_test_data): Likewise.
18350 (fpclassify_test_data): Likewise.
18351 (frexp_test_data): Likewise.
18352 (ilogb_test_data): Likewise.
18353 (isfinite_test_data): Likewise.
18354 (isgreater_test_data): Likewise.
18355 (isgreaterequal_test_data): Likewise.
18356 (isinf_test_data): Likewise.
18357 (isless_test_data): Likewise.
18358 (islessequal_test_data): Likewise.
18359 (islessgreater_test_data): Likewise.
18360 (isnan_test_data): Likewise.
18361 (isnormal_test_data): Likewise.
18362 (issignaling_test_data): Likewise.
18363 (isunordered_test_data): Likewise.
18364 (ldexp_test_data): Likewise.
18365 (lrint_test_data): Likewise.
18366 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18367 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18368 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18369 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18370 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18371 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18372 test input.
18373 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18374 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18375 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18376 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18377 that test input.
18378 (lrint_downward_test_data): Test for "inexact" exceptions.
18379 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18380 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18381 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18382 test input.
18383 (lrint_upward_test_data): Test for "inexact" exceptions.
18384 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18385 test input.
18386 (llrint_test_data): Test for "inexact" exceptions.
18387 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18388 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18389 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18390 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18391 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18392 (llrint_downward_test_data): Test for "inexact" exceptions.
18393 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18394 (llrint_upward_test_data): Test for "inexact" exceptions.
18395 (logb_test_data): Likewise.
18396 (logb_downward_test_data): Likewise.
18397 (nextafter_test_data): Likewise.
18398 (nexttoward_test_data): Likewise.
18399 (remainder_test_data): Likewise.
18400 (remquo_test_data): Likewise.
18401 (scalbn_test_data): Likewise.
18402 (scalbln_test_data): Likewise.
18403 (signbit_test_data): Likewise.
18404 (sqrt_test_data): Likewise.
18405 (significand_test_data): Likewise.
18406
48a18de1
SP
184072013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18408
18409 [BZ #15424]
18410 * benchtests/bench-modf.c (struct args): Mark arg0 as
18411 volatile.
18412 * scripts/bench.pl: Mark members of struct args as volatile.
18413
13d3b41a
AZ
184142013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18415
68191c1d 18416 [BZ # 15497]
13d3b41a
AZ
18417 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18418 negative infinity on POWER6 or lower.
18419 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18420
2848b105
MR
184212013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18422
18423 [BZ #15442]
18424 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18425 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18426 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18427 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18428 (_FP_SETQNAN): New macro.
18429 (_FP_SETQNAN_SEMIRAW): Likewise.
18430 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18431 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18432 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18433 (FP_EXTEND): Use _FP_FRAC_SNANP.
18434 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18435 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18436 into account.
18437 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18438 New macro.
18439 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18440 Likewise.
18441
323e5cb7
JM
184422013-05-16 Joseph Myers <joseph@codesourcery.com>
18443
c58b274f
JM
18444 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18445 with DIVIDE_BY_ZERO_EXCEPTION.
18446 (gamma_test_data): Likewise.
18447 (lgamma_test_data): Likewise.
18448 (log_test_data): Likewise.
18449 (log10_test_data): Likewise.
18450 (log2_test_data): Likewise.
18451 (tgamma_test_data): Likewise.
18452
0ab34904
JM
18453 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18454 (acos_test_tonearest): Likewise.
18455 (acos_test_towardzero): Likewise.
18456 (acos_test_downward): Likewise.
18457 (acos_test_upward): Likewise.
18458 (acosh_test): Likewise.
18459 (asin_test): Likewise.
18460 (asin_test_tonearest): Likewise.
18461 (asin_test_towardzero): Likewise.
18462 (asin_test_downward): Likewise.
18463 (asin_test_upward): Likewise.
18464 (asinh_test): Likewise.
18465 (atan_test): Likewise.
18466 (atanh_test): Likewise.
18467 (atan2_test): Likewise.
18468 (cabs_test): Likewise.
18469 (cacos_test): Likewise.
18470 (cacosh_test): Likewise.
18471 (casin_test): Likewise.
18472 (casinh_test): Likewise.
18473 (catan_test): Likewise.
18474 (catanh_test): Likewise.
18475 (cbrt_test): Likewise.
18476 (ccos_test): Likewise.
18477 (ccosh_test): Likewise.
18478 (cexp_test): Likewise.
18479 (clog_test): Likewise.
18480 (clog10_test): Likewise.
18481 (cos_test): Likewise.
18482 (cos_test_tonearest): Likewise.
18483 (cos_test_towardzero): Likewise.
18484 (cos_test_downward): Likewise.
18485 (cos_test_upward): Likewise.
18486 (cosh_test): Likewise.
18487 (cosh_test_tonearest): Likewise.
18488 (cosh_test_towardzero): Likewise.
18489 (cosh_test_downward): Likewise.
18490 (cosh_test_upward): Likewise.
18491 (cpow_test): Likewise.
18492 (csin_test): Likewise.
18493 (csinh_test): Likewise.
18494 (csqrt_test): Likewise.
18495 (ctan_test): Likewise.
18496 (ctan_test_tonearest): Likewise.
18497 (ctan_test_towardzero): Likewise.
18498 (ctan_test_downward): Likewise.
18499 (ctan_test_upward): Likewise.
18500 (ctanh_test): Likewise.
18501 (ctanh_test_tonearest): Likewise.
18502 (ctanh_test_towardzero): Likewise.
18503 (ctanh_test_downward): Likewise.
18504 (ctanh_test_upward): Likewise.
18505 (erf_test): Likewise.
18506 (erfc_test): Likewise.
18507 (exp_test): Likewise.
18508 (exp_test_tonearest): Likewise.
18509 (exp_test_towardzero): Likewise.
18510 (exp_test_downward): Likewise.
18511 (exp_test_upward): Likewise.
18512 (exp10_test): Likewise.
18513 (exp2_test): Likewise.
18514 (expm1_test): Likewise.
18515 (fmod_test): Likewise.
18516 (gamma_test): Likewise.
18517 (hypot_test): Likewise.
18518 (j0_test): Likewise.
18519 (j1_test): Likewise.
18520 (jn_test): Likewise.
18521 (lgamma_test): Likewise.
18522 (log_test): Likewise.
18523 (log10_test): Likewise.
18524 (log1p_test): Likewise.
18525 (log2_test): Likewise.
18526 (logb_test_downward): Likewise.
18527 (pow_test): Likewise.
18528 (pow_test_tonearest): Likewise.
18529 (pow_test_towardzero): Likewise.
18530 (pow_test_downward): Likewise.
18531 (pow_test_upward): Likewise.
18532 (remainder_test): Likewise.
18533 (remquo_test): Likewise.
18534 (sin_test): Likewise.
18535 (sin_test_tonearest): Likewise.
18536 (sin_test_towardzero): Likewise.
18537 (sin_test_downward): Likewise.
18538 (sin_test_upward): Likewise.
18539 (sincos_test): Likewise.
18540 (sinh_test): Likewise.
18541 (sinh_test_tonearest): Likewise.
18542 (sinh_test_towardzero): Likewise.
18543 (sinh_test_downward): Likewise.
18544 (sinh_test_upward): Likewise.
18545 (sqrt_test): Likewise.
18546 (tan_test): Likewise.
18547 (tan_test_tonearest): Likewise.
18548 (tan_test_towardzero): Likewise.
18549 (tan_test_downward): Likewise.
18550 (tan_test_upward): Likewise.
18551 (tanh_test): Likewise.
18552 (tgamma_test): Likewise.
18553 (y0_test): Likewise.
18554 (y1_test): Likewise.
18555 (yn_test): Likewise.
18556
323e5cb7
JM
18557 * math/gen-libm-test.pl (adjust_arg): Remove function.
18558 (special_function): Remove argument $in_func. Only handle
18559 generating output for tables of tests, not inside functions.
18560 (parse_args): Likewise.
18561 (generate_testfile): Remove variable $in_func. Update call to
18562 parse_args.
18563 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18564 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18565 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18566 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18567 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18568 (MAX_VALUE_INIT): Rename macro to max_value.
18569 (MIN_VALUE_INIT): Rename macro to min_value.
18570 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18571 (plus_zero): Remove variable.
18572 (minus_zero): Likewise.
18573 (plus_infty): Likewise.
18574 (minus_infty): Likewise.
18575 (qnan_value): Likewise.
18576 (max_value): Likewise.
18577 (min_value): Likewise.
18578 (min_subnorm_value): Likewise.
18579
e054f494
RA
185802013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18581
18582 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18583 uint64_t or uint32_t usage.
18584 * crypt/sha256-block.c: Likewise.
18585 * crypt/sha256-crypt.c: Likewise.
18586 * crypt/sha256.c: Likewise.
18587 * crypt/sha512-block.c: Likewise.
18588 * crypt/sha512-crypt.c: Likewise.
18589 * crypt/sha512.c: Likewise.
18590 * debug/backtrace-tst.c: Likewise.
18591 * debug/pcprofiledump.c: Likewise.
18592 * elf/cache.c: Likewise.
18593 * elf/dl-cache.c: Likewise.
18594 * elf/dl-misc.c: Likewise.
18595 * elf/dl-profile.c: Likewise.
18596 * elf/dl-support.c: Likewise.
18597 * elf/ldconfig.c: Likewise.
18598 * elf/sprof.c: Likewise.
18599 * iconv/dummy-repertoire.c: Likewise.
18600 * iconv/iconv_charmap.c: Likewise.
18601 * iconv/skeleton.c: Likewise.
18602 * iconvdata/8bit-generic.c: Likewise.
18603 * iconvdata/cp737.h: Likewise.
18604 * iconvdata/cp775.h: Likewise.
18605 * iconvdata/ibm1008.h: Likewise.
18606 * iconvdata/ibm1025.h: Likewise.
18607 * iconvdata/ibm1046.h: Likewise.
18608 * iconvdata/ibm1097.h: Likewise.
18609 * iconvdata/ibm1112.h: Likewise.
18610 * iconvdata/ibm1122.h: Likewise.
18611 * iconvdata/ibm1123.h: Likewise.
18612 * iconvdata/ibm1124.h: Likewise.
18613 * iconvdata/ibm1129.h: Likewise.
18614 * iconvdata/ibm1130.h: Likewise.
18615 * iconvdata/ibm1132.h: Likewise.
18616 * iconvdata/ibm1133.h: Likewise.
18617 * iconvdata/ibm1137.h: Likewise.
18618 * iconvdata/ibm1140.h: Likewise.
18619 * iconvdata/ibm1141.h: Likewise.
18620 * iconvdata/ibm1142.h: Likewise.
18621 * iconvdata/ibm1143.h: Likewise.
18622 * iconvdata/ibm1144.h: Likewise.
18623 * iconvdata/ibm1145.h: Likewise.
18624 * iconvdata/ibm1146.h: Likewise.
18625 * iconvdata/ibm1147.h: Likewise.
18626 * iconvdata/ibm1148.h: Likewise.
18627 * iconvdata/ibm1149.h: Likewise.
18628 * iconvdata/ibm1153.h: Likewise.
18629 * iconvdata/ibm1154.h: Likewise.
18630 * iconvdata/ibm1155.h: Likewise.
18631 * iconvdata/ibm1156.h: Likewise.
18632 * iconvdata/ibm1157.h: Likewise.
18633 * iconvdata/ibm1158.h: Likewise.
18634 * iconvdata/ibm1160.h: Likewise.
18635 * iconvdata/ibm1161.h: Likewise.
18636 * iconvdata/ibm1162.h: Likewise.
18637 * iconvdata/ibm1163.h: Likewise.
18638 * iconvdata/ibm1164.h: Likewise.
18639 * iconvdata/ibm1166.h: Likewise.
18640 * iconvdata/ibm1167.h: Likewise.
18641 * iconvdata/ibm12712.h: Likewise.
18642 * iconvdata/ibm1390.h: Likewise.
18643 * iconvdata/ibm1399.h: Likewise.
18644 * iconvdata/ibm16804.h: Likewise.
18645 * iconvdata/ibm4517.h: Likewise.
18646 * iconvdata/ibm4899.h: Likewise.
18647 * iconvdata/ibm4909.h: Likewise.
18648 * iconvdata/ibm4971.h: Likewise.
18649 * iconvdata/ibm5347.h: Likewise.
18650 * iconvdata/ibm803.h: Likewise.
18651 * iconvdata/ibm856.h: Likewise.
18652 * iconvdata/ibm901.h: Likewise.
18653 * iconvdata/ibm902.h: Likewise.
18654 * iconvdata/ibm9030.h: Likewise.
18655 * iconvdata/ibm9066.h: Likewise.
18656 * iconvdata/ibm921.h: Likewise.
18657 * iconvdata/ibm922.h: Likewise.
18658 * iconvdata/ibm9448.h: Likewise.
18659 * iconvdata/isiri-3342.h: Likewise.
18660 * iconvdata/jis0201.h: Likewise.
18661 * include/link.h: Likewise.
18662 * include/netdb.h: Likewise.
18663 * inet/check_native.c: Likewise.
18664 * inet/check_pf.c: Likewise.
18665 * inet/getipv4sourcefilter.c: Likewise.
18666 * inet/getnameinfo.c: Likewise.
18667 * inet/getsourcefilter.c: Likewise.
18668 * inet/htonl.c: Likewise.
18669 * inet/setipv4sourcefilter.c: Likewise.
18670 * inet/setsourcefilter.c: Likewise.
18671 * inet/test-inet6_opt.c: Likewise.
18672 * inet/tst-network.c: Likewise.
18673 * locale/C-collate.c: Likewise.
18674 * locale/C-ctype.c: Likewise.
18675 * locale/C-time.c: Likewise.
18676 * locale/C-translit.h: Likewise.
18677 * locale/loadarchive.c: Likewise.
18678 * locale/programs/3level.h: Likewise.
18679 * locale/programs/charmap.c: Likewise.
18680 * locale/programs/charmap.h: Likewise.
18681 * locale/programs/ld-address.c: Likewise.
18682 * locale/programs/ld-collate.c: Likewise.
18683 * locale/programs/ld-ctype.c: Likewise.
18684 * locale/programs/ld-identification.c: Likewise.
18685 * locale/programs/ld-measurement.c: Likewise.
18686 * locale/programs/ld-messages.c: Likewise.
18687 * locale/programs/ld-monetary.c: Likewise.
18688 * locale/programs/ld-name.c: Likewise.
18689 * locale/programs/ld-numeric.c: Likewise.
18690 * locale/programs/ld-paper.c: Likewise.
18691 * locale/programs/ld-telephone.c: Likewise.
18692 * locale/programs/ld-time.c: Likewise.
18693 * locale/programs/linereader.c: Likewise.
18694 * locale/programs/locale.c: Likewise.
18695 * locale/programs/locarchive.c: Likewise.
18696 * locale/programs/locfile.h: Likewise.
18697 * locale/programs/repertoire.c: Likewise.
18698 * locale/programs/simple-hash.c: Likewise.
18699 * locale/programs/simple-hash.h: Likewise.
18700 * malloc/memusage.c: Likewise.
18701 * malloc/memusagestat.c: Likewise.
18702 * nis/nis_defaults.c: Likewise.
18703 * nis/nis_hash.c: Likewise.
18704 * nis/nis_print.c: Likewise.
18705 * nis/nis_xdr.c: Likewise.
18706 * nscd/connections.c: Likewise.
18707 * nscd/hstcache.c: Likewise.
18708 * nscd/nscd_gethst_r.c: Likewise.
18709 * nscd/nscd_getserv_r.c: Likewise.
18710 * nscd/nscd_helper.c: Likewise.
18711 * nscd/servicescache.c: Likewise.
18712 * nss/makedb.c: Likewise.
18713 * nss/nss_db/db-XXX.c: Likewise.
18714 * nss/nss_db/db-initgroups.c: Likewise.
18715 * nss/nss_db/db-netgrp.c: Likewise.
18716 * nss/nss_files/files-network.c: Likewise.
18717 * nss/nss_files/files-parse.c: Likewise.
18718 * posix/bug-regex5.c: Likewise.
18719 * posix/fnmatch_loop.c: Likewise.
18720 * posix/regcomp.c: Likewise.
18721 * posix/regexec.c: Likewise.
18722 * posix/tst-rfc3484-2.c: Likewise.
18723 * posix/tst-rfc3484-3.c: Likewise.
18724 * posix/tst-rfc3484.c: Likewise.
18725 * resolv/nss_dns/dns-canon.c: Likewise.
18726 * resolv/nss_dns/dns-network.c: Likewise.
18727 * resolv/res_init.c: Likewise.
18728 * resolv/res_mkquery.c: Likewise.
18729 * resolv/tst-aton.c: Likewise.
18730 * stdlib/cxa_atexit.c: Likewise.
18731 * stdlib/cxa_finalize.c: Likewise.
18732 * stdlib/gen-fpioconst.c: Likewise.
18733 * stdlib/strtol_l.c: Likewise.
18734 * string/tst-endian.c: Likewise.
18735 * sunrpc/auth_des.c: Likewise.
18736 * sunrpc/clnt_udp.c: Likewise.
18737 * sunrpc/rtime.c: Likewise.
18738 * sunrpc/svcauth_des.c: Likewise.
18739 * sunrpc/xdr.c: Likewise.
18740 * sunrpc/xdr_intXX_t.c: Likewise.
18741 * sunrpc/xdr_rec.c: Likewise.
18742 * sysdeps/generic/ldconfig.h: Likewise.
18743 * sysdeps/generic/ldsodefs.h: Likewise.
18744 * sysdeps/generic/memusage.h: Likewise.
18745 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18746 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18747 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18748 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18749 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18751 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18752 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18753 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18754 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18755 * sysdeps/posix/getaddrinfo.c: Likewise.
18756 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18757 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18758 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18759 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18760 * sysdeps/powerpc/test-gettimebase.c: Likewise.
18761 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18762 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18763 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18764 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18765 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18766 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18767 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18768 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18769 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18770 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18771 * sysdeps/x86_64/dl-tls.h: Likewise.
18772 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18773 * time/alt_digit.c: Likewise.
18774 * time/era.c: Likewise.
18775 * wcsmbs/tst-c16c32-1.c: Likewise.
18776
8c75f674
JM
187772013-05-16 Joseph Myers <joseph@codesourcery.com>
18778
18779 * math/libm-test.inc (struct test_sincos_data): New type.
18780 (RUN_TEST_LOOP_sincos): New macro.
18781 (sincos_test_data): New variable.
18782 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18783
e6e49e59
RH
187842013-05-16 Richard Henderson <rth@redhat.com>
18785
18786 * math/atest-exp2.c (LIMB64): New macro.
18787 (CONSTSZ): New macro.
18788 (mp_exp1, mp_exp_m1, mp_log2): New variables.
18789 (hexdig): Move ...
18790 (print_mpn_fp): ... to function scope.
18791 (read_mpn_hex): Remove.
18792 (get_log2): Remove.
18793 (exp2_mpn): Use mp_log2.
18794 (main): Use mp_exp1.
18795
15c7c18d
JM
187962013-05-16 Joseph Myers <joseph@codesourcery.com>
18797
105a07df
JM
18798 * math/libm-test.inc: Remove comment about not testing "inexact"
18799 exceptions.
18800 (INEXACT_EXCEPTION): New macro.
18801 (NO_INEXACT_EXCEPTION): Likewise.
18802 (INVALID_EXCEPTION_OK): Update value.
18803 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18804 (OVERFLOW_EXCEPTION_OK): Likewise.
18805 (UNDERFLOW_EXCEPTION_OK): Likewise.
18806 (IGNORE_ZERO_INF_SIGN): Likewise.
18807 (ERRNO_UNCHANGED): Likewise.
18808 (ERRNO_EDOM): Likewise.
18809 (ERRNO_ERANGE): Likewise.
18810 (test_exceptions): Handle testing "inexact" exceptions.
18811 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18812 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18813 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18814 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18815 INEXACT_EXCEPTION.
18816 (rint_towardzero_test_data): Likewise.
18817 (rint_downward_test_data): Likewise.
18818 (rint_upward_test_data): Likewise.
18819
e9eee333
JM
18820 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18821 with OVERFLOW_EXCEPTION.
18822 (exp10_test_data): Likewise.
18823 (exp2_test_data): Likewise.
18824 (expm1_test_data): Likewise.
18825 (lgamma_test_data): Likewise.
18826 (pow_test_data): Likewise.
18827 (tgamma_test_data): Likewise.
18828 (yn_test_data): Remove duplicate test of overflow.
18829
1c38ff73
JM
18830 * math/libm-test.inc (struct test_cc_c_data): New type.
18831 (RUN_TEST_LOOP_cc_c): New macro.
18832 (cpow_test_data): New variable.
18833 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18834
15c7c18d
JM
18835 * math/libm-test.inc (struct test_f_L_data): New type.
18836 (RUN_TEST_LOOP_f_L): New macro.
18837 (llrint_test_data): New variable.
18838 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18839 (llrint_tonearest_test_data): New variable.
18840 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18841 (llrint_towardzero_test_data): New variable.
18842 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18843 (llrint_downward_test_data): New variable.
18844 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18845 (llrint_upward_test_data): New variable.
18846 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18847 (llround_test_data): New variable.
18848 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18849
f137ff13
PC
188502013-05-13 Peter Collingbourne <pcc@google.com>
18851
18852 * math/atest-exp2.c (get_log2): Remove const attribute.
18853
3608cb24
JM
188542013-05-15 Joseph Myers <joseph@codesourcery.com>
18855
18856 * math/libm-test.inc (struct test_f_l_data): New type.
18857 (RUN_TEST_LOOP_f_l): New macro.
18858 (lrint_test_data): New variable.
18859 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18860 (lrint_tonearest_test_data): New variable.
18861 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18862 (lrint_towardzero_test_data): New variable.
18863 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18864 (lrint_downward_test_data): New variable.
18865 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18866 (lrint_upward_test_data): New variable.
18867 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18868 (lround_test_data): New variable.
18869 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18870
39b1f617
PC
188712013-05-15 Peter Collingbourne <pcc@google.com>
18872
1deff3dc
PC
18873 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18874 (EXTRACT_WORDS64) Use where appropriate.
18875 (INSERT_WORDS64) Likewise.
18876
791f3ba0
PC
18877 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18878 constraints with x constraints.
18879 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18880
39b1f617
PC
18881 * malloc/obstack.c (_obstack_compat): Add initializer.
18882
12fba011
EM
188832013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18884
18885 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18886 si_trapno and add si_addr_lsb to _sifields.sigfault.
18887 (si_trapno): Remove macro.
18888 (si_addr_lsb): Define new macro.
18889 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18890
d369f531
JM
188912013-05-15 Joseph Myers <joseph@codesourcery.com>
18892
b861c6c4
JM
18893 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18894 instead of TEST_f_l.
18895 (llrint_test_tonearest): Likewise.
18896 (llrint_test_towardzero): Likewise.
18897 (llrint_test_downward): Likewise.
18898 (llrint_test_upward): Likewise.
18899 (llround_test): Likewise.
18900
7abeee12
JM
18901 * math/libm-test.inc (struct test_f_i_data): Add comment.
18902 (RUN_TEST_LOOP_f_b): New macro.
18903 (RUN_TEST_LOOP_f_b_tg): Likewise.
18904 (finite_test_data): New variable.
18905 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18906 (isfinite_test_data): New variable.
18907 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18908 (isinf_test_data): New variable.
18909 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18910 (isnan_test_data): New variable.
18911 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18912 (isnormal_test_data): New variable.
18913 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18914 (issignaling_test_data): New variable.
18915 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18916 (signbit_test_data): New variable.
18917 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18918
cbe8c4d3
JM
18919 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18920 with INVALID_EXCEPTION.
18921 (acosh_test_data): Likewise.
18922 (asin_test_data): Likewise.
18923 (atanh_test_data): Likewise.
18924 (fmod_test_data): Likewise.
18925 (log_test_data): Likewise.
18926 (log10_test_data): Likewise.
18927 (log2_test_data): Likewise.
18928 (pow_test_data): Likewise.
18929 (sqrt_test_data): Likewise.
18930 (y0_test_data): Likewise.
18931 (y1_test_data): Likewise.
18932 (yn_test_data): Likewise.
18933
5575c0e5
JM
18934 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18935 function contents.
18936
d369f531
JM
18937 * math/libm-test.inc (struct test_ff_i_data): New type.
18938 (RUN_TEST_LOOP_ff_i_tg): New macro.
18939 (isgreater_test_data): New variable.
18940 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18941 (isgreaterequal_test_data): New variable.
18942 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18943 (isless_test_data): New variable.
18944 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18945 (islessequal_test_data): New variable.
18946 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18947 (islessgreater_test_data): New variable.
18948 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18949 (isunordered_test_data): New variable.
18950 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18951
781fd748
DM
189522013-05-14 David S. Miller <davem@davemloft.net>
18953
18954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18955
87aa21df
JM
189562013-05-14 Joseph Myers <joseph@codesourcery.com>
18957
5e908270
JM
18958 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18959
f71172e5
JM
18960 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18961 extra_test to int.
18962 (struct test_f_i_data): Change type of max_ulp to int.
18963
8cfa635a
JM
18964 * math/libm-test.inc (test_ffI_f1_data): New type.
18965 (RUN_TEST_LOOP_ffI_f1): New macro.
18966 (remquo_test_data): New variable.
18967 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18968
2bcb36b2
JM
18969 * setjmp/tst-setjmp-fp.c: New file.
18970 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18971 (link-libm): New variable.
18972 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18973
acbd839a
JM
18974 * math/libm-test.inc (struct test_f_i_data): New type.
18975 (RUN_TEST_LOOP_f_i): New macro.
18976 (RUN_TEST_LOOP_f_i_tg): Likewise.
18977 (fpclassify_test_data): New variable.
18978 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18979 (ilogb_test_data): New variable.
18980 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18981
e414d745
JM
18982 * math/libm-test.inc (scalbln_test): Correct function name in END
18983 call.
18984
d9c2a0fd
JM
18985 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18986 (RUN_TEST_LOOP_fI_f1): New macro.
18987 (frexp_test_data): New variable.
18988 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18989
9dc9095d
JM
18990 * math/libm-test.inc (struct test_fF_f1_data): New type.
18991 (RUN_TEST_LOOP_fF_f1): New macro.
18992 (modf_test_data): New variable.
18993 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18994
87aa21df
JM
18995 * math/libm-test.inc (struct test_f_f1_data): New type.
18996 (RUN_TEST_LOOP_f_f1): New macro.
18997 (gamma_test_data): New variable.
18998 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18999 (lgamma_test_data): New variable.
19000 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19001
141af660
CD
190022013-05-13 Carlos O'Donell <carlos@redhat.com>
19003
19004 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19005 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19006 (main): Comment "tls" pseudo-hwcap.
19007
6d33265c
JM
190082013-05-13 Joseph Myers <joseph@codesourcery.com>
19009
68fc074c
JM
19010 * math/libm-test.inc (struct test_fl_f_data): New type.
19011 (RUN_TEST_LOOP_fl_f): New variable.
19012 (scalbln_test_data): New variable.
19013 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19014
243216e1
JM
19015 * math/libm-test.inc (struct test_fi_f_data): New type.
19016 (RUN_TEST_LOOP_fi_f): New macro.
19017 (ldexp_test_data): New variable.
19018 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19019 (scalbn_test_data): New variable.
19020 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19021
6a1992e2
JM
19022 * math/libm-test.inc (struct test_c_f_data): New type.
19023 (RUN_TEST_LOOP_c_f): New macro.
19024 (cabs_test_data): New variable.
19025 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19026 (carg_test_data): New variable.
19027 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19028 (cimag_test_data): New variable.
19029 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19030 (creal_test_data): New variable.
19031 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19032
0e400df5
JM
19033 * math/libm-test.inc (struct test_if_f_data): New type.
19034 (RUN_TEST_LOOP_if_f): New macro.
19035 (jn_test_data): New variable.
19036 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19037 (yn_test_data): New variable.
19038 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19039
6d33265c
JM
19040 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19041
f98ece5f
AZ
190422013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19043
19044 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19045 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19046
0f7d347b
SP
190472013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19048
43fe811b
SP
19049 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19050 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19051 (bench-deps): Add bench-timing.h.
19052 * benchtests-bench-skeleton.c: Include bench-timing.h.
19053 (main): Use TIMING_* macros instead of clock_gettime.
19054 * benchtests/bench-timing.h: New file.
19055
0f7d347b
SP
19056 [BZ #14582]
19057 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19058 Renamed from _LIB_VERSION.
19059 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19060
601a3a5f
JM
190612013-05-12 Joseph Myers <joseph@codesourcery.com>
19062
4f184d30
JM
19063 * math/libm-test.inc (struct test_fff_f_data): New type.
19064 (RUN_TEST_LOOP_fff_f): New macro.
19065 (fma_test_data): New variable.
19066 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19067 (fma_towardzero_test_data): New variable.
19068 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19069 (fma_downward_test_data): New variable.
19070 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19071 (fma_upward_test_data): New variable.
19072 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19073
08198877
JM
19074 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19075 (struct test_c_c_data): New type.
19076 (RUN_TEST_LOOP_c_c): New macro.
19077 (cacos_test_data): New variable.
19078 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19079 (cacosh_test_data): New variable.
19080 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19081 (casin_test_data): New variable.
19082 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19083 (casinh_test_data): New variable.
19084 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19085 (catan_test_data): New variable.
19086 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19087 (catanh_test_data): New variable.
19088 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19089 (ccos_test_data): New variable.
19090 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19091 (ccosh_test_data): New variable.
19092 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19093 (cexp_test_data): New variable.
19094 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19095 (clog_test_data): New variable.
19096 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19097 (clog10_test_data): New variable.
19098 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19099 (conj_test_data): New variable.
19100 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19101 (cproj_test_data): New variable.
19102 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19103 (csin_test_data): New variable.
19104 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19105 (csinh_test_data): New variable.
19106 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19107 (csqrt_test_data): New variable.
19108 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19109 (ctan_test_data): New variable.
19110 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19111 (ctan_tonearest_test_data): New variable.
19112 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19113 (ctan_towardzero_test_data): New variable.
19114 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19115 (ctan_downward_test_data): New variable.
19116 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19117 (ctan_upward_test_data): New variable.
19118 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19119 (ctanh_test_data): New variable.
19120 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19121 (ctanh_tonearest_test_data): New variable.
19122 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19123 (ctanh_towardzero_test_data): New variable.
19124 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19125 (ctanh_downward_test_data): New variable.
19126 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19127 (ctanh_upward_test_data): New variable.
19128 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19129 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19130 of BUILD_COMPLEX.
19131
601a3a5f
JM
19132 * math/libm-test.inc (struct test_ff_f_data): New type.
19133 (struct test_ff_f_data_nexttoward): Likewise.
19134 (RUN_TEST_LOOP_2_f): New macro.
19135 (RUN_TEST_LOOP_ff_f): Likewise.
19136 (atan2_test_data): New variable.
19137 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19138 (copysign_test_data): New variable.
19139 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19140 (fdim_test_data): New variable.
19141 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19142 (fmax_test_data): New variable.
19143 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19144 (fmin_test_data): New variable.
19145 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19146 (fmod_test_data): New variable.
19147 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19148 (hypot_test_data): New variable.
19149 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19150 (nextafter_test_data): New variable.
19151 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19152 (nexttoward_test_data): New variable.
19153 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19154 (pow_test_data): New variable.
19155 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19156 (pow_tonearest_test_data): New variable.
19157 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19158 (pow_towardzero_test_data): New variable.
19159 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19160 (pow_downward_test_data): New variable.
19161 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19162 (pow_upward_test_data): New variable.
19163 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19164 (remainder_test_data): New variable.
19165 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19166 (scalb_test_data): New variable.
19167 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19168 * sysdeps/i386/fpu/libm-test-ulps: Update.
19169
74c57478
JM
191702013-05-11 Joseph Myers <joseph@codesourcery.com>
19171
8329e4da
JM
19172 * math/libm-test.inc (fma_test): Use max_value instead of local
19173 variable fltmax.
19174 (nextafter_test): Likewise.
19175
74c57478
JM
19176 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19177 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19178 (acos_downward_test_data): New variable.
19179 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19180 (acos_upward_test_data): New variable.
19181 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19182 (acosh_test_data): New variable.
19183 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19184 (asin_test_data): New variable.
19185 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19186 (asin_tonearest_test_data): New variable.
19187 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19188 (asin_towardzero_test_data): New variable.
19189 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19190 (asin_downward_test_data): New variable.
19191 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19192 (asin_upward_test_data): New variable.
19193 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19194 (asinh_test_data): New variable.
19195 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19196 (atan_test_data): New variable.
19197 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19198 (atanh_test_data): New variable.
19199 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19200 (cbrt_test_data): New variable.
19201 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19202 (ceil_test_data): New variable.
19203 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19204 (cos_test_data): New variable.
19205 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19206 (cos_tonearest_test_data): New variable.
19207 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19208 (cos_towardzero_test_data): New variable.
19209 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19210 (cos_downward_test_data): New variable.
19211 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19212 (cos_upward_test_data): New variable.
19213 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19214 (cosh_test_data): New variable.
19215 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19216 (cosh_tonearest_test_data): New variable.
19217 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19218 (cosh_towardzero_test_data): New variable.
19219 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19220 (cosh_downward_test_data): New variable.
19221 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19222 (cosh_upward_test_data): New variable.
19223 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19224 (erf_test_data): New variable.
19225 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19226 (erfc_test_data): New variable.
19227 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19228 (exp_test_data): New variable.
19229 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19230 (exp_tonearest_test_data): New variable.
19231 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19232 (exp_towardzero_test_data): New variable.
19233 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19234 (exp_downward_test_data): New variable.
19235 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19236 (exp_upward_test_data): New variable.
19237 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19238 (exp10_test_data): New variable.
19239 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19240 (exp2_test_data): New variable.
19241 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19242 (expm1_test_data): New variable.
19243 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19244 (fabs_test_data): New variable.
19245 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19246 (floor_test_data): New variable.
19247 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19248 (j0_test_data): New variable.
19249 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19250 (j1_test_data): New variable.
19251 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19252 (log_test_data): New variable.
19253 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19254 (log10_test_data): New variable.
19255 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19256 (log1p_test_data): New variable.
19257 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19258 (log2_test_data): New variable.
19259 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19260 (logb_test_data): New variable.
19261 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19262 (logb_downward_test_data): New variable.
19263 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19264 (nearbyint_test_data): New variable.
19265 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19266 (rint_test_data): New variable.
19267 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19268 (rint_tonearest_test_data): New variable.
19269 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19270 (rint_towardzero_test_data): New variable.
19271 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19272 (rint_downward_test_data): New variable.
19273 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19274 (rint_upward_test_data): New variable.
19275 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19276 (round_test_data): New variable.
19277 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19278 (sin_test_data): New variable.
19279 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19280 (sin_tonearest_test_data): New variable.
19281 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19282 (sin_towardzero_test_data): New variable.
19283 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19284 (sin_downward_test_data): New variable.
19285 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19286 (sin_upward_test_data): New variable.
19287 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19288 (sinh_test_data): New variable.
19289 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19290 (sinh_tonearest_test_data): New variable.
19291 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19292 (sinh_towardzero_test_data): New variable.
19293 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19294 (sinh_downward_test_data): New variable.
19295 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19296 (sinh_upward_test_data): New variable.
19297 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19298 (sqrt_test_data): New variable.
19299 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19300 (tan_test_data): New variable.
19301 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19302 (tan_tonearest_test_data): New variable.
19303 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19304 (tan_towardzero_test_data): New variable.
19305 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19306 (tan_downward_test_data): New variable.
19307 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19308 (tan_upward_test_data): New variable.
19309 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19310 (tanh_test_data): New variable.
19311 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19312 (tgamma_test_data): New variable.
19313 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19314 (trunc_test_data): New variable.
19315 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19316 (y0_test_data): New variable.
19317 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19318 (y1_test_data): New variable.
19319 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19320 (significand_test_data): New variable.
19321 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19322
7187d844
CG
193232013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19324
19325 [BZ #12387]
19326 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19327
f63fae73
PT
193282013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19329
19330 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19331
8a67a4b3
AJ
193322013-05-10 Andreas Jaeger <aj@suse.de>
19333
19334 [BZ #15448]
19335 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19336 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19337
51df539d
JM
193382013-05-10 Joseph Myers <joseph@codesourcery.com>
19339
19340 * math/gen-libm-test.pl (adjust_arg): New function.
19341 (special_functions): Handle generating output in both functions
19342 and arrays.
19343 (parse_args): Likewise.
19344 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19345 $in_func argument to parse_args.
19346 * math/libm-test.inc (struct test_f_f_data): New type.
19347 (IF_ROUND_INIT_): New macro.
19348 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19349 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19350 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19351 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19352 (ROUND_RESTORE_): Likewise.
19353 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19354 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19355 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19356 (ROUND_RESTORE_FE_UPWARD): Likewise.
19357 (RUN_TEST_LOOP_f_f): New macro.
19358 (acos_test_data): New variable.
19359 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19360 (acos_tonearest_test_data): New variable.
19361 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19362
5c637fe5
SP
193632013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19364
19365 * benchtests/bench-skeleton.c (startup): Fix coding style.
19366
ab2b9461
JM
193672013-05-10 Joseph Myers <joseph@codesourcery.com>
19368
19369 [BZ #6809]
19370 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19371 negative infinity argument.
19372 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19373 negative infinity argument.
19374 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19375 negative infinity argument.
19376 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19377 domain errors.
19378
4c0fe6fe
FW
193792013-05-10 Florian Weimer <fweimer@redhat.com>
19380
19381 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19382 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19383 * iconv/iconv_prog.c (main): Likewise.
19384 * locale/programs/charmap-dir.c (charmap_readdir)
19385 (fopen_uncompressed): Likewise.
19386 * locale/programs/locfile.c (siblings_uncached)
19387 (write_locale_data): Use lstat64 instead of lstat.
19388 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19389 stat.
19390
a3375d29
AJ
193912013-05-10 Andreas Jaeger <aj@suse.de>
19392
19393 [BZ #15395]
19394 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19395 localization.
19396 Include <locale.h>.
19397
36129722
CD
193982013-05-09 Carlos O'Donell <carlos@redhat.com>
19399
19400 * elf/dl-close.c (_dl_close_worker): Add comments.
19401
faa7f811
JM
194022013-05-09 Joseph Myers <joseph@codesourcery.com>
19403
ed41ffef
JM
19404 [BZ #15359]
19405 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19406 high part of pi/2.
19407 (__ieee754_rem_pio2l): Update comments.
19408
d0213cd0
JM
19409 [BZ #15429]
19410 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19411 high part of pi/2.
19412 (__ieee754_rem_pio2l): Update comments.
19413
0d3e777a
JM
19414 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19415 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19416
24f56066
JM
19417 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19418 M_PI_4l.
19419
faa7f811
JM
19420 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19421 (M_PI_34_LOG10El): Likewise.
19422 (M_PI2_LOG10El): Likewise.
19423 (M_PI4_LOG10El): Likewise.
19424 (M_PI_LOG10El): Likewise.
19425
e9a5e0fd
AZ
194262013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19427
19428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19429
d8cd06db
JM
194302013-05-08 Joseph Myers <joseph@codesourcery.com>
19431
a0d9f9d7
JM
19432 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19433 (MINUS_ZERO_INIT): Likewise.
19434 (PLUS_INFTY_INIT): Likewise.
19435 (MINUS_INFTY_INIT): Likewise.
19436 (QNAN_VALUE_INIT): Likewise.
19437 (MAX_VALUE_INIT): Likewise.
19438 (MIN_VALUE_INIT): Likewise.
19439 (MIN_SUBNORM_VALUE_INIT): Likewise.
19440 (plus_zero): Initialize with PLUS_ZERO_INIT.
19441 (minus_zero): Initialize with MINUS_ZERO_INIT.
19442 (plus_infty): Initialize with PLUS_INFTY_INIT.
19443 (minus_infty): Initialize with MINUS_INFTY_INIT.
19444 (qnan_value): Initialize with QNAN_VALUE_INIT.
19445 (max_value): Initialize with MAX_VALUE_INIT.
19446 (min_value): Initialize with MIN_VALUE_INIT.
19447 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19448
ae08db3b
JM
19449 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19450 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19451 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19452 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19453
f44bf14a
JM
19454 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19455 (RUN_TEST_2_f): Likewise.
19456 (RUN_TEST_ff_f): Likewise.
19457 (RUN_TEST_fi_f): Likewise.
19458 (RUN_TEST_fl_f): Likewise.
19459 (RUN_TEST_fff_f): Likewise.
19460 (RUN_TEST_c_f): Likewise.
19461 (RUN_TEST_f_f1): Likewise.
19462 (RUN_TEST_fF_f1): Likewise.
19463 (RUN_TEST_fI_f1): Likewise.
19464 (RUN_TEST_ffI_f1): Likewise.
19465 (RUN_TEST_c_c): Likewise.
19466 (RUN_TEST_cc_c): Likewise.
19467 (RUN_TEST_f_i): Likewise.
19468 (RUN_TEST_f_i_tg): Likewise.
19469 (RUN_TEST_ff_i_tg): Likewise.
19470 (RUN_TEST_f_b): Likewise.
19471 (RUN_TEST_f_b_tg): Likewise.
19472 (RUN_TEST_f_l): Likewise.
19473 (RUN_TEST_f_L): Likewise.
19474 (RUN_TEST_sincos): Likewise.
19475 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19476 whether to show exceptions. Do not include ");\n" in return
19477 value.
19478 (special_functions): Output call to RUN_TEST_sincos instead of
19479 check_float calls. Update calls to new_test.
19480 (parse_args): Output call to single RUN_TEST_* macro instead of
19481 check_* calls and other assignments. Update calls to new_test.
19482
d8cd06db
JM
19483 [BZ #2546]
19484 [BZ #2560]
19485 [BZ #5159]
19486 [BZ #15426]
19487 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19488 input to result for tgamma overflow.
19489 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19490 (gamma_coeff): New variable.
19491 (NCOEFF): New macro.
19492 (gamma_positive): New function.
19493 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19494 underflow here. Use gamma_positive instead of exp (lgamma) for
19495 other arguments.
19496 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19497 (gamma_coeff): New variable.
19498 (NCOEFF): New macro.
19499 (gammaf_positive): New function.
19500 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19501 underflow here. Use gamma_positive instead of exp (lgamma) for
19502 other arguments.
19503 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19504 (gamma_coeff): New variable.
19505 (NCOEFF): New macro.
19506 (gammal_positive): New function.
19507 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19508 underflow here. Use gamma_positive instead of exp (lgamma) for
19509 other arguments.
19510 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19511 (gamma_coeff): New variable.
19512 (NCOEFF): New macro.
19513 (gammal_positive): New function.
19514 (__ieee754_gammal_r): Handle positive infinity, overflow and
19515 underflow here. Handle NaN the same as positive infinity. Remove
19516 check x < 0xffffffff for negative integers. Use gamma_positive
19517 instead of exp (lgamma) for other arguments.
19518 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19519 (gamma_coeff): New variable.
19520 (NCOEFF): New macro.
19521 (gammal_positive): New function.
19522 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19523 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19524 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19525 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19526 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19527 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19528 * sysdeps/generic/math_private.h (__gamma_productf): New
19529 prototype.
19530 (__gamma_product): Likewise.
19531 (__gamma_productl): Likewise.
19532 * math/Makefile (libm-calls): Add gamma_product.
19533 * math/libm-test.inc (tgamma_test): Add more tests.
19534 * sysdeps/i386/fpu/libm-test-ulps: Update.
19535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19536
bb7cf681
OB
195372013-05-08 Ondřej Bílka <neleai@seznam.cz>
19538
19539 * benchtests/bench-skeleton.c (main): Preheat CPU.
19540
ba853947
AJ
195412013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19542
19543 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19544
8347c74c
RM
195452013-05-07 Roland McGrath <roland@hack.frob.com>
19546
19547 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19548 and _dl_skip_args_internal.
19549
e8dd4791
CD
195502013-05-07 Carlos O'Donell <carlos@redhat.com>
19551
19552 * manual/message.texi (Message Translation): Talk about users.
19553 Message to key mapping impacts design.
19554
c7405830
RM
195552013-05-06 Roland McGrath <roland@hack.frob.com>
19556
a9173057
RM
19557 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19558
976e2f03
RM
19559 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19560
9723ffc5
RM
19561 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19562 * sysdeps/wordsize-64/glob64.c: ... here.
19563
962e6658
RM
19564 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19565 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19566 New macros.
19567
ee586a6d
RM
19568 * debug/getlogin_r_chk.c: Moved to ...
19569 * login/getlogin_r_chk.c: ... here.
19570 * debug/Makefile (routines): Move getlogin_r_chk to ...
19571 * login/Makefile (routines): ... here.
19572 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19573 * login/Versions (libc: GLIBC_2.4): ... here.
19574
355f9165
RM
19575 * io/poll.c (__poll): Renamed from poll.
19576 Add libc_hidden_def.
19577 (poll): Define as weak alias.
19578
bd9ffde6
RM
19579 * debug/ptsname_r_chk.c: Moved to ...
19580 * login/ptsname_r_chk.c: ... here.
19581 * debug/Makefile (routines): Move ptsname_r_chk to ...
19582 * login/Makefile (routines): ... here.
19583 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19584 * login/Versions (libc: GLIBC_2.4): ... here.
19585
8fb16a04
RM
19586 * posix/getlogin.c: Moved to ...
19587 * login/getlogin.c: ... here.
19588 * posix/getlogin_r.c: Moved to ...
19589 * login/getlogin_r.c: ... here.
19590 * posix/getlogin_r.c: Moved to ...
19591 * login/getlogin_r.c: ... here.
19592 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19593 * login/Makefile (routines): ... here.
19594 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19595 * login/Versions (libc: GLIBC_2.0): ... here.
19596
b99b892f
RM
19597 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19598 (setrlimit): Define as weak alias.
19599
c7405830
RM
19600 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19601 Call __ names for open, ftruncate, and close.
19602 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19603 (truncate): Define as weak alias.
19604
5bf96de5
JM
196052013-05-06 Joseph Myers <joseph@codesourcery.com>
19606
9ea3513c
JM
19607 * math/gen-libm-test.pl (parse_args): Initialize x before each
19608 test of frexp, modf and remquo.
19609
5bf96de5
JM
19610 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19611 test signgam value.
19612
16e616a7
AZ
196132013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19614
19615 [BZ #15418]
19616 [BZ #15419]
19617 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19618 internal tests.
19619 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19620
d5e82754
RM
196212013-05-06 Roland McGrath <roland@hack.frob.com>
19622
19623 * elf/dl-writev.h: New file.
19624 * elf/dl-misc.c: Include it.
19625 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19626 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19627
a7548d41
JM
196282013-05-04 Joseph Myers <joseph@codesourcery.com>
19629
b7dab1e4
JM
19630 * math/libm-test.inc (noXFails): Remove variable.
19631 (noXPasses): Likewise.
19632 (BUILD_COMPLEX_INT): Remove macro.
19633 (print_screen): Remove xfail argument.
19634 (print_screen_max_error): Likewise.
19635 (update_stats): Likewise.
19636 (print_max_error): Likewise. Update calls to other affected
19637 functions.
19638 (print_complex_max_error): Likewise.
19639 (test_single_exception): Update calls to print_screen.
19640 (test_single_errno): Likewise.
19641 (check_float_internal): Remove xfail argument. Update calls to
19642 other affected functions.
19643 (check_float): Likewise.
19644 (check_complex): Likewise.
19645 (check_int): Likewise.
19646 (check_long): Likewise.
19647 (check_bool): Likewise.
19648 (check_longlong): Likewise.
19649 (main): Don't print noXFails and noXPasses.
19650 * math/gen-libm-test.pl (top level): Don't mention expected
19651 failure handling in comment.
19652 (new_test): Don't handle expected failures.
19653 (parse_args): Don't mention expected failure handling in comment.
19654 (generate_testfile): Don't handle expected failures.
19655 (parse_ulps): Likewise.
19656 (print_ulps_file): Likewise.
19657 (get_failure): Remove function.
19658 (output_test): Don't handle expected failures.
19659 * make/README.libm-test: Don't mention expected failure handling.
19660
a7548d41
JM
19661 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19662 (minus_zero): Likewise.
19663 (plus_infty): Likewise.
19664 (minus_infty): Likewise.
19665 (qnan_value): Likewise.
19666 (max_value): Likewise.
19667 (min_value): Likewise.
19668 (min_subnorm_value): Likewise.
19669 (initialize): Do not initialize those variables dynamically.
19670
60bfd54c
RM
196712013-05-03 Roland McGrath <roland@hack.frob.com>
19672
cc0e6ed8
RM
19673 * io/open.c (__open_2): Moved to ...
19674 * io/open_2.c: ... this new file.
19675 * io/open64.c (__open64_2): Moved to ...
19676 * io/open64_2.c: ... this new file.
19677 * io/openat.c (__openat_2): Moved to ...
19678 * io/openat_2.c: ... this new file.
19679 * io/openat64.c (__openat64_2): Moved to ...
19680 * io/openat64_2.c: ... this new file.
19681 * io/Makefile (routines): Add them.
19682 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19683 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19684 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19685 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19686 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19687 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19688 (__openat64): Add hidden_ver.
19689 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19690 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19691
60bfd54c
RM
19692 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19693 Separately conditionalize setting of GLRO(dl_sysinfo) so
19694 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19695 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19696
83e7640f
AZ
196972013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19698
19699 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19700 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19701 definition.
19702 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19703 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19704 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19705 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19706 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19707
d5dc2af3
JM
197082013-05-03 Joseph Myers <joseph@codesourcery.com>
19709
c31a5b1e
JM
19710 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19711 test signgam value.
19712
d5dc2af3
JM
19713 * math/libm-test.inc (hypot_test): Do not use
19714 IGNORE_ZERO_INF_SIGN.
19715
164fd39d
AJ
197162013-05-03 Andreas Jaeger <aj@suse.de>
19717
19718 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19719 Linux 3.9.
19720 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19721 (PF_MAX): Adjust for VSOCK change.
19722
8237f48c
AZ
197232013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19724
19725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19726
9df02941
CD
197272013-05-02 Carlos O'Donell <carlos@redhat.com>
19728
19729 [BZ #15264]
19730 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19731 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19732 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19733
d422395e
DM
197342013-05-02 David S. Miller <davem@davemloft.net>
19735
19736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19737
a07c5731
OB
197382013-05-01 Ondřej Bílka <neleai@seznam.cz>
19739
19740 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19741
1324e37f
RM
197422013-05-01 Roland McGrath <roland@hack.frob.com>
19743
19744 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19745
0695940b
RS
197462013-05-01 Richard Smith <richard@metafoo.co.uk>
19747
bb5f27ad 19748 [BZ #14952]
0695940b
RS
19749 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19750 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19751 Use __attribute__ ((__gnu_inline__)).
19752 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19753 Don't use __attribute__ ((__gnu_inline__)).
19754
10de07f5
JM
197552013-05-01 Joseph Myers <joseph@codesourcery.com>
19756
19757 [BZ #15423]
19758 * math/s_catan.c (__catan): Handle small real or imaginary part of
19759 input specially to avoid spurious underflow.
19760 * math/s_catanf.c (__catanf): Likewise.
19761 * math/s_catanh.c (__catanh): Likewise.
19762 * math/s_catanhf.c (__catanhf): Likewise.
19763 * math/s_catanhl.c (__catanhl): Likewise.
19764 * math/s_catanl.c (__catanl): Likewise.
19765 * math/libm-test.inc (catan_test): Add more tests.
19766 (catanh_test): Likewise.
19767 * sysdeps/i386/fpu/libm-test-ulps: Update.
19768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19769
cb4d5414
AZ
197702013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19771
19772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19773
caf84319
JM
197742013-04-30 Joseph Myers <joseph@codesourcery.com>
19775
19776 [BZ #15416]
19777 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19778 accurately for denominator in atan2.
19779 * math/s_catanf.c (__catanf): Likewise.
19780 * math/s_catanh.c (__catanh): Likewise.
19781 * math/s_catanhf.c (__catanhf): Likewise.
19782 * math/s_catanhl.c (__catanhl): Likewise.
19783 * math/s_catanl.c (__catanl): Likewise.
19784 * math/libm-test.inc (catan_test): Add more tests.
19785 (catanh_test): Likewise.
19786 * sysdeps/i386/fpu/libm-test-ulps: Update.
19787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19788
d569c6ee
SP
197892013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19790
6dbe713d
SP
19791 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19792
f0ee064b
SP
19793 * benchtests/Makefile (bench): Remove slow benchmarks.
19794 * benchtests/atan-inputs: Add slow benchmark inputs.
19795 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19796 (BENCH_FUNC): Accept variant offset.
19797 (VARIANT): Define.
19798 * benchtests/bench-skeleton.c (main): Run benchmark for each
19799 variant.
19800 * benchtests/cos-inputs: Add slow benchmark inputs.
19801 * benchtests/exp-inputs: Likewise.
19802 * benchtests/pow-inputs: Likewise.
19803 * benchtests/sin-inputs: Likewise.
19804 * benchtests/slowatan-inputs: Remove.
19805 * benchtests/slowatan.c: Remove.
19806 * benchtests/slowcos-inputs: Remove.
19807 * benchtests/slowcos.c: Remove.
19808 * benchtests/slowexp-inputs: Remove.
19809 * benchtests/slowexp.c: Remove.
19810 * benchtests/slowpow-inputs: Remove.
19811 * benchtests/slowpow.c: Remove.
19812 * benchtests/slowsin-inputs: Remove.
19813 * benchtests/slowsin.c: Remove.
19814 * benchtests/slowtan-inputs: Remove.
19815 * benchtests/slowtan.c: Remove.
19816 * benchtests/tan-inputs: Add slow benchmark inputs.
19817 * scripts/bench.pl: Parse comments and directives.
19818
d569c6ee
SP
19819 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19820 in CPPFLAGS.
19821 ($(objpfx)bench-%.c): Remove *-ITER.
19822 * benchtests/bench-modf.c: Remove definition of ITER.
19823 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19824 (main): Loop for DURATION seconds instead of fixed number of
19825 iterations.
19826 * scripts/bench.pl: Don't expect iterations in parameters.
19827
a6a242fe
RM
198282013-04-29 Roland McGrath <roland@hack.frob.com>
19829
19830 * io/fchdir.c (__fchdir): Renamed from fchdir.
19831 (fchdir): Define as weak alias.
19832
f2da7793
JM
198332013-04-29 Joseph Myers <joseph@codesourcery.com>
19834
19835 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19836 (ERRNO_EDOM): Likewise.
19837 (ERRNO_ERANGE): Likewise.
19838 (noErrnoTests): New variable.
19839 (init_max_error): Set errno to 0.
19840 (test_single_errno): New function.
19841 (test_errno): Likewise.
19842 (check_float_internal): Call test_errno. Set errno to 0.
19843 (check_complex): Refer to errno tests in comment.
19844 (check_int): Call test_errno. Set errno to 0.
19845 (check_long): Likewise.
19846 (check_bool): Likewise.
19847 (check_longlong): Likewise.
19848 (cos_test): Use ERRNO_* flags for errno tests instead of
19849 check_int.
19850 (expm1_test): Likewise.
19851 (fmod_test): Likewise.
19852 (ilogb_test): Likewise.
19853 (lgamma_test): Likewise.
19854 (pow_test): Likewise.
19855 (remainder_test): Likewise.
19856 (sin_test): Likewise.
19857 (tan_test): Likewise.
19858 (yn_test): Likewise.
19859 (initialize): Set errno to 0.
19860 (main): Print number of errno tests.
19861 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19862
b1a36ceb
AJ
198632013-04-29 Andreas Jaeger <aj@suse.de>
19864
c3ed8088
AJ
19865 [BZ #15084]
19866 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19867 and RES_USEVC.
19868
f1a24198
AJ
19869 [BZ #15085]
19870 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19871 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19872 unimplemented.
19873
9ce3b2cb
AJ
19874 [BZ #15380]
19875 * stdlib/random.c (__initstate): Return NULL if
19876 __initstate fails.
19877
f1a24198 19878 [BZ #15086]
b1a36ceb
AJ
19879 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19880 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19881 RES_SNGLKUPREOP.
19882
7e7b6f36
AZ
198832013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19884
19885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19886
4d14f449
JM
198872013-04-29 Joseph Myers <joseph@codesourcery.com>
19888
19889 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19890 of individual tests.
19891 (casin_test): Likewise.
19892 (casinh_test): Likewise.
19893
5b4217d7
JM
198942013-04-27 Joseph Myers <joseph@codesourcery.com>
19895
19896 [BZ #15409]
19897 * math/s_catan.c (__catan): Handle arguments with large real or
19898 imaginary part separately without squaring.
19899 * math/s_catanf.c (__catanf): Likewise.
19900 * math/s_catanh.c (__catanh): Likewise.
19901 * math/s_catanhf.c (__catanhf): Likewise.
19902 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19903 and redefine.
19904 (__catanhl): Handle arguments with large real or imaginary part
19905 separately without squaring.
19906 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19907 and redefine.
19908 (__catanl): Handle arguments with large real or imaginary part
19909 separately without squaring.
19910 * math/libm-test.inc (catan_test): Add more tests.
19911 (catanh_test): Likewise.
19912 * sysdeps/i386/fpu/libm-test-ulps: Update.
19913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19914
4220c3ef
AJ
199152013-04-27 Andreas Jaeger <aj@suse.de>
19916
19917 [BZ #15007]
19918 * stdlib/stdlib.h: Update guards for qecvt.
19919 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19920 <stdlib.h>.
19921
4721b2d1
AM
199222013-04-27 Allan McRae <allan@archlinux.org>
19923
19924 * sysdeps/i386/fpu/libm-test-ulps: Update.
19925
f0302940
JM
199262013-04-26 Joseph Myers <joseph@codesourcery.com>
19927
9457fd95
JM
19928 [BZ #15406]
19929 * math/s_catan.c: Include <float.h>.
19930 (__catan): Ensure underflow exception occurs for underflowed
19931 result.
19932 * math/s_catanf.c: Include <float.h>.
19933 (__catanf): Ensure underflow exception occurs for underflowed
19934 result.
19935 * math/s_catanh.c: Include <float.h>.
19936 (__catanh): Ensure underflow exception occurs for underflowed
19937 result.
19938 * math/s_catanhf.c: Include <float.h>.
19939 (__catanhf): Ensure underflow exception occurs for underflowed
19940 result.
19941 * math/s_catanhl.c: Include <float.h>.
19942 (__catanhl): Ensure underflow exception occurs for underflowed
19943 result.
19944 * math/s_catanl.c: Include <float.h>.
19945 (__catanl): Ensure underflow exception occurs for underflowed
19946 result.
19947 * math/libm-test.inc (catan_test): Add more tests.
19948 (catanh_test): Likewise.
19949
f0302940
JM
19950 [BZ #15405]
19951 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19952 underflowed result.
19953 * math/s_ccoshf.c (__ccoshf): Likewise.
19954 * math/s_ccoshl.c (__ccoshl): Likewise.
19955 * math/s_csin.c (__csin): Likewise.
19956 * math/s_csinf.c (__csinf): Likewise.
19957 * math/s_csinh.c (__csinh): Likewise.
19958 * math/s_csinhf.c (__csinhf): Likewise.
19959 * math/s_csinhl.c (__csinhl): Likewise.
19960 * math/s_csinl.c (__csinl): Likewise.
19961 * math/libm-test.inc (ccos_test): Add more tests.
19962 (ccosh_test): Likewise.
19963 (csin_test): Likewise.
19964 (csinh_test): Likewise.
19965
aa630f59
AZ
199662013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19967
19968 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19969 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19970 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19971 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19972 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19973 powerpc/power5+/fpu folders.
19974 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19975
19976
1b835983
MT
199772013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19978
19979 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19980
73709b26
JM
199812013-04-25 Joseph Myers <joseph@codesourcery.com>
19982
19983 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19984 additions to variable.
19985 [$(config-machine) = x86_64] (modules-names): Likewise.
19986 ($(objpfx)tst-audit3): Remove dependency.
19987 ($(objpfx)tst-audit3.out): Likewise.
19988 ($(objpfx)tst-audit4): Likewise.
19989 ($(objpfx)tst-audit4.out): Likewise.
19990 ($(objpfx)tst-audit5): Likewise.
19991 ($(objpfx)tst-audit5.out): Likewise.
19992 ($(objpfx)tst-audit6): Likewise.
19993 ($(objpfx)tst-audit6.out): Likewise.
19994 ($(objpfx)tst-audit7): Likewise.
19995 ($(objpfx)tst-audit7.out): Likewise.
19996 (tst-audit3-ENV): Remove variable.
19997 (tst-audit4-ENV): Likewise.
19998 (tst-audit5-ENV): Likewise.
19999 (tst-audit6-ENV): Likewise.
20000 (tst-audit7-ENV): Likewise.
20001 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20002 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20003 addition to variable.
20004 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20005 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20006 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20007 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20008 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20009 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20010 tst-audit3, tst-audit4 and tst-audit5.
20011 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20012 tst-audit6 and tst-audit7.
20013 [$(subdir) = elf] (modules-names): Add audit modules for those
20014 tests.
20015 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20016 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20017 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20018 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20019 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20020 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20021 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20022 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20023 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20024 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20025 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20026 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20027 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20028 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20029 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20030 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20031 Likewise.
20032 [$(subdir) = elf && $(config-cflags-avx) = yes]
20033 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20034 [$(subdir) = elf && $(config-cflags-avx) = yes]
20035 (CFLAGS-tst-auditmod4a.c): Likewise.
20036 [$(subdir) = elf && $(config-cflags-avx) = yes]
20037 (CFLAGS-tst-auditmod4b.c): Likewise.
20038 [$(subdir) = elf && $(config-cflags-avx) = yes]
20039 (CFLAGS-tst-auditmod6b.c): Likewise.
20040 [$(subdir) = elf && $(config-cflags-avx) = yes]
20041 (CFLAGS-tst-auditmod6c.c): Likewise.
20042 [$(subdir) = elf && $(config-cflags-avx) = yes]
20043 (CFLAGS-tst-auditmod7b.c): Likewise.
20044 * elf/tst-audit3.c: Move to ...
20045 * sysdeps/x86_64/tst-audit3.c: ... here.
20046 * elf/tst-audit4.c: Move to ...
20047 * sysdeps/x86_64/tst-audit4.c: ... here.
20048 * elf/tst-audit5.c: Move to ...
20049 * sysdeps/x86_64/tst-audit5.c: ... here.
20050 * elf/tst-audit6.c: Move to ...
20051 * sysdeps/x86_64/tst-audit6.c: ... here.
20052 * elf/tst-audit7.c: Move to ...
20053 * sysdeps/x86_64/tst-audit7.c: ... here.
20054 * elf/tst-auditmod3a.c: Move to ...
20055 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20056 * elf/tst-auditmod3b.c: Move to ...
20057 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20058 * elf/tst-auditmod4a.c: Move to ...
20059 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20060 * elf/tst-auditmod4b.c: Move to ...
20061 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20062 * elf/tst-auditmod5a.c: Move to ...
20063 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20064 * elf/tst-auditmod5b.c: Move to ...
20065 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20066 * elf/tst-auditmod6a.c: Move to ...
20067 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20068 * elf/tst-auditmod6b.c: Move to ...
20069 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20070 * elf/tst-auditmod6c.c: Move to ...
20071 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20072 * elf/tst-auditmod7a.c: Move to ...
20073 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20074 * elf/tst-auditmod7b.c: Move to ...
20075 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20076
1ef74943
PP
200772013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20078
20079 [BZ #15366]
20080 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20081 define unconditionally.
20082 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20083 define unconditionally.
20084 (INT8_C, INT16_C, etc.): Likewise.
20085
93fd48c5
MR
200862013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20087
ae9552cf
MR
20088 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20089 __ehdr_start with hidden visibility.
20090
93fd48c5
MR
20091 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20092
418601aa
CD
200932013-04-24 Carlos O'Donell <carlos@redhat.com>
20094
20095 * math/libm-test.inc (cos_test): Use accurate hex constants.
20096 (sincost_test): Likewise.
20097
2f38fbfe
JM
200982013-04-24 Joseph Myers <joseph@codesourcery.com>
20099
5e221800
JM
20100 * math/libm-test.inc (catan_test): Add more tests.
20101 (catanh_test): Likewise.
20102
77f143fd
JM
20103 * math/s_catanf.c (__catanf): Use suffixed floating-point
20104 constants.
20105 * math/s_catanhf.c (__catanhf): Likewise.
20106 * math/s_catanhl.c (__catanhl): Likewise.
20107 * math/s_catanl.c (__catanl): Likewise.
20108
2f38fbfe
JM
20109 [BZ #15394]
20110 * math/s_catan.c (__catan): Calculate imaginary part of result
20111 with log1p not log unless computing log of number close to 0.
20112 * math/s_catanf.c (__catanf): Likewise.
20113 * math/s_catanl.c (__catanl): Likewise.
20114 * math/s_catanh.c (__catanh): Calculate real part of result with
20115 log1p not log unless computing log of number close to 0.
20116 * math/s_catanhf.c (__catanhf): Likewise.
20117 * math/s_catanhl.c (__catanhl): Likewise.
20118 * math/libm-test.inc (catan_test): Add more tests.
20119 (catanh_test): Likewise.
20120 * sysdeps/i386/fpu/libm-test-ulps: Update.
20121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20122
45d69176
SP
201232013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20124
20125 * benchtests/Makefile: Mention files in which fast and slow
20126 paths of math functions are implemented.
20127
87f51853
RM
201282013-04-23 Roland McGrath <roland@hack.frob.com>
20129
20130 * sysdeps/posix/timespec_get.c: New file.
20131
3c026539
AZ
201322013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20133
20134 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20135 POWER.
20136 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20137 for POWER.
20138 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20139 powerpc/power5/fpu folders.
20140 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20141 * benchtests/Makefile: Add modf testcase.
20142 * benchtests/bench-modf.c: New file: Benchmark test for mo
20143
ff491d14
SP
201442013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20145
20146 [BZ #14888]
20147 * time/Makefile (tests): Add tst-strptime-whitespace.
20148 * time/strptime_l.c (get_number): Use ISSPACE.
20149 (__strptime_internal): Likewise.
20150 * time/tst-strptime-whitespace.c: New test case.
20151
7ed3f4e8
AS
201522013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20153
20154 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20155 member.
20156 (_nss_files_init): Set it here.
20157
5c95f7b6
HC
201582013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20159
20160 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20161 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20162 unsigned.
20163
d34c9158
JBG
201642013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20165
20166 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20167
2169712d
SP
201682013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20169
20170 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20171 size just once.
20172
29c5de99
DM
201732013-04-21 David S. Miller <davem@davemloft.net>
20174
20175 * po/ru.po: Update Russion translation from translation project.
20176
ccdad15d
AC
201772013-04-17 Adam Conrad <adconrad@0c3.net>
20178
20179 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20180 and setfsgid.
20181
0f122b8d
CD
201822013-04-17 Carlos O'Donell <carlos@redhat.com>
20183
5c5b07da 20184 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 20185 * configure: Regenerate.
5c5b07da 20186 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
20187 Add example to error message.
20188 * sysdeps/i386/configure: Regenerate.
20189
037714dd
SP
201902013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20191
20192 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20193 slowtan.
20194 * benchtests/cos-inputs: New file.
20195 * benchtests/slowcos-inputs: New file.
20196 * benchtests/slowcos.c: New file.
20197 * benchtests/slowtan-inputs: New file.
20198 * benchtests/slowtan.c: New file.
20199 * benchtests/tan-inputs: New file.
20200
e913141d
RM
202012013-04-16 Roland McGrath <roland@hack.frob.com>
20202
20203 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20204 considered kosher.
20205
a2964074
SP
202062013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20207
4856bcd2
SP
20208 * benchtests/Makefile: Include cppflags-iterator.mk to add
20209 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20210
a2964074
SP
20211 * Makefile.in (bench-clean): New target.
20212 * benchtests/Makefile (bench-clean): Likewise.
20213
9fbf9aca
DH
202142013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20215
20216 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20217
207d1e2a
TS
202182013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20219
20220 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20221
306dfba9
AS
202222013-04-15 Andreas Schwab <schwab@suse.de>
20223
20224 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20225 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20226 * nscd/pwdcache.c (cache_addpw): Likewise.
20227 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20228 more than recsize.
20229
206a6699
SP
202302013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20231
20232 * benchtests/Makefile (bench): Write all output to
20233 bench-out.tmp together.
20234
0582f6b3
AS
202352013-04-15 Andreas Schwab <schwab@suse.de>
20236
20237 * nscd/nscd.c (main): Don't fork again after closing files.
20238
acb4325f
SP
202392013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20240
5cb26d0a
SP
20241 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20242
acb4325f
SP
20243 * benchtests/Rules (bench-deps): Collect dependencies into a
20244 single variable. Add Makefile to dependencies.
20245 ($(objpfx)bench-%.c): Depend on bench-deps.
20246
47792506
RM
202472013-04-12 Roland McGrath <roland@hack.frob.com>
20248 Xavier Roche <roche+kml2@exalead.com>
20249
20250 [BZ #15361]
20251 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20252 just that it's a file descriptor.
20253 * manual/llio.texi (Synchronizing AIO Operations): Update description
20254 for EBADF error from aio_fsync.
20255
8fc1bee5
SP
202562013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20257
20258 * Rules (bench): Move target definition...
20259 * benchtests/Makefile: ... here.
20260
aba5e333
CD
202612013-04-11 Carlos O'Donell <carlos@redhat.com>
20262
20263 * math/libm-test.inc (cos_test): Fix PI/2 test.
20264 (sincos_test): Likewise.
20265 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20266 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20267
273cdee8
AS
202682013-04-11 Andreas Schwab <schwab@suse.de>
20269
6ecec3b6
AS
20270 [BZ #13988]
20271 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20272 accept exponent character only when digits were seen.
20273 * stdio-common/Makefile (tests): Add bug26.
20274 * stdio-common/bug26.c: New file.
20275
273cdee8
AS
20276 [BZ #14293]
20277 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20278 non-freeable.
20279
8da491f5
SP
202802013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20281
01dc6df9
SP
20282 * Makeconfig (rtld-prefix): Define built linker prefix.
20283 * Rules (run-bench): Use it.
20284 * math/Makefile (run-regen-ulps): Likewise.
20285
8da491f5
SP
20286 * Rules (bench): Remove eval.
20287
abe7f530
SP
202882013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20289 Roland McGrath <roland@hack.frob.com>
20290 Ondrej Bilka <neleai@seznam.cz>
20291
20292 [BZ #15346]
20293 * time/getdate.c: Include ctype.h and alloca.h.
20294 (__getdate_r): Trim leading and trailing spaces of input.
20295 * time/tst-getdate.c (tests): Add tests with leading and
20296 trailing spaces.
20297
61c23e62
RM
202982013-04-08 Roland McGrath <roland@hack.frob.com>
20299
20300 [BZ #14280]
20301 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20302 when computing value.
20303
7208a313
CD
203042013-04-06 Carlos O'Donell <carlos@redhat.com>
20305
085b2d41
CD
20306 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20307 Use testrun.sh to run libm tests.
20308
7208a313
CD
20309 [BZ #15309]
20310 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20311
872c0acd
MM
203122013-04-06 Marko Myllynen <myllynen@redhat.com>
20313
20314 [BZ #15264]
20315 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20316
26510bdd
CD
203172013-04-06 Carlos O'Donell <carlos@redhat.com>
20318
20319 * Makefile.in (regen-ulps): New target.
20320 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20321 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20322 [ifneq (no,$(PERL)] (regen-ulps): New target.
20323 [ifeq (no,$(PERL)] (regen-ulps): New target.
20324 * math/libm-test.inc (ulps_file_name): Define.
20325 (output_dir): New variable.
20326 (options): Add "output-dir" option.
20327 (parse_opt): Handle 'o' case.
20328 (main): If output_dir is non-NULL use it as a prefix
20329 otherwise use "".
20330 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20331
a01f19c8
CD
203322013-04-06 Carlos O'Donell <carlos@redhat.com>
20333
20334 [BZ #10060, #10062]
20335 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20336 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20337 fail configure if __sync_val_compare_and_swap is not inlined.
20338 * sysdeps/i386/configure: Regenerate.
20339 * configure.in: Build for i686 when configured for i386.
20340 * configure: Regenerate.
20341 * README: Remove i386 reference.
20342
b7a329a5
CD
203432013-04-06 Carlos O'Donell <carlos@redhat.com>
20344
20345 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20346 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20347
bf0f50df
TS
203482013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20349
ee091edf
TS
20350 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20351 (lmsnanval): New variables.
20352 (F): Add conversion tests.
20353 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20354 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20355
a8b792d6
TS
20356 * stdio-common/tstdiomisc.c (F): Properly collect individual
20357 tests' results.
20358
a1cbf437
TS
20359 [BZ #14686, #15336]
20360 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20361 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20362 Instead, use input NaN values or generate a qNaN by arithmetic
20363 operation. Also fix bugs to comply with the standard.
20364 * math/libm-test.inc (remainder_test): Add more tests.
20365
8b43a0c9
TS
20366 [BZ #15335, #15342]
20367 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20368 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20369 input NaN values or generate a qNaN by arithmetic operation.
20370
d91da4ce
TS
20371 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20372 unreachable code.
20373
bf0f50df
TS
20374 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20375 definitions.
20376
05e166c8
JM
203772013-04-03 Joseph Myers <joseph@codesourcery.com>
20378
20379 [BZ #14478]
20380 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20381 underflowed result.
20382 * math/s_cexpf.c (__cexpf): Likewise.
20383 * math/s_cexpl.c (__cexpl): Likewise.
20384 * math/libm-test.inc (cexp_test): Add more tests.
20385
1cef1b19
AS
203862013-04-03 Andreas Schwab <schwab@suse.de>
20387
20388 [BZ #15330]
20389 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20390 order arrays from heap if bigger than alloca cutoff.
20391
74d87055
TS
203922013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20393
20394 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20395 (SNAN_TESTS_double): Refer to GCC PR56831.
20396 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20397 GCC PR56828.
20398
d755bba4
SP
203992013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20400
90d5d5bb
SP
20401 * Rules (bench): Move bench.out after the run is complete.
20402
73e0cd5d
SP
20403 * Rules (bench): Echo currently running benchmark.
20404
64aabd4b
SP
20405 * benchtests/Makefile (bench): Add atan and slowatan.
20406 * benchtests/atan-inputs: New file.
20407 * benchtests/slowatan-inputs: New file.
20408 * benchtests/slowatan.c: New file.
20409
c871eccd
SP
20410 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20411 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20412 its value.
20413
d755bba4
SP
20414 [BZ #15305]
20415 * sysdeps/unix/sysv/linux/kernel-features.h
20416 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20417 __ASSUME_XFS_RESTRICTED_CHOWN.
20418 * sysdeps/unix/sysv/linux/pathconf.c
20419 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20420 Save and restore errno.
20421
52ce4860
JM
204222013-04-02 Joseph Myers <joseph@codesourcery.com>
20423
20424 [BZ #15327]
20425 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20426 arguments using __kernel_casinh.
20427 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20428 arguments using __kernel_casinhf.
20429 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20430 arguments using __kernel_casinhl.
20431 * math/libm-test.inc (cacosh_test): Add more tests.
20432 * sysdeps/i386/fpu/libm-test-ulps: Update.
20433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20434
81f311c2
SP
204352013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20436
e7906a47
SP
20437 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20439
92e3664b
SP
20440 * bench/Makefile (bench): Add sin and slowsin.
20441 * benchtests/sin-inputs: New file.
20442 * benchtests/slowsin-inputs: New file.
20443 * benchtests/slowsin.c: New file.
20444
81f311c2
SP
20445 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20446 (bench): Add slowexp and slowpow.
20447 (exp-ITER): Increase iterations.
20448 (pow-ITER): Likewise.
20449 * benchtests/exp-inputs: Change input.
20450 * benchtests/pow-inputs: Likewise.
20451 * benchtests/slowexp-inputs: New file.
20452 * benchtests/slowexp.c: New file.
20453 * benchtests/slowpow-inputs: New file.
20454 * benchtests/slowpow.c: New file.
20455
ab0f1aa9
AZ
204562013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20457
20458 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20459 instructions.
20460 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20461 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20462 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20463 * benchtests/Makefile: Add rint benchtest.
20464 * benchtests/rint-inputs: Input for rint benchtest.
20465
57267616
TS
204662013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20467
20468 * Versions.def (libm): Add GLIBC_2.18.
20469 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20470 hidden libm prototypes.
20471 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20472 * math/Makefile (libm-calls): Add s_issignaling.
20473 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20474 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20475 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20476 declaration.
20477 * math/math.h [__USE_GNU] (issignaling): New macro.
20478 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20479 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20480 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20481 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20482 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20483 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20484 * manual/arith.texi (issignaling): New section.
20485 * manual/libm-err-tab.pl (@all_functions): Update comment.
20486 * math/gen-libm-test.pl (parse_args): Apply special handling for
20487 issignaling.
20488 * math/libm-test.inc (print_float, issignaling_test): New
20489 functions.
20490 (check_float_internal): Add issignaling checks.
20491 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20492 default definition.
20493 * sysdeps/powerpc/math-tests.h: New file.
20494 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20495 tests.
20496 * math/test-snan.c (TEST_FUNC): Likewise.
20497
6142896d
DM
204982013-03-30 David S. Miller <davem@davemloft.net>
20499
20500 * po/de.po: Update from translation team.
20501
ccc8cadf
JM
205022013-03-30 Joseph Myers <joseph@codesourcery.com>
20503
20504 [BZ #10357]
20505 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20506 imaginary part less than 1.0 and real part less than 0.5
20507 specially.
20508 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20509 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20510 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20511 (cacos_test): Add more tests.
20512 (casin_test): Likewise.
20513 (casinh_test): Likewise.
20514 * sysdeps/i386/fpu/libm-test-ulps: Update.
20515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20516
0f6a8d4b
SP
205172013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20518
0d1029de
SP
20519 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20520 ONE with its value.
20521
c2d94018
SP
20522 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20523 (__pow_mp): Replace ONE and MONE with their values.
20524 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20525 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20526 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20527 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20528 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20529 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20530
27ec37f1
SP
20531 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20532
a64d7e0e
SP
20533 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20534 (__pow_mp): Replace ZERO and MZERO with their values.
20535 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20536 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20537 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20538 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20539 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20540 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20541 (__sqr): Likewise.
20542
d26dd3eb
SP
20543 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20544
0f6a8d4b
SP
20545 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20546
e57b0c61
RM
205472013-03-28 Roland McGrath <roland@hack.frob.com>
20548
20549 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20550 Declare with __attribute__ ((weak)).
20551 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20552 Call __call_tls_dtors only if it's not NULL.
20553
356b3480
RM
205542013-03-28 Roland McGrath <roland@hack.frob.com>
20555
288f7d79
RM
20556 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20557 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20558 magic __ehdr_start linker symbol if it's defined.
20559 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20560 them up here if it was already done.
20561
dc0a0263
RM
20562 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20563 (_dl_aux_init): Use const in cast when setting it.
20564 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20565 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20566 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20567
3d3436ae
RM
20568 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20569 Declare them here.
20570 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20571 * csu/libc-tls.c: Nor here.
20572 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20573
356b3480
RM
20574 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20575 (__libc_message): Never call vsyslog.
20576
b0f1246a
AM
205772013-03-28 Alan Modra <amodra@gmail.com>
20578
20579 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20580 Define as empty.
20581 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20582 Likewise.
20583
fbbe2b9a
AZ
205842013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20585
20586 [BZ #15214]
20587 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20588 underflow.
20589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20590
1728ab37
SP
205912013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20592
7a86be6e
SP
20593 [BZ #15304]
20594 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20595 Don't add gid passed as argument.
20596
1728ab37
SP
20597 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20598
3a7182a1
JM
205992013-03-27 Joseph Myers <joseph@codesourcery.com>
20600
20601 [BZ #15307]
20602 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20603 imaginary part between 1.0 and 1.5 and real part less than 0.5
20604 specially.
20605 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20606 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20607 * math/libm-test.inc (cacos_test): Add more tests.
20608 (casin_test): Likewise.
20609 (casinh_test): Likewise.
20610 * sysdeps/i386/fpu/libm-test-ulps: Update.
20611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20612
6f2e90e7
SP
206132013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20614
5739f705
SP
20615 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20616 constants.
20617 (norm): Likewise.
20618 (denorm): Likewise.
20619 (__dbl_mp): Likewise.
20620 (add_magnitudes): Likewise.
20621 (sub_magnitudes): Likewise.
20622 (__add): Likewise.
20623 (__sub): Likewise.
20624 (__mul): Likewise.
20625 (__sqr): Likewise.
20626 (__inv): Likewise.
20627 (__dvd): Likewise.
20628
e375e83d
SP
20629 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20630 commented code.
20631 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20632 (__dubcos): Likewise.
20633 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20634 (__ieee754_acos): Likewise.
20635 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20636 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20637 (__exp1): Likewise.
20638 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20639 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20640 (log1): Likewise.
20641 (my_log2): Likewise.
20642 (checkint): Likewise.
20643 * sysdeps/ieee754/dbl-64/e_remainder.c
20644 (__ieee754_remainder): Likewise.
20645 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20646 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20647 (bsloww): Likewise.
20648 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20649
6f2e90e7
SP
20650 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20651 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20652 MANTISSA_STORE_T to store computations on mantissa. Use
20653 macros for rounding and division.
20654 (denorm): Likewise.
20655 (__dbl_mp): Likewise.
20656 (add_magnitudes): Likewise.
20657 (sub_magnitudes): Likewise.
20658 (__mul): Likewise.
20659 (__sqr): Likewise.
20660 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20661 powers of two in terms of TWOPOW macro.
20662 (mp_no): Make type of mantissa as MANTISSA_T.
20663 [!RADIXI]: Define RADIXI.
20664 [!TWO52]: Define TWO52.
20665 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20666
fce14d4e
AZ
206672013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20668
20669 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20670 llroundl symbol when building for PPC32.
20671
9ad027fb
MW
206722013-03-24 Mark H Weaver <mhw@netris.org>
20673
20674 * manual/arith.texi (Normalization Functions): Fix prototypes for
20675 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20676
e42a38dd
AZ
206772013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20678
20679 [BZ #13889]
20680 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20681 high value to check if expl overflow.
20682 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20683 to check for underflow and overflow.
20684 * math/libm-test.inc: Add exp test.
20685
2e0fb521
DL
206862013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20687
20688 [BZ #11120]
20689 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20690 with NOT_IN_libc.
20691
b5784d95
AZ
206922013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20693
20694 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20695 symbol.
20696
5aa4a1a1
TS
206972013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20698
bdef0be7
TS
20699 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20700 wrap blocks consisting of several statements.
20701
5aa4a1a1
TS
20702 * sysdeps/generic/math-tests.h: New file.
20703 * sysdeps/i386/fpu/math-tests.h: Likewise.
20704 * math/test-snan.c: Include it.
20705 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20706
98c48fe5
JM
207072013-03-21 Joseph Myers <joseph@codesourcery.com>
20708
20709 [BZ #15285]
20710 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20711 (__ieee754_j0l): Do not improve calculations using cos of twice
20712 input for inputs above LDBL_MAX / 2.0L.
20713 (__ieee754_y0l): Likewise.
20714 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20715 (__ieee754_j1l): Do not improve calculations using cos of twice
20716 input for inputs above LDBL_MAX / 2.0L.
20717 (__ieee754_y1l): Likewise.
20718 * math/libm-test.inc (j0_test): Add another test.
20719 (j1_test): Likewise.
20720 (y0_test): Likewise.
20721 (y1_test): Likewise.
20722 * sysdeps/i386/fpu/libm-test-ulps: Update.
20723
3775a8bc
SP
207242013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20725
20726 * Rules ($(objpfx)bench-%.c): Include code from a C source
20727 file.
20728
0a1b2ae6
JM
207292013-03-21 Joseph Myers <joseph@codesourcery.com>
20730
20731 [BZ #15287]
20732 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20733 imaginary part 1.0 and real part less than 0.5 specially.
20734 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20735 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20736 * math/libm-test.inc (cacos_test): Add more tests.
20737 (casin_test): Likewise.
20738 (casinh_test): Likewise.
20739 * sysdeps/i386/fpu/libm-test-ulps: Update.
20740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20741
b33d4ce4
SP
207422013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20743
20744 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20745 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20746
bef0b507
JM
207472013-03-20 Joseph Myers <joseph@codesourcery.com>
20748
20749 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20750 * config.make.in (config-cflags-sse4): Remove variable.
20751 (config-cflags-avx): Likewise.
20752 (config-cflags-sse2avx): Likewise.
20753 (config-cflags-novzeroupper): Likewise.
20754 (config-asflags-i686): Likewise.
20755 (have-mfma4): Likewise.
20756 (have-as-vis3): Likewise.
20757 (MIG): Likewise.
20758 * configure.in (MIG): Do not AC_SUBST.
20759 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20760 (libc_cv_cc_sse4): Do not AC_SUBST.
20761 (libc_cv_cc_avx): Likewise.
20762 (libc_cv_cc_sse2avx): Likewise.
20763 (libc_cv_cc_novzeroupper): Likewise.
20764 (libc_cv_cc_fma4): Likewise.
20765 (libc_cv_as_i686): Likewise.
20766 (libc_cv_sparc_as_vis3): Likewise.
20767 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20768 LIBC_CONFIG_VAR.
20769 (config-asflags-i686): Likewise.
20770 (config-cflags-avx): Likewise.
20771 (config-cflags-sse2avx): Likewise.
20772 (have-mfma4): Likewise.
20773 (config-cflags-novzeroupper): Likewise.
20774 * sysdeps/mach/configure.in (MIG): Likewise.
20775 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20776 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20777 LIBC_CONFIG_VAR.
20778 (config-cflags-avx): Likewise.
20779 (config-cflags-sse2avx): Likewise.
20780 (have-mfma4): Likewise.
20781 (config-cflags-novzeroupper): Likewise.
20782 * configure: Regenerated.
20783 * sysdeps/i386/configure: Likewise.
20784 * sysdeps/mach/configure: Likewise.
20785 * sysdeps/sparc/configure: Likewise.
20786 * sysdeps/x86_64/configure: Likewise.
20787
912cc4b3
RM
207882013-03-20 Roland McGrath <roland@hack.frob.com>
20789
20790 [BZ #14812]
20791 * locale/programs/localedef.c (options): Put N_ translation marker
20792 on argument names, not just descriptions.
20793
04eed2b0
MS
207942013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20795
20796 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20797
a065ceff
OB
207982013-03-20 Ondřej Bílka <neleai@seznam.cz>
20799
9bb2a810 20800 [BZ #14176]
a065ceff
OB
20801 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20802
a600e5ce
RM
208032013-03-19 Roland McGrath <roland@hack.frob.com>
20804
20805 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20806 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20807 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20808 [!BEFORE_ABORT] (before_abort): New function.
20809 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20810 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20811 (writev_for_fatal): New function.
20812 (WRITEV_FOR_FATAL): New macro; call that.
20813 (backtrace_and_maps): New function.
20814 (BEFORE_ABORT): New macro; call that.
20815 (struct str_list): Type removed.
20816 (__libc_message, __libc_fatal): Functions removed.
20817 Include <sysdeps/posix/libc_fatal.c> instead.
20818
6b18bea6
JM
208192013-03-19 Joseph Myers <joseph@codesourcery.com>
20820
20821 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20822 constants.
20823 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20824 double constants.
20825
aaa8cb4b
AS
208262013-03-19 Andreas Schwab <schwab@suse.de>
20827
44673770
AS
20828 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20829 * sysdeps/gnu/configure: Regenerate.
20830
aaa8cb4b
AS
20831 * configure.in: Substitute libc_cv_rtlddir.
20832 * configure: Regenerate.
20833 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20834 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20835 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20836 * elf/Makefile (install-others, CFLAGS-interp.c)
20837 (ldso_install, common-ldd-rewrite): Likewise.
20838 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20839 $(inst_slibdir)/$(rtld-installed-name).
20840 * scripts/rellns-sh: Add -p option.
20841 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20842 for source.
20843
d3cfc668
SP
208442013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20845
20846 * manual/nptl.texi: Renamed to ...
20847 * manual/threads.texi: ... this.
20848 * manual/Makefile (chapters): Update.
20849
0e2b9cdd
RM
208502013-03-18 Roland McGrath <roland@hack.frob.com>
20851
20852 [BZ #14812]
20853 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20854 on argument names, not just descriptions.
0e2b9cdd
RM
20855 * malloc/memusagestat.c (options): Likewise.
20856 * nss/getent.c (options): Likewise.
63270c24
RM
20857
208582013-03-18 Benno Schulenberg <bensberg@justemail.net>
20859
20860 [BZ #14812]
20861 * iconv/iconv_prog.c (options): Put N_ translation marker
20862 on argument names, not just descriptions.
20863 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 20864
b2e1393c
OB
208652013-03-18 Ondrej Bilka <neleai@seznam.cz>
20866
20867 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20868 implementation which is faster on all x86_64 architectures.
20869 Tested on AMD, Intel Nehalem, SNB, IVB.
20870 * sysdeps/x86_64/strnlen.S: Likewise.
20871
20872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20873 Remove all multiarch strlen and strnlen versions.
20874 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20875 Remove strlen and strnlen related parts.
20876
20877 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20878 Inline strlen part.
20879 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20880
20881 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20882 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20883 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20884 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20885 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20886 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20887
ec4ff04d
CD
208882013-03-17 Carlos O'Donell <carlos@redhat.com>
20889
20890 * manual/memory.texi (Malloc Tunable Parameters):
20891 Sort parameters alphabetically. Add comments for missing entries.
20892
cd18e90a
DM
208932013-03-17 David S. Miller <davem@davemloft.net>
20894
20895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20896
2a185d32
JM
208972013-03-16 Joseph Myers <joseph@codesourcery.com>
20898
d2f9799e
JM
20899 [BZ #15283]
20900 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20901 for arguments at most half maximum finite value.
20902 * math/libm-test.inc (j0_test): Add more tests.
20903 (j1_test): Likewise.
20904 (y0_test): Likewise.
20905 (y1_test): Likewise.
20906 * sysdeps/i386/fpu/libm-test-ulps: Update.
20907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20908
2a185d32
JM
20909 [BZ #14155]
20910 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20911 1 / x and functions P and Q for arguments above 0x1p256L.
20912 (__ieee754_y0l): Likewise.
20913 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20914 (__ieee754_y1l): Likewise.
20915 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20916 (j1_test): Likewise.
20917 (y0_test): Likewise.
20918 (y1_test): Likewise.
20919
6cbec759
TS
209202013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20921
20922 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20923 variable.
20924
bc16e260
RM
209252013-03-15 Roland McGrath <roland@hack.frob.com>
20926
aefc9b8c
RM
20927 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20928 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20929 zero since it's initialized to EXEC_PAGESIZE.
20930
bc16e260
RM
20931 * sysdeps/unix/sysv/linux/ldsodefs.h
20932 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20933 * sysdeps/generic/ldsodefs.h: ... here.
20934
a57da955
TS
209352013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20936
af00a34d
TS
20937 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20938
495ded2c
TS
20939 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20940 math/test-snan.c.
20941 * math/test-snan.c: Renamed from
20942 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20943 * math/Makefile (tests): Add test-snan.
20944 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20945 test-powerpc-snan.
20946
777b0332
TS
20947 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20948 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20949 functions.
20950 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20951 __builtin_nan family of functions.
20952 * math/libm-test.inc (initialize): Initialize qnan_value with
20953 __builtin_nan family of functions.
20954 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20955 Remove variables.
20956 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20957 Remove functions.
20958 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20959 storage class. Initialize qNaN_var and sNaN_var with
20960 __builtin_nan and __builtin_nans families of functions,
20961 respectively.
20962
64d063b8
TS
20963 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20964 (sqrt_test): Remove duplicate test with qNaN input.
20965 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20966 (round_test, signbit_test, significand_test): Note missing +/-Inf
20967 as well as qNaN tests.
20968
67e971f1
TS
20969 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20970 qNaN_var. Fix a few strings, too.
20971 * math/libm-test.inc (nan_value): Rename to qnan_value.
20972 * math/gen-libm-test.pl (%beautify): Adjust to that.
20973 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20974 * math/test-misc.c (main): Likewise.
20975 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20976 to __qnan_bytes, and __qnan_union, respectively.
20977 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20978 Likewise.
20979 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20980 and lqnanval, respectively.
20981 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20982 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20983 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20984 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20985
64487e12
TS
20986 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20987 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20988 doubles.
20989
e015e27b
TS
20990 * math/test-misc.c (main): Fix copy'n'pastos.
20991 * misc/tst-efgcvt.c (special): Likewise.
20992
a57da955
TS
20993 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20994 Remove declarations.
20995
1e380345
SP
209962013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20997
20998 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20999 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21000 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21001 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21002
ef26eece
AZ
210032013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21004
21005 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21006 macro to return vdso values correctly in IFUNC implementations.
21007 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21008 Optimization by using IFUNC.
21009
8cfdb7e0
SP
210102013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21011 Richard Henderson <rth@redhat.com>
21012 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21013
21014 * Makefile.in (bench): New target.
21015 * NEWS: Mention the benchmark framework.
21016 * Rules (bench): Likewise.
21017 (binaries-bench): Generate binaries for functions to
21018 benchmark.
21019 * benchtests/Makefile: New makefile for benchmark tests.
21020 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21021 programs.
21022 * benchtests/exp-inputs: New input file for EXP function.
21023 * benchtests/pow-inputs: New input file for POW function.
21024 * scripts/bench.pl: New script to generate source files for
21025 benchmark programs.
21026
bcda9880
SP
210272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21028
d22ca8cd
SP
21029 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21030 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21031 computations on mantissa. Use macros for rounding and
21032 division.
21033 (denorm): Likewise.
21034 (__dbl_mp): Likewise.
21035 (add_magnitudes): Likewise.
21036 (sub_magnitudes): Likewise.
21037 (__mul): Likewise.
21038 (__sqr): Likewise.
21039 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21040 powers of two in terms of TWOPOW macro.
21041 (mp_no): Make type of mantissa as MANTISSA_T.
21042 [!RADIXI]: Define RADIXI.
21043 [!TWO52]: Define TWO52.
21044 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21045
bcda9880
SP
21046 * manual/nptl.texi (cindex): Modify threads to pthreads.
21047
06d5adfb
JM
210482013-03-15 Joseph Myers <joseph@codesourcery.com>
21049
21050 * sysdeps/x86_64/preconfigure: Regenerated.
21051
41c7328e
JM
210522013-03-14 Joseph Myers <joseph@codesourcery.com>
21053
21054 [BZ #14155]
21055 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21056 0x1p28 and above.
21057 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21058 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21059 0x1p28 and above.
21060 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21061 * math/libm-test.inc (j0_test): Do not allow one spurious
21062 underflow exception.
21063 (y1_test): Likewise.
21064
e25cfa60
SP
210652013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21066
0409959c
SP
21067 * manual/Makefile (chapters): Add nptl.
21068 * manual/debug.texi (Debugging Support): Add link to Threads
21069 chapter.
21070 * manual/nptl.texi: New file.
21071
e25cfa60
SP
21072 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21073
58a1335e
PB
210742013-03-14 Petr Baudis <pasky@ucw.cz>
21075
21076 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21077 for non-NULL pointer before the memory validity test. Pointed
21078 out by Holger Brunck <holger.brunck@keymile.com>.
21079
9dc7c64f
AS
210802013-03-13 Andreas Schwab <schwab@suse.de>
21081
21082 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21083 instead of .os.
21084
54206aa6
JM
210852013-03-13 Joseph Myers <joseph@codesourcery.com>
21086
21087 * timezone/zic.c: Update from tzcode 2013b.
21088
e98cdb38
CD
210892013-03-12 Carlos O'Donell <carlos@redhat.com>
21090
21091 * manual/install.texi (Configuring and compiling):
21092 Mention i686 and i586.
21093 * INSTALL: Regenerate.
21094
9967e003
RM
210952013-03-12 Roland McGrath <roland@hack.frob.com>
21096
21097 * sysdeps/init_array/elf-init.c: New file.
21098 * csu/elf-init.c
21099 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21100 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21101
21102 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21103 __gmon_start__ as global, but as static with a .preinit_array pointer.
21104 * sysdeps/init_array/gmon-start.c: New file. Use that.
21105 * sysdeps/init_array/crti.S: New file, empty except for comments.
21106 * sysdeps/init_array/crtn.S: Likewise.
21107
e6b5a293 211082013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
21109
21110 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21111 definining bcopy.
80f844c9
OB
21112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21113 Remove Prefer_SSE_for_memop.
21114 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21115 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21116 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
21117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21118 memset-x86-64.
80f844c9 21119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 21120 Remove bzero, memset ifunc support.
80f844c9
OB
21121 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21122 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21123 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21124 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21125
fb6b0fcb
AS
211262013-03-11 Andreas Schwab <schwab@suse.de>
21127
21128 [BZ #15234]
21129 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21130 by SHLIB_COMPAT.
21131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21132 (GLIBC_2.16): Remove pthread_atfork.
21133
3e6bd4b1
PP
211342013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21135
21136 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21137 (ptestcases.h): Likewise.
21138
222d7f00
RM
211392013-03-08 Roland McGrath <roland@hack.frob.com>
21140
21141 * Makeconfig ($(common-objpfx)config.status): Depend on
21142 sysdeps/*/preconfigure{,.in} too.
21143
1ba4f030
JM
211442013-03-08 Joseph Myers <joseph@codesourcery.com>
21145
a222d91a
JM
21146 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21147 (__free_hook): Use void * instead of __malloc_ptr_t.
21148 (__malloc_hook): Likewise.
21149 (__realloc_hook): Likewise.
21150 (__memalign_hook): Likewise.
21151 (__after_morecore_hook): Likewise.
21152 * malloc/arena.c (save_malloc_hook): Likewise.
21153 (save_free_hook): Likewise.
21154 * malloc/hooks.c (malloc_hook_ini): Likewise.
21155 (realloc_hook_ini): Likewise.
21156 (memalign_hook_ini): Likewise.
21157 * malloc/malloc.c (malloc_hook_ini): Likewise.
21158 (realloc_hook_ini): Likewise.
21159 (memalign_hook_ini): Likewise.
21160 (__free_hook): Likewise.
21161 (__malloc_hook): Likewise.
21162 (__realloc_hook): Likewise.
21163 (__memalign_hook): Likewise.
21164 (__libc_malloc): Likewise.
21165 (__libc_free): Likewise.
21166 (__libc_realloc): Likewise.
21167 (__libc_memalign): Likewise.
21168 (__libc_valloc): Likewise.
21169 (__libc_pvalloc): Likewise.
21170 (__libc_calloc): Likewise.
21171 (__posix_memalign): Likewise.
21172 * malloc/morecore.c (__sbrk): Likewise.
21173 (__default_morecore): Likewise.
21174
5cc45e10
JM
21175 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21176
dd54b864
JM
21177 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21178 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21179 __malloc_ptrdiff_t.
21180
1ba4f030
JM
21181 * malloc/malloc.h (__malloc_size_t): Remove macro.
21182 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21183 __malloc_size_t.
21184 (old_memalign_hook): Likewise.
21185 (old_realloc_hook): Likewise.
21186 (struct hdr): Likewise.
21187 (flood): Likewise.
21188 (mallochook): Likewise.
21189 (memalignhook): Likewise.
21190 (reallochook): Likewise.
21191 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21192 (tr_old_realloc_hook): Likewise.
21193 (tr_old_memalign_hook): Likewise.
21194 (tr_mallochook): Likewise.
21195 (tr_reallochook): Likewise.
21196 (tr_memalignhook): Likewise.
21197
edf66e57
AZ
211982013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21199
21200 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21201 default_ldbl_pack and using as default implementation.
21202 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21203 implementation.
21204 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21205 redundant definition.
21206 (ldbl_insert_mantissa): Likewise.
21207 (ldbl_canonicalize): Likewise.
21208 (ldbl_nearbyint): Likewise.
21209 (ldbl_pack): Rename to ldbl_pack_ppc.
21210 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21211 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21212 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21213
6d9145d8
SP
212142013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21215
21216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21217 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21218 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21219 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21220 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21221 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21222 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21223 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21224
4dd4e157
AJ
212252013-03-07 Andreas Jaeger <aj@suse.de>
21226
21227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21228 bits/mman-linux.h.
21229
adbb8027
SP
212302013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21231
ce544b5b
SP
21232 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21233 Include mpa.h and declare __MPEXP.
21234 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21235 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21236 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21237 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21238 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21239 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21240 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21241
4cc149fd
SP
21242 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21243 (__slowpow): Use long double EXPL and LOGL functions to
21244 compute POW.
21245 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21246 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21247 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21248 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21249 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21250 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21251
e6ebd4a7
SP
21252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21253 intermediate variable to calculate exponent.
21254 (__sqr): Likewise.
21255 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21256 Likewise.
21257 (__sqr): Likewise.
21258
82a9811d
SP
21259 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21260 [!NO__SQR]: Define __sqr.
21261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21262 and NO__SQR. Remove all code except __mul and __sqr. Include
21263 sysdeps/ieee754/dbl-64/mpa.c.
21264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21265
adbb8027
SP
21266 [BZ #12723]
21267 * posix/Makefile (tests): Add tst-pathconf.
21268 * posix/tst-pathconf.c: New test case.
21269 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21270 _PC_PIPE_BUF.
21271 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21272
39120df9
PF
212732013-03-06 Patsy Franklin <pfrankli@redhat.com>
21274
21275 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21276
67525cb8
AJ
212772013-03-06 Andreas Jaeger <aj@suse.de>
21278
664a9ce4
AJ
21279 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21280 definition via __MAP_ANONYMOUS.
21281
8e39047d
AJ
21282 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21283 it's not part of Linux headers.
21284
67525cb8
AJ
21285 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21286 (MAP_HUGE_MASK): Define.
21287
21288 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21289 Define.
21290 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21291 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21292 Define.
21293 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21294 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21295 Define.
21296 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21297 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21298 Define.
21299 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21300
21301 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21302 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21303 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21304 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21305 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21306 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21307
21308 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21309 Handle f2fs.
21310
21311 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21312 Handle f2fs and efivarfs.
21313
21314 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21315 f2fs.
21316
21317 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21318 (EFIVARFS_MAGIC): Add.
21319 (F2FS_LINK_MAX): Add.
21320
e1b42695
PP
213212013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21322
21323 * stdio-common/vfprintf.c: Replace __builtin_expect with
21324 __glibc_unlikely.
21325
2d67d91a
JM
213262013-03-06 Joseph Myers <joseph@codesourcery.com>
21327
21328 [BZ #13550]
21329 * sysdeps/generic/bp-sym.h: Remove file.
21330 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21331 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21332 <bp-sym.h> and <bp-asm.h>.
21333 (__longjmp): Don't use BP_SYM.
21334 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21335 and <bp-asm.h>.
21336 (memcpy): Don't use BP_SYM.
21337 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21338 <bp-sym.h> and <bp-asm.h>.
21339 (memcpy): Don't use BP_SYM.
21340 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21341 <bp-asm.h>.
21342 (memcpy): Don't use BP_SYM.
21343 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21344 <bp-asm.h>.
21345 (memset): Don't use BP_SYM.
21346 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21347 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21348 (__bzero): Don't use BP_SYM.
21349 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21350 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21351 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21352 <bp-sym.h> and <bp-asm.h>.
21353 (memcmp): Don't use BP_SYM. Remove comment about bounded
21354 pointers.
21355 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21356 <bp-sym.h> and <bp-asm.h>.
21357 (memcpy): Don't use BP_SYM.
21358 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21359 <bp-sym.h> and <bp-asm.h>.
21360 (memset): Don't use BP_SYM.
21361 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21362 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21363 (__bzero): Don't use BP_SYM.
21364 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21365 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21366 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21367 <bp-sym.h> and <bp-asm.h>.
21368 (strncmp): Don't use BP_SYM. Remove comment about bounded
21369 pointers.
21370 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21371 <bp-sym.h> and <bp-asm.h>.
21372 (memcpy): Don't use BP_SYM.
21373 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21374 <bp-sym.h> and <bp-asm.h>.
21375 (memset): Don't use BP_SYM.
21376 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21377 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21378 (__bzero): Don't use BP_SYM.
21379 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21380 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21381 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21382 <bp-sym.h> and <bp-asm.h>.
21383 (__memchr): Don't use BP_SYM.
21384 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21385 <bp-sym.h> and <bp-asm.h>.
21386 (memcmp): Don't use BP_SYM. Remove comment about bounded
21387 pointers.
21388 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21389 <bp-sym.h> and <bp-asm.h>.
21390 (memcpy): Don't use BP_SYM.
21391 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21392 <bp-sym.h> and <bp-asm.h>.
21393 (__mempcpy): Don't use BP_SYM.
21394 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21395 <bp-sym.h> and <bp-asm.h>.
21396 (__memrchr): Don't use BP_SYM.
21397 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21398 <bp-sym.h> and <bp-asm.h>.
21399 (memset): Don't use BP_SYM.
21400 (__bzero): Likewise.
21401 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21402 <bp-sym.h> and <bp-asm.h>.
21403 (__rawmemchr): Don't use BP_SYM.
21404 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21405 <bp-sym.h> and <bp-asm.h>.
21406 (__STRCMP): Don't use BP_SYM.
21407 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21408 <bp-sym.h> and <bp-asm.h>.
21409 (strchr): Don't use BP_SYM.
21410 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21411 <bp-sym.h> and <bp-asm.h>.
21412 (__strchrnul): Don't use BP_SYM.
21413 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21414 <bp-sym.h> and <bp-asm.h>.
21415 (strlen): Don't use BP_SYM.
21416 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21417 <bp-sym.h> and <bp-asm.h>.
21418 (strncmp): Don't use BP_SYM. Remove comment about bounded
21419 pointers.
21420 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21421 <bp-sym.h> and <bp-asm.h>.
21422 (__strnlen): Don't use BP_SYM.
21423 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21424 <bp-sym.h> and <bp-asm.h>.
21425 (__GI__setjmp): Don't use BP_SYM.
21426 (_setjmp): Likewise.
21427 (__sigsetjmp): Likewise.
21428 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21429 (L(start_addresses)): Don't use BP_SYM.
21430 (_start): Likewise.
21431 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21432 <bp-asm.h>.
21433 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21434 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21435 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21436 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21437 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21438 <bp-asm.h>.
21439 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21440 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21441 about bounded pointers.
21442 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21443 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21444 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21445 <bp-asm.h>.
21446 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21447 about bounded pointers. Remove GKM FIXME comments.
21448 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21449 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21450 <bp-asm.h>.
21451 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21452 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21453 Remove GKM FIXME comments.
21454 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21455 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21456 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21457 <bp-asm.h>.
21458 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21459 about bounded pointers. Remove GKM FIXME comment.
21460 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21461 and <bp-asm.h>.
21462 (strncmp): Don't use BP_SYM. Remove comment about bounded
21463 pointers.
21464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21465 <bp-sym.h> and <bp-asm.h>.
21466 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21468 <bp-sym.h> and <bp-asm.h>.
21469 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21470 comment.
21471
cdcf361f
PP
214722013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21473
21474 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21475 call free(NULL).
21476
3c4a2b15
DM
214772013-03-05 David S. Miller <davem@davemloft.net>
21478
21479 * po/es.po: Update from translation team.
21480
cdcf361f 214812013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
21482
21483 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21484 <bits/mman-linux.h>.
21485 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21486 is fine.
21487 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21488 <bits/mman-linux.h> to end of file.
21489 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21490 is fine.
21491 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21492 <bits/mman-linux.h> to end of file.
21493 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21494 is fine.
21495 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21496 <bits/mman-linux.h> to end of file.
21497
21498 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21499 (MCL_CURRENT, MCL_FUTURE): Define here.
21500
5f67c04f
AK
215012013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21502
8a4473cc 21503 [BZ #15232]
5f67c04f
AK
21504 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21505 attribute_hidden.
21506 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21507
c3e94a95
AK
215082013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21509
21510 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21511 fourth parameter needed for rt_sigprocmask syscall.
21512 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21513 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21514 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21515 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21516 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21517 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21518
cfb6382a
JM
215192013-03-04 Joseph Myers <joseph@codesourcery.com>
21520
21521 [BZ #13550]
21522 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21523 comment about bounded pointers.
21524 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21525 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21526
539d8e01
AJ
215272013-03-04 Andreas Jaeger <aj@suse.de>
21528
21529 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21530 common definitions.
21531
21532 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21533 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21534 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21535 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21536 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
21537 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21538
2e167a70 215392013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
21540
21541 [BZ #15055]
21542 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21543 __ieee754_sqrl instead of __sqrl.
21544
68508633
JM
215452013-03-01 Joseph Myers <joseph@codesourcery.com>
21546
21547 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21548 * sysdeps/powerpc/fpu_control.h: ... here.
21549 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21550 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21551 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21552 * sysdeps/powerpc/bits/mathinline.h: ... here.
21553
7775448e
RM
215542013-03-01 Roland McGrath <roland@hack.frob.com>
21555
21556 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21557 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21558 to just [NEED_DL_SYSINFO_DSO].
21559 * elf/dl-support.c: Likewise.
21560 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21561 * elf/rtld.c (dl_main): Likewise.
21562 * elf/setup-vdso.h (setup_vdso): Likewise.
21563 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21564 * sysdeps/unix/sysv/linux/dl-sysdep.c
21565 (_dl_discover_osversion): Likewise.
21566
4e9b5995
CD
215672013-03-01 Carlos O'Donell <carlos@redhat.com>
21568
21569 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21570 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21571
e23872c8
SP
215722013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21573
e5c74c63
SP
21574 * NEWS: Mention libm performance improvements and non-x86 PI
21575 futex support.
21576
e23872c8
SP
21577 * csu/libc-start.c (__pthread_initialize_minimal): Change
21578 function arguments.
21579 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21580
b5510883
JM
215812013-02-28 Joseph Myers <joseph@codesourcery.com>
21582
21583 [BZ #13550]
21584 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21585 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21586 <bp-sym.h> and <bp-asm.h>.
21587 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21588 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21589 and <bp-asm.h>.
21590 (memcpy): Don't use BP_SYM.
21591 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21592 <bp-asm.h>.
21593 (__mpn_add_n): Don't use BP_SYM.
21594 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21595 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21596 and <bp-asm.h>.
21597 (__mpn_addmul_1): Don't use BP_SYM.
21598 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21599 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21600 <bp-sym.h>.
21601 (_setjmp): Don't use BP_SYM.
21602 (__novmx_setjmp): Likewise.
21603 (__GI__setjmp): Likewise.
21604 (__vmx_setjmp): Likewise.
21605 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21606 <bp-sym.h>.
21607 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21608 (__bzero): Don't use BP_SYM.
21609 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21610 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21611 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21612 <bp-sym.h> and <bp-asm.h>.
21613 (memcpy): Don't use BP_SYM.
21614 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21615 <bp-sym.h> and <bp-asm.h>.
21616 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21617 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21618 <bp-sym.h> and <bp-asm.h>.
21619 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21620 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21621 <bp-asm.h>.
21622 (__mpn_lshift): Don't use BP_SYM.
21623 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21624 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21625 <bp-asm.h>.
21626 (memset): Don't use BP_SYM.
21627 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21628 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21629 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21630 <bp-asm.h>.
21631 (__mpn_mul_1): Don't use BP_SYM.
21632 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21633 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21634 <bp-sym.h> and <bp-asm.h>.
21635 (memcmp): Don't use BP_SYM.
21636 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21637 <bp-sym.h> and <bp-asm.h>.
21638 (memcpy): Don't use BP_SYM.
21639 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21640 <bp-sym.h> and <bp-asm.h>.
21641 (memset): Don't use BP_SYM.
21642 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21643 <bp-sym.h> and <bp-asm.h>.
21644 (strncmp): Don't use BP_SYM.
21645 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21646 <bp-sym.h> and <bp-asm.h>.
21647 (memcpy): Don't use BP_SYM.
21648 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21649 <bp-sym.h> and <bp-asm.h>.
21650 (memset): Don't use BP_SYM.
21651 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21652 <bp-sym.h> and <bp-asm.h>.
21653 (__memchr): Don't use BP_SYM.
21654 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21655 <bp-sym.h> and <bp-asm.h>.
21656 (memcmp): Don't use BP_SYM.
21657 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21658 <bp-sym.h> and <bp-asm.h>.
21659 (memcpy): Don't use BP_SYM.
21660 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21661 <bp-sym.h> and <bp-asm.h>.
21662 (__mempcpy): Don't use BP_SYM.
21663 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21664 <bp-sym.h> and <bp-asm.h>.
21665 (__memrchr): Don't use BP_SYM.
21666 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21667 <bp-sym.h> and <bp-asm.h>.
21668 (memset): Don't use BP_SYM.
21669 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21670 <bp-sym.h> and <bp-asm.h>.
21671 (__rawmemchr): Don't use BP_SYM.
21672 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21673 <bp-sym.h> and <bp-asm.h>.
21674 (__STRCMP): Don't use BP_SYM.
21675 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21676 <bp-sym.h> and <bp-asm.h>.
21677 (strchr): Don't use BP_SYM.
21678 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21679 <bp-sym.h> and <bp-asm.h>.
21680 (__strchrnul): Don't use BP_SYM.
21681 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21682 <bp-sym.h> and <bp-asm.h>.
21683 (strlen): Don't use BP_SYM.
21684 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21685 <bp-sym.h> and <bp-asm.h>.
21686 (strncmp): Don't use BP_SYM.
21687 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21688 <bp-sym.h> and <bp-asm.h>.
21689 (__strnlen): Don't use BP_SYM.
21690 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21691 <bp-asm.h>.
21692 (__mpn_rshift): Don't use BP_SYM.
21693 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21694 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21695 <bp-sym.h> and <bp-asm.h>.
21696 (__sigsetjmp): Don't use BP_SYM.
21697 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21698 (L(start_addresses)): Don't use BP_SYM.
21699 (_start): Likewise.
21700 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21701 <bp-asm.h>.
21702 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21703 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21704 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21705 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21706 <bp-asm.h>.
21707 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21708 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21709 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21710 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21711 <bp-asm.h>.
21712 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21713 comments.
21714 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21715 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21716 <bp-asm.h>.
21717 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21718 FIXME comments.
21719 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21720 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21721 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21722 <bp-asm.h>.
21723 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21724 comment.
21725 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21726 and <bp-asm.h>.
21727 (strncmp): Don't use BP_SYM,
21728 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21729 <bp-asm.h>.
21730 (__mpn_sub_n): Don't use BP_SYM.
21731 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21732 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21733 and <bp-asm.h>.
21734 (__mpn_submul_1): Don't use BP_SYM.
21735 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21737 <bp-sym.h> and <bp-asm.h>.
21738 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21740 <bp-sym.h> and <bp-asm.h>.
21741 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21742 comment.
21743
8d19fe64
SP
217442013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21745
21746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21747 Use ZK to minimize writes to Z.
21748 (sub_magnitudes): Simplify code a bit.
21749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21750 Use ZK to minimize writes to Z.
21751 (sub_magnitudes): Simplify code a bit.
21752
85bd816a
RM
217532013-02-27 Roland McGrath <roland@hack.frob.com>
21754
21755 * csu/gmon-start.c: Add special exception to license text.
21756
b5977bf2
RH
217572013-02-27 Richard Henderson <rth@redhat.com>
21758
21759 * scripts/config.guess: Update from config.git.
21760 * scripts/config.sub: Likewise.
21761
11d6e2f2
SP
217622013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21763
09c14ed2
SP
21764 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21765
a688864e
SP
21766 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21767
6295157a
SP
21768 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21769
b8de2202
SP
21770 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21771
11d6e2f2
SP
21772 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21773
7e80ddb8
RM
217742013-02-26 Roland McGrath <roland@hack.frob.com>
21775
21776 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21777 [$(build-shared = yes].
7e80ddb8 21778
7da6d9ed
SP
217792013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21780
45f05884
SP
21781 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21782 (__mul): Reduce iterations for calculating mantissa.
21783
2236d359
SP
21784 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21785 MPTWO.
21786 (__mpranred): Likewise.
21787
7da6d9ed
SP
21788 [BZ #15160]
21789 * malloc/memusagestat.c (main): Draw graphs for heap and stack
21790 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21791
b7688c42
PE
217922013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21793
21794 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21795 Define __attribute__.
21796
53a5c423
SP
217972013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21798
21799 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21800 unused.
21801 * posix/regex_internal.h (__attribute): Remove.
21802 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21803 (re_string_context_at): Likewise.
21804 (bitset_not): Use __attribute__ and mark function as possibly
21805 unused.
21806 (bitset_merge): Likewise.
21807 (bitset_mask): Likewise.
21808 (re_string_char_size_at): Likewise.
21809 (re_string_wchar_at): Likewise.
21810 (re_string_elem_size_at): Likewise.
21811
60f5a8b5
SP
218122013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21813
2a983a2e
SP
21814 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21815 code.
21816 (cc32): Likewise.
21817
e69804d1
SP
21818 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21819 (__acr): Likewise.
21820 (__cpy): Likewise.
21821 (norm): Likewise.
21822 (denorm): Likewise.
21823 (__dbl_mp): Likewise.
21824 (add_magnitudes): Likewise.
21825 (sub_magnitudes): Likewise.
21826 (__mul): Likewise.
21827 (__inv): Likewise.
21828
2f22a1e8
SP
21829 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21830 style.
21831
8930ddc7
SP
21832 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21833 style.
21834
dc60cb11
SP
21835 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21836 code.
21837
60f5a8b5
SP
21838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21839 up changes with default code.
21840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21841 Likewise.
21842
b4d1fd33
AM
218432013-02-24 Allan McRae <allan@archlinux.org>
21844
faf6f8bc
AM
21845 * manual/socket.texi (The Internet Namespace): Order menu items
21846 to match that in the file.
21847
b4d1fd33
AM
21848 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21849 node listing of the info page menu.
21850
2366713d
JM
218512013-02-21 Joseph Myers <joseph@codesourcery.com>
21852
21853 [BZ #13550]
21854 * sysdeps/i386/bp-asm.h: Remove file.
21855 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21856 (PARMS): Do not use macros from bp-asm.h.
21857 (S1): Likewise.
21858 (S2): Likewise.
21859 (SIZE): Likewise.
21860 (__mpn_add_n): Do not use BP_SYM
21861 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21862 "bp-asm.h".
21863 (PARMS): Do not use macros from bp-asm.h.
21864 (S1): Likewise.
21865 (SIZE): Likewise.
21866 (__mpn_addmul_1): Do not use BP_SYM
21867 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21868 "bp-asm.h".
21869 (PARMS): Do not use macros from bp-asm.h.
21870 (SIGMSK): Likewise.
21871 (_setjmp): Likewise. Do not use BP_SYM.
21872 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21873 "bp-asm.h".
21874 (PARMS): Do not use macros from bp-asm.h.
21875 (SIGMSK): Likewise.
21876 (setjmp): Likewise. Do not use BP_SYM.
21877 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21878 "bp-asm.h".
21879 (PARMS): Do not use macros from bp-asm.h.
21880 (__frexp): Do not use BP_SYM.
21881 (frexp): Likewise.
21882 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21883 "bp-asm.h".
21884 (PARMS): Do not use macros from bp-asm.h.
21885 (__frexpf): Do not use BP_SYM.
21886 (frexpf): Likewise.
21887 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21888 "bp-asm.h".
21889 (PARMS): Do not use macros from bp-asm.h.
21890 (__frexpl): Do not use BP_SYM.
21891 (frexpl): Likewise.
21892 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21893 "bp-asm.h".
21894 (PARMS): Do not use macros from bp-asm.h.
21895 (__remquo): Do not use BP_SYM.
21896 (remquo): Likewise.
21897 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21898 "bp-asm.h".
21899 (PARMS): Do not use macros from bp-asm.h.
21900 (__remquof): Do not use BP_SYM.
21901 (remquof): Likewise.
21902 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21903 "bp-asm.h".
21904 (PARMS): Do not use macros from bp-asm.h.
21905 (__remquol): Do not use BP_SYM.
21906 (remquol): Likewise.
21907 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21908 "bp-asm.h".
21909 (PARMS): Do not use macros from bp-asm.h.
21910 (DEST): Likewise.
21911 (SRC): Likewise.
21912 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21913 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21914 "bp-asm.h".
21915 (PARMS): Do not use macros from bp-asm.h.
21916 (strlen): Do not use BP_SYM.
21917 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21918 "bp-asm.h".
21919 (PARMS): Do not use macros from bp-asm.h.
21920 (S1): Likewise.
21921 (S2): Likewise.
21922 (SIZE): Likewise.
21923 (__mpn_add_n): Do not use BP_SYM.
21924 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21925 "bp-asm.h".
21926 (PARMS): Do not use macros from bp-asm.h.
21927 (S1): Likewise.
21928 (SIZE): Likewise.
21929 (__mpn_addmul_1): Do not use BP_SYM.
21930 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21931 weak_alias.
21932 (bzero): Likewise.
21933 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21934 "bp-asm.h".
21935 (PARMS): Do not use macros from bp-asm.h.
21936 (S): Likewise.
21937 (SIZE): Likewise.
21938 (__mpn_lshift): Do not use BP_SYM.
21939 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21940 "bp-asm.h".
21941 (PARMS): Do not use macros from bp-asm.h.
21942 (DEST): Likewise.
21943 (SRC): Likewise.
21944 (LEN): Likewise.
21945 (memcpy): Likewise. Do not use BP_SYM.
21946 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21947 libc_hidden_def and weak_alias.
21948 (mempcpy): Do not use BP_SYM in weak_alias.
21949 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21950 "bp-asm.h".
21951 (PARMS): Do not use macros from bp-asm.h.
21952 (DEST): Likewise.
21953 (LEN): Likewise.
21954 [!BZERO_P] (CHR): Likewise.
21955 (memset): Likewise. Do not use BP_SYM.
21956 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21957 "bp-asm.h".
21958 (PARMS): Do not use macros from bp-asm.h.
21959 (S1): Likewise.
21960 (SIZE): Likewise.
21961 (__mpn_mul_1): Do not use BP_SYM.
21962 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21963 "bp-asm.h".
21964 (PARMS): Do not use macros from bp-asm.h.
21965 (S): Likewise.
21966 (SIZE): Likewise.
21967 (__mpn_rshift): Do not use BP_SYM.
21968 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21969 "bp-asm.h".
21970 (PARMS): Do not use macros from bp-asm.h.
21971 (STR): Likewise.
21972 (CHR): Likewise.
21973 (strchr): Likewise. Do not use BP_SYM.
21974 (index): Do not use BP_SYM in weak_alias.
21975 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21976 "bp-asm.h".
21977 (PARMS): Do not use macros from bp-asm.h.
21978 (DEST): Likewise.
21979 (SRC): Likewise.
21980 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21981 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21982 "bp-asm.h".
21983 (PARMS): Do not use macros from bp-asm.h.
21984 (strlen): Do not use BP_SYM.
21985 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21986 "bp-asm.h".
21987 (PARMS): Do not use macros from bp-asm.h.
21988 (S1): Likewise.
21989 (S2): Likewise.
21990 (SIZE): Likewise.
21991 (__mpn_sub_n): Do not use BP_SYM.
21992 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21993 "bp-asm.h".
21994 (PARMS): Do not use macros from bp-asm.h.
21995 (S1): Likewise.
21996 (SIZE): Likewise.
21997 (__mpn_submul_1): Do not use BP_SYM.
21998 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21999 "bp-asm.h".
22000 (PARMS): Do not use macros from bp-asm.h.
22001 (S1): Likewise.
22002 (S2): Likewise.
22003 (SIZE): Likewise.
22004 (__mpn_add_n): Do not use BP_SYM.
22005 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22006 weak_alias.
22007 (bzero): Likewise.
22008 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22009 "bp-asm.h".
22010 (PARMS): Do not use macros from bp-asm.h.
22011 (BLK2): Likewise.
22012 (LEN): Likewise.
22013 (memcmp): Do not use BP_SYM.
22014 (bcmp): Do not use BP_SYM in weak_alias.
22015 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22016 "bp-asm.h".
22017 (PARMS): Do not use macros from bp-asm.h.
22018 (DEST): Likewise.
22019 (SRC): Likewise.
22020 (LEN): Likewise.
22021 (memcpy): Likewise. Do not use BP_SYM.
22022 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22023 "bp-asm.h".
22024 (PARMS): Do not use macros from bp-asm.h.
22025 (DEST): Likewise.
22026 (SRC): Likewise.
22027 (LEN): Likewise.
22028 (memmove): Likewise. Do not use BP_SYM.
22029 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22030 "bp-asm.h".
22031 (PARMS): Do not use macros from bp-asm.h.
22032 (DEST): Likewise.
22033 (SRC): Likewise.
22034 (LEN): Likewise.
22035 (__mempcpy): Likewise. Do not use BP_SYM.
22036 (mempcpy): Do not use BP_SYM in weak_alias.
22037 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22038 "bp-asm.h".
22039 (PARMS): Do not use macros from bp-asm.h.
22040 (DEST): Likewise.
22041 (LEN): Likewise.
22042 [!BZERO_P] (CHR): Likewise.
22043 (memset): Likewise. Do not use BP_SYM.
22044 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22045 "bp-asm.h".
22046 (PARMS): Do not use macros from bp-asm.h.
22047 (STR2): Likewise.
22048 (strcmp): Do not use BP_SYM.
22049 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22050 "bp-asm.h".
22051 (PARMS): Do not use macros from bp-asm.h.
22052 (STR): Likewise.
22053 (DELIM): Likewise.
22054 [USE_AS_STRTOK_R] (SAVE): Likewise.
22055 (FUNCTION): Likewise. Do not use BP_SYM.
22056 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22057 aliases.
22058 (strtok_r): Likewise.
22059 (__GI___strtok_r): Likewise.
22060 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22061 (PARMS): Do not use macros from bp-asm.h.
22062 (S): Likewise.
22063 (SIZE): Likewise.
22064 (__mpn_lshift): Do not use BP_SYM.
22065 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22066 (PARMS): Do not use macros from bp-asm.h.
22067 (STR): Likewise.
22068 (CHR): Likewise.
22069 (__memchr): Do not use BP_SYM.
22070 (memchr): Do not use BP_SYM in weak_alias.
22071 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22072 (PARMS): Do not use macros from bp-asm.h.
22073 (BLK2): Likewise.
22074 (LEN): Likewise.
22075 (memcmp): Do not use BP_SYM.
22076 (bcmp): Do not use BP_SYM in weak_alias.
22077 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22078 (PARMS): Do not use macros from bp-asm.h.
22079 (S1): Likewise.
22080 (SIZE): Likewise.
22081 (__mpn_mul_1): Do not use BP_SYM.
22082 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22083 "bp-asm.h".
22084 (PARMS): Do not use macros from bp-asm.h.
22085 (STR): Likewise.
22086 (CHR): Likewise.
22087 (__rawmemchr): Do not use BP_SYM.
22088 (rawmemchr): Do not use BP_SYM in weak_alias.
22089 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22090 (PARMS): Do not use macros from bp-asm.h.
22091 (S): Likewise.
22092 (SIZE): Likewise.
22093 (__mpn_rshift): Do not use BP_SYM.
22094 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22095 (PARMS): Do not use macros from bp-asm.h.
22096 (SIGMSK): Likewise.
22097 (__sigsetjmp): Likewise. Do not use BP_SYM.
22098 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22099 (_start): Do not use BP_SYM.
22100 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22101 (PARMS): Do not use macros from bp-asm.h.
22102 (DEST): Likewise.
22103 (SRC): Likewise.
22104 (__stpcpy): Likewise. Do not use BP_SYM.
22105 (stpcpy): Do not use BP_SYM in weak_alias.
22106 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22107 "bp-asm.h".
22108 (PARMS): Do not use macros from bp-asm.h.
22109 (DEST): Likewise.
22110 (SRC): Likewise.
22111 (LEN): Likewise.
22112 (__stpncpy): Likewise. Do not use BP_SYM.
22113 (stpncpy): Do not use BP_SYM in weak_alias.
22114 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22115 (PARMS): Do not use macros from bp-asm.h.
22116 (STR): Likewise.
22117 (CHR): Likewise.
22118 (strchr): Likewise. Do not use BP_SYM.
22119 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22120 "bp-asm.h".
22121 (PARMS): Do not use macros from bp-asm.h.
22122 (STR): Likewise.
22123 (CHR): Likewise.
22124 (__strchrnul): Likewise. Do not use BP_SYM.
22125 (strchrnul): Do not use BP_SYM in weak_alias.
22126 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22127 "bp-asm.h".
22128 (PARMS): Do not use macros from bp-asm.h.
22129 (STOP): Likewise.
22130 (strcspn): Do not use BP_SYM.
22131 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22132 "bp-asm.h".
22133 (PARMS): Do not use macros from bp-asm.h.
22134 (STR): Likewise.
22135 (STOP): Likewise.
22136 (strpbrk): Likewise. Do not use BP_SYM.
22137 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22138 "bp-asm.h".
22139 (PARMS): Do not use macros from bp-asm.h.
22140 (STR): Likewise.
22141 (CHR): Likewise.
22142 (strrchr): Likewise. Do not use BP_SYM.
22143 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22144 (PARMS): Do not use macros from bp-asm.h.
22145 (SKIP): Likewise.
22146 (strspn): Do not use BP_SYM.
22147 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22148 (PARMS): Do not use macros from bp-asm.h.
22149 (STR): Likewise.
22150 (DELIM): Likewise.
22151 (SAVE): Likewise.
22152 (FUNCTION): Likewise. Do not use BP_SYM.
22153 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22154 aliases.
22155 (strtok_r): Likewise.
22156 (__GI___strtok_r): Likewise.
22157 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22158 (PARMS): Do not use macros from bp-asm.h.
22159 (S1): Likewise.
22160 (S2): Likewise.
22161 (SIZE): Likewise.
22162 (__mpn_sub_n): Do not use BP_SYM.
22163 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22164 "bp-asm.h".
22165 (PARMS): Do not use macros from bp-asm.h.
22166 (S1): Likewise.
22167 (SIZE): Likewise.
22168 (__mpn_submul_1): Do not use BP_SYM.
22169 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22170 <bp-sym.h>.
22171 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22172 and <bp-asm.h>.
22173 (PARMS): Do not use macros from bp-asm.h.
22174 (FLAGS): Likewise.
22175 (PTID): Likewise.
22176 (TLS): Likewise.
22177 (CTID): Likewise.
22178 (__clone): Do not use BP_SYM.
22179 (clone): Do not use BP_SYM in weak_alias.
22180 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22181 and <bp-asm.h>.
22182 (PARMS): Do not use macros from bp-asm.h.
22183 (LEN): Likewise.
22184 (__mmap64): Do not use BP_SYM.
22185 (mmap64): Do not use BP_SYM in weak_alias.
22186 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22187 <bp-sym.h> and <bp-asm.h>.
22188 (PARMS): Do not use macros from bp-asm.h.
22189 (__posix_fadvise64_l64): Do not use BP_SYM.
22190 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22191 (PARMS): Do not use macros from bp-asm.h.
22192 (NSOPS): Likewise.
22193 (semtimedop): Do not use BP_SYM.
22194 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22195 and <bp-asm.h>.
22196
582a3cff
AM
221972013-02-21 Allan McRae <allan@archlinux.org>
22198
22199 * manual/message.texi (Charset conversion in gettext):
22200 Move @end statement to beginning of line.
22201
bab8a695
SP
222022013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22203
80945231
SP
22204 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22205 static.
22206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22207 Likewise.
22208
bab8a695
SP
22209 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22210 (denorm): Likewise.
22211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22213
e21d7aa7
AK
222142013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22215
22216 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22217 tail-call to the resolved function if pltexit isn't needed.
22218
4c7a4263
SP
222192013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22220
22221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22222 or Y being zero as being unlikely.
22223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22224 Likewise.
22225
41f49342
CD
222262013-02-20 Carlos O'Donell <carlos@redhat.com>
22227
22228 * manual/nss.texi (System Databases and Name Service Switch):
22229 Remove frobnicate @pxref.
22230
50022a93
TS
222312013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22232
22233 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22234 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22235
08cbd996
PM
222362013-02-20 Petr Machata <pmachata@redhat.com>
22237
22238 * elf/elf.h (R_ARM_TARGET1): New macro.
22239 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22240 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22241 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22242 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22243 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22244 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22245 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22246 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22247 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22248 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22249 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22250 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22251 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22252 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22253 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22254 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22255 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22256 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22257 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22258 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22259 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22260 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22261 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22262 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22263 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22264 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22265 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22266 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22267 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22268 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22269 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22270 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22271 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22272 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22273 (R_ARM_THM_GOT_BREL12): Likewise.
22274 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22275 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22276 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22277 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22278 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22279 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22280 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22281 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22282 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22283
c7b275d6
TS
222842013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22285
22286 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22287 __attribute_used__ to __attribute__ ((unused)).
22288
20cd7fb3
SP
222892013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22290
22291 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22292 powerpc mpa.c.
22293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22294 comment formatting.
22295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22296
92945b52
JM
222972013-02-19 Joseph Myers <joseph@codesourcery.com>
22298
22299 [BZ #13550]
22300 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22301 Remove macro.
22302 (ENTER): Remove both macro definitions.
22303 (LEAVE): Likewise.
22304 (CHECK_BOUNDS_LOW): Likewise.
22305 (CHECK_BOUNDS_HIGH): Likewise.
22306 (CHECK_BOUNDS_BOTH): Likewise.
22307 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22308 (RETURN_BOUNDED_POINTER): Likewise.
22309 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22310 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22311 (POP_ERRNO_LOCATION_RETURN): Likewise.
22312 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22313 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22314 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22315 macros.
22316 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22317 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22318 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22319 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22320 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22321 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22322 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22323 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22324 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22325 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22326 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22327 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22328 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22329 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22330 removed macros.
22331 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22332 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22333 macros.
22334 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22335 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22336 * sysdeps/i386/i586/memset.S (memset): Likewise.
22337 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22338 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22339 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22340 macros.
22341 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22342 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22343 Change uses of L(2) to L(out).
22344 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22345 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22346 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22347 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22348 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22349 removed macros.
22350 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22351 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22352 macros.
22353 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22354 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22355 (RETURN): Do not use macro LEAVE.
22356 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22357 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22358 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22359 * sysdeps/i386/i686/memset.S (memset): Likewise.
22360 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22361 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22362 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22363 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22364 Likewise.
22365 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22366 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22367 L(1_2) and L(1_3) into L(1).
22368 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22369 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22370 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22371 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22372 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22373 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22374 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22375 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22376 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22377 macros.
22378 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22379 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22380 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22381 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22382 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22383 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22384 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22385 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22386 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22387 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22388 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22389 * sysdeps/i386/strspn.S (strspn): Likewise.
22390 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22391 conditional code.
22392 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22393 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22394 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22395 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22396 L(1_3) into L(1_1).
22397 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22398 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22399 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22400 macros.
22401 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22402
2389741a
JJ
224032013-02-19 Jakub Jelinek <jakub@redhat.com>
22404
22405 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22406 macro.
22407
2016b3cd
SP
224082013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22409
e4f22324
SP
22410 * math/atest-exp.c (exp_mpn): Remove ROUND.
22411 * math/atest-exp2.c (exp_mpn): Likewise.
22412 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22413
2016b3cd
SP
22414 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22415 * stdlib/tst-tls-atexit-lib.c: Likewise.
22416 * stdlib/tst-tls-atexit.c: Likewise.
22417
4be9b544
MF
224182013-02-18 Mike Frysinger <vapier@gentoo.org>
22419
22420 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22421 and __attribute_alloc_size__.
22422
2f62b9ee
MF
224232013-02-18 Mike Frysinger <vapier@gentoo.org>
22424
22425 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22426 __attribute_alloc_size__.
22427 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22428 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22429
6ff444c4
MF
224302013-02-18 Mike Frysinger <vapier@gentoo.org>
22431
22432 * include/programs/xmalloc.h: New file.
22433 * catgets/gencat.c: Include it.
22434 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22435 * elf/pldd.c: Likewise.
22436 * iconv/iconv_charmap.c: Likewise.
22437 * iconv/iconvconfig.c: Likewise.
22438 * iconv/strtab.c: Likewise.
22439 * locale/programs/locale.c: Likewise.
22440 * locale/programs/localedef.h: Likewise.
22441 * locale/programs/simple-hash.c: Likewise.
22442 * nscd/nscd.h: Likewise.
22443 * nss/makedb.c: Likewise.
22444 * sysdeps/generic/ldconfig.h: Likewise.
22445
be179c8a
SP
224462013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22447
ba384f6e
SP
22448 * Versions.def: Add GLIBC_2.18.
22449 * include/link.h (struct link_map): New member l_tls_dtor_count.
22450 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22451 (__call_tls_dtors): Likewise.
22452 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22453 __cxa_thread_atexit_impl.
22454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22455 Likewise.
22456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22457 Likewise.
22458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22459 Likewise.
22460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22461 Likewise.
22462 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22464 Likewise.
22465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22466 Likewise.
22467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22469 Likewise.
22470 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22471 (tests): Add test case tst-tls-atexit.
22472 (modules-names): Add shared library for tst-tls-atexit.
85891aca 22473 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
22474 (GLIBC_PRIVATE): Add __call_tls_dtors.
22475 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22476 for libstdc++.
22477 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22478 * stdlib/tst-tls-atexit.c: New test case.
22479 * stdlib/tst-tls-atexit-lib.c: New test case.
22480
ffaa74cf 22481 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 22482
be179c8a
SP
22483 * elf/Versions (ld): Add _dl_find_dso_for_object.
22484 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22485 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22486 (dl_open_worker): Use _dl_find_dso_for_object.
22487 * elf/dl-sym.c (do_sym): Likewise.
22488 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22489
f78b5caa
AK
224902013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22491
22492 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22493 Syntactic changes only.
22494 (_dl_runtime_profile): Do a tail-call to the resolved function.
22495
29691210
JM
224962013-02-17 Joseph Myers <joseph@codesourcery.com>
22497
22498 [BZ #13550]
22499 * sysdeps/x86_64/bp-asm.h: Remove file.
22500 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22501 <bp-sym.h> and <bp-asm.h>.
22502 (__clone): Do not use BP_SYM.
22503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22504 <bp-sym.h> and <bp-asm.h>.
22505 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22506 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22507 "bp-asm.h".
22508 (_setjmp): Do not use BP_SYM.
22509 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22510 "bp-asm.h".
22511 (setjmp): Do not use BP_SYM.
22512 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22513 libc_hidden_def.
22514 (mempcpy): Do not use BP_SYM in weak_alias.
22515 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22516 "bp-asm.h".
22517 (strchr): Do not use BP_SYM.
22518 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22519 "bp-asm.h".
22520 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22521 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22522 (_start): Do not use BP_SYM.
22523 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22524 "bp-asm.h".
22525 (strcat): Do not use BP_SYM.
22526 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22527 "bp-asm.h".
22528 (STRCMP): Do not use BP_SYM.
22529 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22530 "bp-asm.h".
22531 (STRCPY): Do not use BP_SYM.
22532 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22533 "bp-asm.h".
22534 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22535 "bp-asm.h".
22536 (FUNCTION): Do not use BP_SYM.
22537 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22538 weak_alias.
22539 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22540
f238fd19
AJ
225412013-02-17 Andreas Jaeger <aj@suse.de>
22542
22543 * time/Versions: Sort entries.
22544 * string/Versions: Likewise.
22545 * resolv/Versions: Likewise.
22546 * posix/Versions: Likewise.
22547 * iconv/Versions: Likewise.
22548 * elf/Versions: Likewise.
22549 * wcsmbs/Versions: Likewise.
22550
bd07f23c 225512013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 22552
22af19f9
SP
22553 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22554 loop termination condition.
22555
4709fe76
SP
22556 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22557 variable to calculate EZ.
22558 (__sqr): Likewise.
2d0e0f29
SP
22559
22560 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22561 the lower precision input.
22562
daaa7713
JM
225632013-02-15 Joseph Myers <joseph@codesourcery.com>
22564
22565 [BZ #13550]
22566 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22567 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22568 (run-via-rtld-prefix): Do not handle %-bp tests.
22569 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22570 (all-object-suffixes): Remove .ob.
22571 (bppfx): Remove variable.
22572 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22573 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22574 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22575 [$(build-bounded) = yes] (libtype.ob): Likewise.
22576 * Makerules (elide-routines.ob): Remove variable.
22577 (do-tests-clean): Do not handle *-bp.out.
22578 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22579 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22580 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22581 (tests): Do not include $(tests-bp.out).
22582 (xtests): Do not include $(xtests-bp.out).
22583 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22584 [$(build-bounded) = yes] ($(addprefix
22585 $(objpfx),$(binaries-bounded))): Remove rule.
22586 ($(objpfx)%-bp.out): Remove rule.
22587 * config.make.in (build-bounded): Remove variable.
22588 * crypt/Makefile [$(build-bounded) = yes]
22589 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22590 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22591 append to variable.
22592 [$(build-bounded) = yes] (install-lib): Likewise.
22593 [$(build-bounded) = yes] (generated): Likewise.
22594 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22595 Remove rule.
22596 * intl/Makefile [$(build-bounded) = yes]
22597 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22598 * math/Makefile [$(build-bounded) = yes]
22599 ($(tests:%=$(objpfx)%-bp): Likewise.
22600 * misc/Makefile [$(build-bounded) = yes]
22601 ($(objpfx)tst-tsearch-bp): Likewise.
22602 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22603 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22604 Remove dependency.
22605 * string/Makefile (o-objects.ob): Remove variable.
22606 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22607 (CFLAGS-.ob): Remove variable.
22608 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22609 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22610 both definitions of variable.
22611 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22612 (ASFLAGS-.ob): Remove variable.
22613
e97ed6dd
JM
226142013-02-14 Joseph Myers <joseph@codesourcery.com>
22615
2bdd4ca6
JM
22616 [BZ #13550]
22617 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22618 Remove __BOUNDED_POINTERS__ from condition.
22619 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22620 * string/bits/string2.h [!__NO_STRING_INLINES &&
22621 !__BOUNDED_POINTERS__]: Likewise.
22622 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22623 Likewise.
22624 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22625 Remove conditional code.
22626 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22627 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22628 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22629 condition.
22630
e97ed6dd
JM
22631 [BZ #13550]
22632 * csu/libc-start.c: Do not include <bp-sym.h>.
22633 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22634 * elf/dl-open.c: Do not include <bp-sym.h>.
22635 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22636 * math/fegetenv.c: Do not include <bp-sym.h>.
22637 (fegetenv): Do not use BP_SYM in versioned symbols.
22638 * nptl/sysdeps/pthread/bits/libc-lockP.h
22639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22640 <bp-sym.h>.
22641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22642 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22644 (__pthread_mutex_destroy): Likewise.
22645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22646 (__pthread_mutex_lock): Likewise.
22647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22648 (__pthread_mutex_trylock): Likewise.
22649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22650 (__pthread_mutex_unlock): Likewise.
22651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22652 (__pthread_mutexattr_init): Likewise.
22653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22654 (__pthread_mutexattr_destroy): Likewise.
22655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22656 (__pthread_mutexattr_settype): Likewise.
22657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22658 (__pthread_rwlock_init): Likewise.
22659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22660 (__pthread_rwlock_destroy): Likewise.
22661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22662 (__pthread_rwlock_rdlock): Likewise.
22663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22664 (__pthread_rwlock_tryrdlock): Likewise.
22665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22666 (__pthread_rwlock_wrlock): Likewise.
22667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22668 (__pthread_rwlock_trywrlock): Likewise.
22669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22670 (__pthread_rwlock_unlock): Likewise.
22671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22672 (__pthread_key_create): Likewise.
22673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22674 (__pthread_setspecific): Likewise.
22675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22676 (__pthread_getspecific): Likewise.
22677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22678 Likewise.
22679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22680 (_pthread_cleanup_push_defer): Likewise.
22681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22682 (_pthread_cleanup_pop_restore): Likewise.
22683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22684 (pthread_setcancelstate): Likewise.
22685 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22686 <bp-sym.h>.
22687 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22688 (memchr): Do not use BP_SYM in weak_alias.
22689 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22690 (fegetenv): Do not use BP_SYM in versioned symbols.
22691 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22692 (fesetenv): Do not use BP_SYM in versioned symbols.
22693 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22694 (feupdateenv): Do not use BP_SYM in versioned symbols.
22695 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22696 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22697 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22698 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22699 (open64): Do not use BP_SYM in weak_alias.
22700 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22701 (fegetenv): Do not use BP_SYM in versioned symbols.
22702 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22703 (fesetenv): Do not use BP_SYM in versioned symbols.
22704 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22705 (feupdateenv): Do not use BP_SYM in versioned symbols.
22706 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22707 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22708 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22709 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22710 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22711 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22712 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22713 <bp-sym.h>.
22714 (__libc_start_main): Do not use BP_SYM.
22715
d6752ccd
SP
227162013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22717
cb57ce60
SP
22718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22719 redundant return line.
22720 (norm): Likewise.
22721 (denorm): Likewise.
22722 (dbl_mp): Likewise.
22723 (sub_magnitudes): Likewise.
22724 (__add): Likewise.
22725 (__sub): Likewise.
22726 (__mul): Likewise.
22727 (__inv): Likewise.
22728 (__dvd): Likewise.
22729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22730 (norm): Likewise.
22731 (denorm): Likewise.
22732 (dbl_mp): Likewise.
22733 (sub_magnitudes): Likewise.
22734 (__add): Likewise.
22735 (__sub): Likewise.
22736 (__mul): Likewise.
22737 (__inv): Likewise.
22738 (__dvd): Likewise.
22739
f414520d
SP
22740 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22741 instead of __mul.
22742 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22743 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22744 (cc32): Likewise.
22745
d6752ccd
SP
22746 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22747 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22748 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22749 of __mul for squares.
22750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22751 function
22752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22753 Likewise.
22754 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22755 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22756
70d9946a
JM
227572013-02-13 Joseph Myers <joseph@codesourcery.com>
22758
22759 [BZ #13550]
22760 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22761 code.
22762 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22763 prototype or function definition. Rename ubp_* variables and
22764 parameters. Remove argv definitions conditional on
22765 [__BOUNDED_POINTERS__].
22766 * debug/backtrace.c (__backtrace): Do not use __unbounded.
22767 * elf/dl-runtime.c (_dl_fixup): Likewise.
22768 * include/set-hooks.h (RUN_HOOK): Likewise.
22769 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22770 definition.
22771 * string/strcpy.c (strcpy): Do not use __unbounded.
22772 * sysdeps/generic/frame.h (struct layout): Likewise.
22773 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22774 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22775 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22776 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22777 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22778 (__backtrace): Likewise.
22779 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22780 use __ptrvalue.
22781 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22782 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22783 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22784 Likewise.
22785 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22786 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22787 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22788 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22789 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22790 Do not use __unbounded.
22791 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22792 Rename __unboundedrlimits parameter to rlimits in prototype.
22793 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22794 Do not use __unbounded.
22795 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22796 not use __ptrvalue.
22797 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22798 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22799 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22800 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22801 __ptrvalue or __unbounded.
22802 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22803 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22804 use __unbounded.
22805 (__new_msgctl): Do not use __ptrvalue.
22806 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22807 __unbounded.
22808 (__libc_msgrcv): Do not use __ptrvalue.
22809 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22810 startup_info): Do not use __unbounded.
22811 (__libc_start_main): Likewise. Rename ubp_* variables and
22812 parameters. Remove argv definitions conditional on
22813 [__BOUNDED_POINTERS__].
22814 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22815 __ptrvalue.
22816 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22817 use __unbounded.
22818 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22819 or __ptrvalue.
22820 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22821 use __unbounded.
22822 (__new_shmctl): Do not use __ptrvalue.
22823 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22824 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22825 Likewise.
22826 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22827 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22828 (__libc_sigaction): Likewise.
22829 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22830 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22831 Likewise.
22832 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22833
cc7834d6
OB
228342013-02-13 Ondřej Bílka <neleai@seznam.cz>
22835
ffb1ec7b 22836 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
22837
22838 * string/mempcpy.c: Implement by calling memcpy.
22839
bdf02814
SP
228402013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22841
c2af38aa
SP
22842 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22843
4e92d59e
SP
22844 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22845 evaluation.
22846
909279a5
SP
22847 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22848 values in the mantissa.
22849
bdf02814
SP
22850 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22851 minimize writes to Z.
22852 (sub_magnitudes): Simplify code a bit.
22853
cd525923
RM
228542013-02-12 Roland McGrath <roland@hack.frob.com>
22855
22856 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22857 from the message. The linker prefixes all warnings with that already.
22858
7e2f0d2d
AS
228592013-02-12 Andreas Schwab <schwab@suse.de>
22860
a445af0b
AS
22861 [BZ #15078]
22862 * posix/regexec.c (extend_buffers): Add parameter min_len.
22863 (check_matching): Pass minimum needed length.
22864 (clean_state_log_if_needed): Likewise.
22865 (get_subexp): Likewise.
22866 * posix/Makefile (tests): Add bug-regex34.
22867 (bug-regex34-ENV): Define.
22868 * posix/bug-regex34.c: New file.
22869
7e2f0d2d
AS
22870 [BZ #11561]
22871 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22872 elements compare against the byte sequence of it, not its name.
22873 * posix/Makefile (tests): Add bug-regex35.
22874 (bug-regex35-ENV): Define.
22875 * posix/bug-regex35.c: New file.
22876
a175b684
TV
228772013-02-11 Tom de Vries <tom@codesourcery.com>
22878
22879 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22880 comment.
22881 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22882 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22883 (CHECK_EOL): Add undef.
22884
310998fe 228852013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
22886
22887 * bits/stdlib-bsearch.h: New file.
22888 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 22889 * stdlib/stdlib.h: Likewise.
41eda41d 22890
8ded91fb
RM
228912013-02-11 Roland McGrath <roland@hack.frob.com>
22892
22893 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22894 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22895 declaration.
22896 * manual/search.texi (Array Search Function): Add missing const in
22897 lfind prototype.
22898 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22899 declaration to use rlim_t.
22900 (Basic Scheduling Functions): Remove erroneous const from
22901 sched_getparam prototype. Remove erroneous * from
22902 sched_get_priority_max and sched_get_priority_min prototypes.
22903 (Resource Usage): Fix summary @comment on vtimes to refer to
22904 sys/vtimes.h rather than vtimes.h.
22905 Add missing *s in vtimes prototype.
22906 (Limits on Resources): Fix ulimit prototype to return long int.
22907 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22908 prototypes to use long int rather than double.
22909 (BSD Random): Fix initstate and setstate to use char *, not void *.
22910 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22911 prototype to make second argument 'struct aiocb64 *const[]'.
22912 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22913 (Status of AIO Operations): Remove erroneous const in aio_return and
22914 aio_return64 prototypes.
22915 (Synchronizing I/O): Fix sync prototype to return void.
22916 * manual/startup.texi (Suboptions): Remove an erroneous const in
22917 getsubopt prototype.
22918 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22919 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22920 use size_t rather than int.
22921 (Scanning All Users): Likewise for getpwent_r.
22922 (Setting Groups): Add missing const to setgroups prototype.
22923 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22924 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22925 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22926 'const void *' rather than 'const char *'.
22927 (Host Address Functions): Likewise for inet_ntop.
22928 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22929 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22930 ssize_t for return value.
22931 (Sending Data): Likewise for send, sendto, sendmsg.
22932 (Socket Option Functions): Add a missing const in setsockopt prototype.
22933 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22934 use wchar_t for the argument.
22935 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22936 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22937 take no arguments.
22938 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22939 double/float/long double for second argument.
22940 Fix return types of significand, significandf, significandl.
22941 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22942 argument in fchmod prototype.
22943 (File Owner): Use uid_t and gid_t in fchown prototype.
22944 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22945 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22946 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22947 use 'const struct dirent **' as argument types to CMP function pointer
22948 argument.
22949 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22950 (File Times): Fix summary magic @comment for struct utimbuf and utime
22951 to refer to utime.h, not time.h.
22952 * manual/string.texi (Argz Functions): Add missing const in
22953 argz_extract and argz_next prototypes.
22954 (Finding Tokens in a String): Likewise for basename.
22955 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22956 (Copying and Concatenation): Fix typo in wmemmove prototype.
22957 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22958 (Signal Stack): Remove erroneous const in sigstack prototype.
22959 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22960 prototype.
22961 (Simple Calendar Time): Likewise for stime.
22962 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22963 prototype.
22964 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22965 say sys/sysctl.h instead.
22966 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22967 and vsyslog prototypes.
22968
fe77fe6d
TV
229692013-02-11 Tom de Vries <tom@codesourcery.com>
22970
22971 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22972 Remove.
22973
3a09b620
RM
229742013-02-11 Roland McGrath <roland@hack.frob.com>
22975
22976 * misc/sys/mman.h: Fix typo in mremap comment.
22977
550a0b89
RM
229782013-02-08 Roland McGrath <roland@hack.frob.com>
22979
22980 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22981 the '\0' terminator.
22982
a2da1673
JM
229832013-02-08 Joseph Myers <joseph@codesourcery.com>
22984
22985 [BZ #13550]
22986 * debug/segfault.c: Don't include <bp-checks.h>.
22987 * sysdeps/generic/bp-checks.h: Remove file.
22988 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22989 (__GETDENTS): Don't use CHECK_N.
22990 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22991 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22992 (__getgroups): Don't use CHECK_N.
22993 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22994 (setgroups): Don't use CHECK_N.
22995 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22996 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22997 (__libc_msgrcv): Don't use CHECK_N.
22998 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22999 (__libc_msgsnd): Don't use CHECK_N.
23000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23001 <bp-checks.h>.
23002 (__libc_pread): Don't use CHECK_N.
23003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23004 include <bp-checks.h>.
23005 (__libc_pread64): Don't use CHECK_N.
23006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23007 include <bp-checks.h>.
23008 (__libc_pwrite): Don't use CHECK_N.
23009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23010 include <bp-checks.h>.
23011 (__libc_pwrite64): Don't use CHECK_N.
23012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23013 <bp-checks.h>.
23014 (__libc_pread): Don't use CHECK_N.
23015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23016 include <bp-checks.h>.
23017 (__libc_pread64): Don't use CHECK_N.
23018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23019 include <bp-checks.h>.
23020 (__libc_pwrite): Don't use CHECK_N.
23021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23022 include <bp-checks.h>.
23023 (__libc_pwrite64): Don't use CHECK_N.
23024 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23025 (do_pread): Don't use CHECK_N.
23026 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23027 (do_pread64): Don't use CHECK_N.
23028 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23029 (do_pwrite): Don't use CHECK_N.
23030 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23031 (do_pwrite64): Don't use CHECK_N.
23032 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23033 (__libc_readv): Don't use CHECK_N.
23034 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23035 (semop): Don't use CHECK_N.
23036 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23037 <bp-checks.h>.
23038 (semtimedop): Don't use CHECK_N.
23039 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23040 (__libc_pread): Don't use CHECK_N.
23041 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23042 <bp-checks.h>.
23043 (__libc_pread64): Don't use CHECK_N.
23044 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23045 <bp-checks.h>.
23046 (__libc_pwrite): Don't use CHECK_N.
23047 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23048 <bp-checks.h>.
23049 (__libc_pwrite64): Don't use CHECK_N.
23050 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23051 <bp-checks.h>.
23052 (__libc_msgrcv): Don't use CHECK_N.
23053 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23054 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23055 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23056 (__libc_writev): Don't use CHECK_N.
23057
b84660a8
RM
230582013-02-08 Roland McGrath <roland@hack.frob.com>
23059
7f3e75f8
RM
23060 * string/strcpy.c: Removed unused variable.
23061
b84660a8
RM
23062 * Makeconfig (+sysdep-includes): Define with := rather than =.
23063 Use an existing include/ subdir of each sysdeps dir before it.
23064
471514d3
CD
230652013-02-08 Carlos O'Donell <carlos@redhat.com>
23066
23067 * nscd/connection.c (register_traced_file): Comment function.
23068 [HAVE_INOTIFY] (union __inev): Define.
23069 [HAVE_INOTIFY] (inotify_check_files): New function.
23070 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23071 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23072 clear_db_cache.
23073 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23074
b2d3c3be
CD
230752013-02-08 Carlos O'Donell <carlos@redhat.com>
23076
23077 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23078 loaded if not already and that a failure is permanent.
23079
b39949d2
CD
230802013-02-08 Carlos O'Donell <carlos@redhat.com>
23081
ddacd1db 23082 [BZ #15006]
b39949d2
CD
23083 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23084 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23085
b2c9eff4
JM
230862013-02-08 Joseph Myers <joseph@codesourcery.com>
23087
f3aae3f3
JM
23088 [BZ #13550]
23089 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23090 (CHECK_1_NULL_OK): Likewise.
23091 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23092 (__fxstat): Do not use CHECK_1.
23093 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23094 <bp-checks.h>.
23095 (___fxstat64): Do not use CHECK_1.
23096 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23097 <bp-checks.h>.
23098 (__fxstatat): Do not use CHECK_1.
23099 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23100 <bp-checks.h>.
23101 (__fxstatat64): Do not use CHECK_1.
23102 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23103 <bp-checks.h>.
23104 (__fxstat): Do not use CHECK_1.
23105 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23106 <bp-checks.h>.
23107 (__fxstatat): Do not use CHECK_1.
23108 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23109 <bp-checks.h>.
23110 (__getresgid): Do not use CHECK_1.
23111 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23112 <bp-checks.h>.
23113 (__getresuid): Do not use CHECK_1.
23114 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23115 <bp-checks.h>.
23116 (__lxstat): Do not use CHECK_1.
23117 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23118 <bp-checks.h>.
23119 (__old_msgctl): Do not use CHECK_1.
23120 (__new_msgctl): Likewise.
23121 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23122 <bp-checks.h>.
23123 (__new_setrlimit): Do not use CHECK_1.
23124 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23125 <bp-checks.h>.
23126 (__old_shmctl): Do not use CHECK_1.
23127 (__new_shmctl): Likewise.
23128 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23129 <bp-checks.h>.
23130 (__xstat): Do not use CHECK_1.
23131 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23132 (__lxstat): Do not use CHECK_1.
23133 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23134 <bp-checks.h>.
23135 (___lxstat64): Do not use CHECK_1.
23136 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23137 (__old_msgctl): Do not use CHECK_1.
23138 (__new_msgctl): Likewise.
23139 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23140 <bp-checks.h>.
23141 (__gettimeofday): Do not use CHECK_1.
23142 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23143 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23144 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23145 <bp-checks.h>.
23146 (__gettimeofday): Do not use CHECK_1.
23147 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23148 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23149 (__new_shmctl): Do not use CHECK_1.
23150 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23151 <bp-checks.h>.
23152 (do_sigtimedwait): Do not use CHECK_1.
23153 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23154 <bp-checks.h>.
23155 (do_sigwaitinfo): Do not use CHECK_1.
23156 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23157 <bp-checks.h>.
23158 (msgctl): Do not use CHECK_1.
23159 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23160 <bp-checks.h>.
23161 (shmctl): Do not use CHECK_1.
23162 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23163 (ustat): Do not use CHECK_1.
23164 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23165 <bp-checks.h>.
23166 (__fxstat): Do not use CHECK_1.
23167 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23168 <bp-checks.h>.
23169 (__fxstatat): Do not use CHECK_1.
23170 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23171 <bp-checks.h>.
23172 (__lxstat): Do not use CHECK_1.
23173 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23174 <bp-checks.h>.
23175 (__xstat): Do not use CHECK_1.
23176 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23177 (__xstat): Do not use CHECK_1.
23178 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23179 (___xstat64): Do not use CHECK_1.
23180
b2c9eff4
JM
23181 [BZ #13550]
23182 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23183 definitions.
23184 (CHECK_BOUNDS_HIGH): Likewise.
23185 * string/strcpy.c: Do not include <bp-checks.h>.
23186 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23187
f1d70dad
RM
231882013-02-07 Roland McGrath <roland@hack.frob.com>
23189
23190 * nscd/nscd-client.h (__nscd_drop_map_ref):
23191 Add __attribute__ ((unused)).
23192 * nis/nss-nisplus.h (niserr2nss): Likewise.
23193
23194 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23195 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23196
23197 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23198 Remove inline keyword.
23199 * include/rounding-mode.h (round_away): Likewise.
23200 * libio/wfileops.c (adjust_wide_data): Likewise.
23201 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23202 (__m128i_strloadu_tolower): Likewise.
23203 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23204 (__m128i_strloadu_tolower): Likewise.
23205 * time/mktime.c (ydhms_diff): Likewise.
23206 * locale/elem-hash.h (elem_hash): Likewise.
23207 * locale/setlocale.c (setdata): Likewise.
23208 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23209 (re_string_wchar_at): Likewise.
23210 (bitset_not, bitset_merge, bitset_mask): Likewise.
23211 [!(__GNUC__ > 3)] (inline): Remove macro.
23212 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23213 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23214 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23215 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23216 * string/memcmp.c (memcmp_bytes): Likewise.
23217 * locale/programs/locarchive.c (compute_hashval): Likewise.
23218 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23219 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23220 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23221 * nss/getent.c (print_rpc, print_protocols): Likewise.
23222 (print_passwd, print_group, print_aliases): Likewise.
23223 * nis/nss-nisplus.h (niserr2nss): Likewise.
23224 * nscd/connections.c (restart_p): Likewise.
23225 Change return type to bool.
23226
eab55bfb
RM
232272013-02-05 Roland McGrath <roland@hack.frob.com>
23228
7bd642f5
RM
23229 * Makeconfig (all-Depend-files): Add existing
23230 $(sorted-subdirs:=/Depend) files.
23231 (all-subdirs): Remove nss.
23232 * sysdeps/unix/inet/Subdirs: Add it here instead.
23233 * hesiod/Depend: New file.
23234
573c29b2
RM
23235 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23236 instead of calling alloca.
23237
b2e25af0
RM
23238 * io/lseek.c (__lseek): Rename to __libc_lseek.
23239 Define __lseek as an alias.
23240
eab55bfb
RM
23241 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23242
9a0d1941
CD
232432013-02-04 Carlos O'Donell <carlos@redhat.com>
23244
23245 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23246 else clause and remove check for non-standard endianness.
23247
b83bbec4
DM
232482013-02-04 David S. Miller <davem@davemloft.net>
23249
23250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23251
6277fdab
JM
232522013-02-04 Joseph Myers <joseph@codesourcery.com>
23253
23254 [BZ #13550]
23255 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23256 (__ubp_memchr): Remove prototype.
23257 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23258 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23259 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23260 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23261 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23262 Remove alias.
23263 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23264 (__ubp_memchr): Likewise.
23265 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23266 (__ubp_memchr): Likewise.
23267 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23268 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23269 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23270 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23271 CHECK_STRING.
23272 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23273 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23274 (__getcwd): Do not use CHECK_STRING.
23275 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23276 <bp-checks.h>.
23277 (__real_chown): Do not use CHECK_STRING.
23278 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23279 <bp-checks.h>.
23280 (fchownat): Do not use CHECK_STRING.
23281 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23282 CHECK_STRING.
23283 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23284 <bp-checks.h>.
23285 (__lchown): Do not use CHECK_STRING.
23286 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23287 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23288 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23289 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23291 include <bp-checks.h>.
23292 (truncate64): Do not use CHECK_STRING.
23293 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23294 <bp-checks.h>.
23295 (__real_chown): Do not use CHECK_STRING.
23296 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23297 <bp-checks.h>.
23298 (__lchown): Do not use CHECK_STRING.
23299 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23300 <bp-checks.h>.
23301 (__chown): Do not use CHECK_STRING.
23302 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23303 <bp-checks.h>.
23304 (truncate64): Do not use CHECK_STRING.
23305 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23306 Likewise.
23307 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23308 (__xmknod): Do not use CHECK_STRING.
23309 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23310 <bp-checks.h>.
23311 (__xmknodat): Do not use CHECK_STRING.
23312 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23313 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23314
903ae060
AS
233152013-02-04 Andreas Schwab <schwab@suse.de>
23316
23317 [BZ #14142]
23318 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23319 * include/netdb.h: Likewise for h_errno.
23320 * elf/tst-stackguard1.c: Include <tls.h>.
23321
542f9466
JK
233222013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23323
23324 * elf/link.h (struct link_map): Extend the l_addr comment.
23325 * include/link.h (struct link_map): Likewise.
23326
e782a927
JM
233272013-02-01 Joseph Myers <joseph@codesourcery.com>
23328
23329 [BZ #13550]
23330 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23331 (BOUNDED_1): Remove macro.
23332 * debug/backtrace.c: Don't include <bp-checks.h>.
23333 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23334 (__backtrace): Likewise.
23335 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23336 <bp-checks.h>.
23337 (__backtrace): Don't use BOUNDED_1.
23338 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23339 <bp-checks.h>.
23340 (__backtrace): Don't use BOUNDED_1.
23341 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23342 (__backtrace): Don't use BOUNDED_1.
23343 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23344 (shmat): Don't use BOUNDED_N.
23345
8cf28c5e
JM
233462013-01-31 Joseph Myers <joseph@codesourcery.com>
23347
3a7ac8a0
JM
23348 [BZ #13550]
23349 * sysdeps/generic/bp-start.h: Remove file.
23350 * csu/libc-start.c: Don't include <bp-start.h>.
23351 (LIBC_START_MAIN): Set up __environ directly instead of using
23352 INIT_ARGV_and_ENVIRON.
23353 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23354 <bp-start.h>.
23355
f3499f95
JM
23356 [BZ #13550]
23357 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23358 definitions.
23359 (CHECK_FCNTL): Likewise.
23360 (CHECK_N_PAGES): Likewise.
23361
32a45bea
JM
23362 [BZ #13550]
23363 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23364 definitions.
23365 (CHECK_SIGSET_NULL_OK): Likewise.
23366 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23367 <bp-checks.h>.
23368 (sigpending): Don't use CHECK_SIGSET.
23369 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23370 <bp-checks.h>.
23371 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23372 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23373 <bp-checks.h>.
23374 (do_sigsuspend): Don't use CHECK_SIGSET.
23375 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23376 use CHECK_SIGSET.
23377 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23378 (do_sigwait): Don't use CHECK_SIGSET.
23379 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23380 use CHECK_SIGSET.
23381 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23382 include <bp-checks.h>.
23383 (sigpending): Don't use CHECK_SIGSET.
23384 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23385 include <bp-checks.h>.
23386 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23387 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23388 <bp-checks.h>.
23389 (sigpending): Don't use CHECK_SIGSET.
23390 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23391 <bp-checks.h>.
23392 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23393
2e8a5c8c
JM
23394 [BZ #13550]
23395 * sysdeps/generic/bp-semctl.h: Remove file.
23396 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23397 <bp-checks.h> and <bp-semctl.h>.
23398 (__old_semctl): Don't use CHECK_SEMCTL.
23399 (__new_semctl): Likewise.
23400 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23401 and <bp-semctl.h>.
23402 (__old_semctl): Don't use CHECK_SEMCTL.
23403 (__new_semctl): Likewise.
23404 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23405 <bp-checks.h> and <bp-semctl.h>.
23406 (__old_semctl): Don't use CHECK_SEMCTL.
23407 (__new_semctl): Likewise.
23408 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23409 <bp-checks.h> and <bp-semctl.h>.
23410 (semctl): Don't use CHECK_SEMCTL.
23411
c2d54929
JM
23412 [BZ #13550]
23413 * Makerules (elide-bp-thunks): Remove variable.
23414 (elide-routines.oS): Don't use $(elide-bp-thunks).
23415 (elide-routines.os): Likewise.
23416 (elide-routines.o): Likewise.
23417 (elide-routines.op): Likewise.
23418 (elide-routines.og): Likewise.
23419 (objects): Don't use $(bp-thunks).
23420 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23421 include.
23422 (common-generated): Do not add s-proto-bp.d.
23423 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23424 (int): Likewise.
23425 (typ): Likewise.
23426 Do not generate makefile rules for bounded-pointer thunks.
23427 * sysdeps/generic/bp-thunks.h: Remove file.
23428 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23429 * sysdeps/unix/s-proto-bp.S: Likewise.
23430
8cf28c5e
JM
23431 [BZ #15062]
23432 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23433 parts of result separately when argument is not close to line from
23434 -i to i and one part of argument is small.
23435 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23436 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23437 * math/libm-test.inc (cacos_test): Add more tests.
23438 (casin_test): Likewise.
23439 (casinh_test): Likewise.
23440 * sysdeps/i386/fpu/libm-test-ulps: Update.
23441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23442
c4e33b8d
DM
234432013-01-31 David S. Miller <davem@davemloft.net>
23444
23445 * po/de.po: Update from translation team.
23446
3b60b421
MK
234472013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23448
23449 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23450
bb931195
TS
234512013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23452
b5a5da23
TS
23453 * configure.in (_AC_PROG_CC_C89): New definition.
23454 * configure: Regenerate.
23455
bb931195
TS
23456 * configure.in (AC_PROG_CPP): New definition.
23457 * configure: Regenerate.
23458
8c53a12c
JM
234592013-01-23 Joseph Myers <joseph@codesourcery.com>
23460
23461 * debug/tst-backtrace.h: New file.
23462 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23463 (ret): Remove variable.
23464 (x): Likewise.
23465 (FAIL): Remove macro.
23466 (NO_INLINE): Likewise.
23467 (fn1): Use match function instead of strstr.
23468 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23469 (ret): Remove variable.
23470 (x): Likewise.
23471 (FAIL): Remove macro.
23472 (NO_INLINE): Likewise.
23473 (fn): Use match function instead of strstr.
23474 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23475 (ret): Remove variable.
23476 (x): Likewise.
23477 (FAIL): Remove macro.
23478 (NO_INLINE): Likewise.
23479 (handle_signal): Use match function instead of strstr.
23480 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23481 (ret): Remove variable.
23482 (x): Likewise.
23483 (FAIL): Remove macro.
23484 (NO_INLINE): Likewise.
23485 (handle_signal): Use match function instead of strstr.
23486
4858fa2a
RM
234872013-01-23 Roland McGrath <roland@hack.frob.com>
23488
23489 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23490
bae8e7f5
DM
234912013-01-23 David S. Miller <davem@davemloft.net>
23492
23493 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23494 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23495 argument of CAS if possible.
23496 * sysdeps/sparc/sparc64/bits/atomic.h
23497 (__arch_compare_and_exchange_val_32_acq): Likewise.
23498 (__arch_compare_and_exchange_val_64_acq): Likewise.
23499
9cbbc4ae
PT
235002013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23501
23502 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23503 * sysdeps/posix/ulimit.c: ... this.
92a601b8 23504 Include <limits.h>.
67b3f58c 23505 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 23506
5655a0b5
AC
235072013-01-23 Adam Conrad <adconrad@0c3.net>
23508
23509 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23510 (LDFLAGS-tst-array5): Likewise.
23511
052aff95
JM
235122013-01-23 Joseph Myers <joseph@codesourcery.com>
23513
23514 [BZ #15036]
23515 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23516 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23517 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23518 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23519
7c1e01aa
DM
235202013-01-21 David S. Miller <davem@davemloft.net>
23521
23522 * sysdeps/sparc/backtrace.c: New file.
23523 * sysdeps/sparc/sparc32/backtrace.h: New file.
23524 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23525 * sysdeps/sparc/sparc64/backtrace.h: New file.
23526 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23527 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23528 -funwind-tables.
23529
ab087e0a
AS
235302013-01-21 Andreas Schwab <schwab@suse.de>
23531
23532 [BZ #15020]
23533 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23534 closed its stdout.
23535
ed689c2f
AS
235362013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23537
23538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23539 "mpa2.h".
23540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23541
31d470ac
JM
235422013-01-18 Joseph Myers <joseph@codesourcery.com>
23543 Mark Mitchell <mark@codesourcery.com>
23544 Tom de Vries <tom@codesourcery.com>
23545 Paul Pluzhnikov <ppluzhnikov@google.com>
23546
23547 * debug/tst-backtrace2.c: New file.
23548 * debug/tst-backtrace3.c: Likewise.
23549 * debug/tst-backtrace4.c: Likewise.
23550 * debug/tst-backtrace5.c: Likewise.
23551 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23552 (CFLAGS-tst-backtrace3.c): Likewise.
23553 (CFLAGS-tst-backtrace4.c): Likewise.
23554 (CFLAGS-tst-backtrace5.c): Likewise.
23555 (LDFLAGS-tst-backtrace2): Likewise.
23556 (LDFLAGS-tst-backtrace3): Likewise.
23557 (LDFLAGS-tst-backtrace4): Likewise.
23558 (LDFLAGS-tst-backtrace5): Likewise.
23559 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23560 tst-backtrace4 and tst-backtrace5.
23561
90567f30 235622013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
23563 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23564
23565 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23566 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23567 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23568 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23570 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23571 "+r" and remove output regs list as redundant. Add explicit inline
23572 asm to specify register of return val to work around compiler codegen
23573 bug. Remove (int) cast on return value. Add return type parameter to
23574 use in macro so that this macro does not truncate return value for
23575 64-bit values.
23576 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23577 pass to INTERNAL_VSYSCALL_NCS.
23578 (INLINE_VSYSCALL): Add 'long int' as return type to
23579 INTERNAL_VSYSCALL_NCS macro invocation.
23580 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23581 INTERNAL_VSYSCALL_NCS macro invocation.
23582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23583
d3b9ea61
SP
235842013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23585
0b57daeb
SP
23586 [BZ #14496]
23587 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23588 Fix application of SIMD FP exception mask.
23589
caa99d06
SP
23590 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23591 mp_no from a power of two.
23592 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23593 __mpexp_twomm1. Use __pow_mp.
23594
d3b9ea61
SP
23595 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23596 multiplication.
23597
1dbaee3c
DM
235982013-01-17 David S. Miller <davem@davemloft.net>
23599
23600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23601
728d7b43
JM
236022013-01-17 Joseph Myers <joseph@codesourcery.com>
23603
23604 [BZ #15023]
23605 * include/complex.h: Condition contents on [!_COMPLEX_H].
23606 (__kernel_casinhf): New prototype.
23607 (__kernel_casinh): Likewise.
23608 (__kernel_casinhl): Likewise.
23609 * math/Makefile (libm_calls): Add k_casinh.
23610 * math/k_casinh.c: New file.
23611 * math/k_casinhf.c: Likewise.
23612 * math/k_casinhl.c: Likewise.
23613 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23614 finite nonzero arguments.
23615 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23616 finite nonzero arguments.
23617 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23618 finite nonzero arguments.
23619 * math/s_casinh.c: Do not include <float.h>.
23620 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23621 * math/s_casinhf.c: Do not include <float.h>.
23622 (__casinhf): Move code for finite nonzero arguments to
23623 k_casinhf.c.
23624 * math/s_casinhl.c: Do not include <float.h>.
23625 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23626 redefine.
23627 (__casinhl): Move code for finite nonzero arguments to
23628 k_casinhl.c.
23629 * math/libm-test.inc (cacos_test): Add more tests.
23630 * sysdeps/i386/fpu/libm-test-ulps: Update.
23631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23632
2a26ef3a
PT
236332013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23634
23635 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23636 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23637 [!HAVE_MREMAP]: Remove [defined linux] case.
23638 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23639
a897655d
SP
236402013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23641
23642 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23643
881ebe89 236442013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
23645
23646 * elf/elf.h (R_386_SIZE32): New relocation.
23647 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23648 R_386_SIZE32.
23649 (elf_machine_rela): Likewise.
23650 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23651 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23652
59981e9b
JM
236532013-01-17 Joseph Myers <joseph@codesourcery.com>
23654
23655 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23656 (FP_FAST_FMA): Do not define.
23657 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23658 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23659 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23660 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23661 !_SOFT_FLOAT]: Likewise.
23662 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23663 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23664 value.
23665 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23666 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23667 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23668 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23669 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23670 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23671 file.
23672
cfa8054f
AS
236732013-01-16 Andreas Schwab <schwab@suse.de>
23674
23675 [BZ #14327]
23676 * include/stdlib.h (__mktemp): Add declaration.
23677 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23678 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23679
dd930cc5
SP
236802013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23681
881ebe89
SP
23682 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23683 definitions.
23684 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23685 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23686 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23687 definitions here.
23688 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23689 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23690 definitions.
23691 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23692 and ONE.
23693 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23694 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23695 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23696 definitions.
23697 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23698 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23699 definitions.
23700 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 23701
dd930cc5
SP
23702 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23703
c19a9f89
DM
237042013-01-15 David S. Miller <davem@davemloft.net>
23705
1aa61767
DM
23706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23707 trunc{,f} to libm-sysdep_routes.
23708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23710 file.
23711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23713 file.
23714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23715 file.
23716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23718 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23719 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23720 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23721 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23722 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23723 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23724
c42d5e98
DM
23725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23726 nearbyint{,f} to libm-sysdep_routes.
23727 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23729 New file.
23730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23731 file.
23732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23733 New file.
23734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23735 file.
23736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23738 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23739 file.
23740 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23741 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23742 file.
23743 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23744 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23745 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23746
c19a9f89
DM
23747 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23748 libc_feholdexcept and libc_fesetenv.
23749
357679d2
MF
237502013-01-15 Mike Frysinger <vapier@gentoo.org>
23751
23752 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23753
65a82e3d
DM
237542013-01-14 David S. Miller <davem@davemloft.net>
23755
8b954ab9
DM
23756 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23757 (SPARC_ASM_VIS2_IFUNC): Likewise.
23758 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23760 use of 'siam' instruction.
23761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23762 Likewise.
23763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23764 Likewise.
23765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23766 Likewise.
23767 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23772 file.
23773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23774 file.
23775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23776 file.
23777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23778 file.
23779 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23784 new VIS2 routines.
23785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23788 Likewise.
23789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23791 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23792 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23794 routines to libm-sysdep_routines.
23795 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23796
65a82e3d
DM
23797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23798 fdim/fdimf to libm-sysdep_routines.
23799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23800 file.
23801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23803 file.
23804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23807 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23808 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23809 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23810 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23811
e34ab705
SP
238122013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23813
2a91b573
SP
23814 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23815 to optimize copies.
23816
1066a534
SP
23817 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23820
e34ab705
SP
23821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23822 local variable MPTWO.
23823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23824 Likewise.
23825
aba5e596
MF
238262013-01-13 Mike Frysinger <vapier@gentoo.org>
23827
23828 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23829 GLOB_NOESCAPE.
23830
e557e9e5
MF
238312013-01-13 Mike Frysinger <vapier@gentoo.org>
23832
23833 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23834
0428cec9
MF
238352013-01-13 Mike Frysinger <vapier@gentoo.org>
23836
23837 * manual/pattern.texi (glob_t): Document gl_flags.
23838 (glob64_t): Likewise.
23839
8794a964
DM
238402013-01-11 David S. Miller <davem@davemloft.net>
23841
66438c3f
RM
23842 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23843 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23844 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
23845 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23846 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23847 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23848 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23849 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23850 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23851 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23852 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23853 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23854 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23855
4ae4244d
DM
23856 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23857 sparc V9 rather than using V8 code.
23858 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23859 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23860
8794a964
DM
23861 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23862 Move to...
23863 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23864 Here.
23865
6270516e
RM
238662013-01-11 Roland McGrath <roland@hack.frob.com>
23867
23868 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23869 not in the main loop.
23870 * configure: Regenerated.
23871
6a57d931
JM
238722013-01-11 Joseph Myers <joseph@codesourcery.com>
23873
23874 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23875 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23876 to just #else.
23877 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23878 [!__GLIBC_HAVE_LONG_LONG] case.
23879 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23880 condition to just #else.
23881 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23882 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23883 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23884 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23885 unconditional.
23886 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23887 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23888 #elif condition to just #else.
23889 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23890 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23891 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23892 #elif condition to just #else.
23893
0e8529e9
SE
238942013-01-11 Steve Ellcey <sellcey@mips.com>
23895
23896 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23897 (EF_MIPS_ARCH_64): Fix value.
23898 (EF_MIPS_ARCH_32R2): New.
23899 (EF_MIPS_ARCH_64R2): New.
23900
740b3dbe
L
239012013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23902
23903 * Makeconfig (+link-pie-before-libc): New.
23904 (+link-pie-after-libc): Likewise.
23905 (+link-pie-tests): Likewise.
23906 (+link-pie): Rewritten.
23907 (link-before-libc): Remove $(config-LDFLAGS).
23908 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23909 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23910 (config-LDFLAGS): Renamed to ...
23911 (rtld-LDFLAGS): This.
23912 (rtld-tests-LDFLAGS): New macro.
23913 (link-libc-rpath-link): Likewise.
23914 (link-libc-tests-rpath-link): Likewise.
23915 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23916 (link-libc): Prepand $(link-libc-rpath-link).
23917 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23918 (test-program-prefix): New macro.
23919 (test-via-rtld-prefix): Likewise.
23920 (test-program-cmd): Likewise.
23921 (host-test-program-cmd): Likewise.
23922 * Makefile ($(common-objpfx)testrun.sh): Replace
23923 $(run-program-prefix) with $(test-program-prefix).
23924 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23925 $(rtld-LDFLAGS).
23926 ($(common-objpfx)shlib.lds): Likewise.
23927 (build-module-helper): Likewise.
23928 ($(common-objpfx)format.lds): Likewise.
23929 * Rules (binaries-pie-tests): New.
23930 (binaries-pie-notests): Likewise.
23931 (binaries-pie): Rewritten.
23932 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23933 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23934 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23935 (make-test-out): Replace $(host-built-program-cmd) with
23936 $(host-test-program-cmd).
23937 * config.make.in (build-hardcoded-path-in-tests): New variable.
23938 * configure.in (--enable-hardcoded-path-in-tests): New configure
23939 option.
23940 (hardcoded_path_in_tests): New AC_SUBST.
23941 * configure: Regenerated.
23942 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23943 $(built-program-cmd) with $(test-program-cmd).
23944 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23945 (test_program_cmd): This.
23946 * elf/Makefile ($(objpfx)order.out): Run test with
23947 $(test-program-prefix).
23948 ($(objpfx)order2.out): Likewise.
23949 ($(objpfx)tst-initorder.out): Likewise.
23950 ($(objpfx)tst-initorder2.out): Likewise.
23951 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23952 $(test-program-cmd).
23953 ($(objpfx)tst-array1-static.out): Likewise.
23954 ($(objpfx)tst-array2.out): Likewise.
23955 ($(objpfx)tst-array3.out): Likewise.
23956 ($(objpfx)tst-array4.out): Likewise.
23957 ($(objpfx)tst-array5.out): Likewise.
23958 ($(objpfx)tst-array5-static.out): Likewise.
23959 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23960 $(test-program-cmd).
23961 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23962 $(run-program-prefix) with $(test-program-prefix).
23963 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23964 (test_program_prefix): This.
23965 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23966 $(run-program-prefix) with $(test-program-prefix).
23967 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23968 (test_program_prefix): This.
23969 * iconvdata/tst-tables.sh: Likewise.
23970 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23971 $(run-program-prefix) with $(test-program-prefix).
23972 ($(objpfx)tst-translit.out): Likewise.
23973 ($(objpfx)tst-gettext2.out): Likewise.
23974 ($(objpfx)tst-gettext4.out): Likewise.
23975 ($(objpfx)tst-gettext6.out): Likewise.
23976 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23977 (test_program_prefix): This.
23978 * intl/tst-gettext2.sh: Likewise.
23979 * intl/tst-gettext4.sh Likewise.
23980 * intl/tst-gettext6.sh: Likewise.
23981 * intl/tst-translit.sh: Likewise.
23982 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23983 with $(test-program-cmd).
23984 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23985 $(run-program-prefix) with $(test-program-prefix).
23986 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23987 (test_program_prefix): This.
23988 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23989 $(run-program-prefix) with $(test-program-prefix).
23990 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23991 (test_program_prefix): This.
23992 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23993 * posix/Makefile ($(objpfx)globtest.out): Replace
23994 $(run-via-rtld-prefix) and $(test-wrapper) with
23995 $(test-program-prefix) and $(test-via-rtld-prefix).
23996 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23997 $(test-program-prefix).
23998 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23999 $(host-test-program-cmd).
24000 (tst-spawn-ARGS): Likewise.
24001 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24002 $(test-program-prefix).
24003 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24004 (test_via_rtld_prefix): This.
24005 (test_wrapper): Renamed to ...
24006 (test_program_prefix): This.
24007 (run_program_prefix): Replaced by test_program_prefix.
24008 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24009 (test_program_prefix): This.
24010 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24011 with $(host-test-program-cmd).
24012 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24013 $(run-program-prefix) with $(test-program-prefix).
24014 ($(objpfx)tst-printf.out): Likewise.
24015 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24016 $(test-program-cmd).
24017 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24018 (test_program_prefix): This.
24019 * stdio-common/tst-unbputc.sh: Likewise.
24020 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24021 $(run-program-prefix) with $(test-program-prefix).
24022 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24023 (test_program_prefix): This.
24024 * string/Makefile ($(objpfx)tst-svc.out): Replace
24025 $(built-program-cmd) with $(test-program-cmd).
24026
c6fe55cf
AJ
240272013-01-11 Andreas Jaeger <aj@suse.de>
24028
24029 [BZ #15003]
24030 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24031 value. Sync with Linux 3.7.
24032
9e6919c8
DM
240332013-01-10 David S. Miller <davem@davemloft.net>
24034
24035 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24036 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24037 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24038
1c9f1a02
RM
240392013-01-10 Roland McGrath <roland@hack.frob.com>
24040
24041 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24042 never set.
24043 * configure: Regenerated.
24044
b9de2dde
DM
240452013-01-10 David S. Miller <davem@davemloft.net>
24046
24047 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24048 sparc V9 rather than using V8 code.
24049 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24050 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24051
e7f68ef4
RM
240522013-01-10 Roland McGrath <roland@hack.frob.com>
24053
24054 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24055 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24056 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24057 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24058 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24059 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24060 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24061 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24062 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24063 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24064 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24065 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24066 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24067 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24068 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24069 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24070 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24071 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24072 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24073 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24074 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24075 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24076 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24077 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24078 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24079 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24080 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24081
5a47cc9c
DM
240822013-01-10 David S. Miller <davem@davemloft.net>
24083
24084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24085
4cf8f209
L
240862013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24087
24088 * posix/Makefile (tests-static): New variable.
24089 (tests): Add $(tests-static).
24090 (tst-exec-static-ARGS): New variable.
24091 (tst-spawn-static-ARGS): Likewise.
24092 * posix/tst-exec-static.c: New file.
24093 * posix/tst-spawn-static.c: Likewise.
24094 * posix/tst-exec.c: Support run directly.
24095 * posix/tst-spawn.c: Likewise.
24096
fed0faa1
JM
240972013-01-10 Joseph Myers <joseph@codesourcery.com>
24098
828beb13
JM
24099 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24100 long.
24101 * math/bits/mathcalls.h (llrint): Likewise.
24102 (llround): Likewise.
24103 * stdlib/stdlib.h (struct drand48_data): Likewise.
24104 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24105 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24106 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24107 Likewise.
24108 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24109 Likewise.
24110 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24111 (elf_greg_t): Likewise.
24112 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24113 (__jmp_buf): Likewise.
24114 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24115 definitions.
24116 (llrint): Likewise, for all definitions.
24117 (llrintl): Likewise.
24118
fed0faa1
JM
24119 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24120 Remove [__GNUC__] condition.
24121 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24122 condition to just [__USE_ISOC99].
24123 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24124
1a20cb20
L
241252013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24126
24127 [BZ #14200]
24128 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24129 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24130 defined.
24131 (_POSIX_V6_ILP32_OFF32): Likewise.
24132 (_XBS5_ILP32_OFF32): Likewise.
24133 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24134 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24135
751b85f7
SP
241362013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24137
7490eb81
SP
24138 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24139
751b85f7
SP
24140 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24141 doubles __mpexp_twomm1. Adjust usage.
24142 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24143 Remove.
24144
988197f0
AS
241452013-01-10 Andreas Schwab <schwab@suse.de>
24146
24147 [BZ #14964]
24148 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24149 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24150
e83d7298
DM
241512013-01-09 David S. Miller <davem@davemloft.net>
24152
034ed64b 24153 [BZ #15003]
57f41c40
AS
24154 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24155 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24156 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24157 (TCP_FASTOPEN): Define.
e83d7298
DM
24158 (tcp_repair_opt): New structure.
24159 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24160 enum values.
57f41c40
AS
24161 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24162 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24163 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
24164 (tcp_cookie_transactions): New structure.
24165
d5e0b9bd
AB
241662013-01-09 Anton Blanchard <anton@samba.org>
24167
24168 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24169 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24170 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24171 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24172
0c07e3ea
JM
241732013-01-09 Joseph Myers <joseph@codesourcery.com>
24174
24175 * include/features.h (__USE_ANSI): Remove.
24176
232f7002
RM
241772013-01-09 Roland McGrath <roland@hack.frob.com>
24178
ad98e30c
RM
24179 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24180
232f7002
RM
24181 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24182
950c99ca
SP
241832013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24184
b5792741
SP
24185 * sysdeps/s390/fpu/libm-test-ulps: Update.
24186
47cf2278
SP
24187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24188
950c99ca
SP
24189 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24190 (__acr): Likewise.
24191 (__cpy): Likewise.
24192 (norm): Likewise.
24193 (denorm): Likewise.
24194 (__mp_dbl): Likewise.
24195 (__dbl_mp): Likewise.
24196 (add_magnitudes): Likewise.
24197 (sub_magnitudes): Likewise.
24198 (__add): Likewise.
24199 (__sub): Likewise.
24200 (__mul): Likewise.
24201 (__inv): Likewise.
24202 (__dvd): Likewise.
24203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24204 (__acr): Likewise.
24205 (__cpy): Likewise.
24206 (norm): Likewise.
24207 (denorm): Likewise.
24208 (__mp_dbl): Likewise.
24209 (__dbl_mp): Likewise.
24210 (add_magnitudes): Likewise.
24211 (sub_magnitudes): Likewise.
24212 (__add): Likewise.
24213 (__sub): Likewise.
24214 (__mul): Likewise.
24215 (__inv): Likewise.
24216 (__dvd): Likewise.
24217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24218 (__acr): Likewise.
24219 (__cpy): Likewise.
24220 (norm): Likewise.
24221 (denorm): Likewise.
24222 (__mp_dbl): Likewise.
24223 (__dbl_mp): Likewise.
24224 (add_magnitudes): Likewise.
24225 (sub_magnitudes): Likewise.
24226 (__add): Likewise.
24227 (__sub): Likewise.
24228 (__mul): Likewise.
24229 (__inv): Likewise.
24230 (__dvd): Likewise.
24231
eede9df9
JM
242322013-01-08 Joseph Myers <joseph@codesourcery.com>
24233
24234 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24235 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24236 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24237 2 && __USE_EXTERN_INLINES]: Likewise.
24238
c40ea3d9
AJ
242392013-01-08 Andreas Jaeger <aj@suse.de>
24240
24241 [BZ# 14985]
24242 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24243 Remove.
24244 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24245 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24246
2ccdea26
AB
242472013-01-07 Anton Blanchard <anton@samba.org>
24248
24249 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24250 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24251 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24252 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24253 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24254 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24255 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24256 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24258 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24259 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24260 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24261 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24262 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24263 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24264 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24265 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24266 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24267 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24268 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24269 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24270 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24271 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24272 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24273 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24274 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24275 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24276 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24277 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24278 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24279 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24281 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24282 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24283 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24284 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24285 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24286 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24287 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24288 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24289 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24290 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24291 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24292
a9708fed
JM
242932013-01-07 Joseph Myers <joseph@codesourcery.com>
24294
375607b9
JM
24295 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24296 (__MALLOC_PMT): Likewise.
24297 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24298 [__GNUC__], only on [_LIBC].
24299 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24300 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24301 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24302 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24303 forward declaration.
24304 (realloc_hook_ini): Likewise.
24305 (memalign_hook_ini): Likewise.
24306 (__libc_memalign): Do not use __MALLOC_PMT in variable
24307 declaration.
24308 (__libc_valloc): Likewise.
24309 (__libc_pvalloc): Likewise.
24310 (__libc_calloc): Likewise.
24311 (__posix_memalign): Likewise.
24312
a9708fed
JM
24313 [BZ #14996]
24314 * math/s_casinh.c: Include <float.h>.
24315 (__casinh): Do not do computation with squaring and square root
24316 for large arguments.
24317 * math/s_casinhf.c: Include <float.h>.
24318 (__casinhf): Do not do computation with squaring and square root
24319 for large arguments.
24320 * math/s_casinhl.c: Include <float.h>.
24321 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24322 (__casinhl): Do not do computation with squaring and square root
24323 for large arguments.
24324 * math/libm-test.inc (casin_test): Add more tests.
24325 (casinh_test): Likewise.
24326 * sysdeps/i386/fpu/libm-test-ulps: Update.
24327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24328
afec409a
L
243292013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24330
24331 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24332 (__x86_64_raw_data_cache_size): Likewise.
24333 (__x86_64_data_cache_size_half): Likewise.
24334 (__x86_64_raw_data_cache_size_half): Likewise.
24335 (__x86_64_shared_cache_size): Likewise.
24336 (__x86_64_raw_shared_cache_size): Likewise.
24337 (__x86_64_shared_cache_size_half): Likewise.
24338 (__x86_64_raw_shared_cache_size_half): Likewise.
24339 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24340 to ...
24341 (__x86_data_cache_size): This.
24342 (__x86_64_raw_data_cache_size): Renamed to ...
24343 (__x86_raw_data_cache_size): This.
24344 (__x86_64_data_cache_size_half): Renamed to ...
24345 (__x86_data_cache_size_half): This.
24346 (__x86_64_raw_data_cache_size_half): Renamed to ...
24347 (__x86_raw_data_cache_size_half): This.
24348 (__x86_64_shared_cache_size): Renamed to ...
24349 (__x86_shared_cache_size): This.
24350 (__x86_64_raw_shared_cache_size): Renamed to ...
24351 (__x86_raw_shared_cache_size): This.
24352 (__x86_64_shared_cache_size_half): Renamed to ...
24353 (__x86_shared_cache_size_half): This.
24354 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24355 (__x86_raw_shared_cache_size_half): This.
24356 * sysdeps/x86_64/memcpy.S: Updated.
24357 * sysdeps/x86_64/memset.S: Likewise.
24358 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24359 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24360 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24361
0b3986d0
DM
243622013-01-04 David S. Miller <davem@davemloft.net>
24363
24364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24365
e47686e9
AS
243662013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24367
d643bac1
AS
24368 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24369 1 to avoid redefinition warning.
24370 (__USE_GNU): Don't define.
24371 (init_signaling_nan): Protoize.
24372
e47686e9
AS
24373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24374
b18decba
SP
243752013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24376
fffb407f
SP
24377 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24379 (__cpymn): Likewise.
24380 (norm): Remove commented code.
24381 (denorm): Likewise.
24382 (__mp_dbl): Likewise.
24383 (__inv): Likewise.
24384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24385 (__cpymn): Likewise.
24386 (norm): Remove commented code.
24387 (denorm): Likewise.
24388 (__mp_dbl): Likewise.
24389 (__inv): Likewise.
24390
b18decba
SP
24391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24392 mp_no value for 1.0 and 2.0.
24393 (norm): Use RADIXI instead of radixi.d.
24394 (denorm): Likewise.
24395 (__mul): Use 0.0 instead of zero.d.
24396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24397 mp_no value for 1.0 and 2.0.
24398 (norm): Use RADIXI instead of radixi.d.
24399 (denorm): Likewise.
24400 (__mul): Use 0.0 instead of zero.d.
24401
cdc1c96f
JM
244022013-01-04 Joseph Myers <joseph@codesourcery.com>
24403
24404 [BZ #14994]
24405 * math/s_casinh.c (__casinh): Reduce finite argument to first
24406 quadrant then set signs of results at the end.
24407 * math/s_casinhf.c (__casinhf): Likewise.
24408 * math/s_casinhl.c (__casinhl): Likewise.
24409 * math/libm-test.inc (casin_test): Add more tests.
24410 (casinh_test): Likewise.
24411 * sysdeps/i386/fpu/libm-test-ulps: Update.
24412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24413
302913e1
SP
244142013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24415
6420d207
SP
24416 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24417
a9e48ab4
SP
24418 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24419
b7837264
SP
24420 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24421 declarations.
24422 (denorm): Likewise.
24423 (__mp_dbl): Likewise.
24424 (__inv): Likewise.
24425
f8af25d2
SP
24426 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24427 and adjust the header comment.
24428
302913e1
SP
24429 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24430 variable name from declaration.
24431
5d7dd1ca
L
244322013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24433
24434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24435 Initialize COMMON_CPUID_INDEX_7 element.
24436 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24437 (CPUID_RTM): Likewise.
24438 (HAS_RTM): Likewise.
24439 (COMMON_CPUID_INDEX_7): New enum.
24440
2f5f40f4
AS
244412013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24442
24443 [BZ #14981]
24444 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24445 size is zero, record memory as freed.
24446
4056f4a0
AJ
244472013-01-03 Andreas Jaeger <aj@suse.de>
24448
24449 * po/ia.po: Add new Interlingua translation.
24450
ab15736f 244512012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
24452
24453 * locale/programs/localedef.c: Fix description of '--posix' flag.
24454
568035b7
JM
244552013-01-02 Joseph Myers <joseph@codesourcery.com>
24456
e6898b8d
JM
24457 * NEWS: Update dates in second copyright notice.
24458 * README: Update copyright dates in example.
24459 * manual/libc.texinfo: Update copyright dates.
24460 * scripts/test-installation.pl: Update copyright date in --version
24461 output.
24462
0e2f9562
JM
24463 * hurd/ctty-input.c: Fix copyright notice formatting.
24464 * hurd/ctty-output.c: Likewise.
24465 * hurd/dtable.c: Likewise.
24466 * hurd/hurd-raise.c: Likewise.
24467 * hurd/hurdprio.c: Likewise.
24468 * hurd/msgportdemux.c: Likewise.
24469 * misc/sys/file.h: Likewise.
24470 * misc/sys/ioctl.h: Likewise.
24471 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24472 * sysdeps/mach/hurd/chdir.c: Likewise.
24473 * sysdeps/mach/hurd/fchdir.c: Likewise.
24474 * sysdeps/mach/hurd/rename.c: Likewise.
24475 * sysdeps/mach/hurd/rmdir.c: Likewise.
24476 * sysdeps/mach/hurd/seekdir.c: Likewise.
24477 * sysdeps/mach/hurd/setsid.c: Likewise.
24478 * sysdeps/posix/wait3.c: Likewise.
24479
568035b7
JM
24480 * All files with FSF copyright notices: Update copyright dates
24481 using scripts/update-copyrights.
24482 * intl/plural.c: Regenerated.
24483 * locale/programs/charmap-kw.h: Likewise.
24484 * locale/programs/locfile-kw.h: Likewise.
24485
da08f647
SP
244862013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24487
0f5477af
SP
24488 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24489 four values.
24490
44e0d4c2
SP
24491 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24492 calculation loop and add branch prediction.
24493
4d55b4e5
SP
24494 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24495 check access beyond bounds of m1np.
24496
da08f647
SP
24497 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24498 MPTWO.
24499 (__inv): Remove local variable MPTWO to use the global
24500 constant.
24501 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24502 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24503 variable MPTWO.
24504 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24505 MP3HALFS static const.
24506
8e051029
DM
245072013-01-01 David S. Miller <davem@davemloft.net>
24508
24509 * po/ca.po: Update from translation team.
24510
f4cf5f2d
JM
245112013-01-01 Joseph Myers <joseph@codesourcery.com>
24512
24513 * scripts/update-copyrights: New file.
24514 * Makeconfig: Reformat copyright notice.
24515 * ctype/ctype.h: Likewise.
24516 * debug/swprintf_chk.c: Likewise.
24517 * elf/dl-cache.c: Likewise.
24518 * elf/dl-debug.c: Likewise.
24519 * elf/dl-object.c: Likewise.
24520 * grp/initgroups.c: Likewise.
24521 * hurd/Makefile: Likewise.
24522 * hurd/hurd/signal.h: Likewise.
24523 * hurd/hurdfault.c: Likewise.
24524 * hurd/hurdioctl.c: Likewise.
24525 * hurd/hurdlookup.c: Likewise.
24526 * hurd/intr-msg.c: Likewise.
24527 * iconv/gconv_open.c: Likewise.
24528 * libio/swprintf.c: Likewise.
24529 * locale/lc-ctype.c: Likewise.
24530 * locale/nl_langinfo.c: Likewise.
24531 * mach/Machrules: Likewise.
24532 * mach/Makefile: Likewise.
24533 * malloc/obstack.h: Likewise.
24534 * manual/Makefile: Likewise.
24535 * manual/tsort.awk: Likewise.
24536 * misc/bits/stab.def: Likewise.
24537 * nis/nis_print_group_entry.c: Likewise.
24538 * nis/nis_table.c: Likewise.
24539 * nis/nss_compat/compat-pwd.c: Likewise.
24540 * nis/nss_compat/compat-spwd.c: Likewise.
24541 * po/Makefile: Likewise.
24542 * posix/fnmatch.c: Likewise.
24543 * posix/regex.h: Likewise.
24544 * resolv/Makefile: Likewise.
24545 * resolv/nss_dns/dns-network.c: Likewise.
24546 * resolv/res_hconf.c: Likewise.
24547 * scripts/gen-sorted.awk: Likewise.
24548 * soft-fp/soft-fp.h: Likewise.
24549 * stdio-common/printf.h: Likewise.
24550 * stdlib/monetary.h: Likewise.
24551 * stdlib/random.c: Likewise.
24552 * stdlib/random_r.c: Likewise.
24553 * sysdeps/generic/Makefile: Likewise.
24554 * sysdeps/gnu/Makefile: Likewise.
24555 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24556 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24557 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24558 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24559 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24560 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24561 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24562 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24563 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24565 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24566 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24567 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24568 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24569 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24570 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24571 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24572 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24573 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24575 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24576 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24577 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24578 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24579 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24580 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24581 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24582 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24583 * sysdeps/mach/hurd/errnos.awk: Likewise.
24584 * sysdeps/mach/hurd/fork.c: Likewise.
24585 * sysdeps/mach/hurd/getcwd.c: Likewise.
24586 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24587 * sysdeps/mach/hurd/mmap.c: Likewise.
24588 * sysdeps/mach/hurd/utimes.c: Likewise.
24589 * sysdeps/mach/hurd/xmknod.c: Likewise.
24590 * sysdeps/posix/profil.c: Likewise.
24591 * sysdeps/posix/readdir_r.c: Likewise.
24592 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24593 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24594 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24595 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24596 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24597 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24598 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24599 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24600 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24601 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24602 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24603 * sysdeps/pthread/lio_listio.c: Likewise.
24604 * sysdeps/sparc/dl-procinfo.h: Likewise.
24605 * sysdeps/unix/i386/sysdep.S: Likewise.
24606 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24607 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24608 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24609 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24611 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24612 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24613 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24614 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24615 * sysdeps/wordsize-32/divdi3.c: Likewise.
24616 * time/sys/time.h: Likewise.
24617 * wcsmbs/Makefile: Likewise.
24618
0549fbba
DM
246192013-01-01 David S. Miller <davem@davemloft.net>
24620
a141f1a7
DM
24621 * po/fr.po: Update from translation team.
24622
0549fbba
DM
24623 * catgets/gencat.c: Update copyright year.
24624 * csu/version.c: Likewise.
24625 * debug/catchsegv.sh: Likewise.
24626 * debug/pcprofiledump.c: Likewise.
24627 * debug/xtrace.sh: Likewise.
24628 * elf/ldconfig.c: Likewise.
24629 * elf/ldd.bash.in: Likewise.
24630 * elf/pldd.c: Likewise.
24631 * elf/sotruss.ksh: Likewise.
24632 * elf/sprof.c: Likewise.
24633 * iconv/iconv_prog.c: Likewise.
24634 * iconv/iconvconfig.c: Likewise.
24635 * locale/programs/locale.c: Likewise.
24636 * locale/programs/localedef.c: Likewise.
24637 * login/programs/pt_chown.c: Likewise.
24638 * malloc/memusage.sh: Likewise.
24639 * malloc/memusagestat.c: Likewise.
24640 * malloc/mtrace.pl: Likewise.
24641 * nscd/nscd.c: Likewise.
24642 * nss/getent.c: Likewise.
24643 * nss/makedb.c: Likewise.
24644 * posix/getconf.c: Likewise.
24645
18ea052c
SP
246462012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24647
24648 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24649 numbers.
24650
9c89fca6
MF
246512012-12-30 Mike Frysinger <vapier@gentoo.org>
24652
24653 * math/bits/mathcalls.h (modf): Use __nonnull.
24654
085ec079
SP
246552012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24656
24657 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24658 (split): Use macro CN instead of the bare value.
24659 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24660 could be used.
24661 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24662 instead of the bare value.
24663 (power1): Likewise.
24664
6d9f97e1
SP
246652012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24666
d63f73be
SP
24667 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24668 __ATAN_TWOM.
24669 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24670
6d9f97e1
SP
24671 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24672 their values.
24673 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24674 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24675 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24676 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24677
4c4febf5
AJ
246782012-12-28 Andreas Jaeger <aj@suse.de>
24679
af5843ef
AJ
24680 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24681 values are from Linux 3.7.
24682
4c4febf5
AJ
24683 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24684 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24685
99136f82
SP
246862012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24687
2f216c3c 24688 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
24689 TRUE case.
24690
99136f82
SP
24691 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24692 (norm): Likewise.
24693 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24694 variables with preprocessor constants.
24695 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24696 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24697 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24698
7fffbdff
BH
246992012-12-27 Bruno Haible <bruno@clisp.org>
24700
24701 [BZ #14317]
24702 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24703 only if needed.
24704
b76eb5f0
SP
247052012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24706
31a7fe5c
SP
24707 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24708 and use variable directly.
24709 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24710
b76eb5f0
SP
24711 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24712 MPONE.
24713 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24714 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24715 variable MPONE.
24716 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24717 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24718 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24719 include directive. Remove local variable MPONE.
24720 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24721 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24722 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24723
2c8bfe7d
DM
247242012-12-25 David S. Miller <davem@davemloft.net>
24725
24726 * version.h (RELEASE): Set to "development".
24727 (VERSION): Set to "2.17.90".
24728 * NEWS: Add 2.18 section.
24729
147d03b0
DM
247302012-12-21 David S. Miller <davem@davemloft.net>
24731
24732 * po/hr.po: Update from translation team.
24733
a8ebb2b9
AK
247342012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24735
24736 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24737
95b4f1b6
SE
247382012-12-19 Steve Ellcey <sellcey@mips.com>
24739
b2d94007 24740 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 24741
cedb2a90
MS
247422012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24743
24744 * manual/contrib.texi (Contributors): Spelling correction.
24745
bbf527d6
DM
247462012-12-15 David S. Miller <davem@davemloft.net>
24747
24748 * po/ru.po: Update from translation team.
24749
bc38c906
DM
247502012-12-13 David S. Miller <davem@davemloft.net>
24751
85429b1a
DM
24752 * NEWS: Mention IFUNC testsuite enhancements.
24753
d283e353
DM
24754 * po/pl.po: Update from translation team.
24755 * po/bg.po: Likewise.
24756
bc38c906
DM
24757 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24758 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
24759
a181b0d7
DM
247602012-12-11 David S. Miller <davem@davemloft.net>
24761
4641d57e
DM
24762 * po/sv.po: Update from translation team.
24763
f7bc6495
DM
24764 * po/vi.po: Update from translation team.
24765
6fc9048f
DM
24766 * po/cs.po: Update from translation team.
24767
a181b0d7
DM
24768 * po/de.po: Update from translation team.
24769 * po/eo.po: Likewise.
24770 * po/nl.po: Likewise.
24771
f70bfe80
SP
247722012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24773
3c8b4190
SP
24774 [BZ #14246]
24775 * manual/argp.texi (Argp Helper Functions): Move node to follow
24776 Argp Parsing State.
24777
f70bfe80
SP
24778 [BZ #14872]
24779 * manual/conf.texi (Limits on File System Capacity): Mention if
24780 terminating null is included in the max size.
24781
188f0adf
AJ
247822012-12-10 Andreas Jaeger <aj@suse.de>
24783
24784 * po/cs.po: Update from translation team.
24785
56e7d3ad
SP
247862012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24787
24788 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24789 void pointer and cast to uintptr_t.
24790 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24791 path.
24792 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24793 * sysdeps/s390/s390-64/memset.S: Likewise.
24794
76f2d2ea 247952012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
24796
24797 [BZ #14833]
24798 * menual/message.texi (Message Translation): Fix typos.
24799 (Helper programs for gettext): Likewise.
24800
67cbf9a2
AS
248012012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24802
24803 [BZ #14898]
24804 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24805 Change to -1.
24806
682d0e9a
DM
248072012-12-07 David S. Miller <davem@davemloft.net>
24808
24809 * po/libc.pot: Update.
24810
573cd484
RH
248112012-12-07 Richard Henderson <rth@redhat.com>
24812
7e9da188 24813 [BZ #10114]
573cd484
RH
24814 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24815 normal/normal case to before the switch.
24816 (_FP_DIV): Likewise.
24817
e933a943
MF
248182012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24819 Mike Frysinger <vapier@gentoo.org>
24820
24821 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24822 check for __NR_fadvise64_64.
24823
82123268
CM
248242012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24825
24826 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24827 0, not just to plain "0" as a statement.
24828 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24829 with cw.
24830
d9814526
JM
248312012-12-06 Joseph Myers <joseph@codesourcery.com>
24832
24833 * NEWS: Use sourceware.org in Bugzilla URL.
24834
7728c574
SP
248352012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24836
f16946dd
SP
24837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24838 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24839
5704bbcb
SP
24840 * stdio-common/tst-put-error.c (do_test): Add newline to the
24841 padded test to ensure flush.
24842
17aa0516
JL
248432012-12-05 Jeff Law <law@redhat.com>
24844
24845 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24846
363313b5
JM
248472012-12-05 Joseph Myers <joseph@codesourcery.com>
24848
effbd42a
JM
24849 * README: Don't refer to ports add-on as distributed separately.
24850 Mention AArch64 in list of systems supported in the ports add-on.
24851
87600365
JM
24852 * LICENSES: Add more non-FSF copyright and license notices.
24853
a0d7066a
JM
24854 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24855 ((unused)).
24856
66ca5a5b
JM
24857 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24858
363313b5
JM
24859 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24860 10000 as width of padded output.
24861
b37984ad
JM
248622012-12-04 Joseph Myers <joseph@codesourcery.com>
24863
9003570a
JM
24864 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24865
b37984ad
JM
24866 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24867 variable LX with __attribute__ ((unused)).
24868 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24869 Likewise.
24870 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24872 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24873 with __attribute__ ((unused)).
24874
c8df52ec
DM
248752012-12-04 David S. Miller <davem@abraco.davemloft.net>
24876
24877 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24878
b3b099af
JM
248792012-12-04 Joseph Myers <joseph@codesourcery.com>
24880
c33aa6e3
JM
24881 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24882 (CFLAGS-nldbl-acos.c): New variable.
24883 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24884 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24885 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24886 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24887 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24888 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24889 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24890 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24891 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24892 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24893 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24894 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24895 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24896 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24897 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24898 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24899 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24900 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24901 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24902 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24903 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24904 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24905 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24906 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24907 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24908 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24909 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24910 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24911 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24912 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24913 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24914 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24915 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24916 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24917 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24918 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24919 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24920 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24921 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24922 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24923 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24924 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24925 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24926 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24927 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24928 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24929 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24930 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24931 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24932 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24933 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24934 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24935 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24936 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24937 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24938 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24939 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24940 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24941 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24942 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24943 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24944 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24945 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24946 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24947 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24948 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24949 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24950 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24951 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24952 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24953 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24954 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24955 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24956 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24957 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24958 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24959 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24960 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24961 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24962 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24963 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24964 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24965 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24966 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24967 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24968 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24969 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24970 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24971 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24972 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24973 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24974 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24975 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24976 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24977 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24978 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24979 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24980
20f0018d
JM
24981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24982 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24983
b3b099af
JM
24984 [BZ #14914]
24985 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24986 whole low double instead of just low 47 bits when splitting values
24987 into two parts.
24988
029264d1
AM
249892012-12-03 Allan McRae <allan@archlinux.org>
24990
24991 * manual/stdio.texi (Predefined Printf Handlers): Remove
24992 @hsep and @vsep usage.
24993
c9d6789e
MF
249942012-12-03 Mike Frysinger <vapier@gentoo.org>
24995
24996 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24997 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24998
4b7634a5
JL
249992012-12-03 Jeff Law <law@redhat.com>
25000
25001 * time/sys/time.h (settimeofday): Do not mark TV argument
25002 as __nonnull.
25003
eb6cbd24
MF
250042012-12-01 Mike Frysinger <vapier@gentoo.org>
25005
25006 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25007 when currently writing and seek to current position when not.
25008 * libio/Makefile (tests): Remove bug-fclose1.
25009 * libio/bug-fclose1.c: Delete.
25010
f638872a
JM
250112012-12-01 Joseph Myers <joseph@codesourcery.com>
25012
25013 * manual/arith.texi (feenableexcept): Fix typo.
25014 (fedisableexcept): Likewise.
25015
48085d14
RM
250162012-11-30 Roland McGrath <roland@hack.frob.com>
25017
25018 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25019 second, differently-typed declaration, rather than a cast.
25020
1a538b9f
SP
250212012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25022
25023 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25024 * include/rpc/svc.h: ... here.
25025
d07f2ff1 250262012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
25027
25028 [BZ #13013]
25029 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25030 depending n and resplen2 to catch cases where answer
25031 equals answerp2.
25032
c93ec1f0
CD
250332012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25034
25035 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25036 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25037
37db69de
MF
250382012-11-29 Mike Frysinger <vapier@gentoo.org>
25039
25040 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25041
e10c4e4f
RM
250422012-11-29 Roland McGrath <roland@hack.frob.com>
25043
25044 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25045
2af1b328
JL
250462012-11-28 Jeff Law <law@redhat.com>
25047
25048 [BZ #13761]
25049 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25050 dataset_temporary. Track alloca usage into alloca_used.
25051 If dataset is large allocate and release it via malloc/free.
25052
111db5b1
FW
250532012-06-04 Florian Weimer <fweimer@redhat.com>
25054
f06cc227 25055 [BZ #14197]
111db5b1
FW
25056 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25057
dd694abd
DM
250582012-11-28 David S. Miller <davem@davemloft.net>
25059
25060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25061
9984dd01
JM
250622012-11-28 Joseph Myers <joseph@codesourcery.com>
25063
25064 [BZ #14803]
25065 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25066 of pi/2 rounded to nearest to 64 bits.
25067 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25068 nearest to 64 bits.
25069 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25070 bits.
25071
14bc93a9
JL
250722012-11-28 Jeff Law <law@redhat.com>
25073 Martin Osvald <mosvald@redhat.com>
25074
25075 [BZ #14889]
25076 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25077 * sunrpc/svc.c: Include time.h.
25078 (__svc_accept_failed): New function.
25079 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25080 any reason other than EINTR, call __svc_accept_failed.
25081 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25082 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25083
e3c6aa3a
AS
250842012-11-28 Andreas Schwab <schwab@suse.de>
25085
25086 * scripts/abilist.awk: Also handle indirect functions in .opd
25087 section.
25088
1bead169
JM
250892012-11-28 Joseph Myers <joseph@codesourcery.com>
25090
25091 [BZ #13881]
25092 * sysdeps/x86/fpu/powl_helper.c: New file.
25093 * sysdeps/x86/fpu/Makefile: Likewise.
25094 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25095 (p3): New object.
25096 (__ieee754_powl): Use __powl_helper for finite arguments except
25097 integer exponents below 8.
25098 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25099 (p3): New object.
25100 (__ieee754_powl): Use __powl_helper for finite arguments except
25101 integer exponents below 8.
25102 * math/libm-test.inc (pow_test): Add more tests and enable some
25103 previously disabled tests.
25104 * sysdeps/i386/fpu/libm-test-ulps: Update.
25105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25106
0817d63d
SP
251072012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25108 Carlos O'Donell <carlos_odonell@mentor.com>
25109
25110 * nss/makedb.c (is_prime): Assert that input is odd and greater
25111 than 4. Note that fact in a comment too.
25112 (next_prime): Add 4 to input.
25113
de2fd463
SP
251142012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25115
25116 [BZ #11741]
25117 * libio/Makefile (tests): Add test case tst-fwrite-error.
25118 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25119 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25120 * libio/tst-fwrite-error.c: New test case.
25121
c515fb51
L
251222012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25123
25124 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25125 before casting to void *.
25126 * include/libc-internal.h (__pointer_type): New macro.
25127 (__integer_if_pointer_type_sub): Likewise.
25128 (__integer_if_pointer_type): Likewise.
25129 (cast_to_integer): Likewise.
25130 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25131 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25132 before casting to atomic64_t.
25133 (atomic_exchange_acq): Likewise.
25134 (__arch_exchange_and_add_body): Likewise.
25135 (__arch_add_body): Likewise.
25136 (atomic_add_negative): Likewise.
25137 (atomic_add_zero): Likewise.
25138
4cf77aa9
JM
251392012-11-26 Joseph Myers <joseph@codesourcery.com>
25140
25141 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25142 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25143 (add_fdes): Likewise.
25144 (linear_search_fdes): Likewise.
25145 (binary_search_unencoded_fdes): Likewise.
25146
d260b3b4
AS
251472012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25148
25149 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25150
67060746
AC
251512012-11-24 Adam Conrad <adconrad@0c3.net>
25152
25153 * configure.in: Autodetect C++ header directories.
25154 * configure: Regenerated.
25155
800938a1
MF
251562012-11-23 Mike Frysinger <vapier@gentoo.org>
25157
25158 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25159
4e6e34e6
AS
251602012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25161
25162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25163
7c7feb47
JM
251642012-11-22 Joseph Myers <joseph@codesourcery.com>
25165
7184dcdf
JM
25166 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25167 LDBL_MANT_DIG == 106]: Disable some tests.
25168 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25169 Likewise.
25170 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25171 Likewise.
25172
0a42601f
JM
25173 [BZ #14871]
25174 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25175 input for small inputs. Return +/- pi/2 for large inputs.
25176 * math/libm-test.inc (atan_test): Add more tests.
25177
79c9b9fe
JM
25178 * sysdeps/generic/unwind-dw2-fde-glibc.c
25179 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25180 __attribute__ ((unused)).
25181
c60d3bf2
JM
25182 [BZ #14645]
25183 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25184 x * y if x and y are nonzero and z is zero.
25185
ef1e0867
JM
25186 [BZ #14811]
25187 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25188 nonzero exponents with absolute value below 0x1p-117 to +/-
25189 0x1p-117.
25190
1468ded3
JM
25191 [BZ #14869]
25192 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25193 up arguments below 2**-450, not just those below 2**-500.
25194 * math/libm-test.inc (hypot_test): Add another test.
25195
8e27e3cc
JM
25196 [BZ #14868]
25197 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25198 Return a+b for ratio over 2**120, not 2**60.
25199 * math/libm-test.inc (hypot_test): Add another test.
25200
c9c0279b
JM
25201 * math/libm-test.inc (clog_test): Use
25202 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25203 (clog10_test): Likewise.
25204
7c7feb47
JM
25205 [BZ #6778]
25206 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25207
fff1530e
AS
252082012-11-22 Andreas Schwab <schwab@suse.de>
25209
25210 * sysdeps/i386/fpu/libm-test-ulps: Update.
25211
94558d30
PT
252122012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25213
25214 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25215 printf output with newline.
25216
7e1be741
L
252172012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25218
6bfea974
L
25219 [BZ #14865]
25220 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25221 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25222 -z nodlopen, -z initfirst and -z execstack support.
25223 * configure: Regenerated.
25224
7e1be741
L
25225 * elf/elf.h (DF_1_NODIRECT): New macro.
25226 (DF_1_IGNMULDEF): Likewise.
25227 (DF_1_NOKSYMS): Likewise.
25228 (DF_1_NOHDR): Likewise.
25229 (DF_1_EDITED): Likewise.
25230 (DF_1_NORELOC): Likewise.
25231 (DF_1_SYMINTPOSE): Likewise.
25232 (DF_1_GLOBAUDIT): Likewise.
25233 (DF_1_SINGLETON): Likewise.
25234 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25235 DT_1_SUPPORTED_MASK bits.
25236 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25237
105ce2ce
CD
252382012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25239
25240 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25241
123be9de
TS
252422012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25243
d072f3f7
TS
25244 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25245 macro.
25246
123be9de
TS
25247 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25248 (sendmmsg): Move declarations...
25249 * socket/sys/socket.h: ... here.
25250 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25251 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25252 include it from...
25253 * socket/recvmmsg.c: ... this new file.
25254 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25255 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25256 definition of __sendmmsg hidden.
25257 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25258 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25259 Move ENOSYS stub into and include it from...
25260 * socket/sendmmsg.c: ... this new file.
25261 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25262 (sysdep_routines): Move recvmmsg and sendmmsg...
25263 * socket/Makefile (routines): ... here.
25264 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25265 (GLIBC_PRIVATE): Add __sendmmsg.
25266 * include/sys/socket.h (__sendmmsg): Add declarations.
25267 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25268 sendmmsg.
25269
cf9a5d18
JM
252702012-11-20 Joseph Myers <joseph@codesourcery.com>
25271
25272 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25273 variable I1 with __attribute__ ((unused)).
25274 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25275
ecd4caf9
JM
252762012-11-19 Joseph Myers <joseph@codesourcery.com>
25277
be14d48f
JM
25278 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25279 DUMMY variables with __attribute__ ((unused)).
25280
ecd4caf9
JM
25281 * bits/byteswap.h: Include <bits/types.h>.
25282 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25283
986cab95
PT
252842012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25285
25286 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25287 string_t. Do not manually set errno.
25288 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25289 length with __strnlen. Make sure to both set errno and return it on
25290 failure.
25291
6d33cc9d
DM
252922012-11-19 David S. Miller <davem@davemloft.net>
25293
25294 With help from Joseph Myers.
25295 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25296 very large arguments properly.
25297 * math/libm-test.inc (atan_test): New tests.
25298 (atan2_test): New tests.
25299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25301
ee663277
JM
253022012-11-19 Joseph Myers <joseph@codesourcery.com>
25303
877f2d8e
JM
25304 [BZ #14856]
25305 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25306 Define to 3.
25307
116fc08a
JM
25308 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25309 [POSIX] (EADDRNOTAVAIL): Likewise.
25310 [POSIX] (EAFNOSUPPORT): Likewise.
25311 [POSIX] (EALREADY): Likewise.
25312 [POSIX] (ECONNABORTED): Likewise.
25313 [POSIX] (ECONNREFUSED): Likewise.
25314 [POSIX] (ECONNRESET): Likewise.
25315 [POSIX] (EDESTADDRREQ): Likewise.
25316 [POSIX] (EDQUOT): Likewise.
25317 [POSIX] (EHOSTUNREACH): Likewise.
25318 [POSIX] (EIDRM): Likewise.
25319 [POSIX] (EISCONN): Likewise.
25320 [POSIX] (ELOOP): Likewise.
25321 [POSIX] (EMULTIHOP): Likewise.
25322 [POSIX] (ENETDOWN): Likewise.
25323 [POSIX] (ENETUNREACH): Likewise.
25324 [POSIX] (ENOBUFS): Likewise.
25325 [POSIX] (ENODATA): Likewise.
25326 [POSIX] (ENOLINK): Likewise.
25327 [POSIX] (ENOMSG): Likewise.
25328 [POSIX] (ENOPROTOOPT): Likewise.
25329 [POSIX] (ENOSR): Likewise.
25330 [POSIX] (ENOSTR): Likewise.
25331 [POSIX] (ENOTCONN): Likewise.
25332 [POSIX] (ENOTSOCK): Likewise.
25333 [POSIX] (EOPNOTSUPP): Likewise.
25334 [POSIX] (EOVERFLOW): Likewise.
25335 [POSIX] (EPROTO): Likewise.
25336 [POSIX] (EPROTONOSUPPORT): Likewise.
25337 [POSIX] (EPROTOTYPE): Likewise.
25338 [POSIX] (ESTALE): Likewise.
25339 [POSIX] (ETIME): Likewise.
25340 [POSIX] (ETXTBSY): Likewise.
25341 [POSIX] (EWOULDBLOCK): Likewise.
25342 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25343 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25344 [POSIX] (SEEK_CUR): Likewise.
25345 [POSIX] (SEEK_END): Likewise.
25346 [POSIX || UNIX98] (mode_t): Do not require.
25347 [POSIX] (off_t): Likewise.
25348 [POSIX] (pid_t): Likewise.
25349 [POSIX] (sys/stat.h): Do not allow header.
25350 [POSIX] (unistd.h): Likewise.
25351 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25352 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25353 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25354 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25355 require.
25356 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25357 sigevent): Specify elements.
25358 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25359 entry.
25360 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25361 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25362
a483863f
JM
25363 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25364 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25365 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25366 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25367 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25368 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25369 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25370 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25371 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25372 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25373 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25374 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25375 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25376 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25377 Likewise.
25378 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25379 Likewise.
25380 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25381 Likewise.
25382 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25383 Likewise.
25384 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25385 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25386 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25387 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25388 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25389 Specify lower bound on value.
25390 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25391 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25392 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25393 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25394 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25395 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25396 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25397 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25398 value.
25399 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25400 as optional.
25401 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25402 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25403 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25404 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25405 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25406 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25407 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25408 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25409 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25410 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25411 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25412 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25413 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25414 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25415 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25416 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25417 entry.
25418 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25419 optional.
25420 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25421 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25422 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25423 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25424 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25425 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25426 Likewise.
25427 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25428 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25429 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25430 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25431 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25432 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25433 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25434 as optional.
25435 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25436 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25437 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25438 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25439 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25440 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25441 specify as optional.
25442 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25443 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25444 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25445 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25446 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25447 [XPG3] (NL_LANGMAX): Likewise.
25448 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25449 [POSIX || XPG3] (NL_NMAX): Likewise.
25450 [POSIX || XPG3] (NL_SETMAX): Likewise.
25451 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25452 [XPG3] (NZERO): Likewise.
25453 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25454 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25455 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25456 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25457 (REG_ERANGE): Expect.
25458 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25459 optional-constant.
25460 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25461 Use (void) in prototype.
25462 [POSIX] (*_t): Allow.
25463 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25464 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25465 (WRDE_BADVAL): Expect.
25466
5ba924e3
JM
25467 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25468 expect.
25469 [XPG3 || XPG4] (O_RSYNC): Likewise.
25470 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25471 Likewise.
25472 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25473 [XPG3 || XPG4] (sigqueue): Likewise.
25474 [XPG3 || XPG4] (sigtimedwait): Likewise.
25475 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25476 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25477 [XPG3 || XPG4] (vsnprintf): Likewise.
25478 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25479 Likewise.
25480 [XPG3 || XPG4] (blksize_t): Likewise.
25481 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25482 Likewise.
25483 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25484 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25485 [XPG3 || XPG4] (struct itimerspec): Likewise.
25486 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25487 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25488 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25489 [XPG3 || XPG4] (clockid_t): Likewise.
25490 [XPG3 || XPG4] (timer_t): Likewise.
25491 [XPG3 || XPG4] (clock_getres): Likewise.
25492 [XPG3 || XPG4] (clock_gettime): Likewise.
25493 [XPG3 || XPG4] (clock_settime): Likewise.
25494 [XPG3 || XPG4] (nanosleep): Likewise.
25495 [XPG3 || XPG4] (timer_create): Likewise.
25496 [XPG3 || XPG4] (timer_delete): Likewise.
25497 [XPG3 || XPG4] (timer_gettime): Likewise.
25498 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25499 [XPG3 || XPG4] (timer_settime): Likewise.
25500 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25501 [XPG3 || XPG4] (getlogin_r): Likewise.
25502 [XPG3 || XPG4] (pread): Likewise.
25503 [XPG3 || XPG4] (pthread_atfork): Likewise.
25504 [XPG3 || XPG4] (pwrite): Likewise.
25505
ee663277
JM
25506 [BZ #14835]
25507 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25508 <bits/siginfo.h>.
25509
942caa16
PT
255102012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25511
e19af380
PT
25512 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25513 finalizing MALLSTREAM.
25514
942caa16
PT
25515 * sysdeps/mach/hurd/syncfs.c: New file.
25516
cfde9b46
SP
255172012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25518
25519 [BZ #14719]
25520 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25521 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25522 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25523 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25524 (_nss_dns_gethostbyname4_r): Likewise.
25525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25526 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25527
f6da27e5
PH
255282012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25529
25530 [BZ #13763]
25531 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25532
6665d4a2
SM
255332012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25534
1f51ee92
SM
25535 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25536 * elf/cache.c (print_entry): Print ",AArch64" for
25537 FLAG_AARCH64_LIB64
25538
6665d4a2
SM
25539 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25540 * elf/cache.c (print_entry): Print ",hard-float" for
25541 FLAG_ARM_LIBHF.
25542
05b227bd
DM
255432012-11-18 David S. Miller <davem@davemloft.net>
25544
25545 With help from Joseph Myers.
25546 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25547 cutoff to 2**-13.
25548 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25549 cutoff to 2**-25.
25550 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25551 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25552 small.
25553 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25554 * math/libm-test.inc (y0_test): New tests.
25555 (y1_test): New tests.
25556 * sysdeps/i386/fpu/libm-test-ulps: Update.
25557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25559
786b0b67
AS
255602012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25561
25562 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25563 64-bit targets.
25564 * configure: Regenerated.
25565
8e18b86d
DM
255662012-11-17 David S. Miller <davem@davemloft.net>
25567
25568 [BZ #14811]
25569 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25570 nonzero exponents with absolute value below 0x1p-128 to +/-
25571 0x1p-128.
25572
531f1ae0
JM
255732012-11-17 Joseph Myers <joseph@codesourcery.com>
25574
12df29e2
JM
25575 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25576
150dc1a0
JM
25577 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25578
531f1ae0
JM
25579 * posix/getconf-speclist.c: New file.
25580 * posix/posix-envs.def: Likewise.
25581 * posix/confstr.c (START_ENV_GROUP): New macro.
25582 (END_ENV_GROUP): Likewise.
25583 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25584 (KNOWN_PRESENT_ENV_STRING): Likewise.
25585 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25586 (UNKNOWN_ENVIRONMENT): Likewise.
25587 (confstr): Include posix-envs.def instead of handling
25588 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25589 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25590 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25591 (END_ENV_GROUP): Likewise.
25592 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25593 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25594 (UNKNOWN_ENVIRONMENT): Likewise.
25595 (__sysconf): Include posix-envs.def instead of handling associated
25596 cases directly here.
25597 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25598 preprocessing getconf-speclist.c rather than running getconf or
25599 generating empty file.
25600
a93f9cbc
PT
256012012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25602
25603 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25604
d64d9f87
AL
256052012-11-16 Andrej Lajovic <natrij@gmail.com>
25606
25607 [BZ #14672]
25608 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25609
447885eb
DM
256102012-11-16 David S. Miller <davem@davemloft.net>
25611
25612 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25613 smaller than LDBL_EPSILON/2.0L, just return xm1.
25614
bcbf9830
L
256152012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25616
25617 * elf/tst-array1.c (init): Set constructor priority to 1000.
25618 (fini): Set destructor priority to 1000.
25619 * elf/tst-array2dep.c: Likewise.
25620
2b766585
SP
256212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25622
25623 [BZ #11741]
25624 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25625 (_IO_new_file_xsputn): Also return EOF if none of the input
25626 data was written when overflow failed.
25627 * libio/iopadn.c (_IO_padn): Likewise.
25628 * libio/iowpadn.c (_IO_wpadn): Likewise.
25629 * stdio-common/tst-put-error.c: Add copyright notice.
25630 (do_test): Add case for printing padded string.
25631 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25632 _IO_padn returned error.
25633 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25634 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25635 return EOF.
25636
b1848fde
SP
256372012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25638
25639 * libio/libioP.h: Add comment note that the references to C++
25640 bits are now obsolete.
25641
2fd89785
MS
256422012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25643
25644 * math/libm-test.inc (check_complex): Use asprintf.
25645
e3ea5409
JM
256462012-11-14 Joseph Myers <joseph@codesourcery.com>
25647
25648 * debug/pcprofiledump.c (print_version): Update copyright year.
25649 * malloc/memusagestat.c (print_version): Likewise.
25650
2e64d265
L
256512012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25652
25653 [BZ #14831]
25654 * elf/Makefile (tests): Add tst-audit8.
25655 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25656 ($(objpfx)tst-audit8.out): New target.
25657 (tst-audit8-ENV): New variable.
25658 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25659 audit if l_reloc_result is NULL.
25660 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25661 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25662 * elf/tst-audit8.c: New file.
25663
c485e4d2
MS
256642012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25665
25666 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25667 * misc/Makefile (CFLAGS-select.c): Define.
25668 * posix/Makefile (CFLAGS-pause.c): Define.
25669
3a0d900a
DM
256702012-11-13 David S. Miller <davem@davemloft.net>
25671
25672 * crypt/Makefile: Move test targets after toplevel Rules
25673 inclusion. Grab any necessary sysdep routines when linking.
25674 * crypt/md5.c (md5_process_block): Remove define, we will always
25675 name it __md5_process_block.
25676 (md5_finish_ctx): Update md5_process_block call.
25677 (md5_stream): Likewise.
25678 (md5_process_bytes): Likewise.
25679 (md5_process_block): Rename to __md5_process_block and move to ...
25680 * crypt/md5-block.c: ... here.
25681 * crypt/sha256.c (sha256_process_block): Move to ...
25682 * crypt/sha256-block.c: ... here.
25683 * crypt/sha512.c (sha512_process_block): Move to ...
25684 * crypt/sha512-block.c: ... here.
25685 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25686 path.
25687 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25688 * sysdeps/sparc/sparc64/multiarch/Makefile
25689 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25690 crypt subdir.
25691 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25692 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25693 multiarch changes.
25694 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25695 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25696 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25697 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25698 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25699 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25700 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25701 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25702 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25703 file.
25704 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25705 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25706 file.
25707 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25708
8ca89318
JM
257092012-11-13 Joseph Myers <joseph@codesourcery.com>
25710
e27d476a
JM
25711 * timezone/tzselect.ksh: Update from tzcode git revision
25712 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25713 * timezone/zdump.c: Likewise.
25714 * timezone/zic.c: Likewise.
25715 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25716 in TZVERSION setting, not $(PKGVERSION).
25717 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25718 REPORT_BUGS_TO settings.
25719
8ca89318
JM
25720 [BZ #14838]
25721 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25722 macro.
25723
47594329
MS
257242012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25725
25726 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25727 detection to immediately after _FP_ROUND().
25728 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25729 bits are 0.
25730
640ac3f1
DM
257312012-11-11 David S. Miller <davem@davemloft.net>
25732
25733 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25734 inttypes.h
25735 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25736 __close rather than their public counterparts.
25737
3d2577bb
JM
257382012-11-10 Joseph Myers <joseph@codesourcery.com>
25739
25740 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25741 file.
25742 [UNIX98] (sem_timedwait): Do not expect.
25743 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25744 [XPG4 || UNIX98] (sockatmark): Do not expect.
25745 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25746 (clock_getcpuclockid): Do not expect.
25747 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25748 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25749 Do not expect.
25750 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25751 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25752 [UNIX98] (vwscanf): Likewise.
25753 [UNIX98] (vswscanf): Likewise.
25754
fb1ae1ee
JM
257552012-11-09 Joseph Myers <joseph@codesourcery.com>
25756
9ec6f8bd
JM
25757 * timezone/version.h: Remove file.
25758 * timezone/README: Do not refer to version.h.
25759 * timezone/Makefile ($(objpfx)zic.o): New dependency on
25760 $(objpfx)version.h.
25761 ($(objpfx)zdump.o): Likewise.
c3f81911 25762 ($(objpfx)version.h): New target.
9ec6f8bd 25763
0aa8f8a1
JM
25764 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25765 2012i.
25766 * timezone/README: Don't mention modification to tzselect.ksh.
25767 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25768 work on unmodified tzselect.ksh. Substitute version numbers in
25769 tzselect.ksh.
25770
4e87147f
JM
25771 * Makefile (format-me): Remove.
25772 (INSTALL): Adjust indentation. Use commands directly instead of
25773 using $(format-me).
25774
8b748aed
JM
25775 * aclocal.m4 (ACX_PKGVERSION): New macro.
25776 (ACX_BUGURL): Likewise.
25777 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25778 (PKGVERSION): New AC_DEFINE_UNQUOTED.
25779 (REPORT_BUGS_TO): Likewise.
25780 * configure: Regenerated.
25781 * config.h.in (PKGVERSION): New macro.
25782 (REPORT_BUGS_TO): Likewise.
25783 * config.make.in (PKGVERSION): New variable.
25784 (PKGVERSION_TEXI): Likewise.
25785 (REPORT_BUGS_TO): Likewise.
25786 (REPORT_BUGS_TEXI): Likewise.
25787 * Makefile (format-me): Use -I$(common-objpfx)manual.
25788 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25789 ($(common-objpfx)manual/%): New target.
25790 (manual/%): Remove target.
25791 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25792 (print_version): Use PKGVERSION.
25793 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25794 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25795 and REPORT_BUGS_TO.
25796 ($(objpfx)xtrace): Likewise.
25797 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25798 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25799 (print_version): Use PKGVERSION.
25800 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25801 (do_version): Use PKGVERSION.
25802 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25803 REPORT_BUGS_TO.
25804 (common-ldd-rewrite): Likewise.
25805 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25806 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25807 (print_version): Use PKGVERSION.
25808 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25809 * elf/pldd.c (argp_program_bug_address): Remove variable.
25810 (more_help): New function.
25811 (argp): Use more_help.
25812 (print_version): Use PKGVERSION.
25813 * elf/sln.c (main): Use PKGVERSION.
25814 (usage): Use REPORT_BUGS_TO.
25815 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25816 (top level): Use PKGVERSION.
25817 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25818 (print_version): Use PKGVERSION.
25819 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25820 (print_version): Use PKGVERSION.
25821 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25822 (print_version): Use PKGVERSION.
25823 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25824 (print_version): Use PKGVERSION.
25825 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25826 (print_version): Use PKGVERSION.
25827 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25828 (print_version): Use PKGVERSION.
25829 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25830 and BUGURL.
25831 ($(objpfx)memusage): Likewise.
25832 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25833 (do_version): Use PKGVERSION.
25834 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25835 (print_version): Use PKGVERSION.
25836 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25837 ($PKGVERSION): New variable.
25838 ($REPORT_BUGS_TO): Likewise.
25839 (usage): Use $REPORT_BUGS_TO.
25840 (top level): Use $PKGVERSION.
25841 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25842 ($(objpfx)pkgvers.texi): New rule.
25843 ($(objpfx)stamp-pkgvers): Likewise.
25844 * manual/install.texi: Include pkgvers.texi.
25845 (--with-pkgversion): Document new configure option.
25846 (--with-bugurl): Likewise.
25847 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25848 than necessarily for this particular distribution. Use
25849 REPORT_BUGS_TO for where to report bugs.
25850 * INSTALL: Regenerated.
25851 * manual/libc.texinfo: Include pkgvers.texi.
25852 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25853 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25854 (print_version): Use PKGVERSION.
25855 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25856 (print_version): Use PKGVERSION.
25857 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25858 (print_version): Use PKGVERSION.
25859 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25860 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25861 macro.
25862 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25863 (print_version): Use PKGVERSION.
25864 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25865 (print_version): Use PKGVERSION.
25866 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25867 and PKGVERSION.
25868
92e4b6a9
JM
25869 * timezone/checktab.awk: Update from tzcode 2012i.
25870 * timezone/ialloc.c: Likewise.
25871 * timezone/private.h: Likewise.
25872 * timezone/scheck.c: Likewise.
25873 * timezone/tzfile.h: Likewise.
25874 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25875 (TZVERSION): Hardcode tzcode version number.
25876 * timezone/zdump.c: Update from tzcode 2012i.
25877 * timezone/zic.c: Likewise.
25878 * timezone/version.h: New file.
25879 * timezone/README: Describe version.h. Update upstream location.
25880
9bde902c
JM
25881 [BZ #14824]
25882 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25883 (mktemp): Enable declaration.
25884 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25885 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25886 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25887 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25888 Likewise.
25889 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25890 Likewise.
25891 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25892 Likewise.
25893 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25894 Likewise.
25895 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25896 Likewise.
25897 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25898 Likewise.
25899
fb1ae1ee
JM
25900 [BZ #14821]
25901 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25902 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25903 for copies of such integer values.
25904 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25905 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25906
2c1adbcb
AJ
259072012-11-09 Andreas Jaeger <aj@suse.de>
25908
25909 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25910 definitions and declarations that are provided by
25911 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25912
d0f8457e
AK
259132012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25914
3a235abb 25915 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
25916 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25917 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25918 definition.
25919
57241e26
MS
259202012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25921
25922 * elf/elf.h: Update comment before AArch64 relocations.
25923
60e8270d
DM
259242012-11-07 David S. Miller <davem@davemloft.net>
25925
25926 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25927 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25928 (__start_context): Declare.
25929 (__makecontext_ret): Delete.
25930 (__makecontext): Hook up __start_context instead of
25931 __makecontext_ret.
25932 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25933 (sysdep_routines): Add __start_context when in stdlib.
25934
0fbb0fbc
JM
259352012-11-07 Joseph Myers <joseph@codesourcery.com>
25936
25937 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25938 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25939 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25940 hardcoded "nm".
25941 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25942 (READELF): New variable. Use it instead of hardcoded "readelf".
25943
eb48db7e
L
259442012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25945
25946 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25947 * sysdeps/x86/Makefile: Here.
25948 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25949 * sysdeps/x86/tst-xmmymm.sh: This.
25950
05bcf62a
JM
259512012-11-07 Joseph Myers <joseph@codesourcery.com>
25952
c4b6cf53
JM
25953 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25954 expectations.
25955 [UNIX98] (pthread_barrier_t): Do not expect.
25956 [UNIX98] (pthread_barrierattr_t): Likewise.
25957 [UNIX98] (pthread_spinlock_t): Likewise.
25958 [UNIX98] (pthread_barrier_destroy): Likewise.
25959 [UNIX98] (pthread_barrier_init): Likewise.
25960 [UNIX98] (pthread_barrier_wait): Likewise.
25961 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25962 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25963 [UNIX98] (pthread_barrierattr_init): Likewise.
25964 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25965 [UNIX98] (pthread_getcpuclockid): Likewise.
25966 [UNIX98] (pthread_mutex_timedlock): Likewise.
25967 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25968 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25969 [UNIX98] (pthread_sigmask): Likewise.
25970 [UNIX98] (pthread_spin_destroy): Likewise.
25971 [UNIX98] (pthread_spin_init): Likewise.
25972 [UNIX98] (pthread_spin_lock): Likewise.
25973 [UNIX98] (pthread_spin_trylock): Likewise.
25974 [UNIX98] (pthread_spin_unlock): Likewise.
25975 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25976 Do not expect.
25977 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25978 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25979 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25980 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25981 [XPG3 || XPG4] (pthread_key_t): Likewise.
25982 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25983 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25984 [XPG3 || XPG4] (pthread_once_t): Likewise.
25985 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25986 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25987 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25988 [XPG3 || XPG4] (pthread_t): Likewise.
25989
cbe6e120
JM
25990 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25991 not expect.
25992 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25993
1b126443
JM
25994 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25995 Change function return type to int.
25996
b961a573
JM
25997 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25998 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25999 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26000 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26001 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26002 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26003 [!POSIX] (posix_madvise): Likewise.
26004 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26005 && !UNIX98].
26006 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26007 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26008 (mode_t): Likewise.
26009 (posix_mem_offset): Likewise.
26010 (posix_typed_mem_get_info): Likewise.
26011 (posix_typed_mem_open): Likewise.
26012
9e188909
JM
26013 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26014 Change condition to [XOPEN2K8].
26015
05bcf62a
JM
26016 * conform/conformtest.pl: Preprocess allow-header data with -x c
26017 instead of from stdin.
26018 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26019 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26020 [C99-based standards] (cerfc): Likewise.
26021 [C99-based standards] (cexp2): Likewise.
26022 [C99-based standards] (cexpm1): Likewise.
26023 [C99-based standards] (clog10): Likewise.
26024 [C99-based standards] (clog1p): Likewise.
26025 [C99-based standards] (clog2): Likewise.
26026 [C99-based standards] (clgamma): Likewise.
26027 [C99-based standards] (ctgamma): Likewise.
26028 [C99-based standards] (cerff): Likewise.
26029 [C99-based standards] (cerfcf): Likewise.
26030 [C99-based standards] (cexp2f): Likewise.
26031 [C99-based standards] (cexpm1f): Likewise.
26032 [C99-based standards] (clog10f): Likewise.
26033 [C99-based standards] (clog1pf): Likewise.
26034 [C99-based standards] (clog2f): Likewise.
26035 [C99-based standards] (clgammaf): Likewise.
26036 [C99-based standards] (ctgammaf): Likewise.
26037 [C99-based standards] (cerfl): Likewise.
26038 [C99-based standards] (cerfcl): Likewise.
26039 [C99-based standards] (cexp2l): Likewise.
26040 [C99-based standards] (cexpm1l): Likewise.
26041 [C99-based standards] (clog10l): Likewise.
26042 [C99-based standards] (clog1pl): Likewise.
26043 [C99-based standards] (clog2l): Likewise.
26044 [C99-based standards] (clgammal): Likewise.
26045 [C99-based standards] (ctgammal): Likewise.
26046 * conform/data/inttypes.h-data [C99-based standards]: Include
26047 stdint.h-data. Remove all expectations for stdint.h contents.
26048 [C99-based standards] (PRI*): Do not allow.
26049 [C99-based standards] (SCN*): Likewise.
26050 [C99-based standards] (*_t): Likewise.
26051 [C99-based-standards] (PRId8): Expect macro.
26052 [C99-based-standards] (PRIi8): Likewise.
26053 [C99-based-standards] (PRIo8): Likewise.
26054 [C99-based-standards] (PRIu8): Likewise.
26055 [C99-based-standards] (PRIx8): Likewise.
26056 [C99-based-standards] (PRIX8): Likewise.
26057 [C99-based-standards] (SCNd8): Likewise.
26058 [C99-based-standards] (SCNi8): Likewise.
26059 [C99-based-standards] (SCNo8): Likewise.
26060 [C99-based-standards] (SCNu8): Likewise.
26061 [C99-based-standards] (SCNx8): Likewise.
26062 [C99-based-standards] (PRIdLEAST8): Likewise.
26063 [C99-based-standards] (PRIiLEAST8): Likewise.
26064 [C99-based-standards] (PRIoLEAST8): Likewise.
26065 [C99-based-standards] (PRIuLEAST8): Likewise.
26066 [C99-based-standards] (PRIxLEAST8): Likewise.
26067 [C99-based-standards] (PRIXLEAST8): Likewise.
26068 [C99-based-standards] (SCNdLEAST8): Likewise.
26069 [C99-based-standards] (SCNiLEAST8): Likewise.
26070 [C99-based-standards] (SCNoLEAST8): Likewise.
26071 [C99-based-standards] (SCNuLEAST8): Likewise.
26072 [C99-based-standards] (SCNxLEAST8): Likewise.
26073 [C99-based-standards] (PRIdFAST8): Likewise.
26074 [C99-based-standards] (PRIiFAST8): Likewise.
26075 [C99-based-standards] (PRIoFAST8): Likewise.
26076 [C99-based-standards] (PRIuFAST8): Likewise.
26077 [C99-based-standards] (PRIxFAST8): Likewise.
26078 [C99-based-standards] (PRIXFAST8): Likewise.
26079 [C99-based-standards] (SCNdFAST8): Likewise.
26080 [C99-based-standards] (SCNiFAST8): Likewise.
26081 [C99-based-standards] (SCNoFAST8): Likewise.
26082 [C99-based-standards] (SCNuFAST8): Likewise.
26083 [C99-based-standards] (SCNxFAST8): Likewise.
26084 [C99-based-standards] (PRId16): Likewise.
26085 [C99-based-standards] (PRIi16): Likewise.
26086 [C99-based-standards] (PRIo16): Likewise.
26087 [C99-based-standards] (PRIu16): Likewise.
26088 [C99-based-standards] (PRIx16): Likewise.
26089 [C99-based-standards] (PRIX16): Likewise.
26090 [C99-based-standards] (SCNd16): Likewise.
26091 [C99-based-standards] (SCNi16): Likewise.
26092 [C99-based-standards] (SCNo16): Likewise.
26093 [C99-based-standards] (SCNu16): Likewise.
26094 [C99-based-standards] (SCNx16): Likewise.
26095 [C99-based-standards] (PRIdLEAST16): Likewise.
26096 [C99-based-standards] (PRIiLEAST16): Likewise.
26097 [C99-based-standards] (PRIoLEAST16): Likewise.
26098 [C99-based-standards] (PRIuLEAST16): Likewise.
26099 [C99-based-standards] (PRIxLEAST16): Likewise.
26100 [C99-based-standards] (PRIXLEAST16): Likewise.
26101 [C99-based-standards] (SCNdLEAST16): Likewise.
26102 [C99-based-standards] (SCNiLEAST16): Likewise.
26103 [C99-based-standards] (SCNoLEAST16): Likewise.
26104 [C99-based-standards] (SCNuLEAST16): Likewise.
26105 [C99-based-standards] (SCNxLEAST16): Likewise.
26106 [C99-based-standards] (PRIdFAST16): Likewise.
26107 [C99-based-standards] (PRIiFAST16): Likewise.
26108 [C99-based-standards] (PRIoFAST16): Likewise.
26109 [C99-based-standards] (PRIuFAST16): Likewise.
26110 [C99-based-standards] (PRIxFAST16): Likewise.
26111 [C99-based-standards] (PRIXFAST16): Likewise.
26112 [C99-based-standards] (SCNdFAST16): Likewise.
26113 [C99-based-standards] (SCNiFAST16): Likewise.
26114 [C99-based-standards] (SCNoFAST16): Likewise.
26115 [C99-based-standards] (SCNuFAST16): Likewise.
26116 [C99-based-standards] (SCNxFAST16): Likewise.
26117 [C99-based-standards] (PRId32): Likewise.
26118 [C99-based-standards] (PRIi32): Likewise.
26119 [C99-based-standards] (PRIo32): Likewise.
26120 [C99-based-standards] (PRIu32): Likewise.
26121 [C99-based-standards] (PRIx32): Likewise.
26122 [C99-based-standards] (PRIX32): Likewise.
26123 [C99-based-standards] (SCNd32): Likewise.
26124 [C99-based-standards] (SCNi32): Likewise.
26125 [C99-based-standards] (SCNo32): Likewise.
26126 [C99-based-standards] (SCNu32): Likewise.
26127 [C99-based-standards] (SCNx32): Likewise.
26128 [C99-based-standards] (PRIdLEAST32): Likewise.
26129 [C99-based-standards] (PRIiLEAST32): Likewise.
26130 [C99-based-standards] (PRIoLEAST32): Likewise.
26131 [C99-based-standards] (PRIuLEAST32): Likewise.
26132 [C99-based-standards] (PRIxLEAST32): Likewise.
26133 [C99-based-standards] (PRIXLEAST32): Likewise.
26134 [C99-based-standards] (SCNdLEAST32): Likewise.
26135 [C99-based-standards] (SCNiLEAST32): Likewise.
26136 [C99-based-standards] (SCNoLEAST32): Likewise.
26137 [C99-based-standards] (SCNuLEAST32): Likewise.
26138 [C99-based-standards] (SCNxLEAST32): Likewise.
26139 [C99-based-standards] (PRIdFAST32): Likewise.
26140 [C99-based-standards] (PRIiFAST32): Likewise.
26141 [C99-based-standards] (PRIoFAST32): Likewise.
26142 [C99-based-standards] (PRIuFAST32): Likewise.
26143 [C99-based-standards] (PRIxFAST32): Likewise.
26144 [C99-based-standards] (PRIXFAST32): Likewise.
26145 [C99-based-standards] (SCNdFAST32): Likewise.
26146 [C99-based-standards] (SCNiFAST32): Likewise.
26147 [C99-based-standards] (SCNoFAST32): Likewise.
26148 [C99-based-standards] (SCNuFAST32): Likewise.
26149 [C99-based-standards] (SCNxFAST32): Likewise.
26150 [C99-based-standards] (PRId64): Likewise.
26151 [C99-based-standards] (PRIi64): Likewise.
26152 [C99-based-standards] (PRIo64): Likewise.
26153 [C99-based-standards] (PRIu64): Likewise.
26154 [C99-based-standards] (PRIx64): Likewise.
26155 [C99-based-standards] (PRIX64): Likewise.
26156 [C99-based-standards] (SCNd64): Likewise.
26157 [C99-based-standards] (SCNi64): Likewise.
26158 [C99-based-standards] (SCNo64): Likewise.
26159 [C99-based-standards] (SCNu64): Likewise.
26160 [C99-based-standards] (SCNx64): Likewise.
26161 [C99-based-standards] (PRIdLEAST64): Likewise.
26162 [C99-based-standards] (PRIiLEAST64): Likewise.
26163 [C99-based-standards] (PRIoLEAST64): Likewise.
26164 [C99-based-standards] (PRIuLEAST64): Likewise.
26165 [C99-based-standards] (PRIxLEAST64): Likewise.
26166 [C99-based-standards] (PRIXLEAST64): Likewise.
26167 [C99-based-standards] (SCNdLEAST64): Likewise.
26168 [C99-based-standards] (SCNiLEAST64): Likewise.
26169 [C99-based-standards] (SCNoLEAST64): Likewise.
26170 [C99-based-standards] (SCNuLEAST64): Likewise.
26171 [C99-based-standards] (SCNxLEAST64): Likewise.
26172 [C99-based-standards] (PRIdFAST64): Likewise.
26173 [C99-based-standards] (PRIiFAST64): Likewise.
26174 [C99-based-standards] (PRIoFAST64): Likewise.
26175 [C99-based-standards] (PRIuFAST64): Likewise.
26176 [C99-based-standards] (PRIxFAST64): Likewise.
26177 [C99-based-standards] (PRIXFAST64): Likewise.
26178 [C99-based-standards] (SCNdFAST64): Likewise.
26179 [C99-based-standards] (SCNiFAST64): Likewise.
26180 [C99-based-standards] (SCNoFAST64): Likewise.
26181 [C99-based-standards] (SCNuFAST64): Likewise.
26182 [C99-based-standards] (SCNxFAST64): Likewise.
26183 [C99-based-standards] (PRIdMAX): Likewise.
26184 [C99-based-standards] (PRIiMAX): Likewise.
26185 [C99-based-standards] (PRIoMAX): Likewise.
26186 [C99-based-standards] (PRIuMAX): Likewise.
26187 [C99-based-standards] (PRIxMAX): Likewise.
26188 [C99-based-standards] (PRIXMAX): Likewise.
26189 [C99-based-standards] (SCNdMAX): Likewise.
26190 [C99-based-standards] (SCNiMAX): Likewise.
26191 [C99-based-standards] (SCNoMAX): Likewise.
26192 [C99-based-standards] (SCNuMAX): Likewise.
26193 [C99-based-standards] (SCNxMAX): Likewise.
26194 [C99-based-standards] (PRIdPTR): Likewise.
26195 [C99-based-standards] (PRIiPTR): Likewise.
26196 [C99-based-standards] (PRIoPTR): Likewise.
26197 [C99-based-standards] (PRIuPTR): Likewise.
26198 [C99-based-standards] (PRIxPTR): Likewise.
26199 [C99-based-standards] (PRIXPTR): Likewise.
26200 [C99-based-standards] (SCNdPTR): Likewise.
26201 [C99-based-standards] (SCNiPTR): Likewise.
26202 [C99-based-standards] (SCNoPTR): Likewise.
26203 [C99-based-standards] (SCNuPTR): Likewise.
26204 [C99-based-standards] (SCNxPTR): Likewise.
26205 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26206 allow.
26207 * conform/data/stdint.h-data: Update comments to clarify
26208 requirements.
26209 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26210 type.
26211 [C99-based standards] (INT8_MAX): Likewise.
26212 [C99-based standards] (INT16_MIN): Likewise.
26213 [C99-based standards] (INT16_MAX): Likewise.
26214 [C99-based standards] (INT32_MIN): Likewise.
26215 [C99-based standards] (INT32_MAX): Likewise.
26216 [C99-based standards] (INT64_MIN): Likewise.
26217 [C99-based standards] (INT64_MAX): Likewise.
26218 [C99-based standards] (UINT8_MAX): Likewise.
26219 [C99-based standards] (UINT16_MAX): Likewise.
26220 [C99-based standards] (UINT32_MAX): Likewise.
26221 [C99-based standards] (UINT64_MAX): Likewise.
26222 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26223 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26224 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26225 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26226 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26227 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26228 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26229 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26230 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26231 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26232 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26233 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26234 [C99-based standards] (INT_FAST8_MIN): Likewise.
26235 [C99-based standards] (INT_FAST8_MAX): Likewise.
26236 [C99-based standards] (INT_FAST16_MIN): Likewise.
26237 [C99-based standards] (INT_FAST16_MAX): Likewise.
26238 [C99-based standards] (INT_FAST32_MIN): Likewise.
26239 [C99-based standards] (INT_FAST32_MAX): Likewise.
26240 [C99-based standards] (INT_FAST64_MIN): Likewise.
26241 [C99-based standards] (INT_FAST64_MAX): Likewise.
26242 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26243 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26244 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26245 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26246 [C99-based standards] (INTPTR_MIN): Likewise.
26247 [C99-based standards] (INTPTR_MAX): Likewise.
26248 [C99-based standards] (UINTPTR_MAX): Likewise.
26249 [C99-based standards] (INTMAX_MIN): Likewise.
26250 [C99-based standards] (INTMAX_MAX): Likewise.
26251 [C99-based standards] (UINTMAX_MAX): Likewise.
26252 [C99-based standards] (PTRDIFF_MIN): Likewise.
26253 [C99-based standards] (PTRDIFF_MAX): Likewise.
26254 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26255 [C99-based standards] (SIZE_MAX): Likewise.
26256 [C99-based standards] (WCHAR_MAX): Likewise.
26257 [C99-based standards] (WINT_MAX): Likewise.
26258 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26259 constraint on value.
26260 [C99-based standards] (WCHAR_MIN): Likewise.
26261 [C99-based standards] (WINT_MIN): Likewise.
26262 [C99-based standards] (*_t): Allow.
26263 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26264 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26265 Include math.h-data and complex.h-data. Remove all expectations
26266 of math.h and complex.h contents.
26267 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26268 at end of line.
26269 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26270 (struct tm): Expect tag.
26271 [C99-based-standards] (wcstof): Expect function.
26272 [C99-based-standards] (wcstold): Likewise.
26273 [C99-based-standards] (wcstoll): Likewise.
26274 [C99-based-standards] (wcstoull): Likewise.
26275 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26276 macro-int-constant. Specify type.
26277 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26278 constraint on value.
26279 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26280 Specify type.
26281 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26282 Specify value.
26283 [ISO C standards]: Do not allow headers.
26284 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26285 wcs[abcdefghijklmnopqrstuvwxyz]*.
26286 [ISO C standards] (*_t): Do not allow.
26287 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26288 Expect function.
26289 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26290 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26291 Specify type.
26292 [ISO C standards]: Do not allow headers.
26293 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26294 is[abcdefghijklmnopqrstuvwxyz]*.
26295 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26296 to[abcdefghijklmnopqrstuvwxyz]*.
26297 [ISO C standards] (*_t): Do not allow.
26298 * conform/data/stdalign.h-data: New file.
26299 * conform/data/stdbool.h-data: Likewise.
26300 * conform/data/stdnoreturn.h-data: Likewise.
26301
7514feb8
RM
263022012-11-07 Roland McGrath <roland@hack.frob.com>
26303
26304 [BZ #14815]
26305 * manual/filesys.texi (Directory Entries): Typo fix.
26306 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26307
19b2ecfc
MS
263082012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26309
26310 * elf/elf.h (EM_AARCH64): New macro.
26311 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26312 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26313 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26314 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26315 (R_AARCH64_TLSDESC): Likewise.
26316 (NT_ARM_TLS): Likewise.
26317 (NT_ARM_HW_BREAK): Likewise.
26318 (NT_ARM_HW_WATCH): Likewise.
26319
60e235ee
JM
263202012-11-07 Joseph Myers <joseph@codesourcery.com>
26321
26322 [BZ #14811]
26323 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26324 (__ieee754_powl): Saturate nonzero exponents with absolute value
26325 below 0x1p-79 to +/- 0x1p-79.
26326 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26327 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26328 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26329 nonzero exponents with absolute value below 0x1p-32 to +/-
26330 0x1p-32.
26331 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26332 (__ieee754_powl): Saturate nonzero exponents with absolute value
26333 below 0x1p-79 to +/- 0x1p-79.
26334 * math/libm-test.inc (pow_test): Add more tests.
26335
0ab234b7
AK
263362012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26337
26338 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26339 _dl_s390_cap_flags with kernel. Increase string length.
26340 (_dl_s390_platforms): Add z196 and zEC12.
26341
45832f74
JM
263422012-11-07 Joseph Myers <joseph@codesourcery.com>
26343
26344 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26345 Change XOPEN21K to XOPEN2K.
26346
19218757
MK
263472012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26348
26349 * string/memmove.c: Use memcpy when possible.
26350
c5f45721
AJ
263512012-11-06 Andreas Jaeger <aj@suse.de>
26352
26353 * po/eo.po: Update from translation team.
26354
82477c28
JM
263552012-11-06 Joseph Myers <joseph@codesourcery.com>
26356
26357 [BZ #14793]
26358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26359 exponent and small x and y exponents, scale x or y up. Increase
26360 by 2 the exponent used in scaling up.
26361 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26362 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26363 * math/libm-test.inc (fma_test): Add more tests.
26364 (fma_test_towardzero): Likewise.
26365 (fma_test_downward): Likewise.
26366 (fma_test_upward): Likewise.
26367
99252c8c
JM
263682012-11-05 Joseph Myers <joseph@codesourcery.com>
26369
acfa885f
JM
26370 [BZ #14805]
26371 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26372 fenv_t *.
26373
99252c8c
JM
26374 [BZ #14801]
26375 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26376 namespace for names of struct fields.
26377 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26378 fenv_t fields.
26379 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26380 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26381
d6d98dea
ST
263822012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26383
26384 [BZ #3665]
26385 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26386
e10bb107
TS
263872012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26388
26389 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26390 PTR_DEMANGLE.
26391
26392 [BZ #5246]
26393 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26394 PTR_DEMANGLE.
26395
a0c2940d
JM
263962012-11-04 Joseph Myers <joseph@codesourcery.com>
26397
26398 [BZ #14797]
26399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26400 definitely overflow as x * y not x * y + z.
26401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26402 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26403 * math/libm-test.inc (fma_test): Add more tests.
26404 (fma_test_towardzero): Likewise.
26405 (fma_test_downward): Likewise.
26406 (fma_test_upward): Likewise.
26407
b830319d
TS
264082012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26409
26410 [BZ #157]
26411
26412 * include/stub-tag.h: Remove file.
26413 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26414 '#include' of it.
26415 * manual/maint.texi (Porting): Don't reference it.
26416 * Makerules ($(objpfx)stubs): Likewise.
26417 * dirent/closedir.c: Don't include <stub-tag.h>.
26418 * dirent/dirfd.c: Likewise.
26419 * dirent/fdopendir.c: Likewise.
26420 * dirent/getdents.c: Likewise.
26421 * dirent/getdents64.c: Likewise.
26422 * dirent/opendir.c: Likewise.
26423 * dirent/readdir.c: Likewise.
26424 * dirent/readdir64.c: Likewise.
26425 * dirent/readdir64_r.c: Likewise.
26426 * dirent/readdir_r.c: Likewise.
26427 * dirent/rewinddir.c: Likewise.
26428 * dirent/seekdir.c: Likewise.
26429 * dirent/telldir.c: Likewise.
26430 * gmon/profil.c: Likewise.
26431 * grp/setgroups.c: Likewise.
26432 * inet/if_index.c: Likewise.
26433 * io/access.c: Likewise.
26434 * io/chdir.c: Likewise.
26435 * io/chmod.c: Likewise.
26436 * io/chown.c: Likewise.
26437 * io/close.c: Likewise.
26438 * io/dup.c: Likewise.
26439 * io/dup2.c: Likewise.
26440 * io/dup3.c: Likewise.
26441 * io/euidaccess.c: Likewise.
26442 * io/faccessat.c: Likewise.
26443 * io/fchdir.c: Likewise.
26444 * io/fchmod.c: Likewise.
26445 * io/fchmodat.c: Likewise.
26446 * io/fchown.c: Likewise.
26447 * io/fchownat.c: Likewise.
26448 * io/fcntl.c: Likewise.
26449 * io/flock.c: Likewise.
26450 * io/fstatfs.c: Likewise.
26451 * io/fstatfs64.c: Likewise.
26452 * io/fstatvfs.c: Likewise.
26453 * io/fstatvfs64.c: Likewise.
26454 * io/futimens.c: Likewise.
26455 * io/fxstat.c: Likewise.
26456 * io/fxstat64.c: Likewise.
26457 * io/fxstatat.c: Likewise.
26458 * io/fxstatat64.c: Likewise.
26459 * io/getcwd.c: Likewise.
26460 * io/isatty.c: Likewise.
26461 * io/lchmod.c: Likewise.
26462 * io/lchown.c: Likewise.
26463 * io/link.c: Likewise.
26464 * io/linkat.c: Likewise.
26465 * io/lseek.c: Likewise.
26466 * io/lseek64.c: Likewise.
26467 * io/lxstat64.c: Likewise.
26468 * io/mkdir.c: Likewise.
26469 * io/mkdirat.c: Likewise.
26470 * io/mkfifo.c: Likewise.
26471 * io/mkfifoat.c: Likewise.
26472 * io/open.c: Likewise.
26473 * io/open64.c: Likewise.
26474 * io/openat.c: Likewise.
26475 * io/openat64.c: Likewise.
26476 * io/pipe.c: Likewise.
26477 * io/pipe2.c: Likewise.
26478 * io/poll.c: Likewise.
26479 * io/posix_fadvise.c: Likewise.
26480 * io/posix_fadvise64.c: Likewise.
26481 * io/posix_fallocate.c: Likewise.
26482 * io/posix_fallocate64.c: Likewise.
26483 * io/read.c: Likewise.
26484 * io/readlink.c: Likewise.
26485 * io/readlinkat.c: Likewise.
26486 * io/rmdir.c: Likewise.
26487 * io/sendfile.c: Likewise.
26488 * io/sendfile64.c: Likewise.
26489 * io/statfs.c: Likewise.
26490 * io/statfs64.c: Likewise.
26491 * io/statvfs.c: Likewise.
26492 * io/statvfs64.c: Likewise.
26493 * io/symlink.c: Likewise.
26494 * io/symlinkat.c: Likewise.
26495 * io/ttyname.c: Likewise.
26496 * io/ttyname_r.c: Likewise.
26497 * io/umask.c: Likewise.
26498 * io/unlink.c: Likewise.
26499 * io/unlinkat.c: Likewise.
26500 * io/utime.c: Likewise.
26501 * io/utimensat.c: Likewise.
26502 * io/write.c: Likewise.
26503 * io/xmknod.c: Likewise.
26504 * io/xmknodat.c: Likewise.
26505 * io/xstat.c: Likewise.
26506 * io/xstat64.c: Likewise.
26507 * login/getpt.c: Likewise.
26508 * login/grantpt.c: Likewise.
26509 * login/unlockpt.c: Likewise.
26510 * math/e_acoshl.c: Likewise.
26511 * math/e_acosl.c: Likewise.
26512 * math/e_asinl.c: Likewise.
26513 * math/e_atan2l.c: Likewise.
26514 * math/e_atanhl.c: Likewise.
26515 * math/e_coshl.c: Likewise.
26516 * math/e_expl.c: Likewise.
26517 * math/e_fmodl.c: Likewise.
26518 * math/e_gammal_r.c: Likewise.
26519 * math/e_hypotl.c: Likewise.
26520 * math/e_j0l.c: Likewise.
26521 * math/e_j1l.c: Likewise.
26522 * math/e_jnl.c: Likewise.
26523 * math/e_lgammal_r.c: Likewise.
26524 * math/e_log10l.c: Likewise.
26525 * math/e_log2l.c: Likewise.
26526 * math/e_logl.c: Likewise.
26527 * math/e_powl.c: Likewise.
26528 * math/e_rem_pio2l.c: Likewise.
26529 * math/e_sinhl.c: Likewise.
26530 * math/e_sqrtl.c: Likewise.
26531 * math/fclrexcpt.c: Likewise.
26532 * math/fedisblxcpt.c: Likewise.
26533 * math/feenablxcpt.c: Likewise.
26534 * math/fegetenv.c: Likewise.
26535 * math/fegetexcept.c: Likewise.
26536 * math/fegetround.c: Likewise.
26537 * math/feholdexcpt.c: Likewise.
26538 * math/fesetenv.c: Likewise.
26539 * math/fesetround.c: Likewise.
26540 * math/feupdateenv.c: Likewise.
26541 * math/fgetexcptflg.c: Likewise.
26542 * math/fraiseexcpt.c: Likewise.
26543 * math/fsetexcptflg.c: Likewise.
26544 * math/ftestexcept.c: Likewise.
26545 * math/k_cosl.c: Likewise.
26546 * math/k_rem_pio2l.c: Likewise.
26547 * math/k_sinl.c: Likewise.
26548 * math/k_tanl.c: Likewise.
26549 * math/s_asinhl.c: Likewise.
26550 * math/s_atanl.c: Likewise.
26551 * math/s_cbrtl.c: Likewise.
26552 * math/s_erfl.c: Likewise.
26553 * math/s_expm1l.c: Likewise.
26554 * math/s_log1pl.c: Likewise.
26555 * math/s_tanhl.c: Likewise.
26556 * misc/acct.c: Likewise.
26557 * misc/brk.c: Likewise.
26558 * misc/chflags.c: Likewise.
26559 * misc/chroot.c: Likewise.
26560 * misc/fchflags.c: Likewise.
26561 * misc/fgetxattr.c: Likewise.
26562 * misc/flistxattr.c: Likewise.
26563 * misc/fremovexattr.c: Likewise.
26564 * misc/fsetxattr.c: Likewise.
26565 * misc/fsync.c: Likewise.
26566 * misc/ftruncate.c: Likewise.
26567 * misc/futimes.c: Likewise.
26568 * misc/futimesat.c: Likewise.
26569 * misc/getdomain.c: Likewise.
26570 * misc/getdtsz.c: Likewise.
26571 * misc/gethostid.c: Likewise.
26572 * misc/gethostname.c: Likewise.
26573 * misc/getloadavg.c: Likewise.
26574 * misc/getpagesize.c: Likewise.
26575 * misc/getsysstats.c: Likewise.
26576 * misc/getxattr.c: Likewise.
26577 * misc/gtty.c: Likewise.
26578 * misc/ioctl.c: Likewise.
26579 * misc/lgetxattr.c: Likewise.
26580 * misc/listxattr.c: Likewise.
26581 * misc/llistxattr.c: Likewise.
26582 * misc/lremovexattr.c: Likewise.
26583 * misc/lsetxattr.c: Likewise.
26584 * misc/lutimes.c: Likewise.
26585 * misc/madvise.c: Likewise.
26586 * misc/mincore.c: Likewise.
26587 * misc/mlock.c: Likewise.
26588 * misc/mlockall.c: Likewise.
26589 * misc/mmap.c: Likewise.
26590 * misc/mprotect.c: Likewise.
26591 * misc/msync.c: Likewise.
26592 * misc/munlock.c: Likewise.
26593 * misc/munlockall.c: Likewise.
26594 * misc/munmap.c: Likewise.
26595 * misc/preadv.c: Likewise.
26596 * misc/preadv64.c: Likewise.
26597 * misc/ptrace.c: Likewise.
26598 * misc/pwritev.c: Likewise.
26599 * misc/pwritev64.c: Likewise.
26600 * misc/readv.c: Likewise.
26601 * misc/reboot.c: Likewise.
26602 * misc/remap_file_pages.c: Likewise.
26603 * misc/removexattr.c: Likewise.
26604 * misc/revoke.c: Likewise.
26605 * misc/select.c: Likewise.
26606 * misc/setdomain.c: Likewise.
26607 * misc/setegid.c: Likewise.
26608 * misc/seteuid.c: Likewise.
26609 * misc/sethostid.c: Likewise.
26610 * misc/sethostname.c: Likewise.
26611 * misc/setregid.c: Likewise.
26612 * misc/setreuid.c: Likewise.
26613 * misc/setxattr.c: Likewise.
26614 * misc/sstk.c: Likewise.
26615 * misc/stty.c: Likewise.
26616 * misc/swapoff.c: Likewise.
26617 * misc/swapon.c: Likewise.
26618 * misc/sync.c: Likewise.
26619 * misc/syncfs.c: Likewise.
26620 * misc/syscall.c: Likewise.
26621 * misc/truncate.c: Likewise.
26622 * misc/ualarm.c: Likewise.
26623 * misc/usleep.c: Likewise.
26624 * misc/ustat.c: Likewise.
26625 * misc/utimes.c: Likewise.
26626 * misc/vhangup.c: Likewise.
26627 * misc/writev.c: Likewise.
26628 * posix/_exit.c: Likewise.
26629 * posix/alarm.c: Likewise.
26630 * posix/execve.c: Likewise.
26631 * posix/fexecve.c: Likewise.
26632 * posix/fork.c: Likewise.
26633 * posix/fpathconf.c: Likewise.
26634 * posix/getaddrinfo.c: Likewise.
26635 * posix/getegid.c: Likewise.
26636 * posix/geteuid.c: Likewise.
26637 * posix/getgid.c: Likewise.
26638 * posix/getgroups.c: Likewise.
26639 * posix/getlogin.c: Likewise.
26640 * posix/getlogin_r.c: Likewise.
26641 * posix/getpgid.c: Likewise.
26642 * posix/getpid.c: Likewise.
26643 * posix/getppid.c: Likewise.
26644 * posix/getresgid.c: Likewise.
26645 * posix/getresuid.c: Likewise.
26646 * posix/getsid.c: Likewise.
26647 * posix/getuid.c: Likewise.
26648 * posix/glob64.c: Likewise.
26649 * posix/nanosleep.c: Likewise.
26650 * posix/pathconf.c: Likewise.
26651 * posix/pause.c: Likewise.
26652 * posix/posix_madvise.c: Likewise.
26653 * posix/pread.c: Likewise.
26654 * posix/pread64.c: Likewise.
26655 * posix/pwrite.c: Likewise.
26656 * posix/pwrite64.c: Likewise.
26657 * posix/sched_getaffinity.c: Likewise.
26658 * posix/sched_getp.c: Likewise.
26659 * posix/sched_gets.c: Likewise.
26660 * posix/sched_primax.c: Likewise.
26661 * posix/sched_primin.c: Likewise.
26662 * posix/sched_rr_gi.c: Likewise.
26663 * posix/sched_setaffinity.c: Likewise.
26664 * posix/sched_setp.c: Likewise.
26665 * posix/sched_sets.c: Likewise.
26666 * posix/sched_yield.c: Likewise.
26667 * posix/setgid.c: Likewise.
26668 * posix/setlogin.c: Likewise.
26669 * posix/setpgid.c: Likewise.
26670 * posix/setresgid.c: Likewise.
26671 * posix/setresuid.c: Likewise.
26672 * posix/setsid.c: Likewise.
26673 * posix/setuid.c: Likewise.
26674 * posix/sleep.c: Likewise.
26675 * posix/spawni.c: Likewise.
26676 * posix/sysconf.c: Likewise.
26677 * posix/times.c: Likewise.
26678 * posix/wait.c: Likewise.
26679 * posix/wait3.c: Likewise.
26680 * posix/wait4.c: Likewise.
26681 * posix/waitpid.c: Likewise.
26682 * resolv/gai_sigqueue.c: Likewise.
26683 * resource/getpriority.c: Likewise.
26684 * resource/getrlimit.c: Likewise.
26685 * resource/getrusage.c: Likewise.
26686 * resource/nice.c: Likewise.
26687 * resource/setpriority.c: Likewise.
26688 * resource/setrlimit.c: Likewise.
26689 * resource/ulimit.c: Likewise.
26690 * rt/aio_cancel.c: Likewise.
26691 * rt/aio_fsync.c: Likewise.
26692 * rt/aio_read.c: Likewise.
26693 * rt/aio_sigqueue.c: Likewise.
26694 * rt/aio_suspend.c: Likewise.
26695 * rt/aio_write.c: Likewise.
26696 * rt/clock_getres.c: Likewise.
26697 * rt/clock_gettime.c: Likewise.
26698 * rt/clock_nanosleep.c: Likewise.
26699 * rt/clock_settime.c: Likewise.
26700 * rt/lio_listio.c: Likewise.
26701 * rt/mq_close.c: Likewise.
26702 * rt/mq_getattr.c: Likewise.
26703 * rt/mq_notify.c: Likewise.
26704 * rt/mq_open.c: Likewise.
26705 * rt/mq_receive.c: Likewise.
26706 * rt/mq_send.c: Likewise.
26707 * rt/mq_setattr.c: Likewise.
26708 * rt/mq_timedreceive.c: Likewise.
26709 * rt/mq_timedsend.c: Likewise.
26710 * rt/mq_unlink.c: Likewise.
26711 * rt/shm_open.c: Likewise.
26712 * rt/shm_unlink.c: Likewise.
26713 * rt/timer_create.c: Likewise.
26714 * rt/timer_delete.c: Likewise.
26715 * rt/timer_getoverr.c: Likewise.
26716 * rt/timer_gettime.c: Likewise.
26717 * rt/timer_settime.c: Likewise.
26718 * setjmp/__longjmp.c: Likewise.
26719 * setjmp/setjmp.c: Likewise.
26720 * signal/kill.c: Likewise.
26721 * signal/killpg.c: Likewise.
26722 * signal/raise.c: Likewise.
26723 * signal/sigaction.c: Likewise.
26724 * signal/sigaltstack.c: Likewise.
26725 * signal/sigblock.c: Likewise.
26726 * signal/sigignore.c: Likewise.
26727 * signal/sigintr.c: Likewise.
26728 * signal/signal.c: Likewise.
26729 * signal/sigpause.c: Likewise.
26730 * signal/sigpending.c: Likewise.
26731 * signal/sigqueue.c: Likewise.
26732 * signal/sigreturn.c: Likewise.
26733 * signal/sigset.c: Likewise.
26734 * signal/sigsetmask.c: Likewise.
26735 * signal/sigstack.c: Likewise.
26736 * signal/sigsuspend.c: Likewise.
26737 * signal/sigtimedwait.c: Likewise.
26738 * signal/sigvec.c: Likewise.
26739 * signal/sigwait.c: Likewise.
26740 * signal/sigwaitinfo.c: Likewise.
26741 * signal/sysv_signal.c: Likewise.
26742 * socket/accept.c: Likewise.
26743 * socket/accept4.c: Likewise.
26744 * socket/bind.c: Likewise.
26745 * socket/connect.c: Likewise.
26746 * socket/getpeername.c: Likewise.
26747 * socket/getsockname.c: Likewise.
26748 * socket/getsockopt.c: Likewise.
26749 * socket/isfdtype.c: Likewise.
26750 * socket/listen.c: Likewise.
26751 * socket/recv.c: Likewise.
26752 * socket/recvfrom.c: Likewise.
26753 * socket/recvmsg.c: Likewise.
26754 * socket/send.c: Likewise.
26755 * socket/sendmsg.c: Likewise.
26756 * socket/sendto.c: Likewise.
26757 * socket/setsockopt.c: Likewise.
26758 * socket/shutdown.c: Likewise.
26759 * socket/sockatmark.c: Likewise.
26760 * socket/socket.c: Likewise.
26761 * socket/socketpair.c: Likewise.
26762 * stdio-common/ctermid.c: Likewise.
26763 * stdio-common/cuserid.c: Likewise.
26764 * stdio-common/remove.c: Likewise.
26765 * stdio-common/rename.c: Likewise.
26766 * stdio-common/renameat.c: Likewise.
26767 * stdio-common/tempname.c: Likewise.
26768 * stdlib/getcontext.c: Likewise.
26769 * stdlib/makecontext.c: Likewise.
26770 * stdlib/setcontext.c: Likewise.
26771 * stdlib/swapcontext.c: Likewise.
26772 * stdlib/system.c: Likewise.
26773 * streams/fattach.c: Likewise.
26774 * streams/fdetach.c: Likewise.
26775 * streams/getmsg.c: Likewise.
26776 * streams/getpmsg.c: Likewise.
26777 * streams/putmsg.c: Likewise.
26778 * streams/putpmsg.c: Likewise.
26779 * sysdeps/unix/bsd/getpt.c: Likewise.
26780 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26781 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26782 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26784 Likewise.
26785 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26786 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26787 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26788 * sysvipc/msgctl.c: Likewise.
26789 * sysvipc/msgget.c: Likewise.
26790 * sysvipc/msgrcv.c: Likewise.
26791 * sysvipc/msgsnd.c: Likewise.
26792 * sysvipc/semctl.c: Likewise.
26793 * sysvipc/semget.c: Likewise.
26794 * sysvipc/semop.c: Likewise.
26795 * sysvipc/semtimedop.c: Likewise.
26796 * sysvipc/shmat.c: Likewise.
26797 * sysvipc/shmctl.c: Likewise.
26798 * sysvipc/shmdt.c: Likewise.
26799 * sysvipc/shmget.c: Likewise.
26800 * termios/tcdrain.c: Likewise.
26801 * termios/tcflow.c: Likewise.
26802 * termios/tcflush.c: Likewise.
26803 * termios/tcgetattr.c: Likewise.
26804 * termios/tcgetpgrp.c: Likewise.
26805 * termios/tcsendbrk.c: Likewise.
26806 * termios/tcsetattr.c: Likewise.
26807 * termios/tcsetpgrp.c: Likewise.
26808 * time/adjtime.c: Likewise.
26809 * time/clock.c: Likewise.
26810 * time/getitimer.c: Likewise.
26811 * time/gettimeofday.c: Likewise.
26812 * time/setitimer.c: Likewise.
26813 * time/settimeofday.c: Likewise.
26814 * time/stime.c: Likewise.
26815 * time/time.c: Likewise.
26816
268172012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 26818
a20492cf
PT
26819 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26820 /usr/old/bin.
26821
72e182e3
PT
26822 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26823 instead of spaces.
26824 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26825
fbeafede
JM
268262012-11-03 Joseph Myers <joseph@codesourcery.com>
26827
5b5b04d6
JM
26828 [BZ #14796]
26829 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26830 FE_TONEAREST before applying Dekker multiplication and Knuth
26831 addition. Clear inexact exceptions and check for exact zero
26832 results afterwards.
26833 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26834 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26835 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26836 * math/libm-test.inc (fma_test): Add more tests.
26837 (fma_test_towardzero): Likewise.
26838 (fma_test_downward): Likewise.
26839 (fma_test_upward): Likewise.
26840 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26841 function.
26842 (libc_fesetround): New macro.
26843 (libc_fesetroundf): Likewise.
26844 (libc_fesetroundl): Likewise.
26845 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26846 function.
26847 (libc_fesetround_387): Likewise.
26848 (libc_fesetroundf): New macro.
26849 (libc_fesetround): Likewise.
26850 (libc_fesetroundl): Likewise.
26851 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26852 function.
26853 (libc_fesetroundf): New macro.
26854 (libc_fesetround): Likewise.
26855 (libc_fesetroundl): Likewise.
26856 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26857 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26858 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26859 libm_hidden_ver.
26860 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26861 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26862 libm_hidden_def.
26863 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26864 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26865 libm_hidden_ver.
26866 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26867 libm_hidden_def.
26868
fbeafede
JM
26869 [BZ #3439]
26870 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26871 integer constant usable in #if and use that to give value to enum
26872 constant.
26873 (FE_DIVBYZERO): Likewise.
26874 (FE_UNDERFLOW): Likewise.
26875 (FE_OVERFLOW): Likewise.
26876 (FE_INVALID): Likewise.
26877 (FE_INVALID_SNAN): Likewise.
26878 (FE_INVALID_ISI): Likewise.
26879 (FE_INVALID_IDI): Likewise.
26880 (FE_INVALID_ZDZ): Likewise.
26881 (FE_INVALID_IMZ): Likewise.
26882 (FE_INVALID_COMPARE): Likewise.
26883 (FE_INVALID_SOFTWARE): Likewise.
26884 (FE_INVALID_SQRT): Likewise.
26885 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26886 (FE_TONEAREST): Likewise.
26887 (FE_TOWARDZERO): Likewise.
26888 (FE_UPWARD): Likewise.
26889 (FE_DOWNWARD): Likewise.
26890 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26891 (FE_DIVBYZERO): Likewise.
26892 (FE_OVERFLOW): Likewise.
26893 (FE_UNDERFLOW): Likewise.
26894 (FE_INEXACT): Likewise.
26895 (FE_TONEAREST): Likewise.
26896 (FE_DOWNWARD): Likewise.
26897 (FE_UPWARD): Likewise.
26898 (FE_TOWARDZERO): Likewise.
26899 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26900 (FE_UNDERFLOW): Likewise.
26901 (FE_OVERFLOW): Likewise.
26902 (FE_DIVBYZERO): Likewise.
26903 (FE_INVALID): Likewise.
26904 (FE_TONEAREST): Likewise.
26905 (FE_TOWARDZERO): Likewise.
26906 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26907 (FE_OVERFLOW): Likewise.
26908 (FE_UNDERFLOW): Likewise.
26909 (FE_DIVBYZERO): Likewise.
26910 (FE_INEXACT): Likewise.
26911 (FE_TONEAREST): Likewise.
26912 (FE_TOWARDZERO): Likewise.
26913 (FE_UPWARD): Likewise.
26914 (FE_DOWNWARD): Likewise.
26915 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26916 (FE_DIVBYZERO): Likewise.
26917 (FE_OVERFLOW): Likewise.
26918 (FE_UNDERFLOW): Likewise.
26919 (FE_INEXACT): Likewise.
26920 (FE_TONEAREST): Likewise.
26921 (FE_DOWNWARD): Likewise.
26922 (FE_UPWARD): Likewise.
26923 (FE_TOWARDZERO): Likewise.
26924
105ca950
CM
269252012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26926
26927 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26928
a542b389
AS
269292012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26930
26931 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26932 commands. Quote $PWD.
26933 (blacklist_exports): Don't use remove_newlines. Replace "declare
26934 -x" by "export".
26935 (remove_newlines): Remove.
26936
f62c8abc
L
269372012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26938
26939 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26940 * stdlib/stdlib.h (atof): Moved to ...
26941 * include/bits/stdlib-float.h: Here. New file.
26942 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26943 * stdlib/bits/stdlib-float.h: New file.
26944 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26945 -mno-sse -mno-mmx.
26946 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26947 <xmmintrin.h>.
26948
0155d5b2
JM
269492012-11-02 Joseph Myers <joseph@codesourcery.com>
26950
a68d0680
JM
26951 * conform/conformtest.pl (@headers): Add fenv.h.
26952 * conform/data/fenv.h-data: New file.
26953 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26954 include of <math/fenv.h>.
26955
caf7f573
JM
26956 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26957 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26958 && !UNIX98]. Enables tests for XOPEN2K8.
26959 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26960 POSIX2008]: Likewise.
26961
6c073ad6
JM
26962 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26963 (struct rusage): Do not expect type or its members.
26964
0155d5b2
JM
26965 [BZ #3439]
26966 * math/math.h (FP_NAN): Define macro to integer constant usable in
26967 #if and use that to give value to enum constant.
26968 (FP_INFINITE): Likewise.
26969 (FP_ZERO): Likewise.
26970 (FP_SUBNORMAL): Likewise.
26971 (FP_NORMAL): Likewise.
26972
b5dcacb4
AS
269732012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26974
26975 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26976 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26977 arguments.
26978
f7934be8
RM
269792012-11-02 Roland McGrath <roland@hack.frob.com>
26980
26981 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26982 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26983 autoconf-time if not.
26984 * configure.in: Remove AC_PREREQ.
26985
d7d08bde
TMQMF
269862012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26987
26988 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26989 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26990 of the internal implementation.
26991
dcdae19a
JM
269922012-11-02 Joseph Myers <joseph@codesourcery.com>
26993
26994 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26995 except include of <misc/sys/syslog.h>.
26996
d6cffd3e
AS
269972012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26998
26999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27000 function returns with a NULL context exit with zero.
27001
b3563932
TMQMF
270022012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27003
27004 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27005
b288a93d
L
270062012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27007
27008 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27009 (run_program_cmd): This.
27010 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27011 (tst_langinfo): New variable. Use it.
27012
a2421a68
SAS
270132012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27014
27015 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27016 floating point opcodes.
27017
6f796e1b
TS
270182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27019
7402596b
TS
27020 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27021 variable.
27022
d0d4f868
TS
27023 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27024
6f796e1b
TS
27025 * sysdeps/mach/hurd/powerpc: Remove directory.
27026 * sysdeps/mach/powerpc: Likewise.
27027
4da224a2
AS
270282012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27029
27030 * scripts/check-local-headers.sh: Ignore c++ headers.
27031
341dd673
TS
270322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27033
27034 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27035 __libc_cleanup_region_start argument.
27036
473611b2
JM
270372012-11-01 Joseph Myers <joseph@codesourcery.com>
27038
27039 [BZ #14784]
27040 [BZ #14785]
27041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27042 x * y using scaling, not as x * y + z.
27043 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27044 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27045 * math/libm-test.inc (fma_test): Add more tests.
27046 (fma_test_towardzero): Likewise.
27047 (fma_test_downward): Likewise.
27048 (fma_test_upward): Likewise.
27049
4078da3d
TS
270502012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27051
27052 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27053
903252aa
JM
270542012-10-31 Joseph Myers <joseph@codesourcery.com>
27055
27056 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27057 New variable.
27058
cbc818d0
TS
270592012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27060
27061 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27062
5a03cb1e
AS
270632012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27064
27065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27066 Fix sort order.
27067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27068 Likewise.
27069
90aff2ff
TMQMF
270702012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27071
27072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27073 Fix the order of the list for glibc 2.17.
27074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27075 Likewise.
27076
1818fcb7
AS
270772012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27078
27079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27080
ef82f4da
JM
270812012-10-31 Joseph Myers <joseph@codesourcery.com>
27082
16a0e2ec
JM
27083 [BZ #14610]
27084 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27085 for low part of x being zero before using __atanl (y).
27086 * math/libm-test.inc (atan2_test): Add another test.
27087
0eb69512
JM
27088 * manual/install.texi (Configuring and compiling): Document
27089 general use of test-wrapper and test-wrapper-env.
27090 * INSTALL: Regenerated.
27091
ef82f4da
JM
27092 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27093 (__fma): Do not extract and scale down low bits on after-rounding
27094 systems when result rounded to normal precision would have normal
27095 exponent.
27096 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27097 (__fmal): Do not extract and scale down low bits on after-rounding
27098 systems when result rounded to normal precision would have normal
27099 exponent.
27100 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27101 (__fmal): Do not extract and scale down low bits on after-rounding
27102 systems when result rounded to normal precision would have normal
27103 exponent.
27104 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27105 macro.
27106 (fma_test): Add more tests.
27107 (fma_test_towardzero): Likewise.
27108 (fma_test_downward): Likewise.
27109 (fma_test_upward): Likewise.
27110
954ef0d9
L
271112012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27112
27113 * sysdeps/i386/tininess.h: Renamed to ...
27114 * sysdeps/x86/tininess.h: This.
27115 * sysdeps/x86_64/tininess.h: Removed.
27116
df61ffb2
JM
271172012-10-30 Joseph Myers <joseph@codesourcery.com>
27118
27119 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27120 input. Use $(build-program-cmd).
27121 ($(objpfx)tst-array1-static.out): Likewise.
27122 ($(objpfx)tst-array2.out): Likewise.
27123 ($(objpfx)tst-array3.out): Likewise.
27124 ($(objpfx)tst-array4.out): Likewise.
27125 ($(objpfx)tst-array5.out): Likewise.
27126 ($(objpfx)tst-array5-static.out): Likewise.
27127
01767843
CM
271282012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27129
47cc1490
CM
27130 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27131 if defined.
27132
01767843
CM
27133 * nss/nsswitch.h (nss_interface_function): Provide new
27134 macro for use with NSS functions.
27135 * grp/initgroups.c: Use new macro.
27136 * nss/getXXbyYY.c: Likewise.
27137 * nss/getXXbyYY_r.c: Likewise.
27138 * nss/getXXent.c: Likewise.
27139 * nss/getXXent_r.c: Likewise.
27140 * sysdeps/posix/getaddrinfo.c: Likewise.
27141
8321aa97
AJ
271422012-10-30 Andreas Jaeger <aj@suse.de>
27143
27144 * po/ru.po: Update Russion translation from translation project.
27145
2a27fd6d
JM
271462012-10-30 Joseph Myers <joseph@codesourcery.com>
27147
8627a232
JM
27148 [BZ #14152]
27149 [BZ #14783]
27150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27151 result and shift together with sticky bit instead of replicating
27152 round-to-nearest rounding.
27153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27154 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27155 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27156 missing underflow exceptions.
27157 (fma_test_towardzero): Add more tests.
27158 (fma_test_downward): Likewise.
27159 (fma_test_upward): Likewise.
27160
2a27fd6d
JM
27161 [BZ #14047]
27162 * sysdeps/generic/tininess.h: New file.
27163 * sysdeps/i386/tininess.h: Likewise.
27164 * sysdeps/sh/tininess.h: Likewise.
27165 * sysdeps/x86_64/tininess.h: Likewise.
27166 * stdlib/tst-strtod-underflow.c: Likewise.
27167 * stdlib/tst-tininess.c: Likewise.
27168 * stdlib/strtod_l.c: Include <tininess.h>.
27169 (round_and_return): Do not set errno for exact underflow cases.
27170 Force an underflow exception when setting errno for underflow.
27171 Determine underflow based on rounding to normal precision if
27172 TININESS_AFTER_ROUNDING.
27173 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27174 ERANGE for exact underflow cases.
27175 * stdlib/Makefile (tests): Add tst-tininess and
27176 tst-strtod-underflow.
27177 ($(objpfx)tst-tininess): Use $(link-libm).
27178 ($(objpfx)tst-strtod-underflow): Likewise.
27179
e7170363
AJ
271802012-10-30 Andreas Jaeger <aj@suse.de>
27181
e5088dc6
AJ
27182 [BZ#14767]
27183 * elf/Makefile (tests): Remove conditional for have-initfini-array
27184 since this is now always required and the variable does not exist
27185 anymore.
27186 (tests-static): Likewise.
27187 (modules-names): Likewise.
27188
e7170363 27189 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
27190
27191 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27192 merged with constructor/destructor.
27193 (init_array): Likewise.
27194 * elf/tst-array2dep.c (fini_array): Likewise.
27195 (init_array): Likewise.
27196
60457d8a
MF
271972012-10-29 Mike Frysinger <vapier@gentoo.org>
27198
27199 * manual/message.texi: Delete @cartouche tags.
27200
8bece752
PT
272012012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27202
94ce799f
PT
27203 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27204 EOPNOTSUPP.
27205 * sysdeps/mach/hurd/fsync.c: Likewise.
27206
8bece752
PT
27207 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27208 [_POSIX_REALTIME_SIGNALS]: Change condition to
27209 [_POSIX_REALTIME_SIGNALS > 0].
27210
86ebe6b1
AJ
272112012-10-27 Andreas Jaeger <aj@suse.de>
27212
27213 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27214 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27216 [__WORDSIZE != 64]: Likewise.
27217
54399c08
L
272182012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27219
27220 * iconvdata/tst-table.sh: Remove ${SHELL}.
27221 * iconvdata/tst-tables.sh: Likewise.
27222
e2211bed
DM
272232012-10-25 David S. Miller <davem@davemloft.net>
27224
27225 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27226 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27227 of strtoull.
27228
f303f97c
DM
27229 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27230 ifunc-impl-list.c
27231 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27232 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27233 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27234 file.
27235
1e9d84cd
RM
272362012-10-25 Roland McGrath <roland@hack.frob.com>
27237
27238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27239 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27240 __getdirentries.
27241
df381762
JM
272422012-10-25 Joseph Myers <joseph@codesourcery.com>
27243 Jim Blandy <jimb@codesourcery.com>
27244
27245 * scripts/cross-test-ssh.sh: New file.
27246 * manual/install.texi (Configuring and compiling): Document use of
27247 cross-test-ssh.sh.
27248 * INSTALL: Regenerated.
27249
bff64913
PT
272502012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27251
27252 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27253 EOPNOTSUPP.
27254
25fe8932
JM
272552012-10-25 Joseph Myers <joseph@codesourcery.com>
27256
27257 * Makeconfig (run-program-prefix): Fix comment.
27258
cc1290d0
JM
272592012-10-24 Joseph Myers <joseph@codesourcery.com>
27260 Jim Blandy <jimb@codesourcery.com>
27261
27262 * Makeconfig (test-wrapper): New variable,
27263 (test-wrapper-env): Likewise.
27264 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27265 (run-built-tests): Define to yes.
27266 (run-program-prefix): Use $(test-wrapper).
27267 (built-program-cmd): Likewise.
27268 * Rules (make-test-out): Use $(test-wrapper-env) and
27269 $(host-built-program-cmd).
27270 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27271 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27272 tst-pathopt.sh.
27273 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27274 $(test-wrapper-env) to tst-rtld-load-self.sh.
27275 ($(objpfx)order2.out): Use $(test-wrapper).
27276 ($(objpfx)tst-initorder.out): Likewise.
27277 ($(objpfx)tst-initorder2.out): Likewise.
27278 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27279 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27280 (test_wrapper_env): New variable. Use it to run ld.so.
27281 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27282 Use it to run ld.so.
27283 (test_wrapper_env): Likewise.
27284 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27285 $(test-wrapper) to run-iconv-test.sh.
27286 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27287 (ICONV): Use $test_wrapper.
27288 * posix/Makefile ($(objpfx)globtest.out): Pass
27289 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27290 globtest.sh, not $(run-program-prefix).
27291 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27292 (test_wrapper): Likewise.
27293 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27294 set together with run_via_rtld_prefix.
27295 (run_program_prefix): Define in terms of test_wrapper and
27296 run_via_rtld_prefix.
27297
6e6249d0
RM
272982012-10-24 Roland McGrath <roland@hack.frob.com>
27299
27300 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27301 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27302 Targets removed.
27303
27304 [BZ #14743]
27305 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27306 Declare __clock_getres, __clock_gettime, __clock_settime,
27307 __clock_nanosleep, and __clock_getcpuclockid.
27308 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27309 Remove librt_hidden_def (clock_gettime).
27310 * sysdeps/unix/clock_gettime.c: Likewise.
27311 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27312 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27313 * rt/clock_getres.c: Define __clock_getres as an alias.
27314 * sysdeps/posix/clock_getres.c: Likewise.
27315 * rt/clock_settime.c: Define __clock_settime as an alias.
27316 * sysdeps/unix/clock_settime.c: Likewise.
27317 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27318 * sysdeps/unix/clock_nanosleep.c: Likewise.
27319 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27320 * rt/clock-compat.c: New file.
27321 * rt/Makefile (librt-routines): Add clock-compat and move
27322 $(clock-routines) to ...
27323 (routines): ... here, new variable.
27324 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27325 Don't add get_clockfreq here.
27326 * rt/Versions (libc: GLIBC_2.17): New version set.
27327 Add clock_* symbols here.
27328 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27329 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27330 (GLIBC_2.17): Add clock_* symbols.
27331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27333 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27335 Likewise.
27336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27337 Likewise.
27338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27342 * NEWS: Mention the move.
27343
27344 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27345 Use __open, __read, __close rather than their public counterparts.
27346 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27347 (__get_clockfreq_via_cpuinfo): Likewise.
27348 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27349 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27350
27351 * config.h.in (HAVE_IFUNC): New #undef.
27352 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27353 was successful.
27354 * configure: Regenerated.
27355
0cae3f4b
MF
273562012-10-24 Mike Frysinger <vapier@gentoo.org>
27357
27358 * configure.in: Move READELF check to start of file.
27359 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27360 libc_cv_asm_gnu_indirect_function in the process.
27361 * configure: Regenerated.
27362
8175a253
MF
273632012-10-24 Mike Frysinger <vapier@gentoo.org>
27364
27365 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27366 send the output to /dev/null.
27367 (libc_cv_cc_with_libunwind): Likewise.
27368 (libc_cv_as_noexecstack): Likewise.
27369 * configure: Regenerate.
27370
0708a7d1
JM
273712012-10-24 Joseph Myers <joseph@codesourcery.com>
27372
10b40d85
JM
27373 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27374
0708a7d1
JM
27375 * posix/globtest.sh (TMPDIR): Do not set.
27376 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27377 (testout): Likewise.
27378
9fddec1a
AJ
273792012-10-24 Andreas Jaeger <aj@suse.de>
27380
3a8db22f
AJ
27381 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27382 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27383 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27384 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27385 posix_fadvise64, posix_fallocate64.
27386
9fddec1a
AJ
27387 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27388 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27389 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27390 Likewise.
27391 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27392 Likewise.
27393 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27394
27395 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27396 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27397 <bits/fcntl-linux.h>.
27398 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27399
27400 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27401 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27402 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27403 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27404 [__WORDSIZE != 64]: Likewise.
27405
ebfd1bbd
JM
274062012-10-23 Joseph Myers <joseph@codesourcery.com>
27407
03ac099f
JM
27408 * Makeconfig (run-built-tests): New variable.
27409 * Rules [$(cross-compiling) = yes]: Change condition to
27410 [$(run-built-tests) = no].
27411 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27412 to [$(run-built-tests) = yes].
27413 * elf/Makefile [$(cross-compiling) = no]: Likewise
27414 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27415 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27416 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27417 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27418 * io/Makefile [$(cross-compiling) = no]: Likewise.
27419 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27420 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27421 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27422 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27423 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27424 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27425 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27426 * string/Makefile [$(cross-compiling) = no]: Likewise.
27427
ebfd1bbd
JM
27428 * posix/Makefile ($(objpfx)globtest.out): Pass
27429 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27430 $(rtld-installed-name).
27431 * posix/globtest.sh (elf_objpfx): Remove variable.
27432 (rtld_installed_name): Likewise.
27433 (library_path): Likewise.
27434 (run_program_prefix): New variable. Use for running globtest
27435 binary.
27436
166bca24
JB
274372012-10-23 Jim Blandy <jimb@codesourcery.com>
27438 Joseph Myers <joseph@codesourcery.com>
27439
27440 * Makeconfig (host-built-program-cmd): New variable.
27441 * elf/Makefile (tst-stackguard1-ARGS): Use
27442 $(host-built-program-cmd).
27443 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27444 (tst-spawn-ARGS): Likewise.
27445 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27446
88866099
JM
274472012-10-23 Joseph Myers <joseph@codesourcery.com>
27448 Jim Blandy <jimb@codesourcery.com>
27449
27450 * Makeconfig (run-via-rtld-prefix): New variable.
27451 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27452 (built-program-cmd): Likewise.
27453
b4b4c296
AJ
274542012-10-22 Andreas Jaeger <aj@suse.de>
27455
27456 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27457 __O_RSYNC if it exists, otherwise to O_SYNC.
27458
6fb54a22
JB
274592012-10-22 Jim Blandy <jimb@codesourcery.com>
27460 Joseph Myers <joseph@codesourcery.com>
27461
27462 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27463 /dev/null.
27464 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27465 from /dev/null
27466 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27467 /dev/null.
27468
481b90b9
AJ
274692012-10-22 Andreas Jaeger <aj@suse.de>
27470
2a0e2669
AJ
27471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27472 Define always.
27473 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27474
76e38f9a
AJ
27475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27476 bits/fcntl-linux.h.
27477
7cd37b43
AJ
27478 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27479 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27480
481b90b9
AJ
27481 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27482 to __O_LARGEFILE.
27483 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27484 to __O_LARGEFILE.
27485
aba75984
JB
274862012-10-21 Jim Blandy <jimb@codesourcery.com>
27487 Joseph Myers <joseph@codesourcery.com>
27488
27489 * config.make.in (NM): New variable.
27490
88d4247f
AJ
274912012-10-21 Andreas Jaeger <aj@suse.de>
27492
27493 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27494 definitions and declarations that are provided by
27495 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27496
f2eed205
L
274972012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27498
27499 [BZ #14683]
27500 * elf/Makefile (tests-static): Add tst-leaks1-static.
27501 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27502 ($(objpfx)tst-leaks1-static): New rule.
27503 ($(objpfx)tst-leaks1-static-mem): Likewise.
27504 (tst-leaks1-static-ENV): New macro.
27505 * elf/dl-open.c (dl_open_worker): Check the main application
27506 only if SHARED is defined.
27507 * elf/tst-leaks1-static.c: New file.
27508
335e6931
AJ
275092012-10-20 Andreas Jaeger <aj@suse.de>
27510
27511 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27512 generic values for Linux.
27513 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27514 and declarations that are provided by <bits/fcntl-linux.h> and
27515 include <bits/fcntl-linux.h>.
27516 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27517 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27518
ac5c94d3
RM
275192012-10-20 Roland McGrath <roland@hack.frob.com>
27520
27521 * io/fcntl.h: Move include of <bits/types.h> to the top and
27522 include it unconditionally.
27523
de54b33a
L
275242012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27525
228cfb01
L
27526 * wcsmbs/Makefile (tests-ifunc): New variable.
27527 (tests): Add $(tests-ifunc).
27528 * wcsmbs/test-wcschr-ifunc.c: New file.
27529 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27530 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27531 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27532 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27533 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27534
69f07e5f
L
27535 * string/Makefile (tests-ifunc): New variable.
27536 (tests): Add $(tests-ifunc).
27537 * string/test-memccpy.c (TEST_NAME): New macro.
27538 * string/test-memchr.c (TEST_NAME): Likewise.
27539 * string/test-memcmp.c (TEST_NAME): Likewise.
27540 * string/test-memcpy.c (TEST_NAME): Likewise.
27541 * string/test-memmem.c (TEST_NAME): Likewise.
27542 * string/test-memmove.c (TEST_NAME): Likewise.
27543 * string/test-memset.c (TEST_NAME): Likewise.
27544 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27545 * string/test-stpcpy.c (TEST_NAME): Likewise.
27546 * string/test-stpncpy.c (TEST_NAME): Likewise.
27547 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27548 * string/test-strcasestr.c (TEST_NAME): Likewise.
27549 * string/test-strcat.c (TEST_NAME): Likewise.
27550 * string/test-strchr.c (TEST_NAME): Likewise.
27551 * string/test-strcmp.c(TEST_NAME): Likewise.
27552 * string/test-strcpy.c (TEST_NAME): Likewise.
27553 * string/test-strcspn.c (TEST_NAME): Likewise.
27554 * string/test-strlen.c (TEST_NAME): Likewise.
27555 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27556 * string/test-strncmp.c (TEST_NAME): Likewise.
27557 * string/test-strncpy.c (TEST_NAME): Likewise.
27558 * string/test-strnlen.c (TEST_NAME): Likewise.
27559 * string/test-strpbrk.c (TEST_NAME): Likewise.
27560 * string/test-strrchr.c (TEST_NAME): Likewise.
27561 * string/test-strspn.c (TEST_NAME): Likewise.
27562 * string/test-strstr.c (TEST_NAME): Likewise.
27563 * string/test-bcopy-ifunc.c: New file.
27564 * string/test-bzero-ifunc.c: Likewise.
27565 * string/test-memccpy-ifunc.c: Likewise.
27566 * string/test-memchr-ifunc.c: Likewise.
27567 * string/test-memcmp-ifunc.c: Likewise.
27568 * string/test-memcpy-ifunc.c: Likewise.
27569 * string/test-memmem-ifunc.c: Likewise.
27570 * string/test-memmove-ifunc.c: Likewise.
27571 * string/test-mempcpy-ifunc.c: Likewise.
27572 * string/test-memset-ifunc.c: Likewise.
27573 * string/test-rawmemchr-ifunc.c: Likewise.
27574 * string/test-stpcpy-ifunc.c: Likewise.
27575 * string/test-stpncpy-ifunc.c: Likewise.
27576 * string/test-strcasecmp-ifunc.c: Likewise.
27577 * string/test-strcasestr-ifunc.c: Likewise.
27578 * string/test-strcat-ifunc.c: Likewise.
27579 * string/test-strchr-ifunc.c: Likewise.
27580 * string/test-strchrnul-ifunc.c: Likewise.
27581 * string/test-strcmp-ifunc.c: Likewise.
27582 * string/test-strcpy-ifunc.c: Likewise.
27583 * string/test-strcspn-ifunc.c: Likewise.
27584 * string/test-strlen-ifunc.c: Likewise.
27585 * string/test-strncasecmp-ifunc.c: Likewise.
27586 * string/test-strncat-ifunc.c: Likewise.
27587 * string/test-strncmp-ifunc.c: Likewise.
27588 * string/test-strncpy-ifunc.c: Likewise.
27589 * string/test-strnlen-ifunc.c: Likewise.
27590 * string/test-strpbrk-ifunc.c: Likewise.
27591 * string/test-strrchr-ifunc.c: Likewise.
27592 * string/test-strspn-ifunc.c: Likewise.
27593 * string/test-strstr-ifunc.c: Likewise.
27594
de54b33a
L
27595 * debug/Makefile (tests-ifunc): New variable.
27596 (tests): Add $(tests-ifunc).
27597 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27598 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27599 * debug/test-stpcpy_chk-ifunc.c: New file.
27600 * debug/test-strcpy_chk-ifunc.c: Likewise.
27601
88481c16
SP
276022012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27603
27604 [BZ #13601]
27605 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27606 header is not read in.
27607
135948bd
JM
276082012-10-19 Joseph Myers <joseph@codesourcery.com>
27609
89f1c388
JM
27610 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27611 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27612 directly. Pass built executable to script as
27613 $(built-program-cmd).
27614 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27615 $testprogram without using LD_LIBRARY_PATH and $ldso.
27616
e40a0d21
JM
27617 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27618 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27619 $(rtld-installed-name).
27620 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27621 (rtld_installed_name): Likewise.
27622 (library_path): Likewise.
27623 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27624 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27625 $(run-program-prefix) to tst-tables.sh.
27626 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27627 it to run tst-table-from and tst-table-to.
27628 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27629 Pass it to tst-table.sh.
27630 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27631 $(run-program-prefix) to tst-gettext.sh.
27632 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27633 tst-translit.sh.
27634 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27635 tst-gettext2.sh.
27636 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27637 to run tst-gettext.
27638 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27639 to run tst-gettext2.
27640 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27641 to run tst-translit.
27642 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27643 $(run-program-prefix) to tst-mtrace.sh.
27644 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27645 to run tst-mtrace.
27646 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27647 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27648 $(rtld-installed-name).
27649 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27650 (rtld_installed_name): Likewise.
27651 (run_program_prefix): New variable. Use it to run wordexp-test.
27652
728e272a
JM
27653 * Makeconfig (ARCH): Remove all definitions.
27654 (machine): Likewise.
27655 [ARCH]: Remove conditional code.
27656 [!objdir]: Give error.
27657 [!objdir] (objpfx): Remove.
27658 [!objdir] (common-objpfx): Likewise.
27659 [!objdir] (common-objdir): Likewise.
27660 * configure.in (config_makefile): Remove. Hardcode Makefile in
27661 AC_CONFIG_FILES call.
27662 * configure: Regenerated.
27663
d528cdcf
JM
27664 [BZ #13888]
27665 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27666 or TMPDIR.
27667 (testout): Likewise.
27668
135948bd
JM
27669 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27670 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27671 $(rtld-installed-name).
27672 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27673 (rtld_installed_name): Likwise.
27674 (runit): Remove function.
27675 (run_getconf): New variable, Use it for running getconf binary.
27676
38c78296
L
276772012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27678
27679 [BZ #14716]
27680 * string/test-memmem.c (check_result): New function.
27681 (do_one_test): Use it.
27682 (check1): New function.
27683 (test_main): Use it.
27684
d077f65f
MT
276852012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27686
27687 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27688
ced52c71
JM
276892012-10-18 Joseph Myers <joseph@codesourcery.com>
27690
27691 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27692 (_G_LSEEK64): Likewise.
27693 (_G_MMAP64): Likewise.
27694 (_G_FSTAT64): Likewise.
27695 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27696 (_G_LSEEK64): Likewise.
27697 (_G_MMAP64): Likewise.
27698 (_G_FSTAT64): Likewise.
27699 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27700 unconditional. Call __mmap64 directly.
27701 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27702 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27703 __lseek64 directly.
27704 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27705 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27706 __mmap64 directly.
27707 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27708 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27709 __lseek64 directly.
27710 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27711 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27712 __lseek64 directly.
27713 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27714 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27715 __lseek64 directly.
27716 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27717 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27718 __fxstat64 directly.
27719 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27720 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27721 unconditional.
27722 (freopen64) [!_G_OPEN64]: Remove conditional code.
27723 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27724 unconditional.
27725 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27726 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27727 unconditional.
27728 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27729 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27730 unconditional.
27731 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27732 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27733 unconditional.
27734 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27735 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27736 unconditional.
27737 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27738 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27739 unconditional.
27740 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27741 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27742 unconditional.
27743 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27744
b741de23
SP
277452012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27746
27747 [BZ #12140]
27748 * manual/memory.texi (Malloc Tunable Parameters): Add note
27749 about free list pointers overwriting some perturb bytes.
27750 Wording suggested by Roland McGrath.
27751
f9b9d9c9
JM
277522012-10-17 Joseph Myers <joseph@codesourcery.com>
27753
27754 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27755 (lgamma_test): Likewise.
27756 (tgamma_test): Likewise.
27757
172a631a
FW
277582012-10-16 Florian Weimer <fweimer@redhat.com>
27759
27760 [BZ #14700]
27761 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27762 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27763
e9f37252
MK
277642012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
27765
27766 * NEWS: Mention BZ #14716.
27767 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27768 when removing AVAILABLE1_USES_J macro.
27769
d394eb74
L
277702012-10-12 H.J. Lu <hongjiu.lu@intel.com>
27771
27772 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27773 (__bswap_64): __uint64_t for unsigned 64-bit int.
27774
ca38dc17
AS
277752012-10-12 Andreas Schwab <schwab@linux-m68k.org>
27776
27777 * include/string.h (memmem): Declare libc hidden alias.
27778 * string/memmem.c (memmem): Define libc hidden alias.
27779 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27780 __read, __close instead of open, read, close.
27781
9a387d1f
L
277822012-10-11 H.J. Lu <hongjiu.lu@intel.com>
27783
ac49ecaf
L
27784 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27785 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27786 global and hidden.
27787 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27788 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27789 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27790 Likewise.
27791 (__rawmemchr_sse2): Likewise.
27792 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27793 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27794 (__strchr_sse2): Likewise.
27795 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27796 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27797 (__strcasecmp_sse2): Likewise.
27798 (__strncasecmp_sse2): Likewise.
27799 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27800 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27801 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27802 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27803 (__strrchr_sse2): Likewise.
27804 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27805 ifunc-impl-list.c.
27806 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27807 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27808 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27809 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27810 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27811 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27812 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27813 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27814 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27815 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27816 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27817 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27818 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27819 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27820 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27821 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27822 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27823 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27824 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27825 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27826 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27827 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27828 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27829 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27830 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27831 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27832 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27833 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27834 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27835 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27836
b090e8ea
L
27837 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27838 global and hidden.
27839 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27840 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27841 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27842 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27843 Likewise.
27844 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27845 Likewise.
27846 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27847 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27848 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27849 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27850 ifunc-impl-list.c.
27851 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27852 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27853 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27854 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27855 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27856 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27857 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27858 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27859 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27860 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27861 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27862 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27863 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27864 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27865 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27866 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27867 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27868 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27869 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27870 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27871 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27872 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27873 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27874 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27875 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27876 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27877 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27878 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27879 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27880 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27881 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27882 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27883 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27884 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27885 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27886 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27887 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27888 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27889 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27890 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27891 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27892
11dd4af6
L
27893 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27894 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27895 * include/ifunc-impl-list.h: New file.
27896 * misc/ifunc-impl-list.c: Likewise.
27897 * misc/Makefile (routines): Add ifunc-impl-list.
27898 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27899 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
27900 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27901 TEST_NAME]: New variables.
11dd4af6
L
27902 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27903 are defined.
27904 (test_init): Call __libc_ifunc_impl_list to initialize
27905 func_list if TEST_IFUNC and TEST_NAME are defined.
27906
9a387d1f
L
27907 * string/Makefile (strop-tests): Add bcopy and bzero.
27908 * string/test-bcopy.c: New file.
27909 * string/test-bzero.c: Likewise.
27910 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27911 defined.
27912 * string/test-memset.c: Support bzero test if TEST_BZERO is
27913 defined.
27914 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27915 __libc_memmove.
27916 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27917 __libc_memset.
27918 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27919 of memset.
27920
472371b9
JM
279212012-10-10 Joseph Myers <joseph@codesourcery.com>
27922
1e4a9536
JM
27923 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27924 * configure: Regenerated.
27925
d173d12e
JM
27926 * Makeconfig (+link-static-before-libc): Don't include
27927 $(link-static-libc).
27928
472371b9
JM
27929 * libio/libio.h (_IO_pos_t): Remove.
27930
89a3ad0b
AO
279312012-10-10 Alexandre Oliva <aoliva@redhat.com>
27932
27933 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27934 McGrath.
27935
e7451425
AO
279362012-10-10 Alexandre Oliva <aoliva@redhat.com>
27937
27938 * crypt/crypt-entry.c: Include fips-private.h.
27939 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27940 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27941 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27942 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27943
4ba74a35
AO
279442012-10-10 Alexandre Oliva <aoliva@redhat.com>
27945
27946 * crypt/crypt-private.h: Include stdbool.h.
27947 (_ufc_setup_salt_r): Return bool.
27948 * crypt/crypt-entry.c: Include errno.h.
27949 (__crypt_r): Return NULL with EINVAL for bad salt.
27950 * crypt/crypt_util.c (bad_for_salt): New.
27951 (_ufc_setup_salt_r): Check that salt is long enough and within
27952 the specified alphabet.
27953 * crypt/badsalttest.c: New file.
27954 * crypt/Makefile (tests): Add it.
27955 ($(objpfx)badsalttest): New.
27956
f96f1242
MK
279572012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27958
27959 * NEWS: Add entry for BZ #14602.
27960
0e8e0c1c
JM
279612012-10-09 Joseph Myers <joseph@codesourcery.com>
27962
27963 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27964 type-generic.
27965 * math/libm-test.inc: Update comment listing what functions and
27966 macros are tested.
27967 (isgreater_test): New function.
27968 (isgreaterequal_test): Likewise.
27969 (isless_test): Likewise.
27970 (islessequal_test): Likewise.
27971 (islessgreater_test): Likewise.
27972 (isunordered_test): Likewise.
27973 (main): Call the new functions.
27974
273edc5e
RM
279752012-10-09 Roland McGrath <roland@hack.frob.com>
27976
b8493de0
RM
27977 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27978 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27979 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27980 * sysdeps/i386/configure: Regenerated.
27981 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27982 * sysdeps/mach/configure: Regenerated.
27983 * sysdeps/mach/hurd/configure: Regenerated.
27984 * sysdeps/powerpc/configure: Regenerated.
27985 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27986 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27987 * sysdeps/s390/s390-32/configure: Regenerated.
27988 * sysdeps/s390/s390-64/configure: Regenerated.
27989 * sysdeps/sh/configure: Regenerated.
27990 * sysdeps/sparc/configure: Regenerated.
27991 * sysdeps/unix/sysv/linux/configure: Regenerated.
27992 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27993 * sysdeps/x86_64/configure: Regenerated.
27994
273edc5e
RM
27995 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27996 defined. Don't check if MAP is NULL.
27997
c8450f70
JM
279982012-10-09 Joseph Myers <joseph@codesourcery.com>
27999
28000 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28001 (_G_stat64): Likewise.
28002 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28003 (_G_stat64): Likewise.
28004 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28005 instead of struct _G_stat64.
28006 * libio/fileops.c (mmap_remap_check): Likewise.
28007 (decide_maybe_mmap): Likewise.
28008 (_IO_new_file_seekoff): Likewise.
28009 (_IO_file_stat): Likewise.
28010 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28011 _G_off64_t.
28012 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28013 instead of struct _G_stat64.
28014 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28015
57e605ba
MK
280162012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28017
28018 [BZ #14602]
28019 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28020 Replace with ...
28021 (CHECK_EOL): New macro.
28022 (two_way_short_needle): Check beginning of haystack for EOL. Use
28023 CHECK_EOL.
28024 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28025 Replace with CHECK_EOL.
28026 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28027 Replace with CHECK_EOL.
28028
ef1bb361
JM
280292012-10-08 Joseph Myers <joseph@codesourcery.com>
28030
28031 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28032 type-generic.
28033 * math/libm-test.inc: Update comment listing what functions and
28034 macros are tested.
28035 (finite_test): New function.
28036 (isinf_test): Likewise.
28037 (isnan_test): Likewise.
28038 (fpclassify_test): Test subnormal input.
28039 (isfinite_test): Likewise.
28040 (isnormal_test): Likewise.
28041 (main): Call the new functions.
28042
55f11534
JN
280432012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28044
28045 [BZ #14660]
28046 * Makerules (%.dynsym): Force C locale when running
28047 $(OBJDUMP) --dynamic-syms.
28048
1ab29350
AS
280492012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28050
28051 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28052 <stdint.h>.
28053
f1ecb7ef
DM
280542012-10-06 David S. Miller <davem@davemloft.net>
28055
28056 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28057 upper 32-bits of the length value in %o2 since we use branch-on-register
28058 tests which consider the entire 64-bit register.
28059
5d41d91a
L
280602012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28061
28062 * string/test-strstr.c (check2): Add a test for page boundary.
28063
3baddb72
DM
280642012-10-05 David S. Miller <davem@davemloft.net>
28065
28066 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28067 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28068 file.
28069 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28070 sysdep_routines.
28071 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28072 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28073 and bzero when HWCAP_SPARC_CRYPTO is present.
28074
9cee5585
L
280752012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28076
d7e0dab9
L
28077 [BZ #14602]
28078 * string/test-strstr.c (check2): New function.
28079 (test_main): Call check2.
28080
03759f47
L
28081 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28082 and bug-strchr1.
28083 * string/bug-strcasestr1.c (do_test): Moved to ...
28084 * string/test-strcasestr.c (check1): Here. New function.
28085 (do_one_test): Break out result checking code into ...
28086 (check_result): This. New function.
28087 (do_one_test): Call check_result.
28088 (test_main): Call check1.
28089 * string/bug-strchr1.c (do_test): Moved to ...
28090 * string/test-strchr.c (check1): Here. New function.
28091 (do_one_test): Break out result checking code into ...
28092 (check_result): This. New function.
28093 (do_one_test): Call check_result.
28094 (test_main): Call check1.
28095 * string/bug-strstr1.c (main): Moved to ...
046f153e 28096 * string/test-strstr.c (check1): Here. New function.
03759f47
L
28097 (do_one_test): Break out result checking code into ...
28098 (check_result): This. New function.
28099 (do_one_test): Call check_result.
28100 (test_main): Call check1.
28101 * string/bug-strcasestr1.c: Removed.
28102 * string/bug-strchr1.c: Likewise.
28103 * string/bug-strstr1.c: Likewise.
28104
53cea63e
L
28105 * elf/Makefile (dl-routines): Add hwcaps.
28106 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28107 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28108 (_dl_important_hwcaps): Moved to ...
28109 * elf/dl-hwcaps.c: Here. New file.
28110 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28111
9cee5585 28112 [BZ #14557]
bb859b06
L
28113 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28114 if IS_IN_rtld isn't defined.
28115
9cee5585
L
28116 * elf/dl-support.c (_dl_sysinfo_map): New.
28117 Include "get-dynamic-info.h" and "setup-vdso.h".
28118 (_dl_non_dynamic_init): Call setup_vdso.
28119 * elf/dynamic-link.h: Don't include <assert.h>.
28120 (elf_get_dynamic_info): Moved to ...
28121 * elf/get-dynamic-info.h: Here. New file.
28122 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28123 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28124 * elf/setup-vdso.h: Here. New file.
28125 * elf/rtld.c: Include "setup-vdso.h".
28126 (dl_main): Call setup_vdso.
28127
23c31b76
JM
281282012-10-05 Joseph Myers <joseph@codesourcery.com>
28129
28234b07
JM
28130 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28131 creal in comment listing functions tested. List finite, isinf,
28132 isnan, isless, islessequal, isgreater, isgreaterequal,
28133 islessgreater, isunordered, lgamma_r and pow10 as functions and
28134 macros not tested. Mention which functions not tested are aliases
28135 for other functions. Fix typo. Note that signs of NaNs are not
28136 tested.
28137
23c31b76
JM
28138 * scripts/config.guess: Update from config.git.
28139 * scripts/config.sub: Likewise.
28140
9043e228
RM
281412012-10-04 Roland McGrath <roland@hack.frob.com>
28142
28143 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28144 * misc/madvise.c (madvise): Renamed to __madvise.
28145 Make madvise a weak alias.
28146 * include/sys/mman.h: Declare __madvise.
28147 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28148 * sysdeps/unix/syscalls.list
28149 (madvise): Make __madvise the strong name, and madvise a weak alias.
28150 * sysdeps/unix/sysv/linux/syscalls.list
28151 (madvise, mmap): Remove redundant entries.
28152 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28153 * malloc/malloc.c (mtrim): Likewise.
28154 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28155
f57f8055
RM
281562012-10-03 Roland McGrath <roland@hack.frob.com>
28157
28158 * sysdeps/mach/hurd/dl-cache.c: File removed.
28159 * config.h.in (USE_LDCONFIG): New #undef.
28160 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28161 * configure: Regenerated.
28162 * elf/Makefile (dl-routines): Add dl-cache only under
28163 [$(use-ldconfig) = yes].
28164 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28165 cache on [USE_LDCONFIG].
28166 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28167 [USE_LDCONFIG].
28168 * elf/rtld.c (dl_main): Likewise.
28169
5bb0c10a
PT
281702012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28171
28172 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28173 _SC_LEVEL4_CACHE_LINESIZE.
28174
010188c6
RM
281752012-10-03 Roland McGrath <roland@hack.frob.com>
28176
28177 * sysdeps/unix/bsd/confstr.h: File removed.
28178
b6c5ec07
AO
281792012-10-02 Alexandre Oliva <aoliva@redhat.com>
28180
28181 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28182 sys/sdt-config.h.
28183
408223d4
RM
281842012-10-02 Roland McGrath <roland@hack.frob.com>
28185
28186 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28187 Make 'mapoff' field ElfW(Off) rather than off_t.
28188
bb9510dc
DL
281892012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28190
fc997c6e
DL
28191 * nscd/Makefile: Remove nscd-cflags and all its users.
28192 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28193 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28194
bb9510dc
DL
28195 [BZ #10631]
28196 * malloc.c (malloc_printerr): Clarify error message.
28197
05699367
L
281982012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28199
28200 [BZ #14648]
28201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28202 Set bit_FMA_Usable if FMA is supported.
28203 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28204 macro.
28205 (bit_FMA4_Usable): Updated.
28206 (index_FMA_Usable): New macro.
28207 (CPUID_FMA): Likewise
28208 (HAS_FMA): Defined with bit_FMA_Usable.
28209
51367701
RM
282102012-10-01 Roland McGrath <roland@hack.frob.com>
28211
28212 * bits/types.h (__swblk_t): Type removed.
28213 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28214 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28215 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28216 (__SWBLK_T_TYPE): Likewise.
28217 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28218 (__SWBLK_T_TYPE): Likewise.
28219 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28220 (__SWBLK_T_TYPE): Likewise.
28221 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28222 (__SWBLK_T_TYPE): Likewise.
28223
4d57bf63 282242012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 28225 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
28226
28227 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28228 (xdr_mapname): Use YPMAXMAP as maxsize.
28229 (xdr_peername): Use YPMAXPEER as maxsize.
28230 (xdr_keydat): Use YPAXRECORD as maxsize.
28231 (xdr_valdat): Use YPMAXRECORD as maxsize.
28232
93c65d43
RM
282332012-10-01 Roland McGrath <roland@hack.frob.com>
28234
497a03d6
RM
28235 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28236
93c65d43
RM
28237 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28238 * csu/init-first.c: ... here.
28239 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28240 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28241 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28242 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28243 * sysdeps/i386/init-first.c: File removed.
28244 * sysdeps/sh/init-first.c: File removed.
28245
bec749fd
JM
282462012-10-01 Joseph Myers <joseph@codesourcery.com>
28247
28248 [BZ #14645]
28249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28250 if x * y might underflow to zero and z is zero.
28251 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28252 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28253 * math/libm-test.inc (min_subnorm_value): New variable.
28254 (fma_test): Add more tests.
28255 (fma_test_towardzero): Likewise.
28256 (fma_test_downward): Likewise
28257 (fma_test_upward): Likewise.
28258 (initialize): Set min_subnorm_value.
28259
8ec5b013
JM
282602012-09-29 Joseph Myers <joseph@codesourcery.com>
28261
28262 [BZ #14638]
28263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28264 0 + 0.
28265 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28266 mode for addition resulting in exact zero.
28267 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28268 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28269 exact 0 + 0.
28270 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28271 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28272 * math/libm-test.inc (fma_test): Add more tests.
28273 (fma_test_towardzero): New function.
28274 (fma_test_downward): Likewise.
28275 (fma_test_upward): Likewise.
28276 (main): Call the new functions.
28277
b1fa802e
DM
282782012-09-28 David S. Miller <davem@davemloft.net>
28279
28280 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28281
d3b9fd9e
RM
282822012-09-28 Roland McGrath <roland@hack.frob.com>
28283
ea4d37b3
RM
28284 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28285 instead of SIGALRM.
28286
ac51c949
RM
28287 * sysdeps/gnu/_G_config.h: Moved to ...
28288 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28289 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28290 * sysdeps/generic/_G_config.h: ... here.
28291
28c195f7
RM
28292 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28293
848917f9
RM
28294 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28295
6bacf05b
RM
28296 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28297 Conditionalize target on [libnss_test1.so-version].
28298
91363dbb
RM
28299 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28300
cc87f7d8
RM
28301 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28302 (elfobjdir): Move out of conditionals.
28303
b1c608fe
RM
28304 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28305 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28306 (__nss_lookup_function): Conditionalize label remove_from_tree on
28307 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 28308
1d9a6d96
DM
283092012-09-28 David S. Miller <davem@davemloft.net>
28310
28311 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28312 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28313 file.
28314 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28315 sysdep_routines.
28316 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28317 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28318 when HWCAP_SPARC_CRYPTO is present.
28319
72581615
PT
283202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28321
28322 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28323
715a900c
JL
283242012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28325
28326 [BZ #6530]
28327 * stdio-common/vfprintf.c (process_string_arg): Revert
28328 2000-07-22 change.
28329
283302011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28331
28332 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28333 for testcase.
28334 * stdio-common/tst-sprintf.c: Include <locale.h>
28335 (main): Test sprintf's handling of incomplete multibyte
28336 characters.
28337
9bac1d86
L
283382012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28339
28340 * elf/dl-runtime.c (VERSYMIDX): Removed.
28341 * elf/dl-version.c (VERSYMIDX): Likewise.
28342 * elf/do-rel.h (VERSYMIDX): Likewise.
28343 (VALIDX): Likewise.
28344 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28345 * elf/rtld.c (VALIDX): Likewise.
28346 (ADDRIDX): Likewise.
9bac1d86
L
28347 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28348 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28349 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
28350 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28351 (VALIDX): Likewise.
28352 (ADDRIDX): Likewise.
9bac1d86 28353
b31606c0
PT
283542012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28355
28356 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28357
11541177
JL
283582012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28359
28360 [BZ #11438]
28361 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28362 to global scope.
28363 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28364 addresses are in the same scope as 192.0.2/24.
28365 * posix/gai.conf: Document new scope table defaults.
28366
adb26fae
SP
283672012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28368
28369 [BZ #5298]
28370 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28371 for ftell. Compute offsets from write pointers instead.
28372 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28373
4573c6b0
SP
283742012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28375
28376 [BZ #14543]
28377 * libio/Makefile (tests): New test case tst-fseek.
28378 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28379 combination works in wide mode.
28380 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28381 state when the external buffer state changes.
28382
aa9bbfe6
DM
283832012-09-27 David S. Miller <davem@davemloft.net>
28384
28385 [BZ #14376]
28386 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28387 pass reloc->r_addend in as the 'high' argument to
28388 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28389
784421e7
DM
28390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28391
c39bc8b8
PT
283922012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28393
28394 * rt/tst-aio2.c: Include <pthread.h>.
28395 * rt/tst-aio3.c: Likewise.
28396
1ccc2399
SE
283972012-09-27 Steve Ellcey <sellcey@mips.com>
28398
28399 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28400
31ed4153
L
284012012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28402
25f5f885
L
28403 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28404 contents on [SHARED].
31ed4153 28405
b7bfe116
MP
284062012-09-26 Marek Polacek <polacek@redhat.com>
28407
28408 [BZ #14530]
28409 [BZ #13741]
28410 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28411 for C++ and GCC <4.3 as well as for non GCC compilers.
28412
43c4edba
MT
284132012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28414
28415 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28416
6a1bf82f
RM
284172012-09-25 Roland McGrath <roland@hack.frob.com>
28418
28419 * Makefile.in (all, install): Declare with .PHONY.
28420 Reported by Michael Hope <michael.hope@linaro.org>.
28421
8ad11b9a
TMQMF
284222012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28423
28424 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28425 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28426 system header.
28427 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28428 Likewise.
28429 (sydep_routines): Add the new and the internal functions.
28430 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28431 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28433 (GLIBC_2.17): Add the new function.
28434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28435 (GLIBC_2.17): Likewise.
28436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28437 (GLIBC_2.17): Likewise.
28438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28439 (GLIBC_2.17): Likewise.
28440 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28441
7e2fca8d
AM
284422012-09-25 Alan Modra <amodra@gmail.com>
28443
28444 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28445 Add release barrier before setting once_control to say
28446 initialisation is done. Add hints on lwarx. Use macro in
28447 place of isync.
28448 (clear_once_control): Add release barrier.
28449
b87c4b24
JM
284502012-09-25 Joseph Myers <joseph@codesourcery.com>
28451
d032e0d2
JM
28452 [BZ #13629]
28453 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28454 specially.
28455 * math/s_clog10.c (__clog10): Likewise.
28456 * math/s_clog10f.c (__clog10f): Likewise.
28457 * math/s_clog10l.c (__clog10l): Likewise.
28458 * math/s_clogf.c (__clogf): Likewise.
28459 * math/s_clogl.c (__clogl): Likewise.
28460 * math/Makefile (libm-calls): Add x2y2m1.
28461 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28462 (__x2y2m1): Likewise.
28463 (__x2y2m1l): Likewise.
28464 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28465 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28466 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28467 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28468 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28469 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28470 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28471 * sysdeps/i386/fpu/libm-test-ulps: Update.
28472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28473
b87c4b24
JM
28474 [BZ #14621]
28475 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28476 int as type of variable DEPTH.
28477 (glob): Use size_t instead of int as type of variables NEWCOUNT
28478 and OLD_PATHC.
28479
6d3bf199
LD
284802012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28481
22bf5c17
LD
28482 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28483 Add s_sincosf-sse2.
28484 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28485 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28486 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28487 macros for using routine as __sincosf_ia32.
28488 Use macro for function declaration and weak_alias.
28489 * sysdeps/i386/fpu/libm-test-ulps: Update.
28490
28491 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28493
28494 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
28495 subnormal argument.
28496 * math/s_cexpf.c (__cexpf): Likewise.
28497 * math/s_csinf.c (__csinf): Likewise.
28498 * math/s_csinhf.c (__csinhf): Likewise.
28499 * math/s_ctanf.c (__ctanf): Likewise.
28500 * math/s_ctanhf.c (__ctanhf): Likewise.
28501 * math/s_ccosh.c (__ccoshf): Likewise.
28502 * math/s_cexp.c (__cexpl): Likewise.
28503 * math/s_csin.c (__csin): Likewise.
28504 * math/s_csinh.c (__csinh): Likewise.
28505 * math/s_ctan.c (__ctan): Likewise.
28506 * math/s_ctanh.c (ctanh): Likewise.
28507 * math/s_ccoshl.c (__ccoshl): Likewise.
28508 * math/s_cexpl.c (__cexpl): Likewise.
28509 * math/s_csinl.c (__csinl): Likewise.
28510 * math/s_csinhl.c (__csinhl): Likewise.
28511 * math/s_ctanl.c (__ctanl): Likewise.
28512 * math/s_ctanhl.c (__ctanhl): Likewise.
28513
203e5603
JM
285142012-09-25 Joseph Myers <joseph@codesourcery.com>
28515
28516 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28517 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28518 (_IO_off_t): Define to __off_t, not _G_off_t.
28519 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28520 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28521 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28522 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28523 type of __dummy and __dummy2 fields.
28524 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28525 (_G_ssize_t): Likewise.
28526 (_G_off_t): Likewise.
28527 (_G_pid_t): Likewise.
28528 (_G_uid_t): Likewise.
28529 (_G_wchar_t): Likewise.
28530 (_G_wint_t): Likewise.
28531 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28532 (_G_ssize_t): Likewise.
28533 (_G_off_t): Likewise.
28534 (_G_pid_t): Likewise.
28535 (_G_uid_t): Likewise.
28536 (_G_wchar_t): Likewise.
28537 (_G_wint_t): Likewise.
28538 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28539 (_G_ssize_t): Likewise.
28540 (_G_off_t): Likewise.
28541 (_G_pid_t): Likewise.
28542 (_G_uid_t): Likewise.
28543 (_G_wchar_t): Likewise.
28544 (_G_wint_t): Likewise.
28545
9fab36eb
SP
285462012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28547
28548 * malloc/arena.c: Include malloc-sysdep.h.
28549 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28550 is sufficient to shrink the heap or an unmap is needed.
28551 * sysdeps/generic/malloc-sysdep.h: New file. Define
28552 new function check_may_shrink_heap.
28553 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28554 new function check_may_shrink_heap.
28555
2b4f00d1
SP
285562012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28557
28558 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28559 comments.
28560
9a9028b1
DL
285612012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28562
57c69bef
DL
28563 * catgets/test-gencat.sh: Add "set -e".
28564 * elf/tst-pathopt.sh: Likewise.
28565 * grp/tst_fgetgrent.sh: Likewise.
28566 * iconvdata/run-iconv-test.sh: Likewise.
28567 * intl/tst-gettext.sh: Likewise.
28568 * intl/tst-gettext2.sh: Likewise.
28569 * intl/tst-gettext4.sh: Likewise.
28570 * intl/tst-gettext6.sh: Likewise.
28571 * intl/tst-translit.sh: Likewise.
28572 * io/ftwtest-sh: Likewise.
28573 * libio/test-freopen.sh: Likewise.
28574 * malloc/tst-mtrace.sh: Likewise.
28575 * posix/globtest.sh: Likewise.
28576 * posix/tst-getconf.sh: Likewise.
28577 * posix/wordexp-tst.sh: Likewise.
28578 * stdio-common/tst-printf.sh: Likewise.
28579 * stdio-common/tst-unbputc.sh: Likewise.
28580 * stdlib/tst-fmtmsg.sh: Likewise.
28581 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28582 * catgets/Makefile: Do not specify -e option when running
28583 testsuite shell scripts.
28584 * elf/Makefile: Likewise.
28585 * grp/Makefile: Likewise.
28586 * iconvdata/Makefile: Likewise.
28587 * intl/Makefile: Likewise.
28588 * io/Makefile: Likewise.
28589 * libio/Makefile: Likewise.
28590 * malloc/Makefile: Likewise.
28591 * posix/Makefile: Likewise.
28592 * stdio-common/Makefile: Likewise.
28593 * stdlib/Makefile: Likewise.
28594 * sysdeps/x86_64/Makefile: Likewise.
28595
9a9028b1
DL
28596 * io/ftwtest-sh: Add copyright header.
28597 * posix/globtest.sh: Likewise.
28598 * posix/tst-getconf.sh: Likewise.
28599 * posix/wordexp-tst.sh: Likewise.
28600 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28601
ced6f16e
L
286022012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28603
94b32c39
L
28604 [BZ #13679]
28605 * Makeconfig (+link): Defined as $(+link-static) if
28606 $(build-shared) isn't yes.
28607 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28608 isn't yes.
28609 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28610
189e935b
L
28611 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28612
ced6f16e
L
28613 [BZ #14562]
28614 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28615 new chunk size with MALLOC_ALIGN_MASK.
28616
a9f8e53a
JM
286172012-09-24 Joseph Myers <joseph@codesourcery.com>
28618
28619 [BZ #5044]
28620 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28621 <rounding-mode.h>.
28622 (__printf_fphex): Determine rounding using get_rounding_mode and
28623 round_away.
28624 * stdio-common/tst-printf-round.c (struct hex_test): New
28625 structure.
28626 (hex_tests): New variable.
28627 (test_hex_in_one_mode): New function.
28628 (do_test): Also run tests for hex float output.
28629
43153109
JM
286302012-09-21 Joseph Myers <joseph@codesourcery.com>
28631
28632 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28633 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28634 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28635 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28636 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28637 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28638 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28639 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28640
8a26625d
JM
286412012-09-20 Joseph Myers <joseph@codesourcery.com>
28642
28643 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28644 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28645 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28646 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28647
f3fd569c
DL
286482012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28649
28650 [BZ #14579]
28651 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28652 mode only.
28653 * elf/tst-rtld-load-self.sh: New test.
28654 * elf/Makefile: Run it.
28655
63bbedd4
JM
286562012-09-18 Joseph Myers <joseph@codesourcery.com>
28657
28658 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28659 (tst-writev-ENV): Remove.
28660 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28661
626f8b6a
CM
286622012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28663
28664 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28665
b7aaa4d6
JM
286662012-09-17 Joseph Myers <joseph@codesourcery.com>
28667
28668 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28669 unconditional.
28670 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28671 Likewise.
28672 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28673 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28674 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28675 Likewise.
28676
65513990
L
286772012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28678
28679 [BZ #14587]
28680 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28681 * config.make.in (have-cpp-asm-debuginfo): Removed.
28682 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28683 * configure: Regenerated.
28684
784761be
JM
286852012-09-14 Joseph Myers <joseph@codesourcery.com>
28686
28687 [BZ #5044]
28688 * stdio-common/printf_fp.c: Include <stdbool.h> and
28689 <rounding-mode.h>.
28690 (___printf_fp): Determine rounding using get_rounding_mode and
28691 round_away.
28692 * stdio-common/tst-printf-round.c: New file.
28693 * stdio-common/Makefile (tests): Add tst-printf-round.
28694 (link-libm): New variable.
28695 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28696
9503345f
L
286972012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28698
28699 [BZ #14576]
28700 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28701 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28702 Likewise.
28703 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28704 Likewise.
28705
ad35fc00
JM
287062012-09-13 Joseph Myers <joseph@codesourcery.com>
28707
28708 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28709 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28710 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28711 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28712
6c9b0f68
JM
287132012-09-12 Joseph Myers <joseph@codesourcery.com>
28714
28715 [BZ #14518]
28716 * include/rounding-mode.h: New file.
28717 * sysdeps/generic/get-rounding-mode.h: Likewise.
28718 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28719 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28720 (MAX_VALUE): New macro.
28721 (MIN_VALUE): Likewise.
28722 (overflow_value): New function.
28723 (underflow_value): Likewise.
28724 (round_and_return): Use overflow_value and underflow_value to
28725 determine return values in overflow and underflow cases. Use
28726 round_away to determine rounding depending on rounding mode.
28727 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28728 determine return values in overflow and underflow cases.
28729 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28730 (struct test_results): New structure.
28731 (struct test): Use struct test_results to store expected results
28732 for all rounding modes.
28733 (TEST): Include expected results for all rounding modes.
28734 (test_in_one_mode): New function.
28735 (do_test): Use test_in_one_mode to compute and check results.
28736 Check results for all rounding modes.
28737 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28738 $(link-libm).
28739
19fcedd5
AM
287402012-12-09 Allan McRae <allan@archlinux.org>
28741
1e9d84cd 28742 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 28743
8bbfd2f1
JM
287442012-09-11 Joseph Myers <joseph@codesourcery.com>
28745
28746 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28747 (_G_int32_t): Likewise.
28748 (_G_uint16_t): Likewise.
28749 (_G_uint32_t): Likewise.
28750 (_G_HAVE_BOOL): Likewise.
28751 (_G_HAVE_ATEXIT): Likewise.
28752 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28753 (_G_HAVE_IO_FILE_OPEN): Likewise.
28754 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28755 (_G_int32_t): Likewise.
28756 (_G_uint16_t): Likewise.
28757 (_G_uint32_t): Likewise.
28758 (_G_HAVE_BOOL): Likewise.
28759 (_G_HAVE_ATEXIT): Likewise.
28760 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28761 (_G_HAVE_IO_FILE_OPEN): Likewise.
28762 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28763 (_G_int32_t): Likewise.
28764 (_G_uint16_t): Likewise.
28765 (_G_uint32_t): Likewise.
28766 (_G_HAVE_BOOL): Likewise.
28767 (_G_HAVE_ATEXIT): Likewise.
28768 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28769 (_G_HAVE_IO_FILE_OPEN): Likewise.
28770
b1dc5912
L
287712012-09-11 H.J. Lu <hongjiu.lu@intel.com>
28772
28773 * csu/libc-tls.c: Update copyright years.
28774
0e886ef9
JM
287752012-09-10 Joseph Myers <joseph@codesourcery.com>
28776
28361c5e
JM
28777 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28778 [!_G_USING_THUNKS]: Remove conditional code.
28779 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28780 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28781
0e886ef9
JM
28782 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28783 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28784 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28785 (_G_VTABLE_LABEL_PREFIX): Likewise.
28786 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28787 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28788 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28789 (_G_VTABLE_LABEL_PREFIX): Likewise.
28790 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28791 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28792 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28793 (_G_VTABLE_LABEL_PREFIX): Likewise.
28794 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28795
bcba7aa2
L
287962012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28797
28798 * libio/Makefile: Include ../Makeconfig before tests.
28799 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28800 only if $(build-shared) is yes.
28801
06585ee8
L
28802 * iconv/gconv_db.c: Update copyright years.
28803
80ccd52c
LD
288042012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28805
28806 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28807 unwind info if defined PIC. Fix special cases description.
28808 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28809
28810 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28811 DP_HI_MASK entry.
28812 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28813
691bc9c1
L
288142012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28815
3d9b46b3
L
28816 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28817
de2139a9
L
28818 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28819 is NULL.
28820
5ca78dd0
L
28821 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28822 (LDLIBS-tst-chk4): This.
28823 (LDFLAGS-tst-chk5): Renamed to ...
28824 (LDLIBS-tst-chk5): This.
28825 (LDFLAGS-tst-chk6): Renamed to ...
28826 (LDLIBS-tst-chk6): This.
28827 (LDFLAGS-tst-lfschk4): Renamed to ...
28828 (LDLIBS-tst-lfschk4): This.
28829 (LDFLAGS-tst-lfschk5): Renamed to ...
28830 (LDLIBS-tst-lfschk5): This.
28831 (LDFLAGS-tst-lfschk6): Renamed to ...
28832 (LDLIBS-tst-lfschk6): This.
28833
691bc9c1
L
28834 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28835 on $(common-objpfx)soversions.mk.
28836
65cafb1c
JM
288372012-09-07 Joseph Myers <joseph@codesourcery.com>
28838
28839 [BZ #10014]
28840 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28841 example host name.
28842
c78ab094
SP
288432012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28844
28845 * malloc/arena.c (arena_get_retry): New function that gets
28846 another arena for the caller to try its request on.
28847 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28848 current arena cannot fulfill the request.
28849 (__libc_memalign): Likewise.
28850 (__libc_memalign): Likewise.
28851 (__libc_pvalloc): Likewise.
28852 (__libc_calloc): Likewise.
28853
01f49f59
JT
288542012-09-05 John Tobey <john.tobey@gmail.com>
28855
28856 [BZ #13542]
28857 * manual/arith.texi (Operations on Complex): Fix description
28858 of carg branch cut.
28859
4c23fed5
JM
288602012-09-06 Joseph Myers <joseph@codesourcery.com>
28861
1d3c8572
JM
28862 [BZ #10014]
28863 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28864 host name.
28865
4c23fed5
JM
28866 [BZ #10038]
28867 * manual/memory.texi (Memory): Make order of menu items match
28868 order of sections.
28869
04570aaa
L
288702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28871
28872 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28873 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28874 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28875
b80af2f4
L
288762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28877
28878 * csu/libc-tls.c (static_dtv): Renamed to ...
28879 (_dl_static_dtv): This. Make it global.
28880 (_dl_initial_dtv): Removed.
28881 (__libc_setup_tls): Updated.
28882 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28883 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28884 DL_INITIAL_DTV.
28885
2abe9f15
PM
288862012-09-06 Petr Machata <pmachata@redhat.com>
28887
28888 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28889 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28890 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28891 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28892
0948c3af
L
288932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28894
28895 [BZ #14545]
28896 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28897 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28898 freeing dtv[-1].
28899
a5055ad1
L
289002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28901
28902 [BZ #14544]
28903 * Makeconfig (link-static-before-libc): Replace $(+prector)
28904 with $(+prectorT).
28905 (link-static-after-libc): Replace $(+postctor) with
28906 $(+postctorT).
28907 (link-bounded): Replace $(+prector)/$(+postctor) with
28908 $(+prectorT)/$(+postctorT).
28909 (+prectorT): New macro.
28910 (+postctorT): Likewise.
28911
ed8c2ecd
JM
289122012-09-06 Joseph Myers <joseph@codesourcery.com>
28913
28914 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28915 (round_str): Handle values above the maximum for IBM long double
28916 as inexact.
28917 * stdlib/tst-strtod-round.c (tests): Regenerated.
28918
14c996c8
AK
289192012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28920
28921 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28922 assembler flag.
28923 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28924 zarch_nohighgprs around the zarch optimized routines.
28925 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28926 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28927 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28928 for zarch.
28929
430d6ce6
DM
289302012-09-05 David S. Miller <davem@davemloft.net>
28931
28932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28933
57f41c40
AS
28934 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28935 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
28936 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28937 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28938 entries.
28939
24d4e01b
AO
289402012-09-05 Alexandre Oliva <aoliva@redhat.com>
28941
28942 * malloc/arena.c: Fold copyright years.
28943 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28944
61d58174
AO
289452012-09-05 Alexandre Oliva <aoliva@redhat.com>
28946
28947 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28948
20196a5e
AO
289492012-09-05 Alexandre Oliva <aoliva@redhat.com>
28950
28951 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28952
5c447383
AO
289532012-09-05 Alexandre Oliva <aoliva@redhat.com>
28954
28955 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28956 change internal state upon failure.
28957
fad64255
AO
289582012-09-05 Alexandre Oliva <aoliva@redhat.com>
28959
28960 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28961 * malloc/memusage.c (mmap): Likewise.
28962 (mmap64, mremap): Likewise. Adjust name in comment.
28963
1ffb8c90
SP
289642012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28965
28966 * libio/fileops.c: Fix typos in comments.
28967 * libio/oldfileops.c: Likewise.
28968 * libio/wfileops.c: Likewise.
28969
6ef9cc37
SP
289702012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28971
28972 [BZ #1349]
28973 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28974 (tst-malloc-usable-ENV): Set environment for test case.
28975 * malloc/hooks.c (malloc_check_get_size): New function to get
28976 requested size.
28977 * malloc/malloc.c (musable): Use malloc_check_get_size.
28978 * malloc/tst-malloc-usable.c: New test case.
28979
4d038ae3
AS
289802012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28981
28982 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28983
c4e85184
AM
289842012-09-05 Allan McRae <allan@archlinux.org>
28985
b9dafc56 28986 [BZ #13966]
c4e85184
AM
28987 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28988 determine header location.
28989 * configure: Regenerated.
28990
e1343020
AS
289912012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28992
28993 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28994 float format.
28995 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
28996 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28997 format.
e1343020
AS
28998 (test): Regenerate.
28999
0a9f1987
DM
290002012-09-04 David S. Miller <davem@davemloft.net>
29001
29002 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29003 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29004 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29005
29237804
FW
290062012-09-04 Florian Weimer <fweimer@redhat.com>
29007
29008 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29009 failures.
29010
edb3cb88
FW
29011 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29012
60160d83
JM
290132012-09-04 Joseph Myers <joseph@codesourcery.com>
29014
29015 [BZ #9914]
29016 * libio/iogetdelim.c: Include <limits.h>.
29017 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29018 + len + 1 would overflow.
29019
bcd6c8dc
AJ
290202012-09-03 Andreas Jaeger <aj@suse.de>
29021
29022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29023 * sysdeps/i386/fpu/libm-test-ulps: Update.
29024
4ffffbd2
LD
290252012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29026
29027 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29028 Add s_sinf-sse2, s_conf-sse2.
29029
29030 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29031 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29032 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29033 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29034
29035 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29036 for using routine as __sinf_ia32.
29037 Use macro for function declaration and weak_alias.
29038 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29039 for using routine as __cosf_ia32.
29040 Use macro for function declaration and weak_alias.
29041
29042 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29043 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29044
29045 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29046 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29048
29049 * math/libm-test.inc (cos_test): Add more test cases.
29050 (sin_test): Likewise.
29051 (sincos_test): Likewise.
29052
511fa286
AK
290532012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29054
29055 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29056 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29057 hidden.
29058 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29059
5f30cfec
L
290602012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29061
29062 [BZ #14538]
29063 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29064 first element of the GOT.
29065 (elf_machine_load_address): Return the difference between
29066 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29067
0786794f
AM
290682012-09-01 Allan McRae <allan@archlinux.org>
29069
5f30cfec
L
29070 [BZ #13412]
29071 * configure.in (AWK): Require gawk version 3.0 or later.
29072 * configure: Regenerated.
0786794f 29073
26889eac
JM
290742012-09-01 Joseph Myers <joseph@codesourcery.com>
29075
29076 * sysdeps/unix/sysv/linux/kernel-features.h
29077 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29078 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29079 [__NR_clock_getres]: Make code unconditional.
29080 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29081 (clock_getcpuclockid): Remove code left unreachable by removal of
29082 conditionals.
29083 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29084 code unconditional.
29085 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29086 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29087 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29088 Make code unconditional.
29089 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29090 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29091 * sysdeps/unix/sysv/linux/clock_settime.c
29092 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29093 conditional code.
29094 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29095 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29096
d22e28b0
L
290972012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29098
29099 [BZ #14476]
29100 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29101 scripts/test-installation.pl.
29102
29103 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29104 and $ld_so_version if it is set.
29105
050af9c4
SP
291062012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29107
29108 [BZ #14516]
29109 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29110 failure if reading from procfs failed.
29111 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29112
ad845c0b
JM
291132012-08-27 Joseph Myers <joseph@codesourcery.com>
29114
29115 * sysdeps/unix/sysv/linux/kernel-features.h
29116 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29117 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29118 Remove conditional code.
29119 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29120 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29121 Remove conditional code.
29122 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29123 * sysdeps/unix/sysv/linux/i386/fxstat.c
29124 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29125 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29126 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29127 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29128 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29129 * sysdeps/unix/sysv/linux/i386/lxstat.c
29130 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29131 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29132 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29133 Remove conditional code.
29134 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29135 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29136 Remove conditional code.
29137 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29138 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29139 <kernel-features.h>.
29140 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29141 Remove.
29142 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29143 Remove conditional code.
29144 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29145 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29146 Remove conditional.
29147
5dbf56af
MF
291482012-08-27 Mike Frysinger <vapier@gentoo.org>
29149
29150 [BZ #5400]
29151 * NEWS: Add fixed bug number.
29152
d6e70f43
JM
291532012-08-27 Joseph Myers <joseph@codesourcery.com>
29154
7efb4737
JM
29155 [BZ #14519]
29156 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29157 underflowing exponent in case of negative sign.
29158 * stdlib/tst-strtod-round-data: Add more tests.
29159 * stdlib/tst-strtod-round.c (tests): Regenerated.
29160
af92131a
JM
29161 [BZ #3479]
29162 * stdlib/strtod_l.c (NDIG): Remove.
29163 (HEXNDIG): Likewise.
29164 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29165 smallest representable value.
29166 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29167 lie within an exact representation of 1/2 ulp of the result.
29168 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29169 unconditionally.
29170 (TENS_P9_IDX): Define unconditionally.
29171 (TENS_P9_SIZE): Likewise.
29172 (TENS_P10_IDX): Likewise.
29173 (TENS_P10_SIZE): Likewise.
29174 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29175 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29176 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29177 entries for 10^2^13 and 10^2^14.
29178 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29179 (TENS_P13_IDX): Define.
29180 (TENS_P13_SIZE): Likewise.
29181 (TENS_P14_IDX): Likewise.
29182 (TENS_P14_SIZE): Likewise.
29183 (_fpioconst_pow10): Change array size to
29184 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29185 unconditional.
29186 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29187 1024]: Add entries for 10^2^13 and 10^2^14.
29188 [LAST_POW10 > _LAST_POW10]: Remove #error.
29189 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29190 (_fpioconst_pow10): Change array size to
29191 FPIOCONST_POW10_ARRAY_SIZE.
29192 * stdlib/gen-fpioconst.c: New file.
29193 * stdlib/gen-tst-strtod-round.c: Likewise.
29194 * stdlib/tst-strtod-round-data: Likewise.
29195 * stdlib/tst-strtod-round.c: Likewise.
29196 * stdlib/Makefile (tests): Add tst-strtod-round.
29197
d6e70f43
JM
29198 [BZ #14459]
29199 * stdlib/strtod_l.c: Include <stdint.h>.
29200 (NDEBUG): Do not define.
29201 (round_and_return): Change EXPONENT parameter to type intmax_t.
29202 Rearrange calculations to avoid internal overflow possibilities.
29203 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29204 Rearrange calculations to avoid internal overflow possibilities.
29205 Assert that number fits inside MPNSIZE limbs.
29206 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29207 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29208 calculations and add assertions to avoid internal overflow
29209 possibilities. Add casts to avoid signed/unsigned operations.
29210 * stdlib/tst-strtod-overflow.c: New file.
29211 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29212
1f529f7d
MP
292132012-08-25 Marek Polacek <polacek@redhat.com>
29214
29215 * time/time.h: Fix some typos in comments.
29216
59a629f1
RM
292172012-08-23 Roland McGrath <roland@hack.frob.com>
29218
29219 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29220 * posix/tst-rfc3484-2.c: Likewise.
29221 * posix/tst-rfc3484-3.c: Likewise.
29222
d3bafbc9
SM
292232012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29224
29225 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29226 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29227
4efcc022
JM
292282012-08-23 Joseph Myers <joseph@codesourcery.com>
29229
29230 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29231 #include of fxstatat64.c.
29232
3cc3ef96
RM
292332012-08-22 Roland McGrath <roland@hack.frob.com>
29234
f04e2132
RM
29235 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29236 * shadow/getspent_r.c: Likewise.
29237 * shadow/getspnam.c: Likewise.
29238 * shadow/getspnam_r.c: Likewise.
29239 * gshadow/getsgent.c: Likewise.
29240 * gshadow/getsgent_r.c: Likewise.
29241 * gshadow/getsgnam.c: Likewise.
29242 * gshadow/getsgnam_r.c: Likewise.
29243 * inet/getnetbyad.c: Likewise.
29244 * inet/getnetbyad_r.c: Likewise.
29245 * inet/getnetbynm.c: Likewise.
29246 * inet/getnetbynm_r.c: Likewise.
29247 * inet/getnetent.c: Likewise.
29248 * inet/getnetent_r.c: Likewise.
29249 * inet/getproto.c: Likewise.
29250 * inet/getproto_r.c: Likewise.
29251 * inet/getprtent.c: Likewise.
29252 * inet/getprtent_r.c: Likewise.
29253 * inet/getprtname.c: Likewise.
29254 * inet/getprtname_r.c: Likewise.
29255 * inet/getrpcbyname.c: Likewise.
29256 * inet/getrpcbyname_r.c: Likewise.
29257 * inet/getrpcbynumber.c: Likewise.
29258 * inet/getrpcbynumber_r.c: Likewise.
29259 * inet/getrpcent.c: Likewise.
29260 * inet/getrpcent_r.c: Likewise.
29261 * inet/getaliasent.c: Likewise.
29262 * inet/getaliasent_r.c: Likewise.
29263 * inet/getaliasname.c: Likewise.
29264 * inet/getaliasname_r.c: Likewise.
29265 * nscd/getgrgid_r.c: Likewise.
29266 * nscd/getgrnam_r.c: Likewise.
29267 * nscd/gethstbyad_r.c: Likewise.
29268 * nscd/gethstbynm3_r.c: Likewise.
29269 * nscd/getpwnam_r.c: Likewise.
29270 * nscd/getpwuid_r.c: Likewise.
29271 * nscd/getsrvbynm_r.c: Likewise.
29272 * nscd/getsrvbypt_r.c: Likewise.
29273 * nscd/gai.c: Likewise.
29274
c53d909c
RM
29275 * configure.in (build_nscd): New substituted variable, set
29276 by --disable-build-nscd and defaults to $use_nscd.
29277 * configure: Regenerated.
29278 * config.make.in (build-nscd): New substituted variable.
29279 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29280 Change conditional to require [$(build-nscd) = yes] as well.
29281 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29282
3cc3ef96
RM
29283 [BZ# 13696]
29284 * configure.in (use_nscd): New substituted variable, set by
29285 --disable-nscd. If enabled, define USE_NSCD.
29286 * configure: Regenerated.
29287 * config.h.in: Add USE_NSCD.
29288 * config.make.in (use-nscd): New substituted variable.
29289 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29290 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29291 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29292 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29293 (CFLAGS-getgrnam_r.c): Likewise.
29294 (CFLAGS-initgroups.c): Likewise.
29295 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29296 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29297 Variables removed.
29298 * inet/getnetgrent_r.c
29299 (nscd_setnetgrent): New function, broken out of ...
29300 (setnetgrent): ... here. Call it.
29301 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29302 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29303 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29304 * nscd/Makefile (routines, aux): Move definitions after include of
29305 Makeconfig. Conditionalize on [$(use-nscd) != no].
29306 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29307 Conditionalize on [USE_NSCD].
29308 (is_nscd, nscd_init_cb): Likewise.
29309 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29310 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29311 * nss/nss_db/db-init.c: Likewise.
29312 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29313 [USE_NSCD].
29314 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29315 (make_request): Use it.
29316 (cache_valid_p): New function.
29317 (__check_pf): Use it.
29318 * NEWS: Add item for --disable-nscd.
29319
07e51550
DL
293202012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29321
29322 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29323 to support sed >= 4.2.1-20-ga9bf076.
29324 * configure: Regenerated.
29325
35a5b08b
RM
293262012-08-22 Roland McGrath <roland@hack.frob.com>
29327
29328 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29329 Conditionalize whole body on [IREL].
29330
8479f23a
JL
293312012-08-22 Jeff Law <law@redhat.com>
29332
29333 [BZ #14505]
29334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29335 if the family is PF_UNSPEC.
29336
48da0b21
MF
293372012-08-22 Mike Frysinger <vapier@gentoo.org>
29338
29339 * Makerules (lib-version): Rename from V.
29340 (install-lib-nosubdir): Change V to lib-version.
29341
15d0da8c
WS
293422012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29343
29344 [BZ #14252]
29345 * powerpc32/power6/wcschr.c: New file.
29346 * powerpc32/power6/wcscpy.c: New file.
29347 * powerpc32/power6/wcsrchr.c: New file.
29348 * powerpc64/power6/wcschr.c: New file.
29349 * powerpc64/power6/wcscpy.c: New file.
29350 * powerpc64/power6/wcsrchr.c: New file.
29351
bcca0895
MK
293522012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29353
29354 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29355 (two_way_short_needle): Use it.
5a4aaa33
RM
29356 * string/strstr.c (AVAILABLE1_USES_J): Define.
29357 * string/strcasestr.c: Likewise.
99677e57
MK
29358
29359 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29360 array references.
29361 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29362
400726de
MK
29363 [BZ #11607]
29364 * NEWS: Add an entry.
29365 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29366 define their defaults.
29367 (two_way_short_needle): Detect end-of-string on-the-fly.
29368 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29369 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29370 * string/bug-strcasestr1.c: New test.
29371 * string/Makefile: Run it.
29372
20a71f2c
MK
293732012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29374
29375 [BZ #11607]
29376 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29377 the first character.
29378
21ad0558
RM
293792012-08-21 Roland McGrath <roland@hack.frob.com>
29380
29381 * csu/elf-init.c (__libc_csu_irel): Function removed.
29382 * csu/libc-start.c (apply_irel): New function.
29383 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29384
0e1d9911
JM
293852012-08-21 Joseph Myers <joseph@codesourcery.com>
29386
29387 * sysdeps/unix/sysv/linux/kernel-features.h
29388 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29389 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29390 <kernel-features.h>.
29391 [__NR_fadvise64_64]: Make code unconditional.
29392 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29393 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29394 !__NR_fadvise64_64)]: Likewise.
29395 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29396 !__NR_fadvise64_64))]: Likewise.
29397 [__NR_fadvise64]: Make code unconditional.
29398 [!__NR_fadvise64]: Remove conditional code.
29399 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29400 <kernel-features.h>.
29401 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29402 unconditional.
29403 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29404 conditional code.
29405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29406 not include <kernel-features.h>.
29407 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29408 unconditional.
29409 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29410 conditional code.
29411 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29412 include <kernel-features.h>.
29413 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29414 unconditional.
29415 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29416 conditional code.
29417
14a50c9d
WS
294182012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29419
29420 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29421 slight instruction rearrangements per scrollpipe analysis.
29422 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29423
c0f4faf0
RM
294242012-08-20 Roland McGrath <roland@hack.frob.com>
29425
696da859
RM
29426 * manual/syslog.texi (syslog; vsyslog, closelog):
29427 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29428 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29429
c0f4faf0
RM
29430 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29431 DSOCAPS to match condition on defining it.
29432
348363b2
JM
294332012-08-20 Joseph Myers <joseph@codesourcery.com>
29434
a35cbf28
JM
29435 * sysdeps/unix/sysv/linux/kernel-features.h
29436 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29438 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29439 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29441 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29442 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29444 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29445 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29446
445f7ecd
JM
29447 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29448 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29449
348363b2
JM
29450 * sysdeps/unix/sysv/linux/kernel-features.h
29451 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29452 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29453 unconditional.
29454 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29455 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29456 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29457 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29458 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29459 Make code unconditional.
29460 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29461 (__mmap64) [!__NR_mmap2]: Likewise.
29462 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29463 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29464 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29465 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29466 [__NR_mmap2]: Make code unconditional.
29467 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29468 (__mmap64) [!__NR_mmap2]: Likewise.
29469
bc5bc0e5
AK
294702012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29471
29472 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29473
88d506de
AJ
294742012-08-18 Andreas Jaeger <aj@suse.de>
29475
29476 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29477
493387d2
MF
294782012-08-18 Mike Frysinger <vapier@gentoo.org>
29479
29480 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29481 * include/unistd.h (__have_sock_cloexec): Likewise.
29482 (__have_pipe2): Likewise.
29483 (__have_dup3): Likewise.
29484
a277af22
MF
294852012-08-18 Mike Frysinger <vapier@gentoo.org>
29486
29487 [BZ #9685]
29488 * include/unistd.h (__have_pipe2): Change define into an extern int.
29489 (__have_dup3): Likewise.
29490 * socket/have_sock_cloexec.c: Include fcntl.h.
29491 (__have_pipe2): New variable.
29492 (__have_dup3): Likewise.
29493
fdab8fd3
MF
294942012-08-17 Mike Frysinger <vapier@gentoo.org>
29495
29496 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29497
31035e80
MP
294982012-08-17 Marek Polacek <polacek@redhat.com>
29499
29500 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29501 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29502
3bd9e993
RM
295032012-08-17 Roland McGrath <roland@hack.frob.com>
29504
c91c505f
RM
29505 * configure.in: Add AC_SUBST for sysheaders.
29506 * configure: Regenerated.
29507 * config.make.in (sysheaders): New substituted variable.
29508
7c6f9d53
RM
29509 * sysdeps/unix/mkfifo.c: Moved ...
29510 * sysdeps/posix/mkfifo.c: ... here.
29511 * sysdeps/unix/mkfifoat.c: Moved ...
29512 * sysdeps/posix/mkfifoat.c: ... here.
29513
29514 * sysdeps/unix/utime.c: Moved ...
29515 * sysdeps/posix/utime.c: ... here.
29516
29517 * sysdeps/unix/time.c: Moved ...
29518 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
29519 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29520 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
29521
29522 * sysdeps/unix/nice.c: Moved ...
29523 * sysdeps/posix/nice.c: ... here.
29524
29525 * sysdeps/unix/alarm.c: Moved ...
29526 * sysdeps/posix/alarm.c: ... here.
29527
3bd9e993
RM
29528 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29529
d1f09384
JL
295302012-08-17 Jeff Law <law@redhat.com>
29531
29532 * intl/Makefile (codeset_mo): New variable.
29533 ($(codeset_mo)): New target.
29534 (tst-codeset.out): Depend on that. Remove explicit rule.
29535 (tst-gettext3.out, tst-gettext5.out): Likewise.
29536 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29537 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29538 * intl/tst-codeset.sh: Remove.
29539 * intl/tst-gettext3.sh: Likewise.
29540 * intl/tst-gettext5.sh: Likewise.
29541
2ae1ae5c
RM
295422012-08-17 Roland McGrath <roland@hack.frob.com>
29543
c31fdb83
RM
29544 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29545 * sysdeps/unix/syscalls.list: ... here.
29546
a0844057
RM
29547 * sysdeps/posix/getaddrinfo.c
29548 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29549 (gaiconf_init, gaiconf_reload): Use them.
29550 [!_STATBUF_ST_NSEC]
29551 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29552 Define using time_t rather than struct timespec.
29553
750c1f2a
RM
29554 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29555 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29556 Macros removed.
29557 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29558 [!NO_THREADS].
29559 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29560 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29561 Likewise.
29562
2ae1ae5c
RM
29563 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29564 __libc_cleanup_push argument.
29565
e66a42f5
RM
29566 * bits/param.h: New file.
29567 * misc/sys/param.h: New file.
29568 * include/sys/param.h: New file.
29569 * misc/Makefile (headers): Add bits/param.h.
29570 * sysdeps/generic/sys/param.h: File removed.
29571 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29572 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29573 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 29574 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 29575
b7c08a66
RM
29576 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29577 last change.
29578
b2e1c562
RM
29579 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29580 [_IO_MTSAFE_IO].
29581 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29582 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29583 New macros.
29584
c75ccd4c
RM
29585 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29586 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29587 rather than -D_IO_MTSAFE_IO conditionally.
29588 * stdio-common/Makefile (CPPFLAGS): Likewise.
29589 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29590 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29591 Use $(libio-mtsafe).
29592 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29593 of -D_IO_MTSAFE_IO.
29594 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29595 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29596 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29597 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29598 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29599 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29600 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29601 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29602 (CFLAGS-fread_u_chk.c): Likewise.
29603 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29604 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29605 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29606 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29607 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29608 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29609 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29610 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29611 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29612
29613 * libio/Makefile: Test [$(libc-reentrant) = yes]
29614 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29615
29616 * Makeconfig
29617 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29618 * sysdeps/pthread/configure: File removed.
29619 * sysdeps/pthread/Makeconfig: New file.
29620 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29621 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29622
d9195db8
GB
296232012-08-16 Gary Benson <gbenson@redhat.com>
29624
29625 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29626 unmapping the first object in a namespace.
29627
86466cd9
RM
296282012-08-16 Roland McGrath <roland@hack.frob.com>
29629
29630 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29631 (__internal_setnetgrent): ... this. Add internal_function to
29632 definition. Add libc_hidden_def.
29633 (setnetgrent): Update caller.
29634 (internal_endnetgrent): Renamed to ...
29635 (__internal_endnetgrent): ... this. Add internal_function to
29636 definition. Add libc_hidden_def.
29637 (endnetgrent): Update caller.
29638 (internal_getnetgrent_r): Renamed to ...
29639 (__internal_getnetgrent_r): ... this. Add internal_function to
29640 definition. Add libc_hidden_def.
29641 (__getnetgrent_r): Update caller.
29642 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29643
c3c8283c
JM
296442012-08-16 Joseph Myers <joseph@codesourcery.com>
29645
29646 * stdlib/longlong.h: Update from GCC.
29647
db1ee0a8
RM
296482012-08-16 Roland McGrath <roland@hack.frob.com>
29649
29650 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29651 on _QL, which is set by umul_ppmm but never used.
29652 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29653 variables, which are set by GMP macros but never used.
29654 * stdio-common/_itowa.c (_itowa): Likewise.
29655 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29656 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29657
30f69637
CD
296582012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29659
29660 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29661 struct La_sh_regs is not constant.
29662 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29663 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29664 and struct La_sparc64_regs are not constant.
29665
93a78ac4
JM
296662012-08-16 Joseph Myers <joseph@codesourcery.com>
29667
29668 * sysdeps/unix/sysv/linux/kernel-features.h
29669 (__ASSUME_POSIX_TIMERS): Remove.
29670 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29671 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29672 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29673 Make code unconditional.
29674 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29675 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29676 Make code unconditional.
29677 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29678 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29679 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29680 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29681 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29682 Make code unconditional.
29683 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29684 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29685 (__libc_missing_posix_timers): Remove.
29686
dd924cd7
RM
296872012-08-15 Roland McGrath <roland@hack.frob.com>
29688
4b4f2771
RM
29689 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29690 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29691
601c888b
RM
29692 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29693
176790a7
RM
29694 * elf/dl-sym.c: Include <stdlib.h>.
29695
329bc018
RM
29696 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29697 constants, which avoids warnings in 32-bit builds.
29698
e04e272d
RM
29699 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29700 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29701
952bf94a
RM
29702 * misc/lseek.c: File moved to ...
29703 * io/lseek.c: ... here.
29704
7c99b50a
RM
29705 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29706
dd924cd7
RM
29707 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29708 shifting LEN more than 31 bits at once.
29709
b3f479a8
LD
297102012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29711
29712 [BZ #14195]
8c4ae0d4
RM
29713 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29714 segmentation fault for a case of two empty input strings.
b3f479a8
LD
29715 * string/test-strncasecmp.c (check1): Renamed to...
29716 (bz12205): ...this.
29717 (bz14195): Add new testcase for two empty input strings and N > 0.
29718 (test_main): Call new testcase, adapt for renamed function.
29719
9c55864e
AJ
297202012-08-15 Andreas Jaeger <aj@suse.de>
29721
29722 [BZ #14090]
29723 * crypt/md5test2.c: New test, based on test supplied by Serge
29724 Belyshev <belyshev@depni.sinp.msu.ru>.
29725 * crypt/Makefile (xtests): Add md5test-giant..
29726 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29727
02dcb6c5
PE
297282012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29729
29730 [BZ #14090]
29731 * crypt/md5.c (md5_process_block): Don't assume the buffer
29732 length is less than 2**32.
29733 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29734 length is less than 2**64.
29735
a3f95dcc
RM
297362012-08-15 Roland McGrath <roland@hack.frob.com>
29737
be75d758
RM
29738 * string/str-two-way.h: Include <sys/param.h>.
29739 (MAX): Macro removed.
29740
7312ca90
RM
29741 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29742 Move #define and #undef of memmove to just before and after
29743 including <string.h>.
29744
9a0a5486
RM
29745 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29746 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29747 and after including <string.h>. Move declarations of
29748 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29749 to before #include "string/memmove.c".
29750
67cc348d
RM
29751 * include/dirent.h: Declare __getdirentries.
29752
a3f95dcc
RM
29753 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29754 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29755
ca98e171
MF
297562012-08-14 Mike Frysinger <vapier@gentoo.org>
29757
29758 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29759 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29760 * sysdeps/i386/configure: Regenerated.
29761 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29762 STABS_CURRENT_FILE, and STABS_FUN.
29763 (END): Remove call to STABS_FUN_END.
29764 (STABS_CURRENT_FILE1): Delete.
29765 (STABS_CURRENT_FILE): Likewise.
29766 (STABS_FUN): Likewise.
29767 (STABS_FUN_END): Likewise.
29768 (STABS_FUN2): Likewise.
29769 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29770 * sysdeps/x86_64/configure: Regenerated.
29771
5908bf46
RM
297722012-08-14 Roland McGrath <roland@hack.frob.com>
29773
29774 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 29775 * elf/dl-lookup.c: Likewise.
5908bf46 29776
f2c05b9e
JM
297772012-08-14 Joseph Myers <joseph@codesourcery.com>
29778
29779 * sysdeps/unix/sysv/linux/kernel-features.h
29780 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29781 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29782 unconditionally.
29783 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29784 unconditionally.
29785 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29786 condition on __ASSUME_CLONE_THREAD_FLAGS.
29787
e11f5155
AJ
297882012-08-14 Andreas Jaeger <aj@suse.de>
29789
29790 * sysdeps/i386/fpu/libm-test-ulps: Update.
29791
51a9ba86
MK
297922012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29793
2fdd4f78
AJ
29794 * include/atomic.h (atomic_exchange_and_add): Split into ...
29795 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29796 New atomic macros.
51a9ba86 29797
ba6cba9e
MT
297982012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29799
29800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29801
42443a47
JL
298022012-08-13 Jeff Law <law@redhat.com>
29803
29804 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29805 null byte in the output string.
29806
121dce05
JM
298072012-08-10 Joseph Myers <joseph@codesourcery.com>
29808
29809 * sysdeps/unix/sysv/linux/kernel-features.h
29810 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29811 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29812 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29813 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29814 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29815 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29816 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29817
bf51f568
JL
298182012-08-09 Jeff Law <law@redhat.com>
29819
29820 [BZ #13939]
29821 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29822 When avoid_arena is set, don't retry in the that arena. Pick the
29823 next one, whatever it might be.
29824 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29825 (arena_lock): Pass in new parameter to arena_get2.
29826 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29827 arena_get2.
29828 (__libc_malloc): Unify retrying after main arena failure with
29829 __libc_memalign version.
29830 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29831
f85fa270
L
298322012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29833
29834 [BZ #14166]
29835 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29836 to __redirect_strstr.
29837 (__strstr_sse42): Use typeof __redirect_strstr.
29838 (__strstr_ia32): Likewise.
29839 (__libc_strstr): New prototype.
29840 (strstr): Renamed to ...
29841 (__libc_strstr): This.
29842 (strstr): New strong alias of __libc_strstr.
29843 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29844 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29845 __redirect_time.
29846 Include <time.h>.
29847 (__libc_time): New prototype.
29848 (time_ifunc): Replace time with __libc_time.
29849 (time): New strong alias and hidden definition of __libc_time.
29850 (__GI_time): Remove strong alias.
29851 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29852 Include <stddef.h>.
29853 (memmove): Redefined to __redirect_memmove.
29854 (__memmove_sse2): Use typeof __redirect_memmove.
29855 (__memmove_ssse3): Likewise.
29856 (__memmove_ssse3_back): Likewise.
29857 (__libc_memmove): New prototype.
29858 (memmove): Renamed to ...
29859 (__libc_memmove): This.
29860 (memmove): New strong alias of __libc_memmove.
29861
33b4a91e
MS
298622012-08-08 Mark Salter <msalter@redhat.com>
29863
29864 * elf/elf.h
29865 (R_MN10300_TLS_GD): Define.
29866 (R_MN10300_TLS_LD): Likewise.
29867 (R_MN10300_TLS_LDO): Likewise.
29868 (R_MN10300_TLS_GOTIE): Likewise.
29869 (R_MN10300_TLS_IE): Likewise.
29870 (R_MN10300_TLS_LE): Likewise.
29871 (R_MN10300_TLS_DTPMOD): Likewise.
29872 (R_MN10300_TLS_DTPOFF): Likewise.
29873 (R_MN10300_TLS_TPOFF): Likewise.
29874 (R_MN10300_SYM_DIFF): Likewise.
29875 (R_MN10300_ALIGN): Likewise.
29876 (R_MN10300_NUM): Update.
29877
b36137f1
JM
298782012-08-08 Joseph Myers <joseph@codesourcery.com>
29879
29880 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29881 Remove.
29882
cdd915fd
RM
298832012-08-08 Roland McGrath <roland@hack.frob.com>
29884
a2433aac
RM
29885 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29886
cdd915fd
RM
29887 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29888 sysdeps/unix -> sysdeps/posix move.
29889 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29890
bf9b740a
AM
298912012-08-07 Allan McRae <allan@archlinux.org>
29892
29893 [BZ #14303]
29894 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29895 (SUNOS_CPP): Likewise.
29896 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29897 not found.
29898 (open_input): Call CPP using execvp.
29899
93df14ee
JM
299002012-08-07 Joseph Myers <joseph@codesourcery.com>
29901
29902 * sysdeps/unix/sysv/linux/kernel-features.h
29903 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29904 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29905 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29906 (__ASSUME_WAITID_SYSCALL): Likewise.
29907 * sysdeps/unix/sysv/linux/dl-execstack.c
29908 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29909 code unconditional.
29910 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29911 conditional code.
29912 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29913 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29914 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29915 code.
29916 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29917 unconditional.
29918 [__ASSUME_WAITID_SYSCALL]: Likewise.
29919 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29920
d34689de
RM
299212012-08-07 Roland McGrath <roland@hack.frob.com>
29922
a281decc
RM
29923 * sysdeps/unix/closedir.c: Renamed to ...
29924 * sysdeps/posix/closedir.c: ... here.
29925 * sysdeps/unix/dirfd.c: Renamed to ...
29926 * sysdeps/posix/dirfd.c: ... here.
29927 * sysdeps/unix/dirstream.h: Renamed to ...
29928 * sysdeps/posix/dirstream.h: ... here.
29929 * sysdeps/unix/fdopendir.c: Renamed to ...
29930 * sysdeps/posix/fdopendir.c: ... here.
29931 * sysdeps/unix/opendir.c: Renamed to ...
29932 * sysdeps/posix/opendir.c: ... here.
29933 * sysdeps/unix/readdir.c: Renamed to ...
29934 * sysdeps/posix/readdir.c: ... here.
29935 * sysdeps/unix/readdir_r.c: Renamed to ...
29936 * sysdeps/posix/readdir_r.c: ... here.
29937 * sysdeps/unix/rewinddir.c: Renamed to ...
29938 * sysdeps/posix/rewinddir.c: ... here.
29939 * sysdeps/unix/seekdir.c: Renamed to ...
29940 * sysdeps/posix/seekdir.c: ... here.
29941 * sysdeps/unix/telldir.c: Renamed to ...
29942 * sysdeps/posix/telldir.c: ... here.
29943 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29944 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29945 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29946 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29947
22895b47
RM
29948 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29949 * bits/fcntl.h: ... here.
29950
707a53b6
RM
29951 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29952 not 0.
29953 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29954 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29955 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29956 (struct flock): Move l_start, l_len to the beginning.
29957 Use __pid_t for l_pid.
29958 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29959 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29960 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29961 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29962 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29963 [__USE_LARGEFILE64] (struct flock64): New type.
29964 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29965
f0bd3e25
RM
29966 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29967 * bits/dirent.h: ... here.
29968
d34689de
RM
29969 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29970 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29971
6dad2c06
JM
299722012-08-07 Joseph Myers <joseph@codesourcery.com>
29973
29974 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29975 Change from 2.6.0 to 2.6.16.
29976 * sysdeps/unix/sysv/linux/configure: Regenerated.
29977 * sysdeps/unix/sysv/linux/kernel-features.h
29978 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29979 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29980 version.
29981 (__ASSUME_UTIMES): Likewise.
29982 (__ASSUME_CLONE_STOPPED): Remove.
29983 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29984 architectures, not kernel version.
29985 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29986 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29987 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29988 (__ASSUME_WAITID_SYSCALL): Likewise.
29989 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29990 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29991 * README: State 2.6.16 as minimum Linux kernel version. Do not
29992 refer to older versions.
29993
03af9520
RM
299942012-08-06 Roland McGrath <roland@hack.frob.com>
29995
8e49df1d
RM
29996 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29997 Define alphasort64 as an alias.
29998 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29999 Define versionsort64 as an alias.
30000 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30001 Define scandir64 as an alias.
30002 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30003 Define scandirat64 as an alias.
30004 * dirent/alphasort64.c (alphasort64):
30005 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30006 * dirent/versionsort64.c: Likewise.
30007 * dirent/scandir64.c: Likewise.
30008 * dirent/scandirat64.c: Likewise.
30009 * sysdeps/wordsize-64/alphasort.c: File removed.
30010 * sysdeps/wordsize-64/alphasort64.c: File removed.
30011 * sysdeps/wordsize-64/scandir.c: File removed.
30012 * sysdeps/wordsize-64/scandir64.c: File removed.
30013 * sysdeps/wordsize-64/scandirat.c: File removed.
30014 * sysdeps/wordsize-64/scandirat64.c: File removed.
30015 * sysdeps/wordsize-64/versionsort.c: File removed.
30016 * sysdeps/wordsize-64/versionsort64.c: File removed.
30017 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30018 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30019 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30020 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30021 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30022 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30023 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30024 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30025
30026 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30027 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30028 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30029 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30030 [defined __arch64__ || defined __sparcv9]
30031 (__INO_T_MATCHES_INO64_T): New macro.
30032 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30033 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30034 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30035 * sysdeps/unix/sysv/linux/bits/dirent.h
30036 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30037 (_DIRENT_MATCHES_DIRENT64): New macro.
30038
03af9520
RM
30039 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30040 Define lockf64 as an alias.
30041 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30042 Define fseeko64 as an alias.
30043 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30044 Define ftello64 as an alias.
30045 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30046 Define _IO_fgetpos64 and fgetpos64 as aliases.
30047 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30048 Define _IO_fsetpos64 and fsetpos64 as aliases.
30049 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30050 Conditionalize body on this.
30051 * libio/fseeko64.c: Likewise.
30052 * libio/ftello64.c: Likewise.
30053 * libio/iofgetpos64.c: Likewise.
30054 * libio/iofsetpos64.c: Likewise.
30055 * sysdeps/wordsize-64/lockf.c: File removed.
30056 * sysdeps/wordsize-64/lockf64.c: File removed.
30057 * sysdeps/wordsize-64/fseeko.c: File removed.
30058 * sysdeps/wordsize-64/fseeko64.c: File removed.
30059 * sysdeps/wordsize-64/ftello.c: File removed.
30060 * sysdeps/wordsize-64/ftello64.c: File removed.
30061 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30062 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30063 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30064 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30065 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30066 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30067 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30068 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30069 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30070 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30071 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30072 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30073 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30074 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30075
30076 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30077 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30078 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30079 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30080 [defined __arch64__ || defined __sparcv9]
30081 (__OFF_T_MATCHES_OFF64_T): New macro.
30082 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30083 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30085 (__OFF_T_MATCHES_OFF64_T): New macro.
30086
c5757acd
L
300872012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30088
30089 * stdlib/secure-getenv.c (__secure_getenv): Replace
30090 GLIBC_2_16 with GLIBC_2_17.
30091
3a31811e
L
300922012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30093
30094 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30095 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30096
faa2bccb
DM
300972012-08-03 David S. Miller <davem@davemloft.net>
30098
30099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30100
85fe1997
JM
301012012-08-03 Joseph Myers <joseph@codesourcery.com>
30102
30103 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30104 Remove.
30105 (__ASSUME_CORRECT_SI_PID): Likewise.
30106 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30107 (__ASSUME_TMPFS_NAME): Likewise.
30108 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30109 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30110 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30111 (HAVE_AUX_SECURE): Make definition unconditional.
30112 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30113 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30114
4f75b7a0
RM
301152012-08-03 Roland McGrath <roland@hack.frob.com>
30116
30117 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30118 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30119 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30120 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30121 __eloop_threshold instead of SYMLOOP_MAX.
30122
30123 * sysdeps/generic/eloop-threshold.h: New file.
30124 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30125 of MAXSYMLINKS.
30126 * elf/chroot_canon.c (chroot_canon): Likewise.
30127
7aab07e4
JM
301282012-08-03 Joseph Myers <joseph@codesourcery.com>
30129
30130 [BZ #13717]
30131 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30132 Change to 2.6.0 everywhere.
30133 * sysdeps/unix/sysv/linux/configure: Regenerated.
30134 * sysdeps/unix/sysv/linux/kernel-features.h
30135 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30136 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30137 kernel versions.
30138 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30139 (__ASSUME_FUTEX_REQUEUE): Remove.
30140 (__ASSUME_STATFS64): Define unconditionally.
30141 (__ASSUME_AT_SECURE): Likewise.
30142 (__ASSUME_CORRECT_SI_PID): Likewise.
30143 (__ASSUME_TGKILL): Define without depending on kernel version for
30144 i386.
30145 (__ASSUME_UTIMES): Likewise.
30146 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30147 kernel version.
30148 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30149 (__ASSUME_TMPFS_NAME): Likewise.
30150 * README: Update reference to Linux kernel versions.
30151
b67e9372
MP
301522012-08-02 Marek Polacek <polacek@redhat.com>
30153
1f529f7d 30154 [BZ# 14150]
b67e9372
MP
30155 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30156 libc_cv_asm_type_prefix with %.
30157 * configure: Regenerated.
d2441631
RM
30158 * include/libc-symbols.h: Remove comment about
30159 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
30160 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30161 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30162 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30163 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30164 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30165 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30166 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30167 * elf/tst-unique2mod1.c: Likewise.
30168 * elf/tst-unique1mod2.c: Likewise.
30169 * elf/tst-unique1mod1.c: Likewise.
30170 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30171 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30172 Replace ASM_TYPE_DIRECTIVE with .type.
30173 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30174 * sysdeps/i386/sysdep.h: Likewise.
30175 * sysdeps/x86_64/sysdep.h: Likewise.
30176 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
30177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30178 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 30179 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
30180 * sysdeps/powerpc/powerpc32/sysdep.h:
30181 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
30182 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30183 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30184 * sysdeps/i386/fpu/e_powf.S: Likewise.
30185 * sysdeps/i386/fpu/e_expl.S: Likewise.
30186 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30187 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30188 * sysdeps/i386/fpu/e_pow.S: Likewise.
30189 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30190 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30191 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30192 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30193 * sysdeps/i386/fpu/e_log2.S: Likewise.
30194 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30195 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30196 * sysdeps/i386/fpu/e_powl.S: Likewise.
30197 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30198 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30199 * sysdeps/i386/fpu/e_logl.S: Likewise.
30200 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30201 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30202 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30203 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30204 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30205 * sysdeps/i386/fpu/e_log.S: Likewise.
30206 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30207 * sysdeps/i386/fpu/e_logf.S: Likewise.
30208 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30209 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30210 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30211 * sysdeps/i386/fpu/e_log10.S: Likewise.
30212 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30213 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30214 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30215 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30216 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30217 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30218 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30219 * sysdeps/i386/i686/strtok.S: Likewise.
30220 * sysdeps/i386/i386-mcount.S: Likewise.
30221 * sysdeps/i386/strtok.S: Likewise.
30222 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30223 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30224 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30225 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30226 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30227 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30228 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30229 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30230 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30231 * sysdeps/x86_64/_mcount.S: Likewise.
30232 * sysdeps/x86_64/strtok.S: Likewise.
30233 * sysdeps/sh/_mcount.S: Likewise.
30234
2747bf9a
RM
302352012-08-01 Roland McGrath <roland@hack.frob.com>
30236
30237 * libio/iofopen.c: Include <fcntl.h>.
30238 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30239 (_IO_fopen64, fopen64): Define as aliases.
30240 * libio/iofopen64.c: Include <fcntl.h>.
30241 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30242 Conditionalize body on this.
30243 * sysdeps/wordsize-64/iofopen.c: File removed.
30244 * sysdeps/wordsize-64/iofopen64.c: File removed.
30245
3fb791b8
MP
302462012-08-01 Marek Polacek <polacek@redhat.com>
30247
30248 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30249 Use dlfcn directly instead of a variable.
30250 (binfmt-subdir): Do not define.
30251 (dlfcn): Likewise.
30252
a9f1039f
JM
302532012-08-01 Joseph Myers <joseph@codesourcery.com>
30254
23bddc06
JM
30255 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30256 Remove all definitions.
30257 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30258 <kernel-features.h>.
30259 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30260 (miss_F_GETOWN_EX): Remove all definitions.
30261 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30262 macro definition.
30263 [!__ASSUME_FCNTL64]: Remove conditional code.
30264 [__ASSUME_FCNTL64]: Make code unconditional.
30265 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30266 <kernel-features.h>.
30267 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30268 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30269 (lockf64) [__NR_fcntl64]: Make code unconditional.
30270 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30271
a9f1039f
JM
30272 * sysdeps/unix/sysv/linux/kernel-features.h
30273 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30274 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30275 Make code unconditional.
30276 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30277 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30279 [__NR_vfork]: Make code unconditional.
30280 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30281 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30283 [__NR_vfork]: Make code unconditional.
30284 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30285 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30286
09c0ee5f
RM
302872012-08-01 Roland McGrath <roland@hack.frob.com>
30288
48aec5b9
RM
30289 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30290 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30291
cd97c966
RM
30292 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30293 Define mkstemp64 as an alias.
3f55550c
RM
30294 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30295 Define mkstemps64 as an alias.
cd97c966
RM
30296 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30297 Define mkostemp64 as an alias.
b8625cfc
RM
30298 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30299 Define mkostemps64 as an alias.
cd97c966
RM
30300 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30301 Conditionalize body on this.
30302 * misc/mkostemp64.c: Likewise.
b8625cfc 30303 * misc/mkostemps64.c: Likewise.
3f55550c 30304 * misc/mkstemps64.c: Likewise.
cd97c966
RM
30305 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30306 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30307 * sysdeps/wordsize-64/mkostemp.c: File removed.
30308 * sysdeps/wordsize-64/mkstemp.c: File removed.
30309 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30310 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30311 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30312 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30313
09c0ee5f
RM
30314 [BZ #14138]
30315 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30316 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30317 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30318 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30319
30320 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30321 compat_symbol macros from <shlib-compat.h> rather than the underlying
30322 default_symbol_version and symbol_version macros, so that DEFAULT
30323 lines in shlib-versions are respected.
30324 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30325
7e66ee51
FW
303262012-08-01 Florian Weimer <fweimer@redhat.com>
30327
30328 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30329 Declare with warn_unused_result.
30330 (setgid, setregid, setegid, setresgid): Likewise.
30331 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30332 Likewise.
30333 * WUR-REPORT: Remove set*id functions.
30334
d2a54255
PT
303352012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30336
30337 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30338
7ecdb005
RM
303392012-07-31 Roland McGrath <roland@hack.frob.com>
30340
b4180a5e 30341 [BZ #10191]
789bd351
RM
30342 * include/sys/socket.h (__libc_accept, __libc_accept4):
30343 Add attribute_hidden.
30344 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30345
40ce302d
RM
30346 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30347 use of PTR_MANGLE.
30348 * inet/getnetgrent_r.c (setup): Likewise.
30349
7ecdb005
RM
30350 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30351
e2eabb2c
DM
303522012-07-31 David S. Miller <davem@davemloft.net>
30353
30354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30355
d0419dbf
JM
303562012-07-31 Joseph Myers <joseph@codesourcery.com>
30357
30358 [BZ #13629]
30359 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30360 value between 1.0 and 2.0 and smaller part has absolute value less
30361 than 1.0.
30362 * math/s_clog10.c (__clog10): Likewise.
30363 * math/s_clog10f.c (__clog10f): Likewise.
30364 * math/s_clog10l.c (__clog10l): Likewise.
30365 * math/s_clogf.c (__clogf): Likewise.
30366 * math/s_clogl.c (__clogl): Likewise.
30367 * math/libm-test.inc (clog_test): Add more tests.
30368 (clog10_test): Likewise.
30369 * sysdeps/i386/fpu/libm-test-ulps: Update.
30370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30371
2bc13872
FW
303722012-07-31 Florian Weimer <fweimer@redhat.com>
30373
30374 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30375 Exit with zero in case no suitable GID is found, and write a
30376 message to standard error.
30377
bea9b193
RM
303782012-07-30 Roland McGrath <roland@hack.frob.com>
30379
30380 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30381 rather than to 1.
30382 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30383 (MAXPATHLEN): Removed.
30384 (NOGROUP, NODEV): New macros.
30385 (setbit, clrbit, isset, isclr): New macros.
30386 (howmany, roundup, powerof2): New macros.
30387 (DEV_BSIZE): New macro.
30388
30389 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30390 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30391
30392 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30393 definition on [!__NO_LONG_DOUBLE_MATH].
30394
30395 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30396 PTR_MANGLE and PTR_DEMANGLE.
30397
30398 * socket/accept4.c (accept4): Rename to __libc_accept4.
30399 Define accept4 as a weak alias.
30400
30401 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30402 on [_DIRENT_HAVE_D_TYPE].
30403 * io/ftw.c (ftw_dir): Likewise.
30404
30405 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30406
30407 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30408
30409 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30410 Use the BSD numbers rather than the arbitrary ones we had.
30411 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30412 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30413 (SIGXCPU, SIGXFSZ): New macros.
30414 (_NSIG): Now 32.
30415
30416 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30417 initializer on [_LIBC_REENTRANT].
30418
30419 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30420 definitions inside [_POSIX_MAPPED_FILES].
30421
30422 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30423
30424 * dirent/opendir.c: Include <fcntl.h>.
30425
30426 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30427 (__libc_getspecific): Likewise.
30428 (__libc_key_create): Likewise.
30429
30430 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30431 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30432 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30433 (tmpfile64): Define as alias.
30434 * sysdeps/wordsize-64/tmpfile.c: File removed.
30435 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30436 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30437 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30438
30439 * stdio-common/vfscanf.c: Include <stdbool.h>.
30440 * nss/makedb.c: Likewise.
30441 * stdio-common/_i18n_number.h: Likewise.
30442 * argp/argp-help.c: Likewise.
30443 * posix/wordexp.c: Likewise.
30444 * sysdeps/posix/spawni.c: Likewise.
30445 * nss/nss_files/files-initgroups.c: Likewise.
30446 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30447 * nss/nss_files/files-initgroups.c: Likewise.
30448 * nss/nss_db/db-netgrp.c: Likewise.
30449 * nss/nss_db/db-initgroups.c: Likewise.
30450 * io/fchmodat.c: Include <sys/stat.h>.
30451
30452 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30453 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30454
30455 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30456 [HAVE_MMAP].
30457
30458 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30459 Add multiple inclusion protection.
30460
e5abc686
DM
304612012-07-27 David S. Miller <davem@davemloft.net>
30462
30463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30464
815e6fa3
GB
304652012-07-27 Gary Benson <gbenson@redhat.com>
30466
30467 [BZ #14298]
30468 * elf/rtld.c: Include <stap-probe.h>.
30469 (dl_main): Added static probes "init_start" and "init_complete".
30470 * elf/dl-load.c: Include <stap-probe.h>.
30471 (lose): Take new parameter "nsid".
30472 Added static probe "map_failed".
30473 (_dl_map_object_from_fd): Pass namespace id to lose.
30474 Added static probe "map_start".
30475 (open_verify): Pass namespace id to lose.
30476 * elf/dl-open.c: Include <stap-probe.h>.
30477 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30478 and "reloc_complete".
30479 * elf/dl-close.c: Include <stap-probe.h>.
30480 (_dl_close_worker): Added static probes "unmap_start" and
30481 "unmap_complete".
30482 * elf/rtld-debugger-interface.txt: New file documenting the above.
30483
9f98c16c
RM
304842012-07-26 Roland McGrath <roland@hack.frob.com>
30485
30486 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30487 rather than a string variable.
30488 * sunrpc/rpc_main.c (h_output): Likewise.
30489 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30490
f3c22df3
PT
304912012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30492
30493 * inet/check_native.c: New file.
30494
3129cfc6
JM
304952012-07-26 Joseph Myers <joseph@codesourcery.com>
30496
da865e95
JM
30497 [BZ #13629]
30498 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30499 if larger part has absolute value 1.0.
30500 * math/s_clog10.c (__clog10): Likewise.
30501 * math/s_clog10f.c (__clog10f): Likewise.
30502 * math/s_clog10l.c (__clog10l): Likewise.
30503 * math/s_clogf.c (__clogf): Likewise.
30504 * math/s_clogl.c (__clogl): Likewise.
30505 * math/libm-test.inc (clog_test): Add more tests.
30506 (clog10_test): Likewise.
30507 * sysdeps/i386/fpu/libm-test-ulps: Update.
30508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30509
3129cfc6
JM
30510 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30511 (pltexit): Likewise.
30512 (La_regs): Likewise.
30513 (La_retval): Likewise.
30514 (int_retval): Likewise.
30515 Update #error for removed macros to refer only to definitions in
30516 tst-audit.h.
30517 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30518 macro.
30519 (pltexit): Likewise.
30520 (La_regs): Likewise.
30521 (La_retval): Likewise.
30522 (int_retval): Likewise.
30523 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30524 macro.
30525 (pltexit): Likewise.
30526 (La_regs): Likewise.
30527 (La_retval): Likewise.
30528 (int_retval): Likewise.
30529 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30530 macro.
30531 (pltexit): Likewise.
30532 (La_regs): Likewise.
30533 (La_retval): Likewise.
30534 (int_retval): Likewise.
30535 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30536 macro.
30537 (pltexit): Likewise.
30538 (La_regs): Likewise.
30539 (La_retval): Likewise.
30540 (int_retval): Likewise.
30541 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30542 macro.
30543 (pltexit): Likewise.
30544 (La_regs): Likewise.
30545 (La_retval): Likewise.
30546 (int_retval): Likewise.
30547 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30548 macro.
30549 (pltexit): Likewise.
30550 (La_regs): Likewise.
30551 (La_retval): Likewise.
30552 (int_retval): Likewise.
30553 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30554 macro definitions in tst-audit.h.
30555 * sysdeps/i386/tst-audit.h: New file.
30556 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30557 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30558 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30559 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30560 * sysdeps/sh/tst-audit.h: Likewise.
30561 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30562 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30563 * sysdeps/x86_64/tst-audit.h: Likewise.
30564
bfc07087
AJ
305652012-07-26 Andreas Jaeger <aj@suse.de>
30566
b1b2aaf8
AJ
30567 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30568 ptrace.
30569
30570 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30571 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30572 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30573 PTRACE_O_MASK.
30574 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30575 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30576 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30577
bfc07087
AJ
30578 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30579 value.
30580
30581 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30582 _sigsys.
30583 (si_call_addr, si_syscall, si_arch): Define new macro.
30584 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30585 _sigsys.
30586 (si_call_addr, si_syscall, si_arch): Define new marcro.
30587 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30588 _sigsys.
30589 (si_call_addr, si_syscall, si_arch): Define new macro.
30590 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30591 _sigsys.
30592 (si_call_addr, si_syscall, si_arch): Define new macro.
30593
89b4b02f
JM
305942012-07-25 Joseph Myers <joseph@codesourcery.com>
30595
30596 [BZ #13717]
30597 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30598 Change to 2.4.21 where previously 2.4.1.
30599 * sysdeps/unix/sysv/linux/configure: Regenerated.
30600 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30601 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30602 Linux kernel version.
30603 (__ASSUME_STD_AUXV): Remove.
30604 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30605 kernel version.
30606 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30607 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30608 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30609 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30610 (__ASSUME_NETLINK_SUPPORT): Likewise.
30611 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30612 (__no_netlink_support): Remove conditional definition.
30613 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30614 Remove.
30615 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30616 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30617 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30618 (if_nameindex_ioctl): Remove.
30619 (if_nameindex_netlink): Do not handle __no_netlink_support.
30620 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30621 code.
30622 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30623 Remove conditional code.
30624 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30625 code.
30626 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30627 unconditional.
30628 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30629 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30630 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30631 Remove.
30632 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30633 [!__ASSUME_STD_AUXV]: Remove conditional code.
30634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30635 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30636 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30638 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30639 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30640 code.
30641 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30643 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30644 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30645 conditional code.
30646 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30648 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30649 code.
30650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30651 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30652 conditional code.
30653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30654 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30655 code unconditional.
30656 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30657 conditional code.
30658 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30659 unconditional.
30660 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30661 conditional code.
30662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30663 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30664 unconditional.
30665 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30666 conditional code.
30667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30668 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30669 code unconditional.
30670 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30671 conditional code.
30672 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30673 unconditional.
30674 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30675 conditional code.
30676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30677 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30678 code unconditional.
30679 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30680 conditional code.
30681 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30682 unconditional.
30683 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30684 conditional code.
30685
842a39cd
AS
306862012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30687
30688 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30689 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30690 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30691 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30692 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30693 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30694 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30695 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30696 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30697 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30698 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30699 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30700 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30701 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30702 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30703 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30704 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30705 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30706 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30708 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30709 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30710 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30711
84b3fd84
FW
307122012-07-25 Florian Weimer <fweimer@redhat.com>
30713
30714 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
30715 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30716 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30717 Introduce __libc_secure_getenv.
0c7936d5
FW
30718 * stdlib/Versions (2.17): Add secure_getenv
30719 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30720 * stdlib/secure-getenv.c: Rename __secure_getenv to
30721 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30722 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
30723 * stdlib/tst-secure-getenv.c: New.
30724 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
30725 * manual/startup.texi (Environment Access): Document
30726 secure_getenv.
84b3fd84
FW
30727 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30728 __libc_secure_getenv.
30729 * inet/ruserpass.c (ruserpass): Likewise.
30730 * malloc/mtrace.c (mtrace): Likewise.
30731 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 30732 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
30733 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30734 * sysdeps/posix/tempname.c: Likewise. Evaluate
30735 HAVE_SECURE_GETENV.
30736 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 30737 __secure_getenv to __libc_secure_getenv.
84b3fd84 30738 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
30739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30740 Likewise.
30741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30742 Likewise.
30743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30745 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 30750
56e49b71
JM
307512012-07-25 Joseph Myers <joseph@codesourcery.com>
30752
30753 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30754 (struct La_i86_retval): Likewise.
30755 (struct La_x86_64_regs): Likewise.
30756 (struct La_x86_64_retval): Likewise.
30757 (struct La_x32_regs): Likewise.
30758 (struct La_x32_retval): Likewise.
30759 (struct La_ppc32_regs): Likewise.
30760 (struct La_ppc32_retval): Likewise.
30761 (struct La_ppc64_regs): Likewise.
30762 (struct La_ppc64_retval): Likewise.
30763 (struct La_sh_regs): Likewise.
30764 (struct La_sh_retval): Likewise.
30765 (struct La_s390_32_regs): Likewise.
30766 (struct La_s390_32_retval): Likewise.
30767 (struct La_s390_64_regs): Likewise.
30768 (struct La_s390_64_retval): Likewise.
30769 (struct La_sparc32_regs): Likewise.
30770 (struct La_sparc32_retval): Likewise.
30771 (struct La_sparc64_regs): Likewise.
30772 (struct La_sparc64_retval): Likewise.
30773 (struct audit_ifaces): Remove architecture-specific pltenter and
30774 pltexit members.
30775 * sysdeps/i386/ldsodefs.h: New file.
30776 * sysdeps/powerpc/ldsodefs.h: Likewise.
30777 * sysdeps/s390/ldsodefs.h: Likewise.
30778 * sysdeps/sh/ldsodefs.h: Likewise.
30779 * sysdeps/sparc/ldsodefs.h: Likewise.
30780 * sysdeps/x86_64/ldsodefs.h: Likewise.
30781
354691b7
MP
307822012-07-25 Marek Polacek <polacek@redhat.com>
30783
30784 [BZ #6808]
30785 * math/libm-test.inc (yn_test): Add another test.
30786 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30787 to ERANGE when the result is +-Inf.
30788 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30789 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30790 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30791 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30792
bf9e2071
JM
307932012-07-24 Joseph Myers <joseph@codesourcery.com>
30794
30795 * conform/data/time.h-data (NULL): Use macro-constant. Require
30796 equal to 0.
30797 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30798 clock_t.
30799 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30800
57633811
TS
308012012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30802
30803 * configure.in <sysdeps resolving>: Correct printing
30804 Implies_before.
30805 * configure: Regenerate.
30806
c23c33b0
TS
308072012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30808
30809 * math/w_ilogb.c: Include <limits.h>.
30810 * math/w_ilogbl.c: Likewise.
30811
b5982523
JM
308122012-07-20 Joseph Myers <joseph@codesourcery.com>
30813
30814 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30815 va_copy. Document allowing for unavailable va_copy only as
30816 pre-C99 compatibility.
30817 * manual/string.texi (Copying and Concatenation): Use va_copy
30818 instead of __va_copy in concat example.
30819
ac4ea442
PT
308202012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30821
30822 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30823 (__sendto): Use create_address_port. Initialize APORT and deallocate
30824 it if not null.
30825
f98eafbd
PT
30826 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30827 with O_NOLINK passed to __file_name_lookup.
30828
898c7aab
PT
30829 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30830 with O_NOLINK passed to __file_name_lookup.
30831
0ced335a
PT
30832 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30833 negative N or less than NGIDS.
30834
b3404dbd
PT
30835 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30836 type to string_t. Set ERANGE as errno and return it if NAME is not big
30837 enough. Use memcpy instead of strncpy.
30838
0f48659e
JM
308392012-07-20 Joseph Myers <joseph@codesourcery.com>
30840
30841 * elf/Makefile (check-data): Remove.
30842 (localplt.data): New vpath directive.
30843 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30844 instead of $(check-data).
30845 * scripts/data/localplt-generic.data: Move to ...
30846 * sysdeps/generic/localplt.data: ... here.
30847 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30848 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30849 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30851 ... here.
30852 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30854 ... here.
30855 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30857 ... here.
30858 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30860 ... here.
30861 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30863 ... here.
30864 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30866 ... here.
30867
d37cbdaa
AZ
308682012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30869
30870 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30871 PPC32 and PPC64 files.
30872 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30873 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30874
46f85fc2
AK
308752012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30876
30877 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30878 __makecontext_ret to ...
30879 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30880 ... here and call exit if uc_link is NULL. New file.
30881 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30882 __makecontext_ret.S.
30883 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30884 __makecontext_ret to ...
30885 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30886 ... here and call exit if uc_link is NULL. New file.
30887 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30888 __makecontext_ret.S.
30889
08f43f9b
AK
308902012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30891
30892 * elf/elf.h (R_390_IRELATIVE): New definition.
30893 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30894 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30895 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30896 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30897 (elf_machine_lazy_rel): Likewise.
30898 * sysdeps/s390/dl-irel.h: New file.
30899 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30900 * sysdeps/s390/s390-64/memset.S: New asm code.
30901 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30902 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30903 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30904 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30905 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30906 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30907 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30908 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30909 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30910 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30911 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30912 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30913 * sysdeps/s390/s390-32/memset.S: New asm code.
30914 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30915
3b05db33
MP
309162012-07-17 Marek Polacek <polacek@redhat.com>
30917
30918 [BZ #14349]
30919 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30920 * sysdeps/s390/s390-64/configure.in: Likewise.
30921 * sysdeps/sparc/configure.in: Likewise.
30922 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30923 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30924 * sysdeps/i386/configure.in: Likewise.
30925 * sysdeps/x86_64/configure.in: Likewise.
30926 * sysdeps/sh/configure.in: Likewise.
30927 * sysdeps/s390/s390-32/configure: Regenerated.
30928 * sysdeps/s390/s390-64/configure: Likewise.
30929 * sysdeps/x86_64/configure: Likewise.
30930 * sysdeps/sh/configure: Likewise.
30931 * sysdeps/powerpc/powerpc64/configure: Likewise.
30932 * sysdeps/powerpc/powerpc32/configure: Likewise.
30933 * sysdeps/sparc/configure: Likwise.
30934 * sysdeps/i386/configure: Likewise.
30935
a66877c6
MP
30936 * elf/dl-open.c: Comment fixes.
30937
cfc82fd8
JM
309382012-07-17 Joseph Myers <joseph@codesourcery.com>
30939
bd29910a
JM
30940 * Makefile [CXX] (check-data): Remove.
30941 [CXX] (c++-types.data): New vpath directive.
30942 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30943 vpath. Do not allow for C++ type data being missing.
30944 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30945 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30946 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30947 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30948 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30949 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30950 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30952 ... here.
30953 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30955 ... here.
30956 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30958 ... here.
30959 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30961 ... here.
30962 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30964 ... here.
30965 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30967 ... here.
30968 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30970 ... here.
30971 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30973
cfc82fd8
JM
30974 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30975 definitions to architecture-specific files.
30976 (TLS_IE): Likewise.
30977 (TLS_LD): Likewise.
30978 (TLS_GD): Likewise.
30979 * sysdeps/i386/tls-macros.h: New file.
30980 * sysdeps/powerpc/tls-macros.h: Likewise.
30981 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30982 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30983 * sysdeps/sh/tls-macros.h: Likewise.
30984 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30985 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30986 * sysdeps/x86_64/tls-macros.h: Likewise.
30987
f7db3170
TS
309882012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30989
07cbfc23
TS
30990 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30991 zero value for regular exit case.
30992
f7db3170
TS
30993 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30994 (__start_context): Preserve zero value for regular exit case.
30995
dc97c227
TS
309962012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30997 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30998
30999 * manual/setjmp.texi (setcontext): Clarify normal process
31000 termination when uc_link is the null pointer.
31001 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31002 exit call.
31003
d0cd7d02
AS
310042012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31005
31006 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31007 preprocessor. Test for each exception mask separately.
31008
dd318934
AJ
310092012-07-16 Andreas Jaeger <aj@suse.de>
31010
31011 * po/ru.po: Update from translation team.
31012
8048311a
JM
310132012-07-15 Joseph Myers <joseph@codesourcery.com>
31014
31015 * conform/data/string.h-data (NULL): Use macro-constant. Require
31016 equal to 0.
31017 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31018 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31019 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31020 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31021 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31022
b637d46e
AJ
310232012-07-13 Andreas Jaeger <aj@suse.de>
31024
31025 * po/fr.po: Update from translation team.
31026
541428fe
MP
310272012-07-12 Marek Polacek <polacek@redhat.com>
31028
31029 [BZ #14173]
31030 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31031 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31032 loop condition.
31033
ec332e94
JM
310342012-07-12 Joseph Myers <joseph@codesourcery.com>
31035
31036 [BZ #13717]
31037 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31038 Change to 2.4.1 where previously 2.4.0.
31039 * sysdeps/unix/sysv/linux/configure: Regenerated.
31040 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31041 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31042 version.
31043 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31044 (__ASSUME_AT_CLKTCK): Remove.
31045 (__ASSUME_AT_PAGESIZE): Likewise.
31046 (__ASSUME_AT_XID): Likewise.
31047 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31048 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31049 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31050 unconditionally.
31051 (HAVE_AUX_PAGESIZE): Likewise.
31052 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31053 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31054 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31055
7b6e99be
JB
310562012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31057
31058 [BZ #14307]
31059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31060 the temporary buffer used to invoke __gethostbyname2_r,
31061 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31062 host_data / struct gaih_addrtuple.
31063 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31064 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31065 header file nss/nsswitch.h.
31066 * nss/nsswitch.h (global scope): Add definition of implementation
31067 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31068 resolv/nss_dns/dns-host.c).
31069
608404eb
AJ
310702012-07-11 Andreas Jaeger <aj@suse.de>
31071
31072 * po/fr.po: Update from translation team.
31073
71220aca
AJ
31074 * po/sv.po: Update from translation team
31075 * po/fr.po: Another update from translation team.
31076
28cfe843
AZ
310772012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31078
31079 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31080 for subnormals or multiply small sinh result by itself.
31081 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31083
6b90f981
DM
310842012-07-11 David S. Miller <davem@davemloft.net>
31085
31086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31087
c6825772
AS
310882012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31089
31090 [BZ #14347]
31091 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31092 (INTERNAL_MARK): Shift it here.
31093
7b8e0d49
MP
310942012-07-10 Marek Polacek <polacek@redhat.com>
31095
31096 [BZ #14151]
31097 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31098 libc_cv_asm_global_directive with .globl.
31099 * configure: Regenerated.
31100 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31101 with .globl.
31102 * sysdeps/i386/configure: Regenerated.
31103 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31104 with .globl.
31105 * sysdeps/x86_64/configure: Regenerated.
31106 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31107 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31108 * elf/tst-unique2mod2.c: Likewise.
31109 * elf/tst-unique2mod1.c: Likewise.
31110 * elf/tst-unique1mod2.c: Likewise.
31111 * elf/tst-unique1mod1.c: Likewise.
31112 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31113 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31114 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31115 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31116 * sysdeps/mach/sysdep.h: Likewise.
31117 * sysdeps/i386/sysdep.h: Likewise.
31118 * sysdeps/i386/i386-mcount.S: Likewise.
31119 * sysdeps/x86_64/_mcount.S: Likewise.
31120 * sysdeps/x86_64/sysdep.h: Likewise.
31121 * sysdeps/sh/_mcount.S: Likewise.
31122 * sysdeps/sh/sysdep.h: Likewise.
31123 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31124 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31125 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31126 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31127 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31128 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31129 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31130 * locale/localeinfo.h: Likewise.
31131 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31132 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31133
6c55cda3
RM
311342012-07-09 Roland McGrath <roland@hack.frob.com>
31135
31136 [BZ #14336]
31137 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31138 system".
31139 * manual/message.texi (The Uniforum approach): Likewise.
31140 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31141 (glibc iconv Implementation): Likewise.
31142
638a572e
JM
311432012-07-09 Joseph Myers <joseph@codesourcery.com>
31144
31145 [BZ #14337]
31146 * math/s_clog.c (__clog): Avoid scaling a value down where that
31147 could result in underflow.
31148 * math/s_clog10.c (__clog10): Likewise.
31149 * math/s_clog10f.c (__clog10f): Likewise.
31150 * math/s_clog10l.c (__clog10l): Likewise.
31151 * math/s_clogf.c (__clogf): Likewise.
31152 * math/s_clogl.c (__clogl): Likewise.
31153 * math/libm-test.inc (clog_test): Add more tests.
31154 (clog10_test): Likewise.
31155 * sysdeps/i386/fpu/libm-test-ulps: Update.
31156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31157
261f4859
AS
311582012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31159
0abaf3e4
AS
31160 [BZ #14283]
31161 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31162 by 7 not 8 to examine high bit of fractional part.
31163
261f4859
AS
31164 [BZ #14042]
31165 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31166 for call to __mcount_internal.
31167 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31168 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31169 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31170
f17ac40d
JM
311712012-07-06 Joseph Myers <joseph@codesourcery.com>
31172
9ad63c23
JM
31173 [BZ #14154]
31174 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31175 approximation for values within 0x1p-13f of an odd multiple of
31176 pi/4.
31177 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31178 exception. Add more tests.
31179 * sysdeps/i386/fpu/libm-test-ulps: Update.
31180
f17ac40d
JM
31181 [BZ #6778]
31182 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31183 inputs and return -1 for them. Do not check for +Inf in case not
31184 reachable for +Inf.
31185 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31186 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31187 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31188 and return -1 for them. Do not check for +Inf in case not
31189 reachable for +Inf.
31190 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31191 define.
31192 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31193 and return -1 for them. Do not check for +Inf in case not
31194 reachable for +Inf.
31195 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31196 spurious underflow.
31197 * sysdeps/i386/fpu/libm-test-ulps: Update.
31198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31199
fb21f89b
MF
312002012-07-06 Mike Frysinger <vapier@gentoo.org>
31201
31202 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31203
cdfe2c5e
JM
312042012-07-05 Joseph Myers <joseph@codesourcery.com>
31205
31206 [BZ #14157]
31207 [BZ #14331]
31208 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31209 could result in spurious underflow. Scale down values above
31210 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31211 * math/s_csqrtf.c (__csqrtf): Likewise.
31212 * math/s_csqrtl.c (__csqrtl): Likewise.
31213 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31214 spurious underflow.
31215 * sysdeps/i386/fpu/libm-test-ulps: Update.
31216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31217
70d35b67
AS
312182012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31219
704bc459
AS
31220 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31221 xopen-msg.sed.
31222 * catgets/xopen-msg.awk: New file.
31223 * catgets/xopen-msg.sed: Removed.
31224
70d35b67
AS
31225 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31226 po2text.sed.
31227 * intl/po2test.awk: New file.
31228 * intl/po2test.sed: Removed.
31229
ca61cf32
JM
312302012-07-04 Joseph Myers <joseph@codesourcery.com>
31231
31232 [BZ #14328]
31233 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31234 or multiply small sinh result by itself.
31235 * math/s_ctanf.c (__ctanf): Likewise.
31236 * math/s_ctanh.c (__ctanh): Likewise.
31237 * math/s_ctanhf.c (__ctanhf): Likewise.
31238 * math/s_ctanhl.c (__ctanhl): Likewise.
31239 * math/s_ctanl.c (__ctanl): Likewise.
31240 * math/libm-test.inc (ctan_test_tonearest): New function.
31241 (ctan_test_towardzero): Likewise.
31242 (ctan_test_downward): Likewise.
31243 (ctan_test_upward): Likewise.
31244 (ctanh_test_tonearest): Likewise.
31245 (ctanh_test_towardzero): Likewise.
31246 (ctanh_test_downward): Likewise.
31247 (ctanh_test_upward): Likewise.
31248 (main): Call these new functions.
31249 * sysdeps/i386/fpu/libm-test-ulps: Update.
31250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31251
ca48a46a
MF
312522012-07-03 Mike Frysinger <vapier@gentoo.org>
31253
31254 * .gitignore: Delete /ports entry.
31255
9d63d37d
AJ
312562012-07-03 Andreas Jaeger <aj@suse.de>
31257
31258 * po/bg.po: Update from translation team.
31259 * po/cs.po: Likewise.
31260 * po/de.po: Likewise.
31261 * po/hr.po: Likewise.
31262 * po/nl.pl: Likewise.
31263 * po/pl.po: Likewise.
31264 * po/vi.po: Likewise.
31265
370ca3d2
JM
312662012-07-03 Joseph Myers <joseph@codesourcery.com>
31267
95f5a9a8
JM
31268 * Makeconfig [!+link] (+link-before-libc): New variable.
31269 [!+link] (+link-after-libc): Likewise.
31270 [!+link] (+link-tests): Likewise.
31271 [!+link] (+link): Define in terms of $(+link-before-libc) and
31272 $(+link-after-libc).
31273 [!+link-static] (+link-static-before-libc): New variable.
31274 [!+link-static] (+link-static-after-libc): Likewise.
31275 [!+link-static] (+link-static-tests): Likewise.
31276 [!+link-static] (+link-static): Define in terms of
31277 $(+link-static-before-libc) and $(+link-static-after-libc).
31278 [build-shared] (link-libc-before-gnulib): New variable.
31279 [build-shared] (link-libc-tests): Likewise.
31280 [build-shared] (link-libc): Define in terms of
31281 $(link-libc-before-gnulib).
31282 [!build-shared] (link-libc-tests): New variable.
31283 (link-libc-static-tests): New variable.
31284 [!gnulib] (gnulib-arch): New variable.
31285 [!gnulib] (gnulib-tests): Likewise.
31286 [!gnulib] (static-gnulib-arch): Likewise.
31287 [!gnulib] (static-gnulib-tests): Likewise.
31288 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31289 Define with "=" instead of ":=".
31290 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31291 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31292 * Rules (binaries-all-notests): New variable.
31293 (binaries-all-tests): Likewise.
31294 (binaries-static-notests): Likewise.
31295 (binaries-static-tests): Likewise.
31296 (binaries-all): Define using $(binaries-all-notests) and
31297 $(binaries-all-tests).
31298 (binaries-static): Define using $(binaries-static-notests) and
31299 $(binaries-static-tests).
31300 (binaries-shared-tests): New variable.
31301 (binaries-shared-notests): Likewise.
31302 (binaries-shared): Remove variable.
31303 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31304 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31305 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31306 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31307 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31308 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31309 * elf/Makefile (sln-modules): New variable.
31310 (extra-objs): Add $(sln-modules:=.o).
31311 (ldconfig-modules): Add static-stubs.
31312 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31313 * elf/static-stubs.c: New file.
31314
7a845b2c
JM
31315 [BZ #14283]
31316 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31317 by 7 not 8 to examine high bit of fractional part. Use volatile
31318 variables when splitting into final array of floats if
31319 __FLT_EVAL_METHOD__ != 0.
31320 * math/libm-test.inc (cos_test): Add another test.
31321 (sin_test): Likewise.
31322 * sysdeps/i386/fpu/libm-test-ulps: Update.
31323
e2283f38
JM
31324 [BZ #14273]
31325 * math/libm-test.inc (cosh_test): Add more tests.
31326
370ca3d2
JM
31327 * version.h (RELEASE): Set to "development".
31328 (VERSION): Set to "2.16.90".
31329
ee9247c3
CD
313302012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31331
31332 * NEWS: Update copyright. Remove last-updated date.
31333 Mention math library bug fixes and timezone data changes.
31334 * README: Mention GNU/Hurd, x32, and HPPA support status.
31335
4648c381
TS
313362012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31337
31338 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31339
aac78a43
AJ
313402012-06-27 Andreas Jaeger <aj@suse.de>
31341
31342 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31343
ed3dbfad
AJ
313442012-06-25 Andreas Jaeger <aj@suse.de>
31345
31346 * sysdeps/s390/fpu/libm-test-ulps: Update.
31347
4d0ee855
AS
313482012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31349 Thomas Schwinge <thomas@codesourcery.com>
31350
31351 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31352 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31353 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31354 fanotify_mark.
31355
af1bce34
TS
313562012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31357
a9fa33ba
TS
31358 * sysdeps/mach/start.c: Remove file.
31359 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31360 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31361 * sysdeps/sh/init-first.c: Likewise.
31362
58f902b8
TS
31363 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31364 registers for frame unwinding purposes, add CFI directives.
31365 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31366 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31367 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31368 Likewise.
31369
1518f58b
TS
31370 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31371 __fortify_fail returning.
31372 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31373
db9b5059
TS
31374 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31375 sysdeps/sh/____longjmp_chk.S.
31376 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31377 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31378 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31379 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31380
967705fe
TS
31381 * sysdeps/sh/abort-instr.h: New file.
31382 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31383 process in case exit returns.
31384
a9def8c4
TS
31385 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31386 initialize the GOT register before use.
31387
2a649725
TS
31388 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31389 calculation of ARGC > 4.
31390
af1bce34
TS
31391 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31392 meaningful names to some local labels.
31393
d230f50a
KK
313942012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31395 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31396
31397 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31398 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31399 (__arch_compare_and_exchange_val_16_acq): Likewise.
31400 (__arch_compare_and_exchange_val_32_acq): Likewise.
31401 (atomic_exchange_and_add): Fix gUSA sequence.
31402 (atomic_add): Likewise.
31403 (atomic_add_negative): Likewise.
31404 (atomic_add_zero): Likewise.
31405 (atomic_bit_test_set): Likewise.
31406
0479b305
AS
314072012-06-22 Andreas Schwab <schwab@redhat.com>
31408
31409 [BZ #13579]
31410 * include/link.h (struct link_map): Add l_free_initfini.
31411 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31412 l_initfini.
31413 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31414 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31415 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31416 set.
31417
0e3933b9
CD
314182012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31419
31420 * configure.in: Use AC_LANG_SOURCE.
31421 * configure: Regenerate.
31422
4248b1b1
RM
314232012-06-22 Roland McGrath <roland@hack.frob.com>
31424
31425 * configure.in (libc_cv_localstatedir): New substituted variable.
31426 * configure: Regenerated.
31427 * config.make.in (localstatedir): New variable, substituted from
31428 libc_cv_localstatedir.
31429 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31430 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31431 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31432 * sysdeps/gnu/configure: Regenerated.
31433
006dd861
JL
314342012-06-21 Jeff Law <law@redhat.com>
31435
31436 [BZ #14277]
31437 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31438 free. Simplify list management for _LIBC case.
31439
79662d42
JM
314402012-06-21 Joseph Myers <joseph@codesourcery.com>
31441
b7abb4bf
JM
31442 [BZ #14273]
31443 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31444 Clear sign bit of 64-bit integer value before comparing against
31445 overflow value.
31446
79662d42
JM
31447 * sysdeps/mach/configure: Regenerated.
31448
1f150908
L
314492012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31450
31451 [BZ #14278]
31452 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31453
28363bbf
JL
314542012-06-21 Jeff Law <law@redhat.com>
31455
31456 [BZ #13882]
31457 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31458 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 31459 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
31460 * elf/dl-open.c (dl_open_worker): Likewise.
31461
09615db4
CD
314622012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31463
31464 * scripts/list-sources.sh: Scan PORTS for translations.
31465 * po/libc.pot: Regenerated.
31466
2174c6dd
AJ
314672012-06-21 Andreas Jaeger <aj@suse.de>
31468
31469 [BZ #12194]
31470 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31471 warning.
31472 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31473 * bits/byteswap-16.h (__bswap_16): Likewise.
31474 * bits/byteswap.h (__bswap_constant_16): Likewise.
31475
3ee947b1
L
314762012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31477
31478 [BZ #14117]
a2f34833
L
31479 * sysdeps/i386/fpu_control.h: Removed.
31480 * sysdeps/x86_64/fpu_control.h: Moved to ...
31481 * sysdeps/x86/fpu_control.h: Here.
31482
3ee947b1
L
31483 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31484 (_FPU_SETCW): Likewise.
31485
ed1825f8
L
314862012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31487
25f1282a
L
31488 [BZ #14117]
31489 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31490 * sysdeps/x86/fpu/bits/mathinline.h: This.
31491 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31492
ed1825f8
L
31493 [BZ #14050]
31494 [BZ #14117]
31495 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31496 functions if __x86_64__ is defined.
31497
36d54b74
CLT
314982012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31499
31500 * string/endian.h: Add !__ASSEMBLER__ condition for including
31501 conversion interfaces.
31502
10285c21
JM
315032012-06-15 Joseph Myers <joseph@codesourcery.com>
31504
31505 [BZ #14241]
31506 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31507 of ABS(x) in calculating zero to negative powers other than odd
31508 integers.
31509 * math/libm-test.inc (pow_test): Add more tests.
31510
06c5abbd
AJ
315112012-06-15 Andreas Jaeger <aj@suse.de>
31512
31513 * manual/contrib.texi (Contributors): Update entry of Liubov
31514 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31515 Machado Filho.
31516
a3aeac40
CH
315172012-06-15 Cyril Hrubis <metan@ucw.cz>
31518
31519 * string/string.h: Add __wur to GNU version of strerror_r.
31520
49bdf4c1
L
315212012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31522
31523 [BZ #14229]
31524 * string/Makefile (tests): Add tst-strtok_r.
31525 * string/tst-strtok_r.c: New file.
31526 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31527 RAX_LP/RDX_LP on SAVE_PTR.
31528
834f9b8d
RM
315292012-06-14 Roland McGrath <roland@hack.frob.com>
31530
31531 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31532
75fa1921
JM
315332012-06-14 Joseph Myers <joseph@codesourcery.com>
31534
31535 * libm_test.inc (csqrt_test): Allow more spurious underflow
31536 exceptions.
31537 (j0_test): Likewise.
31538 (j1_test): Likewise.
31539 (y0_test): Likewise.
31540 (y1_test): Likewise.
31541
771766df
CD
315422012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31543
31544 * po/Makefile (libc.pot): Use UTF-8 charset.
31545
ceb9e56b
PP
315462012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31547
31548 [BZ #14210]
31549 Suppress sign-conversion warning from FD_SET.
31550 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31551 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31552 not unsigned long int.
31553 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31554
ddb28975
L
315552012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31556
31557 [BZ #14050]
31558 [BZ #14117]
31559 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31560 __extern_always_inline instead of __extern_inline.
31561 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31562 (__signbit): Likewise.
31563 (__signbitl): Support C++ namespace.
31564 (lrintf): New inline function.
31565 (lrint): Likewise.
31566 (llrintf): Likewise.
31567 (llrint): Likewise.
31568 (fmaxf): Likewise.
31569 (fmax): Likewise.
31570 (fminf): Likewise.
31571 (fmin): Likewise.
31572 (rint): Likewise.
31573 (rintf): Likewise.
31574 (ceil): Likewise.
31575 (ceilf): Likewise.
31576 (floor): Likewise.
31577 (floorf): Likewise.
31578 (nearbyint): Likewise.
31579 (nearbyintf): Likewise.
31580
d7b4fb26
TS
315812012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31582
31583 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31584 non-default versions.
31585
eb55f5c2
RM
315862012-06-11 Roland McGrath <roland@hack.frob.com>
31587
31588 [BZ #14218]
31589 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31590
366af02c
TS
315912012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31592
99ff6e5c
TS
31593 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31594 (FE_UPWARD, FE_DOWNWARD): Don't define.
31595 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31596 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31597
366af02c
TS
31598 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31599 reading it.
31600 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31601 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31602
793ea851
KK
316032012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31604
31605 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31606 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31607 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31608 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31609
a728a38f
L
316102012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31611
31612 [BZ #14117]
c08010c7
L
31613 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31614 * sysdeps/i386/fpu/Implies: New file.
31615 * sysdeps/x86_64/fpu/Implies: Likewise.
31616 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31617 * sysdeps/x86/fpu/bits/fenv.h: This.
31618
a728a38f
L
31619 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31620 __SSE_MATH__.
31621
6e230d11
SP
316222012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31623
31624 [BZ #14134]
31625 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31626 character 0xffff that matches the last element of the
31627 conversion table.
31628
1b671feb
AZ
316292012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31630
31631 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31632 fmodl commit.
31633
6043738b
AZ
316342012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31635
31636 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31637 values higher than 25.6283.
31638
34ae0b32
AZ
316392012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31640
31641 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31642 subnormal exponent extraction and add some __builtin_expect.
31643 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31644 Fix for subnormal mantissa calculation.
31645
1214ec8f
MF
316462012-06-04 Mike Frysinger <vapier@gentoo.org>
31647
31648 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31649 cpu2 is -1 and errno is not ENOSYS.
31650
f3d1f93c
L
316512012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31652
31653 [BZ #14117]
0e4a3cd7
L
31654 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31655 * sysdeps/x86/bits/string.h: This.
31656 * sysdeps/x86_64/bits/string.h: Removed.
31657
6704c645
L
31658 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31659 if not compiling for x86-64, but compiling for >= i486.
31660
48495318
L
31661 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31662 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31663
14adcbfc
L
31664 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31665 New macro from Linux kernel 3.4.0.
31666 (FP_XSTATE_MAGIC2): Likewise.
31667 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31668 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31669 (struct _fpx_sw_bytes): New struct.
31670 (struct _xsave_hdr): Likewise.
31671 (struct _ymmh_state): Likewise.
31672 (struct _xstate): Likewise.
31673
68e408ab
L
31674 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31675 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31676 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31677 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31678 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31679 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31680
f3d1f93c
L
31681 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31682 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31683 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31684 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31685 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31686 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31687
d9dc34cd
TMQMF
316882012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31689
31690 [BZ #13743]
31691 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31692 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31693 (sysdep_headers): Include sys/platform/ppc.h.
31694 * sysdeps/powerpc/test-gettimebase.c: Test for
31695 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31696 * manual/Makefile (appendices): Include platform.texi.
31697 * manual/contrib.texi (Contributors): Update @node pointers.
31698 * manual/maint.texi (Maintenance): Likewise.
31699 (Platform): New node.
31700 * manual/platform.texi: New file. Document the new features.
31701
4af3879c
SP
317022012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31703 Jakub Jelinek <jakub@redhat.com>
31704
31705 [BZ #14188]
31706 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31707 where __builtin_expect is unavailable.
31708
2fd6ff13
DM
317092012-06-03 David S. Miller <davem@davemloft.net>
31710
31711 * stdlib/longlong.h: Updated from GCC.
31712
173f7220
AS
317132012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31714
31715 [BZ #14042]
31716 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31717 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31718 __mcount_internal.
31719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31720 (GLIBC_2.16): Likewise.
31721
f34a1c6f
L
317222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31723
31724 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31725
88a4576f
JM
317262012-06-01 Joseph Myers <joseph@codesourcery.com>
31727
ea32bcdd
JM
31728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31729 (default-abi): New variable.
31730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31731 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31732 variable.
31733 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31734 Likewise.
31735 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31736 Likewise.
31737 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31738 Likewise.
31739
88a4576f
JM
31740 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31741 definition. Document in comment.
31742
402fe938
DM
317432012-06-01 David S. Miller <davem@davemloft.net>
31744
31745 * stdlib/longlong.h: Updated from GCC.
31746
3553723f
L
317472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31748
31749 [BZ #14117]
3bd872c4
L
31750 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31751 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31752 sys/debugreg.h sys/io.h here.
31753 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31754 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31755 sys/io.h.
31756 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31757 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31758 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31759 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31760 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31761 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31762
3553723f
L
31763 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31764 Define only if __x86_64__ is defined.
31765
4842e4fe
JM
317662012-06-01 Joseph Myers <joseph@codesourcery.com>
31767
c5bfe3d5
JM
31768 [BZ #14048]
31769 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31770 Use int64_t for variable i.
31771 * math/libm-test.inc (fmod_test): Add more tests.
31772
4842e4fe
JM
31773 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31774 z computation is not scheduled after fetestexcept.
31775 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31776 Use math_force_eval instead of asm to ensure calculation scheduled
31777 before exception test.
31778 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31779 Ensure a1 + u.d computation is not scheduled after fetestexcept.
31780
efb73488
AJ
317812012-06-01 Aurelien Jarno <aurelien@aurel32.net>
31782
31783 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31784 computation is not scheduled after fetestexcept.
31785
29bcce7c
L
317862012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31787
31788 [BZ #14117]
31789 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31790 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31791
73a68f94
AZ
317922012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31793
31794 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31795 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31796
67b6df78
L
317972012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31798
edf2933a 31799 [BZ #14117]
ebc64a18
L
31800 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31801 <bits/wordsize.h>.
31802 (__WCHAR_MIN): Support __WORDSIZE == 64.
31803 (__WCHAR_MAX): Likewise.
31804
edf2933a
L
31805 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31806 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31807
57c6cf40
L
31808 [BZ #14183]
31809 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31810 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31811
67b6df78 31812 [BZ #14117]
8eb6281e
L
31813 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31814 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31815
aac639f4
L
31816 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31817 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31818
67b6df78
L
31819 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31820 Defined to 1 if __x86_64__ isn't defined.
31821 (_STAT_VER_LINUX_OLD): New.
31822 (st_atime): Remove duplicate.
31823 (st_mtime): Likewise.
31824 (st_ctime): Likewise.
31825
1c2cfe81
DM
318262012-05-31 David S. Miller <davem@davemloft.net>
31827
31828 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31829 entries.
31830
5be8418c
AS
318312012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31832
e7725326
AS
31833 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31834 gen-libm-test.pl.
31835
5be8418c
AS
31836 [BZ #14132]
31837 * elf/dl-reloc.c: Include <_itoa.h>.
31838 (_dl_reloc_bad_type): Remove use of INTUSE.
31839 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31840 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31841 * stdio-common/psiginfo.c (psiginfo): Likewise.
31842 * stdio-common/psignal.c (psignal): Likewise.
31843 * string/strsignal.c (strsignal): Likewise.
31844 * include/signal.h (_sys_siglist): Declare hidden proto.
31845 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31846 INTVARDEF with libc_hidden_data_def.
31847 * stdio-common/itoa-udigits.c: Likewise.
31848 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31849 (_itoa_lower_digits_internal): Remove declaration.
31850 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31851 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31852 (_sys_sigabbrev_internal): Remove aliases.
31853 (_sys_siglist): Define hidden alias.
31854
507352f1
MT
318552012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31856
31857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31858 bits/sysctl.h.
31859
42bbb1c3
L
318602012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31861
31862 [BZ #14117]
6bd784b6
L
31863 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31864 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31865
8bca20f0
L
31866 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31867 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31868 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31869 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31870 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31871 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31872
f9e890a9
L
31873 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31874 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31875 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31876
471101a1
L
31877 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31878 with __addr.
31879 (insw): Likewise.
31880 (insl): Likewise.
31881 (outsb): Likewise.
31882 (outsw): Likewise.
31883 (outsl): Likewise.
31884
6451c862
L
31885 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31886 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31887 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31888
a254b8c9
L
31889 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31890 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31891 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31892 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31893 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31894 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31895
b8dfdd92
L
31896 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31897 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31898
578cd270
L
31899 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31900 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31901
de662f5f
L
31902 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31903 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31904 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31905
25653439
L
31906 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31907 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31908 to ...
31909 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31910
6bad24a0
L
31911 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31912 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31913 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31914
42bbb1c3
L
31915 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31916 for x86-64.
31917 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31918
2d10d547
JM
319192012-05-31 Joseph Myers <joseph@codesourcery.com>
31920
31921 * math/math.h (M_El): Use two more decimal places.
31922 (M_LOG2El): Likewise.
31923 (M_LOG10El): Likewise.
31924 (M_LN2l): Likewise.
31925 (M_LN10l): Likewise.
31926 (M_PIl): Likewise.
31927 (M_PI_2l): Likewise.
31928 (M_PI_4l): Likewise.
31929 (M_1_PIl): Likewise.
31930 (M_2_PIl): Likewise.
31931 (M_2_SQRTPIl): Likewise.
31932 (M_SQRT2l): Likewise.
31933 (M_SQRT1_2l): Likewise.
31934
f230c29b
DM
319352012-05-31 David S. Miller <davem@davemloft.net>
31936
31937 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31938 values between float registers.
31939 * sysdeps/sparc/sparc64/memset.S: Likewise.
31940 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31941
fed806c3
MF
319422012-05-31 Mike Frysinger <vapier@gentoo.org>
31943
31944 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31945 -D_FORTIFY_SOURCE=1.
31946 (CPPFLAGS-tst-longjmp_chk.c): Define.
31947 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31948 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31949 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31950 CFLAGS-tst-wchar-h.c.
31951
30917259
MP
319522012-05-31 Marek Polacek <polacek@redhat.com>
31953
31954 [BZ #14132]
31955 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31956 __endmntent_internal): Remove declaration.
31957 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31958 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31959 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31960
1c58d5dc
DM
319612012-05-30 David S. Miller <davem@davemloft.net>
31962
31963 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31964 (___Q_simulate_exceptions): Use real FP ops rather than writing
31965 into the %fsr.
31966 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31967 Likewise.
31968
7dc00e0d
L
319692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31970
31971 [BZ #14117]
0bd53985
L
31972 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31973 * sysdeps/x86/bits/xtitypes.h: This.
31974
3a257e66
L
31975 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31976 * sysdeps/x86/bits/wordsize.h: This.
31977
62f62904
L
31978 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31979 * sysdeps/x86/bits/huge_vall.h: This.
31980
404fe9d9
L
31981 * sysdeps/i386/bits/select.h: Removed.
31982 * sysdeps/x86_64/bits/select.h: Renamed to ...
31983 * sysdeps/x86/bits/select.h: This.
31984
d48d0446
L
31985 * sysdeps/i386/bits/setjmp.h: Removed.
31986 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31987 * sysdeps/x86/bits/setjmp.h: This.
31988
7dc00e0d
L
31989 * sysdeps/i386/bits/mathdef.h: Removed.
31990 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31991 * sysdeps/x86/bits/mathdef.h: This.
31992
03277f8f
AS
319932012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31994
31995 [BZ #14132]
31996 * include/sys/socket.h (__connect_internal)
31997 (__libc_sa_len_internal): Remove declaration.
31998 (__connect, __libc_sa_len): Declare hidden_proto.
31999 (SA_LEN): Remove use of INTUSE.
32000 * socket/connect.c: Add libc_hidden_def.
32001 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32002 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32003 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32004 alias.
32005 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32006 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32007 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32008 of adding _internal alias.
32009
13764867
L
320102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32011
32012 [BZ #14117]
6bd97696
L
32013 * sysdeps/i386/bits/link.h: Removed.
32014 * sysdeps/i386/bits/linkmap.h: Likewise.
32015 * sysdeps/x86_64/bits/link.h: Renamed to ...
32016 * sysdeps/x86/bits/link.h: This.
32017 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32018 * sysdeps/x86/bits/linkmap.h: This.
32019
f726f0bb
L
32020 * sysdeps/i386/bits/endian.h: Removed.
32021 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32022 * sysdeps/x86/bits/endian.h: This.
32023
13764867
L
32024 * sysdeps/i386/bits/byteswap.h: Removed.
32025 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32026 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32027 * sysdeps/x86/bits/byteswap.h: This.
32028 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32029 * sysdeps/x86/bits/byteswap-16.h: This.
32030 * sysdeps/i386/Implies: Add x86.
32031 * sysdeps/x86_64/Implies: Likewise.
32032
ae251b0b
DM
320332012-05-30 David S. Miller <davem@davemloft.net>
32034
32035 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32036 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32037 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32038 (FP_TRAPPING_EXCEPTIONS): Define.
32039 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32040 (FP_TRAPPING_EXCEPTIONS): Define.
32041 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32042 subnormals only when inexact has been signalled or underflow
32043 exceptions are enabled.
32044 (_FP_PACK_CANONICAL): Likewise.
32045
d5c90867
L
320462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32047
32048 [BZ #14183]
32049 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32050 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32051
63f1549e
RH
320522012-05-30 Richard Henderson <rth@twiddle.net>
32053
8d8f2279
RH
32054 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32055 with #ifndef NOT_IN_libc.
32056
63f1549e
RH
32057 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32058 marked to avoid plt entry.
32059
0ab0291b
L
320602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32061
32062 [BZ #14112]
32063 * Makeconfig (default-abi): New macro.
32064 (abi-includes): Likewise.
32065 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32066 $(abi-$(default-abi)-lib-soname) for soname if defined.
32067 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32068 abi-variants.
32069 * Makefile (installed-stubs): Likewise.
32070 * include/stubs-biarch.h: Removed.
32071 * scripts/lib-names.awk: Only handle one library at a time.
32072 * scripts/soversions.awk: Remove WORDSIZE support.
32073 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32074 entries.
32075 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32076 Removed.
32077 (syscall-list-default-condition): Likewise.
32078 (syscall-list-default-condition): Likewise.
32079 (syscall-list-includes): Likewise.
32080 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32081 syscall-list-* with abi-*. Handle undefined abi-variants.
32082 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32083 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32084 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32085 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32086 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32087 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32088 Removed.
32089 (syscall-list-32-options): Likewise.
32090 (syscall-list-32-condition): Likewise.
32091 (syscall-list-64-options): Likewise.
32092 (syscall-list-64-condition): Likewise.
32093 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32094 macro.
32095 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32096 Renamed to ...
32097 (abi-*): This.
32098 (abi-64-ld-soname): New macro.
32099 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32100 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32101 Renamed to ...
32102 (abi-*): This.
32103 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32104 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32105
4da0431d
JM
321062012-05-30 Joseph Myers <joseph@codesourcery.com>
32107
3a85279c
JM
32108 * sysdeps/unix/sysv/linux/kernel-features.h
32109 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32110 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32111 include <kernel-features.h>.
32112 [!__NR_ftruncate64]: Remove conditional code.
32113 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32114 [__NR_ftruncate64]: Make code unconditional.
32115 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32116 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32117 include <kernel-features.h>.
32118 [!__NR_ftruncate64]: Remove conditional code.
32119 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32120 [__NR_ftruncate64]: Make code unconditional.
32121 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32123 include <kernel-features.h>.
32124 [!__NR_ftruncate64]: Remove conditional code.
32125 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32126 [__NR_ftruncate64]: Make code unconditional.
32127 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32129 include <kernel-features.h>.
32130 [!__NR_ftruncate64]: Remove conditional code.
32131 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32132 [__NR_ftruncate64]: Make code unconditional.
32133 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32134
4da0431d
JM
32135 * configure.in (libc_cv_fpie): Weaken to a compile test using
32136 LIBC_TRY_CC_OPTION.
32137 * configure: Regenerated.
32138
11ef492c
AK
321392012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32140
32141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32145 Refreshed.
32146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32152 Refreshed.
32153
d66ef399
DM
321542012-05-27 David S. Miller <davem@davemloft.net>
32155
32156 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32157 (___Q_zero): New.
32158 (__Q_simulate_exceptions): Return void. Change to simulate
32159 exceptions by writing into the %fsr.
32160 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32161 (__Qp_handle_exceptions): Likewise.
32162 (numbers): Delete.
32163 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32164 __Qp_handle_exceptions.
32165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32166 __Qp_handle_exceptions.
32167 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32168 as unused and give dummy FP_RND_NEAREST initializer.
32169 (FP_INHIBIT_RESULTS): Define.
32170 (___Q_simulate_exceptions): Update declaration.
32171 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32172 formatting.
32173 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32174 as unused and give dummy FP_RND_NEAREST initializer.
32175 (__Qp_handle_exceptions): Update declaration.
32176 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32177 formatting.
32178
04fb54b5
TS
321792012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32180
32181 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32182 the temporary FPU control word.
32183 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32184 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32185 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32186 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32187 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32188 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32189 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32190 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32191 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32192 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32193 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32194
3f99608f
KK
321952012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32196
32197 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32198 fields.
32199
65a4de4e
CLT
322002012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32201
32202 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32203 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32204 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32205 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32206 Likewise.
32207 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32208 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32209 Likewise.
32210
15749d40
UD
322112012-05-27 Ulrich Drepper <drepper@gmail.com>
32212
32213 * po/h.po: Update from translation team.
32214
25dbcb27
AS
322152012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32216
3d3f8e55
AS
32217 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32218
25dbcb27
AS
32219 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32220 handling of denormals.
32221 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32222 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32223 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32224 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32225 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32226 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32228 Likewise.
32229
7ad47a80 322302012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
32231
32232 [BZ #14152]
32233 * math/libm-test.inc (fma_test): Don't always expect underflow
32234 exception.
32235
9c6ea9fa
SP
322362012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32237
32238 [BZ #12416]
32239 * elf/tst-execstack.c: Include stackinfo.h.
32240 (do_test): Adjust test case to ensure that pthread_getattr_np
32241 behaviour remains the same after marking stack executable.
32242
a8239222
JM
322432012-05-25 Joseph Myers <joseph@codesourcery.com>
32244
32245 * sysdeps/unix/sysv/linux/kernel-features.h
32246 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32247 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32248 kernel-features.h.
32249 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32250 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32251 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32252 kernel-features.h.
32253 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32254 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32255
918b5606
L
322562012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32257
32258 * configure.in: Define the default includes to being none.
32259 * configure: Regenerated.
32260
3a097cc7
RM
322612012-05-25 Roland McGrath <roland@hack.frob.com>
32262
8422c9a5
RM
32263 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32264 * sysdeps/x86_64/setjmp.S: Likewise.
32265 * sysdeps/i386/bsd-setjmp.S: Likewise.
32266 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32267 * sysdeps/i386/setjmp.S: Likewise.
32268 * sysdeps/i386/__longjmp.S: Likewise.
32269 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32270 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32271
3a097cc7
RM
32272 * include/stap-probe.h: New file.
32273 * configure.in: Handle --enable-systemtap.
32274 * configure: Regenerated.
32275 * config.h.in (USE_STAP_PROBE): New #undef.
32276 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32277 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32278 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32279
21708942
JM
322802012-05-25 Joseph Myers <joseph@codesourcery.com>
32281
32282 [BZ #13717]
32283 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32284 to 2.4.0 where earlier.
32285 * sysdeps/unix/sysv/linux/configure: Regenerated.
32286 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32287 <kernel-features.h>.
32288 [__ASSUME_32BITUIDS]: Make code unconditional.
32289 [!__ASSUME_32BITUIDS]: Remove conditional code.
32290 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32291 <kernel-features.h>.
32292 [__ASSUME_32BITUIDS]: Make code unconditional.
32293 [!__ASSUME_32BITUIDS]: Remove conditional code.
32294 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32295 [__ASSUME_32BITUIDS]: Make code unconditional.
32296 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32297 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32298 <kernel-features.h>.
32299 [__ASSUME_32BITUIDS]: Make code unconditional.
32300 [!__ASSUME_32BITUIDS]: Remove conditional code.
32301 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32302 <kernel-features.h>.
32303 [__ASSUME_32BITUIDS]: Make code unconditional.
32304 [!__ASSUME_32BITUIDS]: Remove conditional code.
32305 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32306 <kernel-features.h>.
32307 [__ASSUME_32BITUIDS]: Make code unconditional.
32308 [!__ASSUME_32BITUIDS]: Remove conditional code.
32309 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32310 <kernel-features.h>.
32311 [__ASSUME_32BITUIDS]: Make code unconditional.
32312 [!__ASSUME_32BITUIDS]: Remove conditional code.
32313 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32314 <kernel-features.h>.
32315 [__ASSUME_32BITUIDS]: Make code unconditional.
32316 [!__ASSUME_32BITUIDS]: Remove conditional code.
32317 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32318 <kernel-features.h>.
32319 [__ASSUME_32BITUIDS]: Make code unconditional.
32320 [!__ASSUME_32BITUIDS]: Remove conditional code.
32321 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32322 <kernel-features.h>.
32323 [__ASSUME_32BITUIDS]: Make code unconditional.
32324 [!__ASSUME_32BITUIDS]: Remove conditional code.
32325 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32326 <kernel-features.h>.
32327 [__ASSUME_32BITUIDS]: Make code unconditional.
32328 [!__ASSUME_32BITUIDS]: Remove conditional code.
32329 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32330 <kernel-features.h>.
32331 [__ASSUME_32BITUIDS]: Make code unconditional.
32332 [!__ASSUME_32BITUIDS]: Remove conditional code.
32333 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32334 <kernel-features.h>.
32335 [__ASSUME_32BITUIDS]: Make code unconditional.
32336 [!__ASSUME_32BITUIDS]: Remove conditional code.
32337 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32338 <kernel-features.h>.
32339 [__NR_setresgid] (__setresgid): Do not declare.
32340 [__ASSUME_32BITUIDS]: Make code unconditional.
32341 [!__ASSUME_32BITUIDS]: Remove conditional code.
32342 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32343 <kernel-features.h>.
32344 [__NR_setresuid] (__setresuid): Do not declare.
32345 [__ASSUME_32BITUIDS]: Make code unconditional.
32346 [!__ASSUME_32BITUIDS]: Remove conditional code.
32347 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32348 <kernel-features.h>.
32349 [__ASSUME_32BITUIDS]: Make code unconditional.
32350 [!__ASSUME_32BITUIDS]: Remove conditional code.
32351 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32352 <kernel-features.h>.
32353 [__ASSUME_32BITUIDS]: Make code unconditional.
32354 [!__ASSUME_32BITUIDS]: Remove conditional code.
32355 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32356 <kernel-features.h>.
32357 [__ASSUME_32BITUIDS]: Make code unconditional.
32358 [!__ASSUME_32BITUIDS]: Remove conditional code.
32359 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32360 <kernel-features.h>.
32361 [__ASSUME_32BITUIDS]: Make code unconditional.
32362 [!__ASSUME_32BITUIDS]: Remove conditional code.
32363 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32364 <kernel-features.h>.
32365 [__ASSUME_32BITUIDS]: Make code unconditional.
32366 [!__ASSUME_32BITUIDS]: Remove conditional code.
32367 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32368 <kernel-features.h>.
32369 [__ASSUME_32BITUIDS]: Make code unconditional.
32370 [!__ASSUME_32BITUIDS]: Remove conditional code.
32371 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32372 <kernel-features.h>.
32373 [__ASSUME_32BITUIDS]: Make code unconditional.
32374 [!__ASSUME_32BITUIDS]: Remove conditional code.
32375 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32376 <kernel-features.h>.
32377 [__ASSUME_32BITUIDS]: Make code unconditional.
32378 [!__ASSUME_32BITUIDS]: Remove conditional code.
32379 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32380 <kernel-features.h>.
32381 [__ASSUME_32BITUIDS]: Make code unconditional.
32382 [!__ASSUME_32BITUIDS]: Remove conditional code.
32383 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32384 <kernel-features.h>.
32385 [__ASSUME_32BITUIDS]: Make code unconditional.
32386 [!__ASSUME_32BITUIDS]: Remove conditional code.
32387 * sysdeps/unix/sysv/linux/kernel-features.h
32388 (__ASSUME_SETRESUID_SYSCALL): Remove.
32389 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32390 (__ASSUME_32BITUIDS): Likewise.
32391 (__ASSUME_LDT_WORKS): Likewise.
32392 (__ASSUME_O_DIRECTORY): Likewise.
32393 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32394 architecture but not kernel version.
32395 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32396 (__ASSUME_MMAP2_SYSCALL): Likewise.
32397 (__ASSUME_STAT64_SYSCALL): Likewise.
32398 (__ASSUME_IPC64): Likewise.
32399 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32400 <kernel-features.h>.
32401 [__ASSUME_32BITUIDS]: Make code unconditional.
32402 [!__ASSUME_32BITUIDS]: Remove conditional code.
32403 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32404 <kernel-features.h>.
32405 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32406 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32407 132096]: Remove conditional code.
32408 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32409 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32410 <kernel-features.h>.
32411 [__ASSUME_32BITUIDS]: Make code unconditional.
32412 [!__ASSUME_32BITUIDS]: Remove conditional code.
32413 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32414 <kernel-features.h>.
32415 [__ASSUME_32BITUIDS]: Make code unconditional.
32416 [!__ASSUME_32BITUIDS]: Remove conditional code.
32417 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32418 <kernel-features.h>.
32419 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32420 unconditional.
32421 (__setresgid): Do not declare.
32422 [__ASSUME_32BITUIDS]: Make code unconditional.
32423 [!__ASSUME_32BITUIDS]: Remove conditional code.
32424 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32425 <kernel-features.h>.
32426 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32427 unconditional.
32428 (__setresuid): Do not declare.
32429 [__ASSUME_32BITUIDS]: Make code unconditional.
32430 [!__ASSUME_32BITUIDS]: Remove conditional code.
32431 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32432 <kernel-features.h>.
32433 [__ASSUME_32BITUIDS]: Make code unconditional.
32434 [!__ASSUME_32BITUIDS]: Remove conditional code.
32435 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32436 <kernel-features.h>.
32437 [__ASSUME_32BITUIDS]: Make code unconditional.
32438 [!__ASSUME_32BITUIDS]: Remove conditional code.
32439
a386f1cc
RH
324402012-05-25 Richard Henderson <rth@twiddle.net>
32441
32442 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32443 dl_hwcap to ifunc resolver.
32444 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32445 elf_ifunc_invoke.
32446 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32447 dl_hwcap to ifunc resolver.
32448 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32449
b6550497
JM
324502012-05-24 Joseph Myers <joseph@codesourcery.com>
32451
32452 [BZ #14153]
32453 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32454 for |x| <= 2**-26, not 2**-57.
32455 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32456 exception.
32457
b0bc23a1
JL
324582012-05-24 Jeff Law <law@redhat.com>
32459
32460 * stdio-common/Makefile (tests): Add bug25.
32461 * stdio-common/bug25.c: New test.
32462
347c92e9
L
324632012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32464
32465 [BZ #13576]
32466 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32467 multiple of MALLOC_ALIGNMENT in size.
32468 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32469
6bcc8b3f
JM
324702012-05-24 Joseph Myers <joseph@codesourcery.com>
32471
32472 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32473 Require >= 256.
32474 (FILENAME_MAX): Use macro-int-constant.
32475 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32476 (_IOFBF): Use macro-int-constant.
32477 (_IOLBF): Likewise.
32478 (_IONBF): Likewise.
32479 (SEEK_CUR): Likewise.
32480 (SEEK_END): Likewise.
32481 (SEEK_SET): Likewise.
32482 (TMP_MAX): Likewise.
32483 (EOF): Use macro-int-constant. Require < 0.
32484 (NULL): Use macro-constant. Require == 0.
32485 (stdin): Require type to be FILE *.
32486 (stdout): Likewise.
32487 (stderr): Likewise.
32488 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32489 macro-int-constant.
32490 (EXIT_SUCCESS): Likewise.
32491 (NULL): Use macro-constant. Require == 0.
32492 (RAND_MAX): Use macro-int-constant.
32493 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32494 [C99-based standards] (strtof): Require function.
32495 [C99-based standards] (strtold): Likewise.
32496 [C99-based standards] (strtoll): Likewise.
32497 [C99-based standards] (strtoull): Likewise.
32498 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32499 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32500 [ISO || ISO99 || ISO11] (math.h): Likewise.
32501 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32502 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32503 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32504
d18ea0c5
AS
325052012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32506
32507 [BZ #14132]
56d25bb8
AS
32508 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32509 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32510 * intl/dgettext.c (DCGETTEXT): Likewise.
32511 * intl/gettext.c (DCGETTEXT): Likewise.
32512 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32513 * posix/regex_internal.h (gettext): Likewise.
32514 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32515 Remove declaration.
32516 * include/argz.h (__argz_count_internal)
32517 (__argz_stringify_internal): Remove declaration.
32518 (__argz_count, __argz_stringify): Declare hidden proto.
32519 * intl/dcgettext.c: Remove use of INTDEF.
32520 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32521 * string/argz-stringify.c: Likewise.
32522 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32523 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32524 Declare hidden proto.
d18ea0c5
AS
32525 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32526 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32527 Declare hidden proto.
32528 * include/stdio.h (__asprintf_internal): Don't declare.
32529 (__asprintf): Don't define as macro. Declare hidden proto.
32530 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32531 (__fsetlocking): Declare hidden proto.
32532 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32533 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32534 hidden proto.
32535 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32536 (_IO_setlinebuf): Remove use of INTUSE.
32537 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32538 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32539 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32540 Remove declaration.
32541 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32542 (_IO_do_flush): Remove use of INTUSE.
32543 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32544 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32545 (_IO_adjust_column, _IO_least_wmarker)
32546 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32547 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32548 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32549 (_IO_default_doallocate, _IO_wdefault_doallocate)
32550 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32551 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32552 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32553 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32554 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32555 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32556 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32557 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32558 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32559 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32560 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32561 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32562 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32563 proto.
32564 (_IO_flush_all_internal, _IO_adjust_column_internal)
32565 (_IO_default_uflow_internal, _IO_default_finish_internal)
32566 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32567 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32568 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32569 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32570 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32571 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32572 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32573 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32574 (_IO_file_close_internal, _IO_file_close_it_internal)
32575 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32576 (_IO_file_init_internal, _IO_file_attach_internal)
32577 (_IO_file_fopen_internal, _IO_file_read_internal)
32578 (_IO_file_sync_internal, _IO_file_seek_internal)
32579 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32580 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32581 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32582 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32583 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32584 (_IO_list_all_internal, _IO_link_in_internal)
32585 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32586 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32587 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32588 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32589 (_IO_do_write_internal, _IO_padn_internal)
32590 (_IO_getline_info_internal, _IO_getline_internal)
32591 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32592 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32593 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32594 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32595 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32596 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32597 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32598 with libc_hidden_ver, remove use of INTUSE.
32599 * libio/genops.c: Likewise.
32600 * libio/freopen.c: Likewise.
32601 * libio/freopen64.c: Likewise.
32602 * libio/iofclose.c: Likewise.
32603 * libio/iofdopen.c: Likewise.
32604 * libio/iofflush.c: Likewise.
32605 * libio/iofflush_u.c: Likewise.
32606 * libio/iofgets.c: Likewise.
32607 * libio/iofgets_u.c: Likewise.
32608 * libio/iofopen.c: Likewise.
32609 * libio/iofopncook.c: Likewise.
32610 * libio/iofread.c: Likewise.
32611 * libio/iofread_u.c: Likewise.
32612 * libio/ioftell.c: Likewise.
32613 * libio/iofwrite.c: Likewise.
32614 * libio/iogetline.c: Likewise.
32615 * libio/iogets.c: Likewise.
32616 * libio/iogetwline.c: Likewise.
32617 * libio/iopadn.c: Likewise.
32618 * libio/iopopen.c: Likewise.
32619 * libio/ioseekoff.c: Likewise.
32620 * libio/ioseekpos.c: Likewise.
32621 * libio/iosetbuffer.c: Likewise.
32622 * libio/iosetvbuf.c: Likewise.
32623 * libio/ioungetc.c: Likewise.
32624 * libio/ioungetwc.c: Likewise.
32625 * libio/iovdprintf.c: Likewise.
32626 * libio/iovsprintf.c: Likewise.
32627 * libio/iovsscanf.c: Likewise.
32628 * libio/memstream.c: Likewise.
32629 * libio/obprintf.c: Likewise.
32630 * libio/oldfileops.c: Likewise.
32631 * libio/oldiofclose.c: Likewise.
32632 * libio/oldiofdopen.c: Likewise.
32633 * libio/oldiofopen.c: Likewise.
32634 * libio/oldiopopen.c: Likewise.
32635 * libio/oldstdfiles.c: Likewise.
32636 * libio/putc.c: Likewise.
32637 * libio/setbuf.c: Likewise.
32638 * libio/setlinebuf.c: Likewise.
32639 * libio/stdfiles.c: Likewise.
32640 * libio/strops.c: Likewise.
32641 * libio/vasprintf.c: Likewise.
32642 * libio/vscanf.c: Likewise.
32643 * libio/vsnprintf.c: Likewise.
32644 * libio/vswprintf.c: Likewise.
32645 * libio/wfiledoalloc.c: Likewise.
32646 * libio/wfileops.c: Likewise.
32647 * libio/wgenops.c: Likewise.
32648 * libio/wmemstream.c: Likewise.
32649 * libio/wstrops.c: Likewise.
32650 * libio/__fpurge.c: Likewise.
32651 * libio/__fsetlocking.c: Likewise.
32652 * assert/assert.c: Likewise.
32653 * debug/fgets_chk.c: Likewise.
32654 * debug/fgets_u_chk.c: Likewise.
32655 * debug/fread_chk.c: Likewise.
32656 * debug/fread_u_chk.c: Likewise.
32657 * debug/gets_chk.c: Likewise.
32658 * debug/obprintf_chk.c: Likewise.
32659 * debug/vasprintf_chk.c: Likewise.
32660 * debug/vdprintf_chk.c: Likewise.
32661 * debug/vsnprintf_chk.c: Likewise.
32662 * debug/vsprintf_chk.c: Likewise.
32663 * malloc/mtrace.c: Likewise.
32664 * misc/error.c: Likewise.
32665 * misc/syslog.c: Likewise.
32666 * stdio-common/asprintf.c: Likewise.
32667 * stdio-common/fxprintf.c: Likewise.
32668 * stdio-common/getw.c: Likewise.
32669 * stdio-common/isoc99_fscanf.c: Likewise.
32670 * stdio-common/isoc99_scanf.c: Likewise.
32671 * stdio-common/isoc99_vfscanf.c: Likewise.
32672 * stdio-common/isoc99_vscanf.c: Likewise.
32673 * stdio-common/isoc99_vsscanf.c: Likewise.
32674 * stdio-common/printf-prs.c: Likewise.
32675 * stdio-common/printf_fp.c: Likewise.
32676 * stdio-common/printf_fphex.c: Likewise.
32677 * stdio-common/printf_size.c: Likewise.
32678 * stdio-common/putw.c: Likewise.
32679 * stdio-common/scanf.c: Likewise.
32680 * stdio-common/sprintf.c: Likewise.
32681 * stdio-common/tmpfile.c: Likewise.
32682 * stdio-common/vfprintf.c: Likewise.
32683 * stdio-common/vfscanf.c: Likewise.
32684 * stdlib/strfmon_l.c: Likewise.
32685 * sunrpc/openchild.c: Likewise.
32686 * sunrpc/xdr_stdio.c: Likewise.
32687 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32688 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32689
d6c33fda
RM
326902012-05-24 Roland McGrath <roland@hack.frob.com>
32691
c1487492
RM
32692 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32693
32694 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32695 in the third column, to generate for the shared library an IFUNC
32696 that uses _dl_vdso_vsym.
32697 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32698 * Makeconfig (object-suffixes-noshared): New variable.
32699
32700 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32701 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32702 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32703 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32704
d6c33fda
RM
32705 [BZ #14132]
32706 * include/sys/time.h (__gettimeofday): Remove macro.
32707 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32708 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32709 Remove INTDEF.
32710 (__gettimeofday): Add libc_hidden_def.
32711 (gettimeofday): Add libc_hidden_weak.
32712 * sysdeps/mach/gettimeofday.c: Likewise.
32713 * sysdeps/posix/gettimeofday.c: Likewise.
32714 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32715 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32716 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32717 (__gettimeofday_internal): Remove strong_alias.
32718 (__gettimeofday): Add libc_hidden_def.
32719 (gettimeofday): Add libc_hidden_weak.
32720 * sysdeps/unix/syscalls.list (gettimeofday):
32721 Remove __gettimeofday_internal alias.
32722
b5a2bbe6
L
327232012-05-24 Daniel Jacobowitz <drow@false.org>
32724 H.J. Lu <hongjiu.lu@intel.com>
32725
32726 [BZ #12495]
32727 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32728 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32729 (largebin_index_32_big): New.
32730 (largebin_index): Use it for 16-byte alignment.
32731 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32732 correction with front_misalign.
32733
cfba4fda
L
327342012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32735
7f907421
L
32736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32738 Likewise.
32739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32740 Likewise.
32741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32742 Likewise.
32743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32744 Likewise.
32745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32746 Likewise.
32747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32748 Likewise.
32749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32750 Likewise.
32751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32752 Likewise.
32753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32754 Likewise.
32755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32756 Likewise.
32757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32758 Likewise.
32759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32760 Likewise.
32761
cfba4fda
L
32762 * scripts/data/c++-types-x32-linux-gnu.data: New file.
32763 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32764
80bad0cc
JM
327652012-05-24 Joseph Myers <joseph@codesourcery.com>
32766
7a25eb06
JM
32767 [BZ #10846]
32768 [BZ #14036]
32769 * math/libm-test.inc (exp_test): Add test from bug 14036.
32770 (pow_test): Add test from bug 10846.
32771
795405f9
JM
32772 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32773 and other flags.
32774 (special_function): Do not include flags in test name.
32775 (parse_args): Likewise.
32776 * sysdeps/i386/fpu/libm-test-ulps: Update.
32777 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32778 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32779 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32781
80bad0cc
JM
32782 * math/gen-libm-test.pl (%beautify): Add entries for underflow
32783 exceptions.
32784 * math/libm-test.inc ("Philosophy"): Update comment about
32785 exception testing.
32786 (UNDERFLOW_EXCEPTION): New macro.
32787 (UNDERFLOW_EXCEPTION_OK): Likewise.
32788 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32789 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32790 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32791 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32792 (INVALID_EXCEPTION_OK): Update value.
32793 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32794 (OVERFLOW_EXCEPTION_OK): Likewise.
32795 (IGNORE_ZERO_INF_SIGN): Likewise.
32796 (test_exceptions): Handle underflow exceptions.
32797 (acos_test): Update for underflow exception expectations.
32798 (cexp_test): Likewise.
32799 (clog_test): Likewise.
32800 (clog10_test): Likewise.
32801 (csqrt_test): Likewise.
32802 (ctan_test): Likewise.
32803 (ctanh_test): Likewise.
32804 (exp_test): Likewise.
32805 (exp10_test): Likewise.
32806 (exp2_test): Likewise.
32807 (expm1_test): Likewise.
32808 (fma_test): Likewise.
32809 (j0_test): Likewise.
32810 (jn_test): Likewise.
32811 (nexttoward_test): Likewise.
32812 (pow_test): Likewise.
32813 (scalbn_test): Likewise.
32814 (scalbln_test): Likewise.
32815 (tan_test): Likewise.
32816 (y1_test): Likewise.
32817 * sysdeps/i386/fpu/libm-test-ulps: Update.
32818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32819
9e0e3d0b
DM
328202012-05-23 David S. Miller <davem@davemloft.net>
32821
32822 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32823 (__libc_sigaction): Remove unused local variables.
32824
ccd0a08f
L
328252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32826
32827 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32828
62bdf9a6
PE
328292012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32830
f8591f80
PE
32831 mktime: avoid signed integer overflow
32832 * time/mktime.c (__mktime_internal): Do not mishandle the case
32833 where diff == INT_MIN.
32834
94c7d826
PE
32835 mktime: simplify computation of average
32836 * time/mktime.c (ranged_convert): Use new time_t_avg function
32837 instead of rolling our own (probably-slower) code.
32838
ce73d683
PE
32839 mktime: do not assume signed right shift propagates sign bit
32840 * time/mktime.c (isdst_differ): New static function.
32841 (__mktime_internal): No need to normalize tm_isdst now.
32842 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32843 tm_isdst values.
32844
72a22e59
PE
32845 mktime: merge another wrapv change from gnulib
32846 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32847 from some compilers.
32848
68605433
PE
32849 mktime: remove incorrect attempt at unusual arithmetics
32850 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32851 The code didn't really work on such machines anyway.
32852 (TYPE_MINIMUM): Assume two's complement.
32853 (twos_complement_arithmetic): Verify that long_int and time_t
32854 are two's complement (or unsigned, in the latter case).
32855
03cf7fe3
PE
32856 mktime: check signed shifts on long_int and time_t, too
32857 * time/mktime.c (SHR): Check that shifts work as desired
32858 on the types long_int and time_t too, as SHR is used on
32859 such types.
32860
f04dfbc2
PE
32861 mktime: do not assume 'long' is wide enough
32862 * time/mktime.c (verify): Move decl up.
32863 (long_int): New type.
32864 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32865 to remove assumption in the code that 'long' is wide enough to
32866 store year values. This assumption is not true on x32 and on
32867 some non-glibc platforms.
32868
62bdf9a6
PE
32869 mktime: merge wrapv change from gnulib
32870 * time/mktime.c (WRAPV): New macro.
32871 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32872 (guess_time_tm, __mktime_internal): Do not assume that signed
32873 integer overflow wraps around; modern compilers generate code
32874 where this assumption is no longer valid.
32875
5e292e4f
L
328762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32877
32878 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32879 Replace "jmp L(pseudo_end)" with "ret".
32880 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32881 Likewise.
32882
8caf8c87
AJ
328832012-05-23 Andreas Jaeger <aj@suse.de>
32884
32885 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32886 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32887
1a09dc56
AJ
328882012-05-23 Andreas Jaeger <aj@suse.de>
32889 Maximilian Attems <max@stro.at>
32890
32891 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32892 New macros.
32893
1c87aba0
L
328942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32895
32896 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32897 code so that pseudo_end is just ret and the stack pointer is
32898 correct also for static library in error case.
32899
40e45bd5
JM
329002012-05-23 Joseph Myers <joseph@codesourcery.com>
32901
c2670533
JM
32902 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32903 move to syscalls.list.
32904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32908
40e45bd5
JM
32909 * manual/install.texi (Running make install): Do not mention Linux
32910 kernel version for which pt_chown is not needed.
32911 (Linux): Do not mention problems with nscd with 2.0 kernels.
32912 * INSTALL: Regenerated.
32913
be08eda5
AJ
329142012-05-23 Andreas Jaeger <aj@suse.de>
32915
32916 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32917 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32918 macro.
32919 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32920 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32921 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32922 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32923 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32924 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32925 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32926 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32927 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32928 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32929 * sysdeps/unix/sysv/linux/bits/in.h
32930 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32931
a6a056bb
RM
329322012-05-22 Roland McGrath <roland@hack.frob.com>
32933
32934 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32935 (PREPARE_VERSION): Just use assert instead, it will be elided
32936 under [NDEBUG] anyway.
32937
c9009328
L
329382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32939
32940 * sysdeps/unix/sysv/linux/Makefile: Include
32941 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 32942 (sysdep_routines): Remove sysctl.
c9009328
L
32943 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32944 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32945 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32946 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32947 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32948
73338355
AJ
329492012-05-22 Andreas Jaeger <aj@suse.de>
32950
32951 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32952 that pseudo_end is just ret and the stack pointer is correct also
32953 for static library in error case.
32954
d44638b0
PP
329552012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32956
32957 [BZ #14122]
32958 * nss/nsswitch.c (defconfig_entries): New variable.
32959 (__nss_database_lookup): Don't leak defconfig entries.
32960 (nss_parse_service_list): Don't leak on error paths.
32961 (free_database_entries): New function.
32962 (free_defconfig): New function.
32963 (free_mem): Move common code to free_database_entries.
32964
31a39bd8
L
329652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32966
da0331a8
L
32967 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32968 Add arch_prctl.
32969 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32970
31a39bd8
L
32971 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32972 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32974 New macro.
32975 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32976 (INTERNAL_SYSCALL_TYPES): Likewise.
32977 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32978 (LOAD_REGS_TYPES_[1-6]): Likewise.
32979 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32980 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32981
45470df3
AZ
329822012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32983
32984 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32985 copysignl for GLIBC_2_0.
32986 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32987 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32988 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32989 logbl for GLIBC_2_0.
32990 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32991 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32992
98a61bcb
L
329932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32994
a4f6e481
L
32995 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32996 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32997
f63d5db6
L
32998 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32999 Use "neg %eax".
33000
98a61bcb
L
33001 * time/mktime.c: Update copyright years.
33002
95770f14
PE
330032012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33004
6226efbd
PE
33005 mktime: merge comment-quoting-style change from gnulib
33006 * time/mktime.c: Quote 'like this' in comments.
33007 The GNU coding standards suggest that we no longer quote `like this',
33008 as "`" and "'" are typically rendered asymmetrically nowadays.
33009 The typical gnulib style is to quote 'like this' when quoting
33010 code, and "like this" when quoting English.
33011
b99e4f78
PE
33012 * time/mktime.c (compile-command): Add "-I.".
33013
643e01e6
PE
33014 mktime: merge mktime-internal.h change from gnulib
33015 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33016
2554247d
PE
33017 mktime: merge time_r change from gnulib
33018 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33019
826dd0ab
PE
33020 mktime: merge DEBUG change from gnulib
33021 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33022 case system <time.h> has a #define.
33023
bd83aabe
PE
33024 mktime: merge <sys/types.h> change from gnulib
33025 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33026 since <time.t> is now guaranteed to define time_t.
33027
95770f14
PE
33028 mktime: merge HAVE_CONFIG_H change from gnulib
33029 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33030
5e1a27a9
L
330312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33032
0e44a77e
L
33033 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33034 Use "neg %eax".
33035
5e1a27a9
L
33036 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33037 __rlim_t cast.
33038 (struct rusage): Use anonymous union to pad each field to
33039 __syscall_slong_t.
33040
46259bec
DM
330412012-05-21 David S. Miller <davem@davemloft.net>
33042
33043 * Makefules (o-iterator): Remove .s cases.
33044 (compile-command.s): Delete.
33045 (COMPILE.s): Delete.
33046 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33047
59f0c22e
JM
330482012-05-21 Joseph Myers <joseph@codesourcery.com>
33049
33050 * configure.in (libc_cv_predef_stack_protector): Only consider
33051 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33052 * configure: Regenerated.
33053
20c07380
L
330542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33055
bbb3154b
L
33056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33057 New macro. Use R*LP on int and pointer.
33058 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
33059 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33060 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
33061 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33062
20c07380
L
33063 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33064 [__WORDSIZE_TIME64_COMPAT32] instead of
33065 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33066 (struct utmp): Likewise.
33067 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33068 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33069 Renamed to ...
33070 (__WORDSIZE_TIME64_COMPAT32): This.
33071 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33072 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33073 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33074 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33075 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33076 (__WORDSIZE_TIME64_COMPAT32): New macro.
33077
d8d1017e
AJ
330782012-05-21 Andreas Jaeger <aj@suse.de>
33079
33080 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33081 only if [SHARED]. Add prototype for __wcschr_ia32.
33082
6c7fb145
RM
330832012-05-21 Roland McGrath <roland@hack.frob.com>
33084
33085 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33086 of %rbp unmolested in the jmp_buf while mangling the low bits.
33087 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33088 unmolested high bits of %rbp while demangling the low bits.
33089 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33090
66274218
AJ
330912012-05-21 Andreas Jaeger <aj@suse.de>
33092
07c58f8f
AJ
33093 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33094 * sunrpc/svc_simple.c: Use it for registerrpc.
33095 * sunrpc/xcrypt.c: Use it for passwd2des.
33096
66274218
AJ
33097 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33098
61f65140
L
330992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33100
33101 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33102 Don't define if [__SYSCALL_WORDSIZE != 32].
33103 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33104 New macro.
33105
5fefb436
AJ
331062012-05-21 Bruno Haible <bruno@clisp.org>
33107 Andreas Jaeger <aj@suse.de>
33108
33109 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33110 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33111 inptr and inend for must_buffer_ch.
33112 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33113 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33114 * stdio-common/Makefile (tests): Remove bug15.
33115 (bug15-ENV): Remove macro.
33116 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33117 anymore.
33118
d8e272ab
AJ
331192012-05-19 Andreas Jaeger <aj@suse.de>
33120 Roland McGrath <roland@hack.frob.com>
33121
33122 * manual/contrib.texi: Completely rewritten. It contains now an
33123 alphabetical list of contributors and their contributions.
33124
4a56a162
RH
331252012-05-21 Richard Henderson <rth@twiddle.net>
33126
33127 * misc/getauxval.c (__getauxval): Use unsigned long int.
33128 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33129 (getauxval): Use unsigned long int.
33130
d024d23c
L
331312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33132
33133 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33134
cbc00a03
RM
331352012-05-21 Roland McGrath <roland@hack.frob.com>
33136
33137 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33138 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33139 __alignof__ (long double).
33140
478143fa
AZ
331412012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33142
33143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33144
c7683a6d
RH
331452012-05-20 Richard Henderson <rth@twiddle.net>
33146
33147 * misc/getauxval.c: New file.
33148 * misc/sys/auxv.h: New file.
33149 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33150 (routines): Add getauxval.
33151 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33152 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33153 * elf/dl-sysdep.c (_dl_auxv): Remove.
33154 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33155 * elf/dl-support.c (_dl_auxv): New variable.
33156 (_dl_aux_init): Initialize it.
33157 * manual/startup.texi (Auxiliary Vector): New node.
33158 * sysdeps/generic/bits/hwcap.h: New file.
33159 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33160 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33161 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33162 * sysdeps/sparc/sysdep.h: ... here. Include it.
33163 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33164 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
33165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33166 Update.
c7683a6d
RH
33167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33170 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33175
a6f1845d
AZ
331762012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33177
33178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33179
cbcbe830
DM
331802012-05-19 David S. Miller <davem@davemloft.net>
33181
33182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33183
e0b16cc2
JM
331842012-05-19 Joseph Myers <joseph@codesourcery.com>
33185
33186 [BZ #14123]
33187 * math/s_ccosh.c: Include <float.h>
33188 (__ccosh): Avoid internal overflow calculating sinh and cosh
33189 values before multiplying by sin and cos values.
33190 * math/s_ccoshf.c: Likewise.
33191 * math/s_ccoshl.c: Likewise.
33192 * math/s_csin.c: Likewise.
33193 * math/s_csinf.c: Likewise.
33194 * math/s_csinl.c: Likewise.
33195 * math/s_csinh.c: Likewise.
33196 * math/s_csinhf.c: Likewise.
33197 * math/s_csinhl.c: Likewise.
33198 * math/libm-test.inc (ccos_test): Add more tests.
33199 (ccosh_test): Likewise.
33200 (csin_test): Likewise.
33201 (csinh_test): Likewise.
33202 * sysdeps/i386/fpu/libm-test-ulps: Update.
33203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33204
6ad13e08
L
332052012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33206
f66f0ce8
L
33207 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33208 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33209
6ad13e08
L
33210 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33211
b1d072a7
JM
332122012-05-19 Joseph Myers <joseph@codesourcery.com>
33213
33214 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33215 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33216 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33217 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33218 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33219 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33220 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33221 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33222 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33223 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33224 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33225 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33226 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33227 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33228 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33229 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33230 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33231 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33232 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33233 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33234 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33235 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33236 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33237 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33238 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33239 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33240 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33241 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33242 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33243 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33244 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33245
9eae47cb
AJ
332462012-05-18 Andreas Jaeger <aj@suse.de>
33247
33248 * csu/.gitignore: Delete.
33249
bb07f69f
L
332502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33251
33252 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33253 (timex): Use __syscall_slong_t.
33254
e6bdb741
AJ
332552012-05-18 Andreas Jaeger <aj@suse.de>
33256 Carlos O'Donell <carlos_odonell@mentor.com>
33257
33258 * manual/install.texi (Configuring and compiling): Update
33259 description about files modified in the source directory.
d6c33fda 33260 * INSTALL: Regenerated.
e6bdb741 33261
1b74487e
L
332622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33263
33264 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33265 value. Use "or" to set return value to -1.
33266 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33267 negate return value.
33268
a88b64b9
TMQMF
332692012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33270
57f41c40
AS
33271 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33272 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
33273 failure if the compiler has Graphite support disabled.
33274 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33275 Likewise.
57f41c40
AS
33276 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33277 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
33278 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33279 Likewise.
33280
3707636e
L
332812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33282
610b8622
L
33283 * sysdeps/x86_64/x32/_itoa.h: New file.
33284
7cd195df
L
33285 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33286 getdents system call only if kernel and user dirents have the
33287 same d_ino and d_off.
33288
94b07d20
L
33289 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33290 LLONG_MAX != LONG_MAX.
33291 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33292 (_fitoa_word): Likewise.
33293
18298070
L
33294 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33295 years.
33296 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33297 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33298 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33299
553c7ea4
L
33300 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33301 include <bits/wordsize.h>. Check __x86_64__ instead of
33302 __WORDSIZE.
33303 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33304 if __x86_64__ is defined. Use anonymous union on fpstate.
33305
3707636e
L
33306 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33307 anonymous union.
33308
b53ef01a
AS
333092012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33310
37fb1dc0
AS
33311 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33312 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33313 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33314 Refer to _rtld_local_ro instead of _rtld_global_ro.
33315 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33316 Likewise.
33317 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33318 Likewise.
33319 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33320 Likewise.
33321 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33322 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33323 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33324
b53ef01a
AS
33325 * sysdeps/powerpc/powerpc32/dl-machine.c
33326 (__elf_machine_runtime_setup) [PROF]: Don't reference
33327 _dl_prof_resolve.
33328
7a185db2
AJ
333292012-05-18 Andreas Jaeger <aj@suse.de>
33330
33331 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33332 function only available for GCCs before 3.4 since GCC 3.4
33333 introduced a builtin.
33334 (lrint): Likewise.
33335 (llrintf): Likewise.
33336 (llrint): Likewise.
33337 (fmaxf): Likewise.
33338 (fmax): Likewise.
33339 (fminf): Likewise.
33340 (fmin): Likewise.
33341 (rint): Likewise.
33342 (rintf): Likewise.
33343 (nearbyint): Likewise.
33344 (nearbyintf): Likewise.
33345 (ceil): Likewise.
33346 (ceilf): Likewise.
33347 (floor): Likewise.
33348 (floorf): Likewise.
33349
3e5aef87
L
333502012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33351
428bd707
L
33352 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33353 on both fields and cast pointer to __syscall_ulong_t.
33354
3e5aef87
L
33355 * bits/types.h (__fsword_t): New type.
33356 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33357 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33358 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33359 (__FSWORD_T_TYPE): Likewise.
33360 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33361 (__FSWORD_T_TYPE): Likewise.
33362 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33363 (__FSWORD_T_TYPE): Likewise.
33364 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33365 (__FSWORD_T_TYPE): Likewise.
33366 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33367 __SWORD_TYPE with __fsword_t.
33368 (statfs64): Likewise.
33369
1ba7c3dc
DM
333702012-05-17 David S. Miller <davem@davemloft.net>
33371
33372 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33373
59910343
AJ
333742012-05-17 Andreas Jaeger <aj@suse.de>
33375
33376 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33377 warning.
33378
2e4c1e9e
L
333792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33380
33381 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33382
de7f5ce7
AJ
333832012-05-17 Andreas Jaeger <aj@suse.de>
33384
33385 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33386 when it is used.
33387
286abc3d
CM
333882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33389
33390 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33391
477cc68e
L
333922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33393
33394 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33395 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33396
1a0994f5
CD
333972012-05-17 Andreas Jaeger <aj@suse.de>
33398 Carlos O'Donell <carlos_odonell@mentor.com>
33399
33400 [BZ #14059]
33401 * sysdeps/x86_64/multiarch/init-arch.h
33402 (bit_YMM_Usable): Rename to...
33403 (bit_AVX_Usable): ... this.
33404 (bit_FMA4_Usable): New macro.
33405 (bit_XMM_state): New macro.
33406 (bit_YMM_state): New macro.
33407 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33408 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33409 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33410 (CPUID_OSXSAVE): New macro.
33411 (CPUID_AVX): New macro.
33412 (CPUID_FMA4): New macro.
33413 (index_YMM_Usable): Rename to...
33414 (index_AVX_Usable): ... this.
33415 (HAS_AVX): Use HAS_ARCH_FEATURE.
33416 (HAS_FMA4): Likewise.
33417 (HAS_YMM_USABLE): Remove.
33418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33419 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33420 are present.
33421 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33422 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33423 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33424 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33425 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33426
0af797de
CM
334272012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33428
33429 * math/libm-test.c: Support platforms without multiple rounding modes.
33430 * math/bug-nextafter.c: Support platforms without FP exceptions.
33431 * math/bug-nexttoward.c: Likewise.
33432 * math/test-fenv.c: Likewise.
33433 * math/test-misc.c: Likewise.
33434 * stdlib/bug-getcontext.c: Likewise.
33435
e39745ff
AJ
334362012-05-17 Andreas Jaeger <aj@suse.de>
33437
33438 * manual/examples/search.c (critter_cmp): Change signature to
33439 avoid warnings.
33440 * manual/string.texi (Collation Functions): Likewise.
33441
48970aba
L
334422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33443
33444 * bits/types.h: Fold copyright years.
33445 * bits/typesizes.h: Likewise.
33446 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33447 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33448 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33449 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33450 * time/time.h: Likewise.
33451
bedee953
PP
334522012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33453
33454 [BZ #208]
33455 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33456 in instead of returning them. Return void.
33457 (__libc_mallinfo): Accumulate over all arenas.
33458 (__malloc_stats): Adjust for change in int_mallinfo interface.
33459
61653dfb
RM
334602012-05-16 Roland McGrath <roland@hack.frob.com>
33461
30b99d79
RM
33462 [BZ #10375]
33463 * configure.in (NM): Add AC_CHECK_TOOL for it.
33464 (libc_extra_cflags): New substituted variable.
33465 Check for -fstack-protector being used implicitly.
33466 * configure: Regenerated.
33467 * config.make.in (config-extra-cflags): New variable,
33468 gets @libc_extra_cflags@.
33469 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33470
61653dfb
RM
33471 [BZ #10375]
33472 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33473 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33474 * configure: Regenerated.
33475 * config.make.in (CPPUNDEFS): New substituted variable.
33476 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33477 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33478 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33479
661768bb
L
334802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33481
33482 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33483 (mq_attr): Use __syscall_slong_t.
33484
d4261567
L
334852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33486
33487 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33488 Check __x86_64__ instead of __WORDSIZE.
33489 (_STAT_VER_LINUX): Likewise.
33490 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33491 __syscall_ulong_t and __syscall_slong_t.
33492 (stat64): Likewise.
33493
cf3ff365
L
334942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33495
33496 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33497
76cf3e4d
L
334982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33499
33500 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33501
a637753a
L
335022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33503
33504 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33505 __syscall_ulong_t.
33506
d5e05119
L
33507 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33508 include <bits/wordsize.h>. Check __x86_64__ instead of
33509 __WORDSIZE.
33510 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33511 defined.
33512 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33513
f62ee380
L
33514 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33515 include <bits/wordsize.h>. Check __x86_64__ instead of
33516 __WORDSIZE.
33517 (user_regs_struct): Use "__extension__ unsigned long long"
33518 instead of "unsigned long" if __x86_64__ is defined.
33519 (user): Likewise. Pad after pointer field if __ILP32__ is
33520 defined.
33521
4e124ced
JM
335222012-05-16 Joseph Myers <joseph@codesourcery.com>
33523
6a3951a0
JM
33524 * configure.in (makeinfo): Require version 4.5 or later. Allow
33525 versions 5 to 9.
33526 * configure: Regenerated.
33527 * manual/install.texi (texinfo): Increase version requirement to
33528 4.5 or later.
33529 * INSTALL: Regenerated.
33530
4e124ced
JM
33531 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33532
953ca31a
L
335332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33534
33535 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33536
617aca05
L
33537 * sysdeps/x86_64/x32/ffs.c: New file.
33538
5762f7ae
L
33539 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33540 __syscall_ulong_t.
33541 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33542 defined. Use __syscall_ulong_t.
33543 (shminfo): Use __syscall_ulong_t.
33544 (shm_info): Likewise.
33545
a26b6856
L
33546 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33547 __syscall_ulong_t.
33548
cb2b9ef7
L
33549 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33550 <bits/wordsize.h>.
33551 (msgqnum_t): Use __syscall_ulong_t.
33552 (msglen_t): Likewise.
33553 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33554 __syscall_ulong_t.
33555
34683bb0
L
33556 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33557 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33558
84a68786
L
33559 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33560
48baa5f1
L
33561 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33562 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33563
180be88b
L
33564 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33565 __syscall_slong_t.
33566
5e90c8ad
L
33567 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33568 include <bits/wordsize.h>. Check __x86_64__ instead of
33569 __WORDSIZE.
33570
23dfb58b
L
33571 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33572 "unsigned long long int" if __x86_64__ is defined.
33573 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33574
ce5d54b0
L
33575 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33576 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33577 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33578
13dc9eac
L
33579 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33580 <stdint.h>.
33581 (GET_PC): Cast to uintptr_t first.
33582 (GET_FRAME): Likewise.
33583 (GET_STACK): Likewise.
33584
a7895d15
L
33585 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33586 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33587 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33588 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33589 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33590 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33591 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33592 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33593 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33594 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33595 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33596 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33597 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33598 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33599 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33600 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33601 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33602 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33603 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33604 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33605 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33606 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33607 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33608 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33609 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33610 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33611 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33612 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33613 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33614
656416c9
AS
336152012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33616
5bd66283
AS
33617 * Makerules (+depfiles): Also collect depfiles from .oS in
33618 $(extra-objs).
33619 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33620 .oS, $(libnldbl-routines)).
33621
656416c9
AS
33622 * Makerules (native-compile-mkdep-flags): Define.
33623 * sunrpc/Makefile (extra-objs): Add $(addprefix
33624 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33625 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33626 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33627 calling $(make-target-directory).
33628
a46f2169
L
336292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33630
33631 * bits/types.h (__snseconds_t): Removed.
33632 * time/time.h (struct timespec): Replace __snseconds_t with
33633 __syscall_slong_t.
33634 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33635 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33636 Likewise.
33637 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33638 (__SNSECONDS_T_TYPE): Likewise.
33639 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33640 (__SNSECONDS_T_TYPE): Likewise.
33641 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33642 (__SNSECONDS_T_TYPE): Likewise.
33643
6af6528b
L
336442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33645
33646 * sysdeps/mach/hurd/bits/typesizes.h
33647 (__SYSCALL_SLONG_TYPE): New macro.
33648 (__SYSCALL_ULONG_TYPE): Likewise.
33649
de986b56
L
336502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33651
33652 * bits/types.h (__syscall_slong_t): New type.
33653 (__syscall_ulong_t): Likewise.
33654
33655 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33656 (__SYSCALL_ULONG_TYPE): Likewise.
33657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33658 (__SYSCALL_SLONG_TYPE): Likewise.
33659 (__SYSCALL_ULONG_TYPE): Likewise.
33660 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33661 (__SYSCALL_SLONG_TYPE): Likewise.
33662 (__SYSCALL_ULONG_TYPE): Likewise.
33663 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33664 (__SYSCALL_SLONG_TYPE): Likewise.
33665 (__SYSCALL_ULONG_TYPE): Likewise.
33666
85736dc7
L
336672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33668
33669 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33670 Add sigaltstack-offsets.sym.
33671 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33672 <sigaltstack-offsets.h>.
33673 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33674 longjmp_msg pointer.
33675 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33676 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33677 signal stack.
33678 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33679
cc03b296
JM
336802012-05-15 Joseph Myers <joseph@codesourcery.com>
33681
a9538892
JM
33682 * elf/stackguard-macros.h: Remove file.
33683 * sysdeps/generic/stackguard-macros.h: New file.
33684 * sysdeps/i386/stackguard-macros.h: Likewise.
33685 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33686 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33687 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33688 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33689 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33690 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33691 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33692 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33693 <elf/stackguard-macros.h>.
33694
cc03b296
JM
33695 [BZ #14109]
33696 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33697 __aligned__ in attribute.
33698 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33699 (gregset_t): Likewise.
33700
93171016
L
337012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33702
33703 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33704 * sysdeps/x86_64/64/Implies-after: Here. New file.
33705 * sysdeps/x86_64/x32/Implies-after: New file.
33706
d86813a0
L
337072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33708
33709 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33710 and access return value for _dl_profile_fixup. Use R10_LP to
33711 load frame size.
33712
2953ec75
L
337132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33714
33715 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33716
3b550e9e
L
337172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33718
33719 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33720 * sysdeps/x86_64/x32/sysdep.h: New file.
33721
eda41706
L
337222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33723
33724 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33725 * sysdeps/x86_64/setjmp.S: Likewise.
33726
9ea01d93
AZ
337272012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33728
33729 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33730 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33731 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33732 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33733 remove unused global constant.
33734
02a91938
CM
337352012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33736
33737 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33738 include of <not-cancel.h>.
33739
6540185f
RM
337402012-05-15 Roland McGrath <roland@hack.frob.com>
33741
33742 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33743
509072a0
AJ
337442012-05-15 Jeff Law <law@redhat.com>
33745 Andreas Jaeger <aj@suse.de>
33746
33747 [BZ #13594]
33748 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33749 out from...
33750 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33751 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33752 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33753 code changing __hst_map_handle.map.
33754
ba75122d
RM
337552012-05-15 Roland McGrath <roland@hack.frob.com>
33756
33757 * configure.in (sysnames): Look for Implies-before and Implies-after
33758 files.
33759 * configure: Regenerated.
33760
890d8bd8
L
337612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33762
33763 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33764 8-byte data alignment with LP_SIZE alignment.
33765
f6ee6623
L
337662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33767
33768 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33769 into R10_LP.
33770
ea2626f6
L
337712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33772
33773 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33774
085f715e
L
337752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33776
33777 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33778 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33779 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33780 Likewise.
33781 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33782
be8498fc
L
337832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33784
33785 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33786 (stackinfo_sub_sp): Likewise.
33787
70bc83b9
L
337882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33789
33790 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33791 RAX_LP.
33792
9bc0b730
L
337932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33794
33795 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33796 into R*_LP.
33797
6d2850e7
L
337982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33799
33800 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33801 sizes into R*_LP.
33802
3cb84561
L
338032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33804
33805 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33806
54e2ed81
L
338072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33808
33809 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33810 into R11_LP and load __x86_64_shared_cache_size_half into
33811 R8_LP.
33812
8a17f349
L
338132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33814
33815 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33816 R8_LP.
33817
777b1eea
AZ
338182012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33819
33820 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33821 logb for POWER7.
33822 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33823 logbf for POWER7.
33824 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33825 logbl for POWER7.
33826 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33827 powerpc32/power7/fpu/s_logb.c via #include.
33828 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33829 powerpc32/power7/fpu/s_logbf.c via #include.
33830 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33831 powerpc32/power7/fpu/s_logbl.c via #include.
33832
d20d4ac2
JM
338332012-05-15 Joseph Myers <joseph@codesourcery.com>
33834
33835 * README.libm: Remove file.
33836
6cdef1ab
L
338372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33838
33839 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33840 count for x32. Use R*_LP and omit operand-size suffix.
33841
0b254d8f
L
338422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33843
33844 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33845 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33846 * sysdeps/x86_64/x32/shlib-versions: New file.
33847
ceb809dc
RM
338482012-05-14 Roland McGrath <roland@hack.frob.com>
33849
33850 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33851 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33852 Use _dl_fatal_printf instead.
33853
37f1abd4
JM
338542012-05-14 Joseph Myers <joseph@codesourcery.com>
33855
33856 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33857 set if not set by the user. Do not allow for being unset.
33858 * sysdeps/unix/sysv/linux/configure: Regenerated.
33859
11de3a33
L
338602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33861
33862 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33863 the `q' suffix from lea and replace .quad with ASM_ADDR.
33864
e02f153a
L
338652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33866
33867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33868 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33869 instead of $17.
33870 (PTR_DEMANGLE): Likewise.
33871
520ae0fd
L
338722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33873
33874 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33875 (LP_OP): Likewise.
33876 (ASM_ADDR): Likewise.
33877 (RAX_LP): Likewise.
33878 (RBP_LP): Likewise.
33879 (RBX_LP): Likewise.
33880 (RCX_LP): Likewise.
33881 (RDI_LP): Likewise.
33882 (RSI_LP): Likewise.
33883 (RSP_LP): Likewise.
33884 (R8_LP): Likewise.
33885 (R9_LP): Likewise.
33886 (R10_LP): Likewise.
33887 (R10_LP): Likewise.
33888 (R11_LP): Likewise.
33889 (R12_LP): Likewise.
33890 (R13_LP): Likewise.
33891 (R14_LP): Likewise.
33892 (R15_LP): Likewise.
33893
b985be81
L
338942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33895
33896 * sysdeps/x86_64/x32/dl-machine.h: New file.
33897
6a4888ff
AJ
338982012-05-14 Andreas Jaeger <aj@suse.de>
33899
33900 * manual/Makefile (subdir): Remove export of subdir.
33901 (all): Remove target.
33902 (.PHONY): Remove all from list.
33903 (mkinstalldirs): Remove.
33904 (.PHONY): Remove installdirs from list.
33905 ($(inst_infodir)/libc.info): Use make-target-directory.
33906 (installdirs): Remove.
33907 (subdir_%): Remove.
33908 (glibc-targets): Remove.
33909 (lib): Remove.
33910 (stubs): Remove.
33911 ($(objpfx)stubs ../po/manual.pot): Remove.
33912 ($(objpfx)stamp%): Remove.
33913 (make-target-directory): Remove.
33914 (subdir_install): Remove.
33915 (routines): Remove.
33916 (aux): Remove.
33917 (sources): Remove.
33918 (objects): Remove.
33919 (headers): Remove.
33920
33921 [BZ #13750]
33922 * manual/.gitignore: Remove, it's not needed anymore.
33923 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33924 all files in it.
33925 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33926 directory.
33927 (texis): Renamed to $(objpfx)texis.
33928 (texis-path): New, contains path to generated files.
33929 (chapters.%): Use texis-path for complete path, add extra argument
33930 libc-texinfo.sh.
33931 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33932 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33933 (summary,texi, stamp-summary): Use complete path of
33934 files. Generate files in build dir.
33935 (dir-add.texi): Build in build dir.
33936 (libm-err.texi,stamp-libm-err): Likewise.
33937 (version.texi, stamp-version): Likewise.
33938 (.%c.texi): Likewise.
33939 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33940 (mostlyclean): Remove target.
33941 (realclean): Remove target.
33942 (generated): Add new variable with contents from mostlyclean and
33943 realclean, remove entries duplicated in common-mostlyclean, add
33944 stamp-libm-err and stamp-version.
33945 (generated-dirs): Add libc directory.
33946 ($(inst_infodir)/libc.info): Install files from build dir.
33947
33948 * manual/install.texi (Configuring and compiling): Adjust since
33949 the info files are not part of the tar ball anymore.
33950
7ac77294
AJ
339512012-05-14 Andreas Jaeger <aj@suse.de>
33952
33953 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33954 variable.
33955
ffb7875d
JM
339562012-05-14 Joseph Myers <joseph@codesourcery.com>
33957
33958 [BZ #13717]
33959 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33960 to 2.2.0 where earlier.
33961 * sysdeps/unix/sysv/linux/configure: Regenerated.
33962 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33963 Remove conditional code.
33964 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33965 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33966 Remove conditional code.
33967 [!__NR_lchown]: Likewise.
33968 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33969 [__NR_lchown]: Likewise.
33970 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33971 comment referencing __ASSUME_LCHOWN_SYSCALL.
33972 * sysdeps/unix/sysv/linux/i386/sigaction.c
33973 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33974 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33975 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33976 Remove conditional code.
33977 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33978 (__protocol_available): Remove #if 0 code.
33979 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33980 conditional code.
33981 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33982 * sysdeps/unix/sysv/linux/kernel-features.h
33983 (__ASSUME_GETCWD_SYSCALL): Don't define.
33984 (__ASSUME_REALTIME_SIGNALS): Likewise.
33985 (__ASSUME_PREAD_SYSCALL): Likewise.
33986 (__ASSUME_PWRITE_SYSCALL): Likewise.
33987 (__ASSUME_POLL_SYSCALL): Likewise.
33988 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33989 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33990 non-SPARC.
33991 (__ASSUME_SIOCGIFNAME): Don't define.
33992 (__ASSUME_MSG_NOSIGNAL): Likewise.
33993 (__ASSUME_SENDFILE): Define unconditionally.
33994 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33995 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33996 conditional code.
33997 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33998 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33999 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34000 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34001 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34002 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34003 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34005 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34006 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34008 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34009 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34011 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34012 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34014 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34015 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34017 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34018 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34020 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34021 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34023 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34024 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34026 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34027 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34028 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34029 Remove conditional code.
34030 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34031 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34032 Remove conditional code.
34033 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34034 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34035 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34036 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34037 Remove conditional code.
34038 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34039 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34040 Remove conditional code.
34041 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34042 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34043 Remove conditional code.
34044 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34045 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34046 Remove conditional code.
34047 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34048 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34049 Remove conditional code.
34050 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34051 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34052 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34053 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34054 * sysdeps/unix/sysv/linux/sigaction.c
34055 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34056 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34057 * sysdeps/unix/sysv/linux/sigpending.c
34058 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34059 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34060 * sysdeps/unix/sysv/linux/sigprocmask.c
34061 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34062 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34063 * sysdeps/unix/sysv/linux/sigsuspend.c
34064 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34065 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34066 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34067 (__libc_missing_rt_sigs): Remove.
34068 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34069 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34070 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34071 Remove conditional code.
34072 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34073 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34074 return 1.
34075 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34076 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34077 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34078 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34079
1bfb7291
AJ
340802012-05-14 Andreas Jaeger <aj@suse.de>
34081
caae5a81
AJ
34082 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34083 it's not used in glibc.
34084 (__coshm1): Likewise.
34085 (__acosh1p): Likewise.
34086 (__sgn): Likewise.
34087
1bfb7291
AJ
34088 * manual/string.texi (Copying and Concatenation): Add missing
34089 variable in concat example.
34090 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34091
c044d724
L
340922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34093
144c5467 34094 [BZ #14103]
c044d724
L
34095 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34096 __builtin_clzl with __builtin_clzll.
34097
2523c62b
L
340982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34099
34100 [BZ #14104]
34101 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34102 libc_freeres_ptr.
34103
d7bb4c42
LD
341042012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34105
34106 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34107 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34108 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34109 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34110
9dc4e1fb
MF
341112012-05-14 Mike Frysinger <vapier@gentoo.org>
34112
34113 * NEWS: Update ia64 info.
34114
c7df0112
AS
341152012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34116
34117 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34118 used as bcopy.
34119
dc70356c
TS
341202012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34121
34122 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34123 * sysdeps/unix/syscalls.list (dup3): Likewise.
34124 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34125 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34126
9fb1a21f
L
341272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34128
34129 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34130 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34131
4822a2a5
L
341322012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34133
34134 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34135 thread pointer.
34136 (TLS_IE): Use mov/add instead of movq/addq to load thread
34137 pointer.
34138 (TLS_GD_PREFIX): New.
34139 (TLS_GD): Use it.
34140
842b81d6
DM
341412012-05-11 David S. Miller <davem@davemloft.net>
34142
34143 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34144 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34145 (_FPU_SETCW): Likewise.
34146
1cf463cd
L
341472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34148
34149 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34150 is 32-byte aligned.
34151
60cc4a18
AS
341522012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34153
34154 [BZ #11837]
34155 * iconvdata/gb18030.c: Update tables.
34156 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34157 characters specially.
34158 (BODY for TO_LOOP): Add encoding of missing ranges.
34159
febb44a4
TS
341602012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34161
34162 [BZ #13673]
34163 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34164 * sysdeps/mach/hurd/dup3.c: Likewise.
34165 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34166 * sysdeps/powerpc/memmove.c:: Likewise.
34167
0a10fb9e
L
341682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34169
34170 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34171 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34172
df8a552f
L
341732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34174
34175 * elf/elf.h (R_X86_64_RELATIVE64): New.
34176 (R_X86_64_NUM): Updated.
34177 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34178 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34179 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34180 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34181 tst-quad1pie tst-quad2pie
34182 (modules-names): Add tst-quadmod1 tst-quadmod2.
34183 ($(objpfx)tst-quad1): New dependency.
34184 ($(objpfx)tst-quad2): Likewise.
34185 ($(objpfx)tst-quad1pie): Likewise.
34186 ($(objpfx)tst-quad2pie): Likewise.
34187 * sysdeps/x86_64/tst-quad1.c: New file.
34188 * sysdeps/x86_64/tst-quad1pie.c: New file.
34189 * sysdeps/x86_64/tst-quad2.c: Likewise.
34190 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34191 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34192 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34193 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34194 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34195
f34d6f84
ST
341962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34197
f42d41d1
ST
34198 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34199 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34200 * streams/stropts.h (t_scalar_t): Define type.
34201
3c3571fc
ST
34202 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34203 (_PATH_PRESERVE): Set to "/var/lib".
34204 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34205
61f06bd3
ST
34206 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34207 instead of int.
34208
918d4d71
ST
34209 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34210 if __dir_mkfile succeeded.
34211
f34d6f84
ST
34212 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34213 checking for _hurd_dtablesize. Unlock it right after having
34214 finished _hurd_dtable allocation.
34215
10589b4a
TS
342162012-05-10 Thomas Schwinge <thomas@schwinge.name>
34217
674cdbc7
TS
34218 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34219 * sysdeps/mach/hurd/configure: Regenerated.
34220 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34221 special-casing to...
34222 * sysdeps/gnu/configure.in: ... this new file.
34223 * sysdeps/unix/sysv/linux/configure: Regenerated.
34224 * sysdeps/gnu/configure: New generated file.
34225
8e41b99f
TS
34226 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34227 for Linux: use nsec instead of usec, as well as:
34228 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34229 members of type struct timespec.
34230 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34231 New macros.
34232 (struct stat64): Likewise.
34233 (_STATBUF_ST_NSEC): New macro.
34234 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34235
10589b4a
TS
34236 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34237 __strtoul_internal rather than strtoul.
34238
63643c85
PT
342392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34240
34241 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34242 and reject them.
34243
3faebe6a
ST
342442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34245
34246 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34247 which preserves existing values.
34248 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34249
c6474b07
PT
342502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34251
34252 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34253 TIMEOUT values. Return EINVAL for NFDS values either negative or
34254 greater than FD_SETSIZE.
34255
1043890b
ST
342562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34257
34258 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34259 allocated, call __vm_protect to finish enabling the existing space, and
34260 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34261 allocate the remainder.
34262
37ed8b9b
PT
342632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34264
34265 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34266 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34267
db653660
ST
342682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34269
37ed8b9b
PT
34270 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34271 sysdeps/mach/hurd/readlink.c.
b29d4053 34272
db653660
ST
34273 * posix/tst-sysconf.c (posix_options): Only use
34274 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34275 _POSIX_SYNCHRONIZED_IO when they are defined
34276 * sysdeps/mach/hurd/bits/posix_opt.h:
34277 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34278 (_XOPEN_REALTIME): Undefine macro.
34279 (_XOPEN_REALTIME_THREADS): Undefine macro.
34280 (_XOPEN_SHM): Undefine macro.
34281 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34282 macro to -1.
34283 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34284 macro to -1.
34285 (_POSIX_ASYNC_IO): Undefine macro.
34286 (_POSIX_PRIORITIZED_IO): Undefine macro.
34287 (_POSIX_SPIN_LOCKS): Define macro to -1.
34288
ee16e894
ST
34289 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34290 SA_NODEFER, SA_RESETHAND.
34291 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34292 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34293 F_DUPFD_CLOEXEC.
34294
6103ae3b
TS
342952012-05-10 Thomas Schwinge <thomas@schwinge.name>
34296
34297 * elf/Makefile (pldd-modules): Define unconditionally.
34298
80b4e5f3
TS
342992012-05-10 Thomas Schwinge <thomas@schwinge.name>
34300
34301 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34302
edadcbd6
ST
343032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34304
34305 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34306 Return ENOENT when name is empty.
34307 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34308
80694780
TS
343092012-05-10 Thomas Schwinge <thomas@schwinge.name>
34310
1792c087
TS
34311 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34312
80694780
TS
34313 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34314
6b645f0d
ST
343152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34316
80694780
TS
34317 Fix mlock in all cases except non-readable pages.
34318 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34319 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 34320
6b645f0d
ST
34321 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34322 (__mkdir): When path is `/', just fail with EEXIST.
34323 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34324
e468f8a3
TS
343252012-05-10 Thomas Schwinge <thomas@schwinge.name>
34326
34327 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34328 <sys/uio.h> (for writev).
34329 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34330 and <sys/param.h> (for MIN).
34331
a4186cff
PT
343322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34333
34334 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34335 REQUESTED_TIME. Properly set the remaining time and return EINTR
34336 if interrupted.
34337
510bbf14
TS
343382012-05-10 Thomas Schwinge <thomas@schwinge.name>
34339
34340 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34341 Depend on against $(link-rpcuserlibs).
34342
5d5722e8
ST
343432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34344
a4186cff
PT
34345 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34346 (__libc_stack_end): Do not use attribute_relro.
34347 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34348 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 34349 to libthread-provided value.
a4186cff
PT
34350 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34351 attribute_relro.
5d5722e8 34352
37233df9
TS
343532012-05-10 Thomas Schwinge <thomas@schwinge.name>
34354
be971a2b
TS
34355 [BZ #3748]
34356 * bits/libc-lock.h (__libc_once_get): New macro.
34357 * sysdeps/mach/bits/libc-lock.h: Likewise.
34358 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34359 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34360 instead of using implementation details.
34361
37233df9
TS
34362 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34363 * libio/freopen.c: Likewise.
34364 * libio/freopen64.c: Likewise.
34365 * misc/syslog.c: Likewise.
34366 * nscd/connections.c: Likewise.
34367 * nscd/netgroupcache.c: Likewise.
34368 * sysdeps/posix/getcwd.c: Likewise.
34369
38de94a5
RM
343702012-05-10 Roland McGrath <roland@hack.frob.com>
34371
34372 * math/w_ilogbf.c: Add #include <limits.h>.
34373
67530489
ST
343742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34375
a4186cff 34376 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
34377 path instead of returning without unlocking.
34378
67530489
ST
34379 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34380 immediate-write ioctls.
34381 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34382
5aa3a74a
TS
343832012-05-10 Thomas Schwinge <thomas@schwinge.name>
34384
18bad2ae
TS
34385 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34386 __builtin_frame_address instead of making assumptions about the
34387 location of the return address relative to DATA. Force early load of
34388 the return address.
34389 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34390 __builtin_frame_address.
34391
5aa3a74a
TS
34392 dup3 for GNU Hurd.
34393 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34394 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34395 implement dup3 and do some further code clean-ups.
34396 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34397 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34398
ecd0de9a
ST
343992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34400
cd9fa985
ST
34401 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34402
a4186cff
PT
34403 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34404 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34405 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34406 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34407 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34408 d->port.lock.
802ca5a5 34409
a4186cff
PT
34410 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34411 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34412 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 34413
bcf55240
TS
344142012-05-10 Thomas Schwinge <thomas@schwinge.name>
34415
6960eb42
TS
34416 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34417 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34418 definitions.
34419
eb43375f
TS
34420 accept4 for GNU Hurd.
34421 * include/sys/socket.h (__libc_accept4): New prototype.
34422 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34423 to implement __libc_accept4.
34424 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34425 __libc_accept4.
34426 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34427
bcf55240
TS
34428 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34429 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34430 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34431 signal-defines.sym.
34432
6178c55b
ST
344332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34434
a4186cff 34435 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 34436
6f080c2f
TS
344372012-05-10 Thomas Schwinge <thomas@schwinge.name>
34438
34439 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34440 assertion on O_CLOEXEC flag.
34441 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34442 * hurd/intern-fd.c: Likewise.
34443 * hurd/port2fd.c: Likewise.
34444
bcfe3a54
ST
344452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34446
34447 [BZ #3906]
34448 * bits/in.h (IPV6_PKTINFO): Define new macro.
34449 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34450
89c9aa49
AZ
344512012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34452
34453 [BZ #13954]
34454 [BZ #13955]
34455 [BZ #13956]
34456 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34457 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34458 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34459 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34460 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34461 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34462 * math/libm-test.inc (logb_test) : Additional logb tests.
34463
021db4be
AJ
344642012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34465 Andreas Jaeger <aj@suse.de>
34466
34467 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34468 * configure: Regenerated.
34469 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34470 * config.make.in (link-obsolete-rpc): New substituted variable.
34471 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34472 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34473 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34474 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34475 so that libc.a contains the symbols.
34476 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34477 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34478 * sunrpc/auth_none.c: Likewise.
34479 * sunrpc/auth_unix.c: Likewise.
34480 * sunrpc/authdes_prot.c: Likewise.
34481 * sunrpc/authuxprot.c: Likewise.
34482 * sunrpc/clnt_gen.c: Likewise.
34483 * sunrpc/clnt_perr.c: Likewise.
34484 * sunrpc/clnt_raw.c: Likewise.
34485 * sunrpc/clnt_simp.c: Likewise.
34486 * sunrpc/clnt_tcp.c: Likewise.
34487 * sunrpc/clnt_udp.c: Likewise.
34488 * sunrpc/clnt_unix.c: Likewise.
34489 * sunrpc/des_crypt.c: Likewise.
34490 * sunrpc/des_soft.c: Likewise.
34491 * sunrpc/get_myaddr.c: Likewise.
34492 * sunrpc/key_call.c: Likewise.
34493 * sunrpc/key_prot.c: Likewise.
34494 * sunrpc/netname.c: Likewise.
34495 * sunrpc/pm_getmaps.c: Likewise.
34496 * sunrpc/pm_getport.c: Likewise.
34497 * sunrpc/pmap_clnt.c: Likewise.
34498 * sunrpc/pmap_prot.c: Likewise.
34499 * sunrpc/pmap_prot2.c: Likewise.
34500 * sunrpc/pmap_rmt.c: Likewise.
34501 * sunrpc/publickey.c: Likewise.
34502 * sunrpc/rpc_cmsg.c: Likewise.
34503 * sunrpc/rpc_common.c: Likewise.
34504 * sunrpc/rpc_dtable.c: Likewise.
34505 * sunrpc/rpc_prot.c: Likewise.
34506 * sunrpc/rpc_thread.c: Likewise.
34507 * sunrpc/rtime.c: Likewise.
34508 * sunrpc/svc.c: Likewise.
34509 * sunrpc/svc_auth.c: Likewise.
34510 * sunrpc/svc_raw.c: Likewise.
34511 * sunrpc/svc_run.c: Likewise.
34512 * sunrpc/svc_tcp.c: Likewise.
34513 * sunrpc/svc_udp.c: Likewise.
34514 * sunrpc/svc_unix.c: Likewise.
34515 * sunrpc/svcauth_des.c: Likewise.
34516 * sunrpc/xcrypt.c: Likewise.
34517 * sunrpc/xdr.c: Likewise.
34518 * sunrpc/xdr_array.c: Likewise.
34519 * sunrpc/xdr_float.c: Likewise.
34520 * sunrpc/xdr_intXX_t.c: Likewise.
34521 * sunrpc/xdr_mem.c: Likewise.
34522 * sunrpc/xdr_rec.c: Likewise.
34523 * sunrpc/xdr_ref.c: Likewise.
34524 * sunrpc/xdr_sizeof.c: Likewise.
34525 * sunrpc/xdr_stdio.c: Likewise.
34526
b5c086a2
RM
345272012-05-10 Roland McGrath <roland@hack.frob.com>
34528
34529 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34530 change. Update copyright years.
34531
6d74dd09
JM
345322012-05-10 Joseph Myers <joseph@codesourcery.com>
34533
34534 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34535
28e72501
MK
345362012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34537 Joseph Myers <joseph@codesourcery.com>
34538 Paul Pluzhnikov <ppluzhnikov@google.com>
34539
34540 [BZ #14012]
34541 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34542 requiring rpcgen.
34543 [cross-compiling] (extra-libs): Likewise.
34544 [cross-compiling] (extra-libs-others): Likewise.
34545 [cross-compiling] (librpcsvc-routines): Likewise.
34546 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34547 [cross-compiling] (omit-deps): Likewise.
34548 (sunrpc-CPPFLAGS): New variable.
34549 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34550 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34551 (cross-rpcgen-objs): New variable.
34552 (extra-objs): Append $(cross-rpcgen-objs).
34553 ($(cross-rpcgen-objs)): New rule.
34554 ($(objpfx)cross-rpcgen): Likewise.
34555 (rpcgen-cmd): Define to use $(built-program-file). Expand
34556 comment.
34557 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34558 ($(objpfx)x%.stmp): Likewise.
34559 * sunrpc/proto.h [IS_IN_build] (_): Define.
34560 [IS_IN_build] (_libc_intl_domainname): Likewise.
34561
c8c59454
L
345622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34563
34564 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34565 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34566 and R_X86_64_TPOFF64.
34567
6f27cd16
JM
345682012-05-10 Joseph Myers <joseph@codesourcery.com>
34569
34570 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34571 sysdeps/unix/sysv/syscalls.list.
34572 (stime): Likewise.
34573 (utime): Likewise.
34574 * sysdeps/unix/sysv/syscalls.list: Remove file.
34575
02467e1c
PE
345762012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34577
34578 [BZ #3440]
34579 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34580 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34581 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34582 (__LC_IDENTIFICATION): Make these macros useful in #if
34583 expressions, as required by C99.
34584
da392631
AS
345852012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34586
34587 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34588 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34589 after this.
34590
8115f29b
L
345912012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34592
34593 * stdlib/longlong.h: Updated from GCC.
34594
bdd74070
AJ
345952012-05-09 Andreas Jaeger <aj@suse.de>
34596
edfe0dbe
AJ
34597 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34598 default is first entry.
34599 (run_mode): Set type.
34600 (main): Remove informal message about syslog.
34601 (options): Fix typo.
34602
bcfe3a54
ST
34603 [BZ #14053]
34604 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 34605 to asm.
bcfe3a54
ST
34606 (lrint): Likewise.
34607 (llrintf): Likewise.
34608 (llrint): Likewise.
34609 (rint): Likewise.
34610 (rintf): Likewise.
34611 (nearbyint): Likewise.
34612 (nearbyintf): Likewise.
bdd74070 34613
91d8d69e
AJ
346142012-05-09 Andreas Jaeger <aj@suse.de>
34615 Pedro Alves <palves@redhat.com>
34616
34617 * nscd/nscd.c (run_mode): Use enum.
34618 (main): Cleanup coding style issue.
34619
bb90b80b
AJ
346202012-05-09 Alexandre Oliva <aoliva@redhat.com>
34621 Andreas Jaeger <aj@suse.de>
34622
bcfe3a54
ST
34623 * nscd/nscd.c (go_background): Replaced with...
34624 (run_mode): ... this.
bb90b80b 34625 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
34626 (options): Add -F --foreground.
34627 (main): Implement it.
34628 (parse_opt): Parse it.
bb90b80b 34629
1a4b75a1
AJ
346302012-05-09 Andreas Jaeger <aj@suse.de>
34631
34632 [BZ #14083]
34633 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34634 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34635 -Wconversion warning.
34636 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34637 Likewise.
34638
b1cc2472
JM
346392012-05-09 Joseph Myers <joseph@codesourcery.com>
34640
34641 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34642 == 0.
34643 (LC_ALL): Use macro-int-constant.
34644 (LC_COLLATE): Likewise.
34645 (LC_CTYPE): Likewise.
34646 (LC_MESSAGES): Likewise.
34647 (LC_MONETARY): Likewise.
34648 (LC_NUMERIC): Likewise.
34649 (LC_TIME): Likewise.
34650 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34651 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34652 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34653 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34654 Specify type.
34655 [C99-based standards] (float_t): Expect type.
34656 [C99-based standards] (double_t): Expect type.
34657 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34658 type.
34659 [C99-based standards] (HUGE_VALL): Likewise.
34660 [C99-based standards] (INFINITY): Likewise.
34661 [C99-based standards] (NAN): Likewise.
34662 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34663 [C99-based standards] (FP_NAN): Likewise.
34664 [C99-based standards] (FP_NORMAL): Likewise.
34665 [C99-based standards] (FP_SUBNORMAL): Likewise.
34666 [C99-based standards] (FP_ZERO): Likewise.
34667 [C99-based standards] (FP_FAST_FMA): Use
34668 optional-macro-int-constant. Specify type. Require == 1.
34669 [C99-based standards] (FP_FAST_FMAF): Likewise.
34670 [C99-based standards] (FP_FAST_FMAL): Likewise.
34671 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34672 [C99-based standards] (FP_ILOGBNAN): Likewise.
34673 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34674 Specify type.
34675 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34676 [C99-based standards] (math_errhandling): Specify type.
34677 [ISO99 || ISO11] (signgam): Do not allow.
34678 [non-C99-based standards] (copysignf): Do not allow.
34679 [non-C99-based standards] (exp2f): Likewise.
34680 [non-C99-based standards] (log2f): Likewise.
34681 [non-C99-based standards] (modff): Allow.
34682 [non-C99-based standards] (erff): Do not allow.
34683 [non-C99-based standards] (erfcf): Likewise.
34684 [non-C99-based standards] (gammaf): Likewise.
34685 [non-C99-based standards] (hypotf): Likewise.
34686 [non-C99-based standards] (j0f): Likewise.
34687 [non-C99-based standards] (j1f): Likewise.
34688 [non-C99-based standards] (jnf): Likewise.
34689 [non-C99-based standards] (lgammaf): Likewise.
34690 [non-C99-based standards] (tgammaf): Likewise.
34691 [non-C99-based standards] (y0f): Likewise.
34692 [non-C99-based standards] (y1f): Likewise.
34693 [non-C99-based standards] (ynf): Likewise.
34694 [non-C99-based standards] (isnanf): Likewise.
34695 [non-C99-based standards] (acoshf): Likewise.
34696 [non-C99-based standards] (asinhf): Likewise.
34697 [non-C99-based standards] (atanhf): Likewise.
34698 [non-C99-based standards] (cbrtf): Likewise.
34699 [non-C99-based standards] (expm1f): Likewise.
34700 [non-C99-based standards] (ilogbf): Likewise.
34701 [non-C99-based standards] (log1pf): Likewise.
34702 [non-C99-based standards] (logbf): Likewise.
34703 [non-C99-based standards] (nextafterf): Likewise.
34704 [non-C99-based standards] (remainderf): Likewise.
34705 [non-C99-based standards] (rintf): Likewise.
34706 [non-C99-based standards] (scalbf): Likewise.
34707 [non-C99-based standards] (copysignl): Likewise.
34708 [non-C99-based standards] (exp2l): Likewise.
34709 [non-C99-based standards] (log2l): Likewise.
34710 [non-C99-based standards] (modfl): Allow.
34711 [non-C99-based standards] (erfl): Do not allow.
34712 [non-C99-based standards] (erfcl): Likewise.
34713 [non-C99-based standards] (gammal): Likewise.
34714 [non-C99-based standards] (hypotl): Likewise.
34715 [non-C99-based standards] (j0l): Likewise.
34716 [non-C99-based standards] (j1l): Likewise.
34717 [non-C99-based standards] (jnl): Likewise.
34718 [non-C99-based standards] (lgammal): Likewise.
34719 [non-C99-based standards] (tgammal): Likewise.
34720 [non-C99-based standards] (y0l): Likewise.
34721 [non-C99-based standards] (y1l): Likewise.
34722 [non-C99-based standards] (ynl): Likewise.
34723 [non-C99-based standards] (isnanl): Likewise.
34724 [non-C99-based standards] (acoshl): Likewise.
34725 [non-C99-based standards] (asinhl): Likewise.
34726 [non-C99-based standards] (atanhl): Likewise.
34727 [non-C99-based standards] (cbrtl): Likewise.
34728 [non-C99-based standards] (expm1l): Likewise.
34729 [non-C99-based standards] (ilogbl): Likewise.
34730 [non-C99-based standards] (log1pl): Likewise.
34731 [non-C99-based standards] (logbl): Likewise.
34732 [non-C99-based standards] (nextafterl): Likewise.
34733 [non-C99-based standards] (remainderl): Likewise.
34734 [non-C99-based standards] (rintl): Likewise.
34735 [non-C99-based standards] (scalbl): Likewise.
34736 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34737 [non-C99-based standards] (FP_*): Do not allow.
34738 [C99-based standards] (FP_*): Change to
34739 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34740 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34741 allow.
34742 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34743 (SIG_ERR): Likewise.
34744 [X/Open-based standards] (SIG_HOLD): Likewise.
34745 (SIG_IGN): Likewise.
34746 (SIGABRT): Use macro-int-constant. Specify type. Require
34747 positive value.
34748 (SIGFPE): Likewise.
34749 (SIGILL): Likewise.
34750 (SIGINT): Likewise.
34751 (SIGSEGV): Likewise.
34752 (SIGTER): Likewise.
34753 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34754 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34755 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34756 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34757 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34758 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34759 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34760 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34761 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34762 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34763 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34764 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34765 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34766 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34767 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34768 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34769 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34770 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34771 [X/Open-based standards] (SIGTRAP): Likewise.
34772 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34773 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34774 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34775 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34776 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34777 allow.
34778
b9f1922d
IW
347792012-05-08 Ian Wienand <ianw@vmware.com>
34780
34781 [BZ #14080]
34782 * time/tzset.c (__tzset_parse_tz): Update default rules for
34783 daylight time changes in the Energy Policy Act of 2005.
34784
1db86e88
AJ
347852012-05-09 Andreas Jaeger <aj@suse.de>
34786
34787 [BZ #13983]
34788 * elf/ldconfig.c (parse_conf): Change string to make clear that
34789 ldconfig only issued a warning if ld.so.conf does not exist.
34790
dee4a4e3
DM
347912012-05-08 David S. Miller <davem@davemloft.net>
34792
ee0db190
DM
34793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34794 movxtod instead of popping the value on the stack.
34795
dee4a4e3
DM
34796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34797
6a43ec98
CD
347982012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34799
34800 * config.h.in: Add HAVE_ARM_PCS_VFP.
34801
05c2c961
RMG
348022012-05-08 Roland Mc Grath <roland@hack.frob.com>
34803
bcfe3a54
ST
34804 [BZ #13979]
34805 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34806 checking but the checks are disabled for any reason.
05c2c961 34807
4b30f61a
L
348082012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34809
34810 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34811 and ELF64_R_TYPE with ELFW(R_TYPE).
34812
eee2bc67
JM
348132012-05-08 Joseph Myers <joseph@codesourcery.com>
34814
7ea5391a
JM
34815 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34816 (ulimit): Likewise.
34817
eee2bc67
JM
34818 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34819 (settimeofday): Likewise.
34820
abb66a67
MF
348212012-05-08 Mike Frysinger <vapier@gentoo.org>
34822
34823 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34824 a struct th_u2 inside the union, and move tu_block/tu_code into
34825 a new th_u3 union of tu_block/tu_code inside of that. Move
34826 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34827 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34828 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34829 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34830 (th_stuff): Change to th_u1.tu_stuff.
34831 (th_data): Define.
34832 (th_msg): Change to th_u1.th_u2.tu_data.
34833
7f18b530
DM
348342012-05-07 David S. Miller <davem@davemloft.net>
34835
05760585
DM
34836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34837
7f18b530
DM
34838 [BZ #14074]
34839 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34840 (SETUP_PIC_REG): Use it.
34841 (SETUP_PIC_REG_LEAF): Use it.
34842
495fd99f
JM
348432012-05-07 Joseph Myers <joseph@codesourcery.com>
34844
34845 [BZ #13885]
34846 [BZ #13923]
34847 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34848 USE_AS_EXPM1L.
34849 (EXPL_FINITE): Likewise.
34850 (FLDLOG): Likewise.
34851 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34852 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34853 e_expl.S.
34854 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34855 USE_AS_EXPM1L.
34856 (EXPL_FINITE): Likewise.
34857 (FLDLOG): Likewise.
34858 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34859 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34860 e_expl.S.
34861 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34862 test of -max_value argument for long double.
34863 * sysdeps/i386/fpu/libm-test-ulps: Update.
34864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34865
6693d694
DM
348662012-05-06 David S. Miller <davem@davemloft.net>
34867
34868 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34869 quad soft-float symbols whose references which are compiler
34870 generated.
34871 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34872
6c23e11c
JM
348732012-05-06 Joseph Myers <joseph@codesourcery.com>
34874
d8b82cad
JM
34875 [BZ #13884]
34876 [BZ #13914]
34877 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34878 USE_AS_EXP10L.
34879 (EXPL_FINITE): Likewise.
34880 (FLDLOG): Likewise.
34881 (c0): Likewise.
34882 (c1): Likewise.
34883 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34884 Adjust comments for base varying.
34885 (__expl_finite): Change alias to EXPL_FINITE.
34886 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34887 e_expl.S.
34888 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34889 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34890 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34891 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34892 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34893 USE_AS_EXP10L.
34894 (EXPL_FINITE): Likewise.
34895 (FLDLOG): Likewise.
34896 (c0): Likewise.
34897 (c1): Likewise.
34898 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34899 Adjust comments for base varying.
34900 (__expl_finite): Change alias to EXPL_FINITE.
34901 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34902 tests for bugs.
34903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34904
6c23e11c
JM
34905 [BZ #14064]
34906 * math/libm-test.inc (check_float_internal): Correct ulp
34907 calculation for subnormal expected results.
34908
29ba805c
AJ
349092012-05-06 Andreas Jaeger <aj@suse.de>
34910
34911 * Makeconfig (+math-flags): New, set to -frounding-math.
34912 (+cflags): Add +math-flags so that all of glibc gets compiled with
34913 it.
34914
34915 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34916
7b17aeda
JM
349172012-05-05 Joseph Myers <joseph@codesourcery.com>
34918
5779f134
JM
34919 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34920 Disable one test.
34921
41498f4d
JM
34922 [BZ #13787]
34923 [BZ #13922]
34924 [BZ #14036]
34925 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34926 (__ieee754_expl): Allow for and saturate large arguments.
34927 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34928 (u_threshold): Likewise.
34929 (__exp): Call __ieee754_exp before checking for overflow and
34930 underflow.
34931 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34932 (u_threshold): Likewise.
34933 (__expf): Call __ieee754_expf before checking for overflow and
34934 underflow.
34935 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34936 (u_threshold): Likewise.
34937 (__expl): Call __ieee754_expl before checking for overflow and
34938 underflow.
34939 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34940 (__ieee754_expl): Allow for and saturate large arguments.
34941 * math/libm-test.inc (exp_test): Add another test. Do not allow
34942 missing overflow exception on overflow.
34943 (expm1_test): Do not allow missing overflow exception on overflow.
34944
6698b8bf
JM
34945 * sysdeps/i386/fpu/e_expl.c: Move to ...
34946 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34947 rather than using inline asm.
34948 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34949 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34950 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34951
7b17aeda
JM
34952 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34953 (nice): Likewise.
34954 (poll): Likewise.
34955 (signal): Likewise.
34956 (time): Likewise.
34957 (times): Likewise.
34958
f7c85819
JM
349592012-05-04 Joseph Myers <joseph@codesourcery.com>
34960
34961 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34962 sysdeps/unix/common/syscalls.list.
34963 (fchmod): Likewise.
34964 (fchown): Likewise.
34965 (ftruncate): Likewise.
34966 (getrusage): Likewise.
34967 (gettimeofday): Likewise.
34968 (setpgid): Likewise.
34969 (setregid): Likewise.
34970 (setreuid): Likewise.
34971 (sigaction): Likewise.
34972 (truncate): Likewise.
34973 (vhangup): Likewise.
34974 * sysdeps/unix/common/syscalls.list: Remove file.
34975 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34976 * sysdeps/unix/sysv/linux/Implies: Likewise.
34977
336270d0
L
349782012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34979
34980 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34982 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34983 Moved to ...
34984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34985 Here.
34986 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34987 to ...
34988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34989 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34990 to ...
34991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34992 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34993 to ...
34994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34995 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34996 to ...
34997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34998 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34999 to ...
35000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35001 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35002 to ...
35003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35004 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35005 to ...
35006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35007 Here.
35008 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35009 to ...
35010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35011 Here.
35012 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35013 to ...
35014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35015 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35016 Moved to ...
35017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35018 Here.
35019 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35020 to ...
35021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35022
d128e450
JM
350232012-05-04 Joseph Myers <joseph@codesourcery.com>
35024
fa8ee516
JM
35025 * sysdeps/unix/common/bits/dirent.h: Remove file.
35026 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35027
d128e450
JM
35028 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35029 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35030 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35031 * sysdeps/unix/bsd/isatty.c: Likewise.
35032 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35033 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35034 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35035
ff8faaf0 350362012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 35037
62881be4 35038 [BZ #13563]
31dc8730
AZ
35039 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35040 long double comparison inaccuracies.
35041 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35043
6fef930c
AS
350442012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35045
35046 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35047 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35048
8f203e6c
JM
350492012-05-04 Joseph Myers <joseph@codesourcery.com>
35050
35051 [BZ #14049]
35052 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35053 nonzero digits before rounding a hex value.
35054 * stdlib/tst-strtod.c (tests): Add another test.
35055
5197d9c2
AK
350562012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35057
35058 * sysdeps/s390/fpu/libm-test-ulps: Update.
35059
f0c1dedf
AJ
350602012-05-03 Andreas Jaeger <aj@suse.de>
35061
35062 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35063 does not get optimized out.
35064 (malloc_opt_barrier): New.
35065
a65ef2ae 350662012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 35067 Roland McGrath <roland@hack.frob.com>
a65ef2ae 35068
2b942cb7 35069 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 35070 intermediate file deletion.
2b942cb7 35071 (generated): Add .symlist files.
a65ef2ae 35072
54b71e02
JM
350732012-05-03 Joseph Myers <joseph@codesourcery.com>
35074
35075 [BZ #13775]
35076 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35077 Redirect under this condition.
35078 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35079 [__USE_GNU] (__dprintf_chk): Not under this condition.
35080 [__USE_GNU] (__vdprintf_chk): Likewise.
35081 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35082 under this condition.
35083 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35084 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35085 [__USE_XOPEN2K8] (vdprintf): Likewise.
35086 [__USE_GNU] (__dprintf_chk): Not under this condition.
35087 [__USE_GNU] (__vdprintf_chk): Likewise.
35088 [__USE_GNU] (dprintf): Likewise.
35089 [__USE_GNU] (vdprintf): Likewise.
35090
d3dfcc41
RM
350912012-05-03 Roland McGrath <roland@hack.frob.com>
35092
35093 * elf/Makefile (common-generated): Set this instead of generated for
35094 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35095 $(all-built-dso)-derived lists.
35096
7ac30cc5
AJ
350972012-05-03 Andreas Jaeger <aj@suse.de>
35098
0c51e550
AJ
35099 * sysdeps/i386/fpu/libm-test-ulps: Update.
35100
7ac30cc5
AJ
35101 * FAQ: Removed.
35102 * FAQ.in: Likewise.
35103 * scripts/gen-FAQ.pl: Likewise.
35104 * manual/install.texi (Installation): Point to online location of
35105 FAQ.
35106 * Makefile (files-for-dist): Remove FAQ.
35107 (FAQ): Remove.
35108
d4c2917f
AM
351092012-05-02 Allan McRae <allan@archlinux.org>
35110
35111 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35112 (LDFLAGS-reldepmod5.so): Likewise.
35113 (LDFLAGS-reldep6mod1.so): Likewise.
35114 (LDFLAGS-reldep6mod4.so): Likewise.
35115 (LDFLAGS-reldep8mod3.so): Likewise.
35116 (LDFLAGS-unload4mod1.so): Likewise.
35117 (LDFLAGS-unload4mod2.so): Likewise.
35118 (LDFLAGS-tst-initorder): Likewise.
35119 (LDFLAGS-tst-initordera2.so): Likewise.
35120 (LDFLAGS-tst-initordera3.so): Likewise.
35121 (LDFLAGS-tst-initordera4.so): Likewise.
35122 (LDFLAGS-tst-initorderb2.so): Likewise.
35123 (LDFLAGS-noload): Likewise.
35124 (LDFLAGS-next): Likewise.
35125 (LDFLAGS-order2mod1.so): Likewise.
35126 (LDFLAGS-order2mod2.so): Likewise.
35127 (LDFLAGS-tst-initorder2): Likewise.
35128 (LDFLAGS-tst-initorder2a.so): Likewise.
35129 (LDFLAGS-tst-initorder2b.so): Likewise.
35130 (LDFLAGS-tst-initorder2c.so): Likewise.
35131 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35132
d77f993f
DM
351332012-05-02 David S. Miller <davem@davemloft.net>
35134
35135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35136
171a70b4
PP
351372012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35138
35139 [BZ #14055]
35140 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35141
0be196ad
AJ
351422012-05-02 Andreas Jaeger <aj@suse.de>
35143
35144 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35145 since we manipulate rounding mode.
35146 (CPPFLAGS-test-idouble.c): Likewise.
35147 (CPPFLAGS-test-ifloat.c): Likewise.
35148 (CFLAGS-test-ldouble.c): Likewise.
35149 (CFLAGS-test-double.c): Likewise.
35150 (CFLAGS-test-float.c): Likewise.
35151 (CFLAGS-test-misc.c): Likewise.
35152 (CFLAGS-test-test-fenv.c): Likewise.
35153
4f9d04aa
AZ
351542012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35155
2b942cb7
RM
35156 [BZ #2550]
35157 [BZ #2570]
35158 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35159 comparisons to determine direction to adjust input.
4f9d04aa 35160
82a79e7d
RM
351612012-05-01 Roland McGrath <roland@hack.frob.com>
35162
f5a01ca9
RM
35163 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35164 output to the target.
35165
90fe4186
RM
35166 * scripts/localplt.awk: New file.
35167 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35168 (check-localplt-CFLAGS): Variable removed.
35169 ($(all-built-dso:=.jmprel)): New static pattern rule.
35170 (generated): Add those targets.
35171 (localplt-built-dso): New variable.
35172 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35173
35174 * elf/check-localplt.c: File removed.
35175
82397ed6
RM
35176 * scripts/check-execstack.awk: New file.
35177 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35178 (check-execstack-CFLAGS): Variable removed.
35179 ($(objpfx)check-execstack.h): Target removed.
35180 ($(objpfx)execstack-default): New target.
35181 (generated): Add that instead of check-execstack.h.
35182 ($(all-built-dso:=.phdr)): New static pattern rule.
35183 (generated): Add those targets.
35184 * elf/check-execstack.c: File removed.
35185
82a79e7d
RM
35186 * scripts/check-textrel.awk: New file.
35187 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35188 (check-textrel-CFLAGS): Variable removed.
35189 (all-built-dso): Use := to define.o
35190 ($(all-built-dso:=.dyn)): New static pattern rule.
35191 (generated): Add those targets.
35192 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35193 * config.make.in (READELF): New substituted variable.
35194 * elf/check-textrel.c: File removed.
35195
62fde54f 351962012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 35197
615605c9
JM
35198 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35199 allow.
35200 * conform/data/ctype.h-data [C99-based standards] (isblank):
35201 Expect function.
35202 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35203 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35204 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35205 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35206 Specify type. Require positive value.
35207 (EILSEQ): Likewise.
35208 (ERANGE): Likewise.
35209 [ISO || POSIX] (EILSEQ): Do not expect.
35210 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35211 Specify type. Require positive value.
35212 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35213 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35214 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35215 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35216 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35217 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35218 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35219 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35220 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35221 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35222 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35223 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35224 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35225 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35226 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35227 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35228 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35229 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35230 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35231 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35232 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35233 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35234 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35235 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35236 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35237 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35238 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35239 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35240 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35241 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35242 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35243 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35244 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35245 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35246 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35247 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35248 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35249 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35250 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35251 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35252 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35253 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35254 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35255 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35256 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35257 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35258 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35259 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35260 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35261 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35262 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35263 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35264 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35265 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35266 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35267 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35268 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35269 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35270 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35271 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35272 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35273 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35274 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35275 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35276 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35277 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35278 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35279 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35280 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35281 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35282 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35283 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35284 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35285 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35286 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35287 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35288 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35289 Require >= 2.
35290 (FLT_ROUNDS): Expect as macro, not constant.
35291 (FLT_MANT_DIG): Use macro-int-constant.
35292 (DBL_MANT_DIG): Likewise.
35293 (LDBL_MANT_DIG): Likewise.
35294 (FLT_DIG): Likewise.
35295 (DBL_DIG): Likewise.
35296 (LDBL_DIG): Likewise.
35297 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35298 (DBL_MIN_EXP): Likewise.
35299 (LDBL_MIN_EXP): Likewise.
35300 (FLT_MAX_EXP): Use macro-int-constant.
35301 (DBL_MAX_EXP): Likewise.
35302 (LDBL_MAX_EXP): Likewise.
35303 (FLT_MAX_10_EXP): Likewise.
35304 (DBL_MAX_10_EXP): Likewise.
35305 (LDBL_MAX_10_EXP): Likewise.
35306 (FLT_MAX): Use macro-constant.
35307 (DBL_MAX): Likewise.
35308 (LDBL_MAX): Likewise.
35309 (FLT_EPSILON): Use macro-constant. Give upper bound.
35310 (DBL_EPSILON): Likewise.
35311 (LDBL_EPSILON): Likewise.
35312 (FLT_MIN): Likewise.
35313 (DBL_MIN): Likewise.
35314 (LDBL_MIN): Likewise.
35315 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35316 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35317 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35318 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35319 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35320 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35321 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35322 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35323 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35324 [ISO11] (FLT_TRUE_MIN): Likewise.
35325 [ISO11] (LDBL_TRUE_MIN): Likewise.
35326 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35327 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35328 (SCHAR_MIN): Use macro-int-constant. Specify type.
35329 (SCHAR_MAX): Likewise.
35330 (UCHAR_MAX): Likewise.
35331 (CHAR_MIN): Likewise.
35332 (CHAR_MAX): Likewise.
35333 (MB_LEN_MAX): Use macro-int-constant.
35334 (SHRT_MIN): Use macro-int-constant. Specify type.
35335 (SHRT_MAX): Likewise.
35336 (USHRT_MAX): Likewise.
35337 (INT_MAX): Likewise.
35338 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35339 bound negative.
35340 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35341 bound with "U".
35342 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35343 bound with "L".
35344 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35345 bound negative. Suffix upper bound with "L".
35346 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35347 bound with "UL".
35348 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35349 Specify type.
35350 [C99-based standards] (LLONG_MAX): Likewise.
35351 [C99-based standards] (ULLONG_MAX): Likewise.
35352 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35353 == 0.
35354 [ISO11] (max_align_t): Require type.
35355 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35356
c9140a62
JM
35357 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35358 from $CFLAGS, without defining away __attribute__ calls.
35359 (checknamespace): Use $CFLAGS_namespace.
35360
9af0bf29
JM
35361 * conform/conformtest.pl (@keywords): Only include C99 keywords
35362 for standards based on C99 or C11.
35363
343222a2
JM
35364 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35365 Disable tests.
35366 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35367 UNIX98]: Likewise.
35368
661f8cf0
JM
35369 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35370 usability of symbols in #if.
35371
ee74b9cb
JM
35372 * conform/conformtest.pl: If macro or constant types start
35373 "promoted:", expect the symbol to be of the following type
35374 promoted by the integer promotions.
62fde54f 35375
aafc49b3
JM
35376 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35377 in one place. Also handle "macro-constant".
35378
fefdf574
JM
35379 * conform/conformtest.pl: Only accept expected macro values with
35380 "==". Parse all "macro" lines in one place.
35381 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35382
f2d922fe
JM
35383 * conform/conformtest.pl: Handle braced types on "constant" lines
35384 instead of handling "typed-constant".
35385 * conform/data/signal.h-data: Use "constant" instead of
35386 "typed-constant".
35387
d22956c9
JM
35388 * conform/conformtest.pl: Handle "optional-" at start of lines in
35389 one place rather than duplicating several cases. Handle each
35390 format of "macro" line with initial "optional-".
35391
028e2e38
JM
35392 * conform/conformtest.pl: Only accept expected constant or
35393 optional-constant values with "==". Parse all "constant" lines in
35394 one place. Parse all "optional-constant" lines in one place.
35395 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35396 * conform/data/fmtmsg.h-data: Likewise.
35397 * conform/data/netinet/in.h-data: Likewise.
35398 * conform/data/tar.h-data: Likewise.
35399 * conform/data/limits.h-data: Use "==" form on "constant" and
35400 "optional-constant" lines.
35401
1b8f2850
JM
35402 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35403 Use -std=c99 for XOPEN2K.
35404 (@knownproblems): Remove.
35405 (newtoken): Don't check %isknown.
35406
a05a144b
JM
35407 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35408 Do not expect macro.
35409 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35410 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35411 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35412 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35413 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35414 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35415 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35416 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35417 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35418 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35419 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35420 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35421 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35422 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35423 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35424 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35425 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35426 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35427 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35428 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35429 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35430 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35431 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35432 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35433 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35434 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35435 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35436 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35437 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35438 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35439 [XPG3] (acosh): Likewise.
35440 [XPG3] (asinh): Likewise.
35441 [XPG3] (atanh): Likewise.
35442 [XPG3] (cbrt): Likewise.
35443 [XPG3] (expm1): Likewise.
35444 [XPG3] (ilogb): Likewise.
35445 [XPG3] (log1p): Likewise.
35446 [XPG3] (logb): Likewise.
35447 [XPG3] (nextafter): Likewise.
35448 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35449 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35450 [XPG3] (remainder): Likewise.
35451 [XPG3] (rint): Likewise.
35452 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35453 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35454 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35455 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35456 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35457 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35458 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35459 [UNIX98 || XOPEN2K] (scalb): Expect.
35460 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35461 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35462 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35463 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35464 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35465 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35466 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35467 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35468 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35469 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35470 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35471 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35472 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35473 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35474 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35475 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35476 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35477 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35478 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35479 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35480 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35481 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35482 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35483 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35484 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35485 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35486 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35487 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35488 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35489 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35490 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35491 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35492 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35493 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35494 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35495 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35496 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35497 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35498 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35499 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35500 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35501 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35502 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35503 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35504 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35505 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35506 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35507 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35508 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35509 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35510 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35511 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35512 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35513 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35514 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35515 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35516 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35517 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35518 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35519 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35520 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35521 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35522 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35523 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35524 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35525 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35526 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35527 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35528 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35529 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35530 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35531 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35532 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35533 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35534 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35535 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35536 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35537 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35538 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35539 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35540 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35541 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35542 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35543 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35544 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35545 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35546 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35547 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35548 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35549 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35550 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35551 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35552 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35553 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35554 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35555 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35556 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35557 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35558 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35559 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35560 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35561 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35562 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35563 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35564 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35565 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35566 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35567 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35568 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35569 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35570 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35571 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35572 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35573 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35574 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35575 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35576 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35577 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35578 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35579 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35580 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35581 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35582 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35583 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35584 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35585 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35586 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35587 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35588 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35589 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35590 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35591 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35592 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35593 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35594 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35595 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35596 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35597
73c5ebe3
JM
35598 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35599 _XOPEN_SOURCE_EXTENDED for XPG4.
35600
39c33b6c
JM
35601 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35602
62fde54f
JM
35603 * Makeconfig (localtime): Remove variable.
35604 (inst_localtime-file): Likewise.
35605
0741d64c
AS
356062012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35607
35608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35609 Update.
35610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35611 Update.
35612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35613 Update.
35614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35615 Update.
35616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35617 Update.
35618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35619 Update.
35620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35621 Update.
35622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35623 Update.
35624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35625 Update.
35626
7cb029ee
JM
356272012-05-01 Joseph Myers <joseph@codesourcery.com>
35628
35629 [BZ #2550]
35630 [BZ #2570]
35631 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35632 comparisons to determine direction to adjust input.
35633 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35634 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35635 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35636 Likewise.
35637 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35638 Likewise.
35639 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35640 Likewise.
35641 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35642 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35643 Likewise.
35644 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35645 Likewise.
35646 * math/libm-test.inc (nexttoward_test): Add more tests.
35647
412bd966
AS
356482012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35649
35650 [BZ #14040]
35651 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35652 in version GLIBC_2.1, not GLIBC_2.0.
35653 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35654 Likewise.
35655
9568c0c2
JM
356562012-04-30 Joseph Myers <joseph@codesourcery.com>
35657
adfbc8ac
JM
35658 [BZ #13942]
35659 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35660 (1 - x) * (1 + x).
35661 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35662 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35663 * math/libm-test.inc (acos_test): Add more tests.
35664 (asin_test): Likewise.
35665 * sysdeps/i386/fpu/libm-test-ulps: Update.
35666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35667
5ba3cc69
JM
35668 [BZ #14034]
35669 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35670 of square root.
35671 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35672 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35673 * math/libm-test.inc (acos_test_tonearest): New function.
35674 (acos_test_towardzero): Likewise.
35675 (acos_test_downward): Likewise.
35676 (acos_test_upward): Likewise.
35677 (asin_test_tonearest): Likewise.
35678 (asin_test_towardzero): Likewise.
35679 (asin_test_downward): Likewise.
35680 (asin_test_upward): Likewise.
35681 (main): Call the new functions.
35682 * sysdeps/i386/fpu/libm-test-ulps: Update.
35683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35684
9568c0c2
JM
35685 [BZ #13884]
35686 [BZ #13924]
35687 * math/e_exp10.c: Include <float.h>.
35688 (__ieee754_exp10): Handle underflow here rather than multiplying
35689 large negative argument by M_LN10.
35690 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35691 of __ieee754_expf.
35692 * math/e_exp10l.c: Include <float.h>.
35693 (__ieee754_exp10l): Handle underflow here rather than multiplying
35694 large negative argument by M_LN10l.
35695 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35696 spurious overflow exception on underflow.
35697
5ac3ea17
MP
356982012-04-29 Marek Polacek <polacek@redhat.com>
35699
35700 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35701 (__fortify_function): New macro.
35702 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35703 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35704 __extern_always_inline.
35705 * libio/bits/stdio2.h: Likewise.
35706 * libio/bits/stdio.h: Likewise.
35707 * string/string.h: Likewise.
35708 * string/bits/string3.h: Likewise.
35709 * include/stdio.h: Likewise.
35710 * stdlib/bits/stdlib.h: Likewise.
35711 * stdlib/stdlib.h: Likewise.
35712 * rt/bits/mqueue2.h: Likewise.
35713 * rt/mqueue.h: Likewise.
35714 * posix/bits/unistd.h: Likewise.
35715 * posix/unistd.h: Likewise.
35716 * io/bits/poll2.h: Likewise.
35717 * io/bits/fcntl2.h: Likewise.
35718 * io/fcntl.h: Likewise.
35719 * io/sys/poll.h: Likewise.
35720 * misc/bits/syslog.h: Likewise.
35721 * misc/bits/syslog-ldbl.h: Likewise.
35722 * misc/sys/syslog.h: Likewise.
35723 * socket/bits/socket2.h: Likewise.
35724 * socket/sys/socket.h: Likewise.
35725 * debug/tst-chk1.c: Likewise.
35726 * wcsmbs/bits/wchar2.h: Likewise.
35727 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35728 * wcsmbs/wchar.h: Likewise.
35729
ecf0ebfb
AJ
357302012-04-29 Andreas Jaeger <aj@suse.de>
35731
35732 * Makerules (tests): Remove enable-check-abi protection.
35733 (check-abi-warn): Remove.
35734 (check-abi-%): Remove check-abi-warn usage.
35735
35736 * configure.in: Remove check-abi configure option.
35737 * configure: Regenerated.
35738 * config.make.in (enable-check-abi): Remove.
35739
6d5c57fa
AS
357402012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35741
24c5d07e 35742 [BZ #14033]
ded5180a
AS
35743 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35744 double functions to double *_finite functions.
35745
7e0d315d
AS
35746 [BZ #13941]
35747 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35748 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35749 LDBL_MIN_EXP.
35750 * stdio-common/Makefile (tests): Add tst-sprintf3.
35751 * stdio-common/tst-sprintf3.c: New file.
35752
6d5c57fa
AS
35753 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35754 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35755
0749ff8b
JM
357562012-04-28 Joseph Myers <joseph@codesourcery.com>
35757
35758 * conform/conformtest.pl: Remove duplicate typed-constant
35759 handling.
35760
8dbd5d7b
DM
357612012-04-28 David S. Miller <davem@davemloft.net>
35762
35763 * Makerules (%.abilist): Add vpath on sysdep_dirs.
35764 (check-abi-%): Remove AWK script prerequisite and explicit
35765 abilist directory.
35766 (check-abi): Rewrite to just diff the symlist with the abilist.
35767 (config-tls, config-abi-config): Delete, no longer used.
35768 (update-abi-%): Remove AWK script and explicit abilist directory.
35769 (update-abi): Rewrite to simply compare and conditionally copy the
35770 symlist and the sysdep abilist file. Remove update-abi-config
35771 checks.
35772 * abilist/ld.abilist: Remove.
35773 * abilist/libBrokenLocale.abilist: Remove.
35774 * abilist/libanl.abilist: Remove.
35775 * abilist/libcrypt.abilist: Remove.
35776 * abilist/libdl.abilist: Remove.
35777 * abilist/librt.abilist: Remove.
35778 * abilist/libthread_db.abilist: Remove.
35779 * abilist/libutil.abilist: Remove.
35780 * scripts/extract-abilist.awk: Remove.
35781 * scripts/merge-abilist.awk: Remove.
35782 * sysdeps/generic/libcidn.abilist: New file.
35783 * sysdeps/generic/libnss_compat.abilist: New file.
35784 * sysdeps/generic/libnss_db.abilist: New file.
35785 * sysdeps/generic/libnss_dns.abilist: New file.
35786 * sysdeps/generic/libnss_files.abilist: New file.
35787 * sysdeps/generic/libnss_hesiod.abilist: New file.
35788 * sysdeps/generic/libnss_nis.abilist: New file.
35789 * sysdeps/generic/libnss_nisplus.abilist: New file.
35790 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35791 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35792 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35793 file.
35794 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35795 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35796 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35797 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35798 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35799 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35800 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35801 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35802 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35803 file.
35804 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35805 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35806 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35807 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35808 file.
35809 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35810 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35811 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35812 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35813 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35814 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35815 file.
35816 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35817 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35818 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35819 file.
35820 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35822 New file.
35823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35824 New file.
35825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35826 New file.
35827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35828 New file.
35829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35830 New file.
35831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35832 New file.
35833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35834 New file.
35835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35836 New file.
35837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35838 New file.
35839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35840 New file.
35841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35842 New file.
35843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35844 New file.
35845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35846 New file.
35847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35848 file.
35849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35850 New file.
35851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35852 New file.
35853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35854 file.
35855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35856 New file.
35857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35858 New file.
35859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35860 file.
35861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35862 New file.
35863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35864 New file.
35865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35866 New file.
35867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35868 New file.
35869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35870 New file.
35871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35872 New file.
35873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35875 file.
35876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35877 New file.
35878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35879 file.
35880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35881 file.
35882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35883 file.
35884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35885 file.
35886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35887 file.
35888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35889 New file.
35890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35891 file.
35892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35893 file.
35894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35895 New file.
35896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35897 file.
35898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35900 file.
35901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35902 New file.
35903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35904 file.
35905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35906 file.
35907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35908 file.
35909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35910 file.
35911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35912 file.
35913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35914 New file.
35915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35916 file.
35917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35918 file.
35919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35920 New file.
35921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35922 file.
35923 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35924 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35925 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35926 file.
35927 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35928 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35929 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35930 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35931 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35932 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35933 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35934 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35935 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35936 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35939 file.
35940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35941 New file.
35942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35943 file.
35944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35945 file.
35946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35947 file.
35948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35949 file.
35950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35951 file.
35952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35953 New file.
35954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35955 New file.
35956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35957 file.
35958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35959 New file.
35960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35961 file.
35962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35964 file.
35965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35966 New file.
35967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35968 file.
35969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35970 file.
35971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35972 file.
35973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35974 file.
35975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35976 file.
35977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35978 New file.
35979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35980 New file.
35981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35982 file.
35983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35984 New file.
35985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35986 file.
35987
41d73a1b
JM
359882012-04-28 Joseph Myers <joseph@codesourcery.com>
35989
35990 * conform/conformtest.pl: Fix typo in handling typed-constant from
35991 allow-header.
35992
28aeeda4
JM
359932012-04-27 Joseph Myers <joseph@codesourcery.com>
35994
adae8f5e
JM
35995 * README: Cut down references to pre-2.6 Linux kernels and
35996 Linuxthreads. Update lists of configurations in libc and ports
35997 and sort alphabetically. Say "or newer" with Linux kernel version
35998 requirements.
35999
28aeeda4
JM
36000 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36001
a462cb63
RA
360022012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36003
36004 [BZ #887]
36005 * math/libm-test.inc (logb_test_downward): New test to expose
36006 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36007 rounding mode.
36008
6ad3493e
JM
360092012-04-27 Joseph Myers <joseph@codesourcery.com>
36010
36011 [BZ #14027]
36012 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36013 to be done.
36014 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36015 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36016
2ce4f015
JM
360172012-04-26 Joseph Myers <joseph@codesourcery.com>
36018
5aeb141a
JM
36019 * sysdeps/unix/i386/brk.S: Remove file.
36020 * sysdeps/unix/i386/dl-brk.S: Likewise.
36021 * sysdeps/unix/i386/pipe.S: Likewise.
36022 * sysdeps/unix/i386/sigreturn.S: Likewise.
36023 * sysdeps/unix/i386/syscall.S: Likewise.
36024 * sysdeps/unix/i386/vfork.S: Likewise.
36025 * sysdeps/unix/i386/wait.S: Likewise.
36026
7143acae
JM
36027 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36028 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36029
2ce4f015
JM
36030 * configure.in (arm*-none*): Do not allow without
36031 --enable-hacker-mode.
36032 (netbsd*): Remove case setting base_os.
36033 (386bsd*): Likewise.
36034 (freebsd*): Likewise.
36035 (bsdi*): Likewise.
36036 (osf*): Likewise.
36037 (sunos*): Likewise.
36038 (ultrix*): Likewise.
36039 (newsos*): Likewise.
36040 (dynix*): Likewise.
36041 (*bsd*): Likewise.
36042 (sysv*): Likewise.
36043 (isc*): Likewise.
36044 (esix*): Likewise.
36045 (sco*): Likewise.
36046 (minix*): Likewise.
36047 (irix4*): Likewise.
36048 (irix6*): Likewise.
36049 (solaris[2-9]*): Likewise.
36050 (none): Likewise.
36051 * configure: Regenerated.
36052
0ac229c8
AZ
360532012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36054
36055 [BZ #11521]
36056 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36057 overflow or cancellation in calculating denominator.
36058 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36059 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36060 down expression to avoid unexpected rounding in newer GCCs.
36061 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36062
33f244f4
DM
360632012-04-26 David S. Miller <davem@davemloft.net>
36064
36065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36066 long-double compat symbols.
36067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36080
cfa1f3e8
DM
360812012-04-25 David S. Miller <davem@davemloft.net>
36082
36083 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36084 HWCAP_* values only after the memory barriers have been defined.
36085 (atomic_full_barrier): Define.
36086 (atomic_read_barrier): Define.
36087 (atomic_write_barrier): Define.
36088
6e236b92
SP
360892012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36090
36091 * shlib-versions: Add libgcc_s version information.
36092 * sysdeps/generic/libgcc_s.h: Remove.
36093 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36094 libgcc_s.h.
36095 * sysdeps/gnu/unwind-resume.c: Likewise.
36096 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36097
aab39a09
DM
360982012-04-25 David S. Miller <davem@davemloft.net>
36099
36100 * sysdeps/unix/sparc/brk.S: Delete.
36101 * sysdeps/unix/sparc/dl-brk.S: Delete.
36102 * sysdeps/unix/sparc/pipe.S: Delete.
36103 * sysdeps/unix/sparc/sysdep.S: Delete.
36104 * sysdeps/unix/sparc/sysdep.h: Delete.
36105 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
36106 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36107 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36108 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36109 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
36110 (JUMPTARGET): Remove.
36111 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36112 sysdeps/unix/sparc/sysdep.h
36113 (ENTRY, END): Remove.
36114 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36115
a3cc4f48
JM
361162012-04-25 Joseph Myers <joseph@codesourcery.com>
36117
2ed8cda2
JM
36118 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36119 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36120 -DIS_IN_build.
36121
35d76d59
JM
36122 * timezone/README: Update upstream location and email address for
36123 tzcode and tzdata.
36124 * timezone/zdump.c: Update from tzcode 2012b.
36125 * timezone/zic.c: Likewise.
36126
a3cc4f48
JM
36127 * configure.in (libc_cv_as_needed): Remove test.
36128 * configure: Regenerated.
36129 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36130 conditional definition.
36131 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36132 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36133 * config.make.in (have-as-needed): Remove variable.
36134
ceab42c3
SP
361352012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36136 Paul Pluzhnikov <ppluzhnikov@google.com>
36137
36138 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36139 strings correctly.
36140
3ce2865f
CLT
361412012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36142
36143 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36144 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36145 * sysdeps/sh/strlen.S: Likewise.
36146
f37e0d68
JM
361472012-04-24 Joseph Myers <joseph@codesourcery.com>
36148
ae186e9a
JM
36149 * sysdeps/unix/fork.S: Remove file.
36150 * sysdeps/unix/i386/fork.S: Likewise.
36151 * sysdeps/unix/sparc/fork.S: Likewise.
36152
b96914af
JM
36153 * sysdeps/unix/system.c: Remove file.
36154 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36155
f37e0d68
JM
36156 * sysdeps/unix/getegid.S: Remove file.
36157 * sysdeps/unix/geteuid.S: Likewise.
36158
87ef29ca
RM
361592012-04-24 Roland McGrath <roland@hack.frob.com>
36160
83bcd236
RM
36161 * scripts/check-localplt.awk: New file.
36162 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36163 of diff.
36164 * scripts/data/localplt-generic.data: Add a comment.
36165
87ef29ca
RM
36166 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36167 NODE when __dir_mkfile failed.
36168 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36169 Reported by Ludovic Courtès <ludo@gnu.org>.
36170
e5a6e567
AJ
361712012-04-24 Andreas Jaeger <aj@suse.de>
36172
36173 * Makerules (common-clean): Also remove gen-as-const-headers
36174 files.
36175
c1820385
JM
361762012-04-24 Joseph Myers <joseph@codesourcery.com>
36177
36178 * Makerules (native-compile): Do not change working directory for
36179 build. Use $(OUTPUT_OPTION) in command.
36180 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36181
94e02fc4
AZ
361822012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36183
36184 [BZ #13886]
36185 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36186 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36187 * math/libm-test.inc (floor_test): Add more tests.
36188 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36189
3a533ca3
JM
361902012-04-24 Joseph Myers <joseph@codesourcery.com>
36191
940ab4b3
JM
36192 * sysdeps/unix/getdents.c: Remove file.
36193 * sysdeps/unix/sysv/getdents.c: Likewise.
36194 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36195
90e037bd
JM
36196 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36197 sysdeps/unix/mman/syscalls.list.
36198 (mmap): Likewise.
36199 (mprotect): Likewise.
36200 (msync): Likewise.
36201 (munmap): Likewise.
36202 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36203 * sysdeps/unix/mman/syscalls.list: Remove.
36204 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36205
3a533ca3
JM
36206 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36207 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36208 * configure: Regenerated.
36209 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36210 $(libgcc_s_suffix).
36211 * config.make.in (libgcc_s_suffix): Remove variable.
36212
1ad743de
JM
362132012-04-23 Joseph Myers <joseph@codesourcery.com>
36214
4ad451e2
JM
36215 * sysdeps/unix/sysv/gethostname.c: Move to ...
36216 * sysdeps/posix/gethostname.c: ... here.
36217
5e37ce39
JM
36218 * sysdeps/unix/execve.S: Remove file.
36219
1ad743de
JM
36220 * sysdeps/unix/_exit.S: Remove file.
36221
4e681b5b
AJ
362222012-04-23 Andreas Jaeger <aj@suse.de>
36223
36224 [BZ #13739]
36225 * manual/Makefile: Remove make dist support, there's no
36226 need for a stand-alone documentation tar ball.
36227 (TEXI2DVI): Define always, it's not in Makeconfig.
36228 (dist): Removed.
36229 (tar-it): Removed.
36230 (edition): Removed.
36231 (glibc-doc-$(edition).tar): Removed
36232 (%.Z): Removed.
36233 (%.gz): Removed.
36234 (%.uu): Removed.
36235 (ETAGS): Remove, it's in Makeconfig.
36236 (move-if-change): Remove, it's in Makeconfig.
36237
38686a03 362382012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
36239
36240 [BZ #13970]
36241 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36242 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36243 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36244 (strtod_l, strtof_l, strtold_l): Remove __wur.
36245 It is not necessarily an error to ignore strtol's return value.
36246 One can reliably look at the stored endptr to decide whether
36247 the number had valid syntax.
36248
7c0616fa
AJ
362492012-04-21 Andreas Jaeger <aj@suse.de>
36250
803cb6b7 36251 [BZ #13739]
7c0616fa
AJ
36252 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36253
b0fe253f
JM
362542012-04-21 Joseph Myers <joseph@codesourcery.com>
36255
36256 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36257 * sysdeps/unix/sysv/Versions: Remove file.
36258
8280f22d
MT
362592012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36260
36261 [BZ #13927]
36262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36263
75ce411f 362642012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
36265
36266 [BZ #7064]
36267 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36268 version from __vm86.
36269
097d59fa
JM
362702012-04-20 Joseph Myers <joseph@codesourcery.com>
36271
a90f3bcb
JM
36272 * sysdeps/unix/common/lxstat.c: Remove file.
36273 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36274
edc7ea78
JM
36275 * sysdeps/unix/sysv/Makefile: Remove file.
36276
cb78c221
JM
36277 * sysdeps/unix/sysv/direct.h: Remove file.
36278
efa6a45f
JM
36279 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36280 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36281 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36282 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36283 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36284 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36285 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36286
9c9f2d0c
JM
36287 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36288
4541c83b
JM
36289 * sysdeps/unix/xmknod.c: Remove file.
36290 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36291
f5d153a0
JM
36292 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36293
aa746595
JM
36294 * sysdeps/unix/sysv/i386/time.S: Remove file.
36295
cce5905e
JM
36296 * sysdeps/unix/fxstat.c: Remove file.
36297 * sysdeps/unix/xstat.c: Likewise.
36298 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36299
37fa3841
JM
36300 * sysdeps/unix/sysv/sigaction.c: Remove file.
36301
ff1962a3
JM
36302 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36303 (sysdep_headers): Remove variable.
36304 [termio.h not in sysdep_headers] (generated): Likewise.
36305 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36306 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36307 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36308 * sysdeps/unix/sysv/tcflow.c: Likewise.
36309 * sysdeps/unix/sysv/tcflush.c: Likewise.
36310 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36311 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36312 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36313 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36314 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36315
e7740d31
JM
36316 * sysdeps/unix/siglist.c: Remove file.
36317
ee06f18b
JM
36318 * sysdeps/unix/getppid.S: Remove file.
36319
097d59fa
JM
36320 * sysdeps/unix/mkdir.c: Remove file.
36321 * sysdeps/unix/rmdir.c: Likewise.
36322
ff3d51ec
AS
363232012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36324
36325 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36326 ERR_MAX value.
36327 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36328 errlist-compat value.
36329
50f81fd7
DM
363302012-04-18 David S. Miller <davem@davemloft.net>
36331
36332 * sysdeps/generic/memcopy.h (reg_char): Delete.
36333 * debug/strcat_chk.c: Use char, not reg_char.
36334 * debug/strcpy_chk.c: Likewise.
36335 * debug/strncat_chk.c: Likewise.
36336 * debug/strncpy_chk.c: Likewise.
36337 * string/memchr.c: Likewise.
36338 * string/memrchr.c: Likewise.
36339 * string/rawmemchr.c: Likewise.
36340 * string/strcat.c: Likewise.
36341 * string/strchr.c: Likewise.
36342 * string/strchrnul.c: Likewise.
36343 * string/strcmp.c: Likewise.
36344 * string/strcpy.c: Likewise.
36345 * string/strncat.c: Likewise.
36346 * string/strncmp.c: Likewise.
36347 * string/strncpy.c: Likewise.
36348
8ff41c46
WS
363492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36350
36351 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36352 __builtin_memcopy is called when src and dest ranges are known to not
36353 overlap.
36354
6b652f46
WS
363552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36356
36357 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36358 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36359 fwd_align_merge macro call.
36360 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36361 bwd_align_merge macro call.
36362 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36363
b282631e
WS
363642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36365
36366 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36367 bwd_align_merge macros.
36368 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36369 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36370 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36371
95aa737c
DM
363722012-04-18 David S. Miller <davem@davemloft.net>
36373
36374 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36375
7a99a614
AJ
363762012-04-18 Andreas Jaeger <aj@suse.de>
36377
36378 [BZ# 6794]
36379 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36380 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36381 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36382
36383 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36384 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36385 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36386
36387 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36388 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36389 Adjust for changed ldbl-128 files.
36390
36391 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36392 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36393 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36394
e5270c23
DM
363952012-04-17 David S. Miller <davem@davemloft.net>
36396
36397 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36398
fb5e92c9
AS
363992012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36400
36401 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36402 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36403 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36404 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36405 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36406 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36407
76da7265
AZ
364082012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36409
36410 [BZ #6794]
36411 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36412 * math/libm-test.inc: Add ilogb errno and exception tests.
36413 * math/w_ilogb.c: New file: ilogb wrapper.
36414 * math/w_ilogbf.c: New file: ilogbf wrapper.
36415 * math/w_ilogbl.c: New file: ilogbl wrapper.
36416 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36417 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36418 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36419 exception being thrown with 0.0 as argument.
36420 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36421 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36422 exception being thrown with 0.0 as argument.
36423 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36424 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36425 exception being thrown with 0.0 as argument.
36426 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36427 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36428 exception being thrown with 0.0 as argument.
36429 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36430 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 36431 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
36432 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36433 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36434 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36435 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36436 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36437 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36438
0396e69d
PB
364392012-04-17 Petr Baudis <pasky@ucw.cz>
36440
36441 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36442 with altivec.
36443
750b5926
MP
364442012-04-16 Marek Polacek <polacek@redhat.com>
36445
36446 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36447
751728a1
MP
364482012-04-16 Marek Polacek <polacek@redhat.com>
36449
36450 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36451 operands of fdivp instruction.
36452
34a27407
L
364532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36454
36455 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36456 * elf/tst-auditmod3b.c: Likewise.
36457 * elf/tst-auditmod4b.c: Likewise.
36458 * elf/tst-auditmod5b.c: Likewise.
36459 * elf/tst-auditmod6b.c: Likewise.
36460 * elf/tst-auditmod6c.c: Likewise.
36461 * elf/tst-auditmod7b.c: Likewise.
36462 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36463 * sysdeps/x86_64/preconfigure.in: Likewise.
36464 * sysdeps/x86_64/preconfigure: Regenerated.
36465
7e73e17d
L
364662012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36467
36468 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36469 __ILP32__.
36470
c7a6ab72
AB
364712012-04-13 Antoine Balestrat <merkil33@gmail.com>
36472
36473 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36474 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36475
a9e8e0e0
CL
364762012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36477
36478 [BZ #13973]
36479 * locale/iso-639.def: Fix gl language name. Spotted by
36480 Yaron Shahrabani.
36481
ec98af7d
RM
364822012-04-12 Roland McGrath <roland@hack.frob.com>
36483
36484 [BZ #2074]
36485 * libio/libio.h (__io_write_fn): Update comment.
36486
247c3ede
PB
364872012-04-12 Petr Baudis <pasky@ucw.cz>
36488
36489 [BZ #2074]
36490 * stdio.texi (Hook Functions): The user provided writer function
36491 is not allowed to return -1.
36492
55939d6d
DM
364932012-04-11 David S. Miller <davem@davemloft.net>
36494
36495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36496
90020f5a
MF
364972012-04-11 Mike Frysinger <vapier@gentoo.org>
36498
36499 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36500 Add a leading slash to rtkaio.
36501
288f9098
JM
365022012-04-11 Jim Meyering <meyering@redhat.com>
36503
90020f5a
MF
36504 [BZ #11959]
36505 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36506 It is not necessarily an error to ignore fwrite's return
36507 value. One can reliably use ferror to test for errors after
36508 the fact.
288f9098 36509
4be2b570
L
365102012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36511
36512 * bits/types.h (__snseconds_t): New type.
36513 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36514
36515 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36516 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36517 (__SNSECONDS_T_TYPE): Likewise.
36518 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36519 (__SNSECONDS_T_TYPE): Likewise.
36520 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36521 (__SNSECONDS_T_TYPE): Likewise.
36522
288f9098 365232012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
36524
36525 [BZ #2636]
36526 * manual/time.texi (Processor Time): Return type of times is
36527 elapsed real time since an arbitrary point in the past.
36528 (CPU Time): Move CLK_TCK from here...
36529 (Processor Time): ...to here. Correct description.
36530 * manual/conf.texi (Constants for Sysconf): Correct description of
36531 _SC_CLK_TCK.
36532
d7dd4413
DM
365332012-04-10 David S. Miller <davem@davemloft.net>
36534
36535 [BZ #13967]
36536 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36537 where the is a gap between DT_REL(A) and DT_JMPREL.
36538
b46068fc
L
365392012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36540
36541 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36542 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36543 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36544
73d65cc3
SP
365452012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36546
36547 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36548 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36549 (dl_main): Handle --inhibit-cache.
36550 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36551 _dl_inhibit_cache.
36552 * elf/dl-load.c (_dl_map_object): Use it.
36553 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36554
bcc8d661
JM
365552012-04-09 Joseph Myers <joseph@codesourcery.com>
36556
8f9a2fae
JM
36557 [BZ #13872]
36558 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36559 (__ieee754_powl): Saturate large exponents rather than testing for
36560 overflow of y*log2(x).
36561 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36562 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36563 exceptions.
36564
bcc8d661
JM
36565 [BZ #11521]
36566 * math/s_ctan.c: Include <float.h>.
36567 (__ctan): Avoid internal overflow or cancellation in calculating
36568 denominator.
36569 * math/s_ctanf.c: Likewise.
36570 * math/s_ctanl.c: Likewise.
36571 * math/s_ctanh.c: Likewise.
36572 * math/s_ctanhf.c: Likewise.
36573 * math/s_ctanhl.c: Likewise.
36574 * math/libm-test.inc (ctan_test): Add more tests.
36575 (ctanh_test): Likewise.
36576 * sysdeps/i386/fpu/libm-test-ulps: Update.
36577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36578
823fbbb4
AJ
365792012-04-09 Andreas Jaeger <aj@suse.de>
36580
03879793
AJ
36581 [BZ #6894]
36582 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36583 is an optional BSD extension.
36584
823fbbb4
AJ
36585 [BZ #10254]
36586 * manual/stdio.texi (Opening Streams): Document additional fopen
36587 parameters.
36588
8de131cb
RM
365892012-04-09 Roland McGrath <roland@hack.frob.com>
36590
36591 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36592 %eax without telling the compiler.
36593
c0ed9d7d
CD
365942012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36595
36596 [BZ # 13963]
36597 * manual/install.texi: Use sourceware.org.
36598
c483f6b4
JM
365992012-04-09 Joseph Myers <joseph@codesourcery.com>
36600
d7dd9453
JM
36601 [BZ #13873]
36602 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36603 (__ieee754_pow): Generate overflow and underflow using huge*huge
36604 and tiny*tiny rather than just returning constant infinity or zero
36605 for large exponents.
36606 * math/libm-test.inc (pow_test): Require overflow exceptions for
36607 applicable cases of large exponents.
36608
c483f6b4
JM
36609 [BZ #706]
36610 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36611 (__ieee754_pow): Use iterative multiplication algorithm only for
36612 integer exponents with absolute value below 1024. Check for odd
36613 integer exponents when using algorithm for real exponents.
36614 * math/libm-test.inc (pow_test): Add more tests.
36615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36616
d2de7579
JM
366172012-04-08 Joseph Myers <joseph@codesourcery.com>
36618
36619 [BZ #13705]
36620 * math/libm-test.inc (exp_test): Do not allow overflow exception
36621 on underflow test.
36622
f77f1232
AJ
366232012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36624
36625 [BZ #13705]
36626 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36627 instead of __kernel_standard_f.
36628
3884932b
MF
366292012-04-08 Mike Frysinger <vapier@gentoo.org>
36630
36631 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36632 * sysdeps/x86_64/memset_chk.S: Likewise.
36633
54472e9c
AJ
366342012-04-08 Andreas Jaeger <aj@suse.de>
36635
6ab0fbfc
AJ
36636 [BZ #10153]
36637 * manual/startup.texi (Environment Access): Describe return value
36638 for putenv and setenv.
36639
61efba8c
AJ
36640 [BZ #6895]
36641 * manual/filesys.texi (Directory Entries): Add description for
36642 DT_LNK.
36643
95c3f29a
AJ
36644 [BZ #6890]
36645 * manual/filesys.texi (Directory Entries): Clarify that it's file
36646 system not operating system in the description of DT_UNKNOWN.
36647
54472e9c
AJ
36648 [BZ #6578]
36649 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36650
624254b1
SC
366512012-04-08 Stephen Compall <s11@member.fsf.org>
36652
36653 [BZ #6649]
36654 * manual/llio.texi (Opening and Closing Files): Add cross
36655 reference to explain mode argument.
36656
1e4920e0
MF
366572012-04-07 Mike Frysinger <vapier@gentoo.org>
36658
36659 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36660 * sysdeps/x86_64/memset_chk.S: Likewise.
36661
5ed848f3
DM
366622012-04-07 David S. Miller <davem@davemloft.net>
36663
36664 * elf/elf.h (R_SPARC_WDISP10): Define.
36665 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36666 R_SPARC_SIZE32.
36667 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36668 R_SPARC_SIZE64 and R_SPARC_H34.
36669
96154cd8
CD
366702012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36671
36672 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36673 conditions and remove no longer applicable assertion.
36674
9904dc47
L
366752012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36676
36677 * bits/byteswap.h: Include <features.h>.
36678 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36679 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36680
f8887d0a
L
366812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36682
36683 * bits/byteswap.h (__bswap_16): Removed.
36684 Include <bits/byteswap-16.h> to get __bswap_16.
36685 * sysdeps/i386/bits/byteswap.h: Likewise.
36686 * sysdeps/s390/bits/byteswap.h: Likewise.
36687 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36688 * bits/byteswap-16.h: New file.
36689 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36690 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36691 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36692 * string/Makefile (headers): Add bits/byteswap-16.h.
36693
62470f60
PP
366942012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36695
36696 [BZ #13895]
36697 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36698 extra indirection.
36699 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36700 * nss/tst-nss-static.c: New.
36701
4dad7bab
RM
367022012-04-06 Robert Millan <rmh@gnu.org>
36703
36704 [BZ #6486]
36705 * manual/llio.texi (File Position Primitive): lseek
36706 refers to WHENCE when it really means OFFSET.
36707
e9142a17
AJ
367082012-04-06 Andreas Jaeger <aj@suse.de>
36709
2c040eff
AJ
36710 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36711 strncmp declarations.
36712
e9142a17
AJ
36713 * abilist/libc.abilist: Add __poll and __ppoll.
36714
ff9f1c5f
DM
367152012-04-05 David S. Miller <davem@davemloft.net>
36716
dcd2ae90
DM
36717 * scripts/check-local-headers.sh: Accept a host triplet in the
36718 path matched by the exclude regexp.
36719
993eb054
DM
36720 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36721 definition.
36722 * sysdeps/powerpc/powerpc32/dl-machine.h
36723 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36724 * sysdeps/s390/s390-32/dl-machine.h
36725 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36726 * sysdeps/sparc/sparc32/dl-machine.h
36727 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36728 * sysdeps/sparc/sparc64/dl-machine.h
36729 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36730
ff9f1c5f
DM
36731 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36732 lazy binding.
48e2e132 36733 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
36734 undefined symbol errors.
36735
48e2e132 36736 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
36737 DT_NEEDED entries.
36738
e80d6f94
MM
367392012-04-05 Michael Matz <matz@suse.de>
36740
36741 [BZ #13592]
36742 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36743
349fa79f
AJ
367442012-04-05 Andreas Jaeger <aj@suse.de>
36745
36746 [BZ #13908]
36747 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36748 comment.
36749
f402708f
KK
367502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36751
36752 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36753 which ROUND is no valid rounding mode.
36754
2ecccfc9
KK
367552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36756
36757 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36758 read again.
36759 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36760
8a53f50f
KK
367612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36762
36763 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36764 an exception using FPU order intentionally.
36765
367662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36767
36768 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36769 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36770 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36771 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36772
d653abb7
SJ
367732012-04-05 Simon Josefsson <simon@josefsson.org>
36774
36775 [BZ #12340]
36776 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36777 EINVAL when BUFLEN is too smal.
36778
c3b1bf7d
TS
367792012-04-05 Thomas Schwinge <thomas@codesourcery.com>
36780
36781 [BZ #13553]
36782 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36783 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36784
b1aa60f3
AJ
367852012-04-03 Andreas Jaeger <aj@suse.de>
36786
c3b1bf7d 36787 [BZ #13938]
67f60a26
AJ
36788 * manual/setjmp.texi (System V contexts): Fix sentence.
36789
b1aa60f3
AJ
36790 [BZ #13926]
36791 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36792 New macro for this case.
36793 [!__GNUC__] (__bswap_64): New inline function for this case.
36794 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36795 * bits/byteswap.h: Likewise.
36796 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36797 ull, guard with __GLIBC_HAVE_LONG_LONG.
36798
36799 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36800 __GLIBC_HAVE_LONG_LONG.
36801
36802 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36803 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36804
39c59c35
TMQMF
368052012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36806
36807 [BZ #13691]
36808 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36809 inptr and inend, rather than using last_ch.
36810
135ffda8
DM
368112012-04-02 David S. Miller <davem@davemloft.net>
36812
36813 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36814 * stdio-common/printf-parse.h (read_int): Change return type to
36815 'int', return -1 on INT_MAX overflow.
36816 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36817 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36818 overflows INT_MAX. Check for overflow of in-format-string precision
36819 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36820 SIZE_MAX not INT_MAX for integer overflow test.
36821 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36822 skip the construct in the format string but do not record anything.
36823 * stdio-common/bug22.c: Adjust to test both width/prevision
36824 INT_MAX overflow as well as total length INT_MAX overflow. Check
36825 explicitly for proper errno values.
36826
228c019e
TS
368272012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36828
302cadd3
TS
36829 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36830 CHAR_MAX.
36831 * string/test-strcmp.c [! WIDE]: Likewise.
36832 * time/tst-mktime2.c: Likewise for INT_MAX.
36833 * string/test-string.h: #include <sys/param.h> for MIN.
36834
228c019e
TS
36835 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36836 * sysdeps/i386/init-first.c (init): Likewise.
36837 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36838 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36839 * sysdeps/sh/init-first.c (init): Likewise.
36840
cfa633f5
UD
368412012-04-01 Ulrich Drepper <drepper@gmail.com>
36842
36843 * po/ru.po: Update from translation team.
d1635ef8 36844 * po/vi.po: Likewise.
cfa633f5 36845
6cd0a5ea
SP
368462012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36847
36848 * resolv/nss_dns/dns-host.c: Merge copyright years.
36849
4b43400f
LD
368502012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36851
36852 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36853 Optimize memcpy with prefetch if
36854 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36855 src, dst pointers have unequal 16 byte alignments.
36856
48c41d04
SP
368572012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36858
36859 [BZ #13928]
36860 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36861 from a CNAME entry and return the minimum ttl for the query.
36862 (gaih_getanswer_slice): Likewise.
36863
b8dc394d
JL
368642012-03-30 Jeff Law <law@redhat.com>
36865
36866 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36867 due to long keys.
36868 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36869 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36870
2f5a5ed0
JL
36871 * resolv/nss_dns/dns-host.c: Update copyright year.
36872
1d39e359
UD
368732012-03-30 Ulrich Drepper <drepper@gmail.com>
36874
c030f70c 36875 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 36876 requests to save a system call. Fix check that all bytes are sent.
c030f70c 36877
1d39e359
UD
36878 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36879 comments for sendmmsg.
36880
368812012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
36882
36883 [BZ #13691]
36884 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36885 with only 1 character between 0x0041 and 0x01b0.
36886 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36887 * wcsmbs/tst-mbsnrtowcs.c: New file.
36888
20fde227
DM
368892012-03-29 David S. Miller <davem@davemloft.net>
36890
36891 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36892 small copies by hand.
36893
984a4237
JL
368942012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36895
36896 [BZ #13761]
57f41c40
AS
36897 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36898 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36899 group memberships.
984a4237 36900
18c9d62b
DM
369012012-03-28 David S. Miller <davem@davemloft.net>
36902
88d85d4f
DM
36903 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36904 that branches into memcpy.
36905 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36906 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36907 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36908 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36909 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36910 bits.
36911 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36912 implementation too.
36913 * sysdeps/sparc/mempcpy.S: New file.
36914
e5aa83e1
DM
36915 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36916 the IFUNC routine in the libc case.
36917 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36918
88570753
DM
36919 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36920 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36921 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36922 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36923 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36924 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36925 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36926 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36927
249d7567
DM
36928 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36929 loop to 256 bytes instead of 64 bytes and fix test signedness.
36930
18c9d62b
DM
36931 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36932 * sysdeps/sparc/sparc32/Makefile: rather than here...
36933 * sysdeps/sparc/sparc64/Makefile: and here.
36934
05f3d1f6
UD
369352012-03-28 Ulrich Drepper <drepper@gmail.com>
36936
36937 * malloc/mallocbug.c: Avoid warnings about unused variables.
36938
86ae07a8
JL
369392012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36940
36941 [BZ #13760]
36942 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36943 in the right place. Discard and retry query if response is
36944 larger than input buffer size.
36945
41bf21a1
JM
369462012-03-28 Joseph Myers <joseph@codesourcery.com>
36947
d6270972
JM
36948 [BZ #369]
36949 [BZ #2678]
36950 [BZ #3866]
36951 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36952 x for large integer exponent.
36953 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36954 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36955 sign of result as needed afterwards.
36956 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36957 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36958 result for underflowing pow the same as for overflow.
36959 (__kernel_standard_l): Handle powl overflow and underflow here
36960 rather than calling __kernel_standard.
36961 * math/libm-test.inc (pow_test): Add more tests.
36962
414fca03 36963 [BZ #3868]
41bf21a1
JM
36964 [BZ #13879]
36965 [BZ #13910]
36966 [BZ #13911]
36967 [BZ #13912]
36968 [BZ #13913]
36969 [BZ #13915]
36970 [BZ #13916]
36971 [BZ #13917]
36972 [BZ #13918]
36973 [BZ #13919]
36974 [BZ #13920]
36975 [BZ #13921]
36976 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36977 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36978 (__kernel_standard_l): New function.
36979 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36980 __kernel_standard.
36981 * math/w_acosl.c (__acosl): Likewise.
36982 * math/w_asinl.c (__asinl): Likewise.
36983 * math/w_atan2l.c (__atan2l): Likewise.
36984 * math/w_atanhl.c (__atanhl): Likewise.
36985 * math/w_coshl.c (__coshl): Likewise.
36986 * math/w_exp10l.c (__exp10l): Likewise.
36987 * math/w_exp2l.c (__exp2l): Likewise.
36988 * math/w_fmodl.c (__fmodl): Likewise.
36989 * math/w_hypotl.c (__hypotl): Likewise.
36990 * math/w_j0l.c (__j0l, __y0l): Likewise.
36991 * math/w_j1l.c (__j1l, __y1l): Likewise.
36992 * math/w_jnl.c (__jnl, __ynl): Likewise.
36993 * math/w_lgammal.c (__lgammal): Likewise.
36994 * math/w_log10l.c (__log10l): Likewise.
36995 * math/w_log2l.c (__log2l): Likewise.
36996 * math/w_logl.c (__logl): Likewise.
36997 * math/w_powl.c (__powl): Likewise.
36998 * math/w_remainderl.c (__remainderl): Likewise.
36999 * math/w_scalbl.c (sysv_scalbl): Likewise.
37000 * math/w_sinhl.c (__sinhl): Likewise.
37001 * math/w_sqrtl.c (__sqrtl): Likewise.
37002 * math/w_tgammal.c (__tgammal): Likewise.
37003 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37004 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37005 * math/libm-test.inc (acos_test): Add more tests.
37006 (acosh_test): Likewise.
37007 (asin_test): Likewise.
37008 (atanh_test): Likewise.
37009 (exp_test): Likewise.
37010 (exp10_test): Likewise.
37011 (exp2_test): Likewise.
37012 (expm1_test): Likewise.
37013 (lgamma_test): Likewise.
37014 (log_test): Likewise.
37015 (log10_test): Likewise.
37016 (log1p_test): Likewise.
37017 (log2_test): Likewise.
37018 (pow_test): Do not allow some spurious overflow exceptions.
37019 (sqrt_test): Add more tests.
37020 (tgamma_test): Likewise.
37021 (y0_test): Likewise.
37022 (y1_test): Likewise.
37023 (yn_test): Likewise.
37024
dd62fda6
AB
370252012-03-27 Anton Blanchard <anton@samba.org>
37026
37027 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37028 MAP_HUGETLB.
37029 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37030 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37031 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37032
1e3cdfda
AJ
370332012-03-27 David S. Miller <davem@davemloft.net>
37034
b855ab85
DM
37035 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37036
1e3cdfda
AJ
37037 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37038 have-as-vis3 check.
37039
370402012-03-27 Andreas Jaeger <aj@suse.de>
37041
37042 * sysdeps/x86_64/elf/configure.in: Moved to ...
37043 * sysdeps/x86_64/configure.in: ... here.
37044 * sysdeps/x86_64/elf/start.S: Moved to ...
37045 * sysdeps/x86_64/start.S: ... here.
37046 * sysdeps/x86_64/elf/configure: Delete.
37047
37048 * sysdeps/x86_64/configure.in: Merge contents from
37049 sysdeps/i386/configure.in (without i686 check).
37050
37051 * sysdeps/i386/elf/Versions: Merge into ...
37052 * sysdeps/i386/Versions: ... this.
37053 * sysdeps/i386/elf/Versions: Delete file.
37054 * sysdeps/i386/elf/start.S: Moved to ...
37055 * sysdeps/i386/start.S: ...here.
37056 * sysdeps/i386/elf/configure.in: Merge into...
37057 * sysdeps/i386/configure.in: ...here.
37058 * sysdeps/i386/elf/configure.in: Delete file.
37059 * sysdeps/i386/elf/configure: Delete file.
37060
37061 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37062 * debug/backtracesyms.c: ... here.
37063 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37064 * debug/backtracesymsfd.c: ... here.
37065 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37066 * sysdeps/generic/ifunc-sel.h: ... here.
37067
37068 * sysdeps/unix/i386/start.c: Delete file.
37069 * sysdeps/unix/sparc/start.c: Delete file.
37070 * sysdeps/unix/start.c: Delete file.
37071
37072 * sysdeps/sh/elf/configure.in: Moved to ...
37073 * sysdeps/sh/configure.in: ... here.
37074 * sysdeps/sh/elf/start.S: Moved to ...
37075 * sysdeps/sh/start.S: ... here.
37076 * sysdeps/sh/elf/configure: Delete file.
37077
37078 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37079 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37080 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37081 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37082 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37083 * sysdeps/powerpc/powerpc64/start.S: here.
37084 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37085 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37086 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37087 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37088 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37089
37090 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37091 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37092 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37093 * sysdeps/powerpc/powerpc32/start.S: ... here.
37094 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37095 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37096 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37097
37098 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37099 * sysdeps/powerpc/ifunc-sel.h: ... here.
37100 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37101 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37102
37103 * sysdeps/sparc/elf/configure.in: Moved to ...
37104 * sysdeps/sparc/configure.in: ... here.
37105 * sysdeps/sparc/elf/configure: Delete file.
37106 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37107 * sysdeps/sparc/sparc32/start.S: ... here.
37108 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37109 * sysdeps/sparc/sparc64/start.S: ... here.
37110 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37111 * sysdeps/sparc/sparc32/Makefile: ... this.
37112 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37113 * sysdeps/sparc/sparc64/Makefile: ... this.
37114
37115 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37116 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37117 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37118 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37119 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37120 * sysdeps/s390/s390-32/setjmp.S: ... here.
37121 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37122 * sysdeps/s390/s390-32/configure.in: ... here.
37123 * sysdeps/s390/s390-32/elf/configure: Delete file.
37124 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37125 * sysdeps/s390/s390-32/start.S: ... here.
37126
37127 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37128 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37129 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37130 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37131 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37132 * sysdeps/s390/s390-64/setjmp.S: ... here.
37133 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37134 * sysdeps/s390/s390-64/configure.in: ... here
37135 * sysdeps/s390/s390-64/elf/configure: Delete file.
37136 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37137 * sysdeps/s390/s390-64/start.S: ... here.
37138 * sysdeps/s390/s390-64/elf/configure: Delete.
37139
37140 * configure.in: Remove support for elf directories in sysdeps.
37141
37142 * configure: Regenerated.
37143 * sysdeps/i386/configure: Regenerated.
37144 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37145 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37146 * sysdeps/s390/s390-32/configure: Regenerated.
37147 * sysdeps/s390/s390-64/configure: Regenerated.
37148 * sysdeps/sh/configure: Regenerated.
37149 * sysdeps/sparc/configure: Regenerated.
37150 * sysdeps/x86_64/configure: Regenerated.
37151
a3f61311
AS
371522012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37153
c876e002
AS
37154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37155
a3f61311
AS
37156 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37157 denormal result into account.
37158
ac4c54f0
RM
371592012-03-25 Roland McGrath <roland@hack.frob.com>
37160
37161 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37162 Reported by Allan McRae <allan@archlinux.org>.
37163
6a9b9c02
JL
371642012-03-23 Jeff Law <law@redhat.com>
37165
37166 * nss/getnssent.c (__nss_getent): Fix typo.
37167
4c42a0c1
DM
371682012-03-23 David S. Miller <davem@davemloft.net>
37169
37170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37171
1532c7ac
L
371722012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37173
37174 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37175 to pad to uint64_t for each field.
37176 (dl_tls_index): Replace unsigned long with uint64_t.
37177
3ff42526
PP
371782012-03-23 Daniel Jacobowitz <dmj@google.com>
37179 Paul Pluzhnikov <ppluzhnikov@google.com>
37180
37181 [BZ #6528]
37182 * grp/Makefile (otherlibs): Don't set it.
37183 * inet/Makefile (otherlibs): Likewise.
37184 * login/Makefile (otherlibs): Likewise.
37185 * nscd/Makefile (otherlibs): Likewise.
37186 * posix/Makefile (otherlibs): Likewise.
37187 * pwd/Makefile (otherlibs): Likewise.
37188 * rt/Makefile (otherlibs): Likewise.
37189 * sunrpc/Makefile (otherlibs): Likewise.
37190 * nss/Makefile (otherlibs): Likewise.
37191 Add libnss_files to routines and static-only-routines.
37192 ($(objpfx)getent): Remove rule.
37193 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37194 static-only-routines.
37195
7c69cd14
JM
371962012-03-22 Joseph Myers <joseph@codesourcery.com>
37197
37198 [BZ #13892]
37199 * math/s_cexp.c: Include <float.h>.
37200 (__cexp): Handle exp result overflowing not necessarily
37201 overflowing both real and imaginary parts of result.
37202 * math/s_cexpf.c: Likewise.
37203 * math/s_cexpl.c: Likewise.
37204 * math/libm-test.inc (cexp_test): Add more tests.
37205 * sysdeps/i386/fpu/libm-test-ulps: Update.
37206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37207
81b035fe
L
372082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37209
37210 * include/link.h (ELFW): New macro.
37211 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37212 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37213
1da7940c
L
372142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37215
37216 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37217 with uint64_t.
37218
b749dbb9
L
372192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37220
37221 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37222 declaration.
37223 (struct La_x32_retval): Likewise.
37224
2ff87f3f
L
372252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37226
37227 * sysdeps/x86_64/preconfigure.in: New file.
37228 * sysdeps/x86_64/preconfigure: New generated file.
37229
c0df8e69
JM
372302012-03-22 Joseph Myers <joseph@codesourcery.com>
37231
48e44791
JM
37232 [BZ #13824]
37233 * math/e_exp2l.c: Include <float.h>.
37234 (__ieee754_exp2l): Handle overflow and underflow cases
37235 separately. Only pass fractional part of argument to
37236 __ieee754_expl.
37237 * math/libm-test.inc (exp2_test): Add more tests.
37238
c0df8e69
JM
37239 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37240 negating x to take absolute value.
37241 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37242 Likewise.
37243 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37244 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37245 Likewise.
37246 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37247 computing low part if x was negated.
37248 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37249
c8e43ba7
L
372502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37251
37252 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37253 la_x32_gnu_pltexit.
37254 (pltexit): Cast int_retval to ptrdiff_t.
37255 * elf/tst-auditmod3b.c: Likewise.
37256 * elf/tst-auditmod4b.c: Likewise.
37257 * elf/tst-auditmod5b.c: Likewise.
37258 * elf/tst-auditmod6b.c: Likewise.
37259 * elf/tst-auditmod6c.c: Likewise.
37260 * elf/tst-auditmod7b.c: Likewise.
37261
37262 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37263 and x32_gnu_pltexit.
37264
37265 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37266 __ELF_NATIVE_CLASS.
37267 (La_x32_regs): New macro.
37268 (La_x32_retval): Likewise.
37269 (la_x32_gnu_pltenter): New function prototype.
37270 (la_x32_gnu_pltexit): Likewise.
37271
7998fa78
AS
372722012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37273
dcb33988
AS
37274 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37275 exponent.
37276
233fc563
AS
37277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37278
7998fa78
AS
37279 * configure.in (libc_cv_cc_nofma): Check for option to disable
37280 generation of FMA instructions.
37281 * configure: Regenerate.
37282 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37283 * sysdeps/ieee754/dbl-64/Makefile: New file.
37284 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37285 Remove brandred-fma4.
37286 (CFLAGS-brandred-fma4.c): Remove.
37287 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37288 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37289 define.
37290 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37291 define.
37292
8e95c99a
L
372932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37294
37295 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37296 LLONG_MAX != LONG_MAX.
37297 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37298 (_fitoa_word): Likewise.
37299 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37300 LLONG_MAX != LONG_MAX.
37301 * stdio-common/_itowa.h: Include <_itoa.h>.
37302 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37303 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37304 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37305 only if not defined.
37306 (_ITOA_WORD_TYPE): Likewise.
37307 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37308 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37309
6f4db457
DM
373102012-03-21 David S. Miller <davem@davemloft.net>
37311
37312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37313
7785fe5a
L
373142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37315
37316 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37317 of x86_64 when setting libc_cv_slibdir, libdir and
37318 libc_cv_localedir.
37319 * sysdeps/unix/sysv/linux/configure: Regenerated.
37320
4535cd55
JM
373212012-03-21 Joseph Myers <joseph@codesourcery.com>
37322
37323 * manual/lang.texi (Old Varargs): Remove section.
37324 (How Variadic): Update menu.
37325 (va_start): Do not mention varargs.h.
37326
17228132
TS
373272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37328 Joseph Myers <joseph@codesourcery.com>
37329
37330 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37331 link test.
37332 * configure: Regenerated.
37333
8149f976
TS
373342012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37335
05f3d1f6
UD
37336 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37337 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37338 conformtest.pl
8149f976 37339
1a4ac776
JM
373402012-03-21 Joseph Myers <joseph@codesourcery.com>
37341
be22ce65
JM
37342 * NOTES: Remove.
37343 * Makefile (files-for-dist): Remove NOTES.
37344 (NOTES): Remove rule.
37345 * README: Don't refer to NOTES.
37346 * manual/creature.texi: Don't include macros.texi.
37347 * manual/intro.texi (creature.texi): Remove comment referring to
37348 NOTES.
37349
40b601fb
JM
37350 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37351 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37352 * configure: Regenerated.
37353 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37354 LIBC_TRY_CC_OPTION.
37355 (libc_cv_as_i686): Likewise.
37356 (libc_cv_cc_avx): Likewise.
37357 (libc_cv_cc_sse2avx): Likewise.
37358 (libc_cv_cc_fma4): Likewise.
37359 (libc_cv_cc_novzeroupper): Likewise.
37360 * sysdeps/i386/configure: Regenerated.
37361
1a4ac776
JM
37362 [BZ #13883]
37363 * sysdeps/i386/fpu/s_cexp.S: Remove.
37364 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37365 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37366 * math/libm-test.inc (cexp_test): Add more tests.
37367 * sysdeps/i386/fpu/libm-test-ulps: Update.
37368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37369
a458e7fe
AM
373702012-03-21 Allan McRae <allan@archlinux.org>
37371
37372 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37373
0cb7efc5
JM
373742012-03-21 Joseph Myers <joseph@codesourcery.com>
37375
37376 [BZ #13871]
37377 * math/w_exp2.c: Do not include <float.h>.
37378 (o_threshold, u_threshold): Remove.
37379 (__exp2): Calculate result before checking finiteness and calling
37380 __kernel_standard.
37381 * math/w_exp2f.c: Likewise.
37382 * math/w_exp2l.c: Likewise.
37383 * math/libm-test.inc (exp2_test): Require overflow exception for
37384 1e6 input.
2460d3aa
JM
37385
37386 [BZ #3866]
37387 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37388 range of signed 64-bit integers before using fistpll. Remove
37389 checks for whether integers fit in mantissa bits.
37390 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37391 the range of signed 32-bit integers before using fistpl. Remove
37392 checks for whether integers fit in mantissa bits.
37393 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37394 (__ieee754_powl): Test for y outside the range of signed 64-bit
37395 integers before using fistpll. Reduce 64-bit values to 63-bit
37396 ones as needed.
37397 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37398 divide-by-zero is raised for zero to large negative powers.
37399 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37400 (__ieee754_powl): Test for y outside the range of signed 64-bit
37401 integers before using fistpll. Reduce 64-bit values to 63-bit
37402 ones as needed.
37403 * math/libm-test.inc (pow_test): Add more tests.
37404
eb96ffb0
L
374052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37406
37407 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37408 <stdio-common/_itoa.h>.
37409 * debug/segfault.c: Likewise.
37410 * elf/dl-cache.c: Likewise.
37411 * elf/dl-minimal.c: Likewise.
37412 * elf/dl-misc.c: Likewise.
37413 * elf/dl-sysdep.c: Likewise.
37414 * elf/dl-version.c: Likewise.
37415 * elf/rtld.c: Likewise.
37416 * hurd/hurdsock.c: Likewise.
37417 * hurd/lookup-retry.c: Likewise.
37418 * malloc/malloc.c: Likewise.
37419 * malloc/mtrace.c: Likewise.
37420 * nscd/nscd_getgr_r.c: Likewise.
37421 * nscd/nscd_getpw_r.c: Likewise.
37422 * nscd/nscd_getserv_r.c: Likewise.
37423 * posix/getopt_init.c: Likewise.
37424 * posix/wordexp.c: Likewise.
37425 * stdio-common/_itoa.c: Likewise.
37426 * stdio-common/printf_fphex.c: Likewise.
37427 * stdio-common/vfprintf.c: Likewise.
37428 * string/_strerror.c: Likewise.
37429 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37430 * sysdeps/i386/i686/hp-timing.h: Likewise.
37431 * sysdeps/mach/_strerror.c: Likewise.
37432 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37433 * sysdeps/mach/hurd/sethostid.c: Likewise.
37434 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37435 * sysdeps/mach/xpg-strerror.c: Likewise.
37436 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37437 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37438 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37439 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37440 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37441 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37442 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37443 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37444 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37445 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37446 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37447 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37448 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37449 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37450 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37451 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37452 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37453 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37454 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37455 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37456 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37457
37458 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37459
37460 * stdio-common/_itoa.h: Moved to ...
37461 * sysdeps/generic/_itoa.h: Here.
37462
37463 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37464
37465 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37466 instead of "_itoa.h" and "_itowa.h".
37467 * stdio-common/vfprintf.: Likewise.
37468
d1af992d
L
374692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37470
37471 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37472 <bits/wordsize.h>.
37473 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37474 (__signbit): Likwise.
37475 (llrintf): Likwise.
37476 (llrint): Likwise.
37477
114883e0
L
374782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37479
37480 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37481 __WORDSIZE != 64.
37482
c135cc1b
JM
374832012-03-20 Joseph Myers <joseph@codesourcery.com>
37484
37485 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37486 OVERFLOW_EXCEPTION_OK.
37487 * math/libm-test.inc ("Philosophy"): Update comment about
37488 exception testing.
37489 (OVERFLOW_EXCEPTION): Define.
37490 (OVERFLOW_EXCEPTION_OK): Likewise.
37491 (INVALID_EXCEPTION_OK): Renumber.
37492 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37493 (IGNORE_ZERO_INF_SIGN): Likewise.
37494 (test_exceptions): Handle FE_OVERFLOW.
37495 (exp10_test): Expect overflow exceptions.
37496 (exp2_test): Likewise.
37497 (expm1_test): Likewise.
37498 (nextafter_test): Likewise.
37499 (pow_test): Likewise.
37500 (scalbn_test): Likewise.
37501 (scalbln_test): Likewise.
37502
95443d88
L
375032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37504
37505 * sysdeps/x86_64/bits/atomic.h
37506 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37507 64bit integer.
37508 (atomic_exchange_acq): Likewise.
37509 (__arch_exchange_and_add_body): Likewise.
37510 (__arch_add_body): Likewise.
37511 (atomic_add_negative): Likewise.
37512 (atomic_add_zero): Likewise.
37513
490df6c4
L
375142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37515
c2722551 37516 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
37517 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37518
5e52b189
L
375192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37520
37521 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37522 Check __x86_64__ instead of __WORDSIZE.
37523
a9879d4c
L
375242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37525
37526 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37527
5df98260
DM
375282012-03-19 David S. Miller <davem@davemloft.net>
37529
e1497744
DM
37530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37531
5df98260
DM
37532 * sysdeps/sparc/fpu/fenv_private.h: New file.
37533 * sysdeps/sparc/fpu/math_private.h: Use it.
37534 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37535 Remove.
57f41c40 37536 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
37537 (libc_feholdexcept_setroundl): Remove.
37538 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37539 Remove.
37540 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37541 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37542
b4c35121
L
375432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37544
37545 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37546 int64_t instead of long int.
37547 (INSERT_WORDS64): Likwise.
37548
56965fd7
L
375492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37550
37551 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37552 _Unwind_GetCFA return to _Unwind_Ptr first.
37553
83d1aec8
JM
375542012-03-19 Joseph Myers <joseph@codesourcery.com>
37555
1897ad44
JM
37556 [BZ #13629]
37557 * math/s_clog.c: Include <float.h>.
37558 (__clog): Scale large or subnormal inputs.
37559 * math/s_clogf.c: Likewise.
37560 * math/s_clogl.c: Likewise.
37561 * math/s_clog10.c: Include <float.h>.
37562 (M_LOG10_2): Define.
37563 (__clog10): Scale large or subnormal inputs.
37564 * math/s_clog10f.c: Likewise.
37565 * math/s_clog10l.c: Likewise.
37566 * math/libm-test.inc (clog_test): Add more tests.
37567 (clog10_test): Likewise.
37568 * sysdeps/i386/fpu/libm-test-ulps: Update.
37569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37570
7726d6a9
JM
37571 [BZ #11451]
37572 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37573 x and y.
37574 * math/libm-test.inc (atan2_test): Add another test.
37575
83d1aec8
JM
37576 * Makerules (common-objdir-compile): Remove.
37577 * sysdeps/unix/Makefile (config-generated): Do not add
37578 $(unix-generated) to variable.
37579 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37580 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37581 Remove rule.
37582 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37583 Likewise.
37584 [generic bits/local_lim.h] (before-compile): Do not append to
37585 variable.
37586 [generic bits/local_lim.h] (common-generated): Likewise.
37587 [generic sys/param.h] (before-compile): Do not append to variable.
37588 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37589 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37590 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37591 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37592 include.
37593 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37594 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37595 [generic sys/param.h] ($(addprefix
37596 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37597 [generic sys/param.h] (common-generated): Do not append to
37598 variable.
37599 [generic sys/param.h] (sysdep_headers): Likewise.
37600 [generic bits/errno.h] (before-compile): Do not append to
37601 variable.
37602 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37603 rule.
37604 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37605 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37606 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37607 [generic bits/errno.h] (common-generated): Do not append to
37608 variable.
37609 [generic bits/ioctls.h] (before-compile): Do not append to
37610 variable.
37611 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37612 rule.
37613 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37614 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37615 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37616 rule.
37617 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37618 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37619 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37620 [generic bits/ioctls.h] (common-generated): Do not append to
37621 variable.
37622 [generic sys/syscall.h] (syscall.h): Remove variable.
37623 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37624 rule.
37625 [generic sys/syscall.h] (before-compile): Do not append to
37626 variable.
37627 [generic sys/syscall.h] (common-generated): Likewise.
37628 * sysdeps/unix/errnos-tmpl.c: Remove file.
37629 * sysdeps/unix/errnos.awk: Likewise.
37630 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37631 * sysdeps/unix/ioctls.awk: Likewise.
37632 * sysdeps/unix/mk-local_lim.c: Likewise.
37633 * sysdeps/unix/snarf-ioctls: Likewise.
37634
4851a949
RH
376352012-03-19 Richard Henderson <rth@twiddle.net>
37636
bd37f2ee
RH
37637 * sysdeps/i386/fpu/fenv_private.h: New file.
37638 * sysdeps/i386/fpu/math_private.h: Use it.
37639 (math_opt_barrier, math_force_eval): Remove.
37640 (libc_feholdexcept_setround_53bit): Remove.
37641 (libc_feupdateenv_53bit): Remove.
37642 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37643 (math_opt_barrier, math_force_eval): Remove.
37644 (libc_feholdexcept): Remove.
37645 (libc_feholdexcept_setround): Remove.
37646 (libc_fetestexcept, libc_fesetenv): Remove.
37647 (libc_feupdateenv_test): Remove.
37648 (libc_feupdateenv, libc_feholdsetround): Remove.
37649 (libc_feresetround): Remove.
37650
d0adc922
RH
37651 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37652 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37653
0fe0f1f8
RH
37654 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37655 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37656 (libc_feupdateenv_testl): New.
37657 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37658 (libc_feupdateenv_testf): New.
37659 (libc_feupdateenv): Use libc_feupdateenv_test.
37660 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37661 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37662
eb92c487
RH
37663 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37664 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37665 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37666 (libc_feresetround_noex): New.
37667 (libc_feresetround_noexf): New.
37668 (libc_feresetround_noexl): New.
37669 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37670 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37671 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37672 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37673 SET_RESTORE_ROUND.
37674 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37675 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37676 (__cos): Likewise.
37677 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37678 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37679 SET_RESTORE_ROUND_NOEX.
37680 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37681 SET_RESTORE_ROUND_NOEXF.
37682 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37683 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37684 (libc_feholdsetroundf): New.
37685 (libc_feresetround, libc_feresetroundf): New.
37686
7d2e8012
RH
37687 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37688 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37689 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37690
b4dabbb4
RH
37691 * sysdeps/generic/math_private.h: Include <fenv.h>.
37692 (default_libc_feholdexcept): New.
37693 (default_libc_feholdexcept_setround): New.
37694 (default_libc_fesetenv, default_libc_feupdateenv): New.
37695 (libc_feholdexcept): Only define if undefined.
37696 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37697 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37698 (libc_feholdexcept_setroundl): Likewise.
37699 (libc_feholdexcept_setround_53bit): Likewise.
37700 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37701 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37702 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37703 (libc_feupdateenv_53bit): Likewise.
37704 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37705 (libc_feholdexcept): Convert from macro to inline function.
37706 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37707 (libc_fesetenv, libc_feupdateenv): Likewise.
37708
4851a949
RH
37709 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37710 not previously defined.
37711 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37712 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37713 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37714 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37715 * sysdeps/ieee754/flt-32/math_private.h: New file.
37716 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37717 math_private.h below SET_FLOAT_WORD.
37718 (__isnan, __isinf_ns, __finite): Remove.
37719 (__isnanf, __isinf_nsf, __finitef): Remove.
37720
e79d442e
AS
377212012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37722
37723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37724
90b80344
DM
377252012-03-17 David S. Miller <davem@davemloft.net>
37726
37727 [BZ #6471]
37728 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37729 for 2.16.
37730
edc21804
DM
377312012-03-16 David S. Miller <davem@davemloft.net>
37732
77e927af
DM
37733 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37734 warnings.
37735
374976dd
DM
37736 [BZ #6471]
37737 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37738 properly.
37739 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37740 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37741 sysdep_routines when subdir is sysvipc.
37742 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37743 __getshmlba helper.
37744
edc21804
DM
37745 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37746
473c3ef3
L
377472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37748
37749 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37750 [__LP64__].
37751
eb0f39b6
L
377522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37753
37754 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37755 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37756 (__lround): Renamed to ...
37757 (__llround): This. Replace long int with long long int.
37758 Define lround functions as aliases of llround functions.
37759 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37760
6b6cd74b
L
377612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37762
37763 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37764 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
37765 adresses to uintptr_t. Replace "long int" and "unsigned long
37766 int" with "greg_t" on va_arg.
37767
f1a77b01
L
377682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37769
37770 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37771 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37772
37773 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37774 Move e_machine check before EI_CLASS check. Handle x32
37775 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37776 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37777 SKIP_EM_IA_64 and include
37778 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37779
37780 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37781 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37782 (add_system_dir): New macro.
37783
37784 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37785 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37786
11b90b9f
JM
377872012-03-16 Joseph Myers <joseph@codesourcery.com>
37788
c36e1d23
JM
37789 [BZ #2551]
37790 [BZ #2552]
37791 [BZ #2553]
37792 [BZ #2554]
37793 [BZ #2562]
37794 [BZ #2563]
37795 [BZ #2565]
37796 [BZ #2566]
37797 [BZ #2576]
37798 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37799 (y0): Likewise.
37800 * math/w_j0f.c (j0f): Likewise.
37801 (y0f): Likewise.
37802 * math/w_j0l.c (__j0l): Likewise.
37803 (__y0l): Likewise.
37804 * math/w_j1.c (j1): Likewise.
37805 (y1): Likewise.
37806 * math/w_j1f.c (j1f): Likewise.
37807 (y1f): Likewise.
37808 * math/w_j1l.c (__j1l): Likewise.
37809 (__y1l): Likewise.
37810 * math/w_jn.c (jn): Likewise.
37811 (yn): Likewise.
37812 * math/w_jnf.c (jnf): Likewise.
37813 (ynf): Likewise.
37814 * math/w_jnl.c (__jnl): Likewise.
37815 (__ynl): Likewise.
37816 * math/libm-test.inc (j0_test): Add more tests.
37817 (j1_test): Likewise.
37818 (jn_test): Likewise. Add trailing semicolon to existing test.
37819 (y0_test): Likewise.
37820 (y1_test): Likewise.
37821 * sysdeps/i386/fpu/libm-test-ulps: Update.
37822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37823
11b90b9f
JM
37824 [BZ #13851]
37825 [BZ #13854]
37826 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37827 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37828 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37829 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37830 (__tanl): Set errno for infinite argument.
37831 * sysdeps/i386/fpu/mptan.c: Remove.
37832 * sysdeps/i386/fpu/s_tan.S: Likewise.
37833 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37834 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37835 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37836 * math/libm-test.inc (tan_test): Add more tests and enable more
37837 tests for double and long double.
37838 * sysdeps/i386/fpu/libm-test-ulps: Update.
37839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37840
6a1bd2a1
JK
378412012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37842
37843 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37844 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37845
10a803e0
RM
378462012-03-16 Roland McGrath <roland@hack.frob.com>
37847
37848 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37849 * configure.in: Use it for both main tree and add-ons.
37850 * configure: Regenerated.
37851
f196c7f7
L
378522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37853
37854 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37855
8848d99d
JM
378562012-03-16 Joseph Myers <joseph@codesourcery.com>
37857
96cbe7f4
JM
37858 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37859 in comment.
37860
8848d99d
JM
37861 [BZ #13851]
37862 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37863 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37864 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37865 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37866 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37867 infinite argument.
37868 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37869 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37870 != 0 for prec == 2.
37871 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37872 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37873 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37874 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37875 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37876 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37877 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37878 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37879 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37880 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37881 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37882 * math/libm-test.inc (cos_test): Add more tests and enable more
37883 tests for long double.
37884 (sin_test): Likewise.
37885 (sincos_test): Likewise.
37886 * sysdeps/i386/fpu/libm-test-ulps: Update.
37887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37888
dd7f4703
DM
378892012-03-16 David S. Miller <davem@davemloft.net>
37890
37891 * sysdeps/sparc/fpu/math_private.h: New file.
37892
006f1daa
DM
378932012-03-15 David S. Miller <davem@davemloft.net>
37894
c0c83bc8
DM
37895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37896 file.
e6a62e18 37897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
37898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37899 file.
e6a62e18
DM
37900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37905 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37906 sysdep routines.
37907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37908
88cb87d9
DM
37909 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37910 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37911
006f1daa 37912 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
37913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37914 sparc-ifunc.h
006f1daa 37915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
37916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37917 Likewise.
37918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37919 Likewise.
006f1daa
DM
37920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
37923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37924 Likewise.
006f1daa
DM
37925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
37929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37930 Likewise.
37931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37932 Likewise.
006f1daa
DM
37933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37939 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37940 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37951 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37952 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37953 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37954 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37955 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37956 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37957
11e0098e
AS
379582012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37959
37960 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37961 scaling.
37962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37963
e85b09d0
AJ
379642012-03-15 Andreas Jaeger <aj@suse.de>
37965
37966 [BZ #13852]
37967 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37968 ieee754/flt-32 implementation for sin, cos and sincos.
37969 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37970 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37971 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37972 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37973 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37974 ieee754/flt-32 implementation for tan.
37975
37976 * math/libm-test.inc (cos_test): Enable some large input tests for
37977 float as well
37978 (sin_test): Likewise.
37979 (sincos_test): Likewise.
37980 (tan_test): Add tests for large input.
37981
37982 * sysdeps/i386/fpu/libm-test-ulps: Update.
37983
81c64153
AJ
379842012-03-15 Andreas Jaeger <aj@suse.de>
37985
37986 [BZ #13658]
37987 * math/libm-test.inc (cos_test): Add more test cases.
37988 (sin_test): Likewise.
37989 (sincos_test): Likewise.
37990
7bbfa5c6
AJ
379912012-03-15 Andreas Jaeger <aj@suse.de>
37992
37993 [BZ #13837]
37994 * math/libm-test.inc (cos_test): Add a test case for large input
37995 value.
37996 (sin_test): Likewise.
37997 (sincos_test): Likewise.
37998
57f41c40
AS
379992012-03-15 Andreas Jaeger <aj@suse.de>
38000 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
38001
38002 [BZ #13658]
0671f479 38003 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
38004 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38005 * sysdeps/i386/fpu/branred.c: Likewise.
38006 * sysdeps/i386/fpu/dosincos.c: Likewise.
38007 * sysdeps/i386/fpu/mpa.c: Likewise.
38008 * sysdeps/i386/fpu/s_cos.S: Likewise.
38009 * sysdeps/i386/fpu/s_sin.S: Likewise.
38010 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38011 * sysdeps/i386/fpu/sincos32.c: Likewise.
38012
38013 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38014 Define.
38015 (libc_feupdateenv_53bit): Define.
38016 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38017 Define.
38018 (libc_feupdateenv_53bit): Define.
38019
38020 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38021 53 bit (without extend i386 double precision).
38022
38023 * math/libm-test.inc (sincos_test): Add tests for large input.
38024 (sin): Likewise.
38025 (cos): Likewise.
38026
38027 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38028
9cad04ea
AS
380292012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38030
38031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38032
f7062b9a
DM
380332012-03-15 David S. Miller <davem@davemloft.net>
38034
38035 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38036 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38037 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38038 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
38050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38051 file.
f7062b9a 38052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
38053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38054 file.
f7062b9a 38055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
38056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38057 file.
f7062b9a 38058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
38059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38060 file.
f7062b9a
DM
38061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38062 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38063 fmin/fmax sysdep routines.
38064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38065
7bd951ff
DM
380662012-03-14 David S. Miller <davem@davemloft.net>
38067
559398ab
DM
38068 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38069 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38072 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38073 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38074 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38075 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38080 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38081 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38088 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38089 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38090 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38091 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38092 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38093 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38094 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38095 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38096 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38097 routines.
38098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38099 file.
559398ab 38100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
38101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38102 file.
559398ab 38103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
38104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38105 file.
559398ab 38106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
38107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38108 file.
559398ab 38109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
38110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38111 file.
559398ab 38112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
38113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38114 file.
38115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38116 file.
38117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38118 file.
38119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38120 file.
38121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38122 New file.
38123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38124 file.
38125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38126 file.
559398ab 38127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
38128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38129 file.
559398ab 38130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38132 file.
559398ab 38133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
38134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38135 file.
559398ab 38136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
38137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38138 VIS3 routines.
559398ab
DM
38139
38140 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38141 New file.
38142
5a1c1e32
DM
38143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38144
eae47a36
DM
38145 * sysdeps/sparc/configure.in: New file.
38146 * sysdeps/sparc/configure: Generate.
38147 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38148 * configure: Regenerate.
38149 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38150 * config.make.in (have-as-vis3): New.
38151 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38152 available use -Av9d instead of -Av9a.
38153 * sysdeps/sparc/sparc64/Makefile: Likewise.
38154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
38155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38156 New file.
38157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38158 file.
38159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38160 New file.
38161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38162 file.
eae47a36
DM
38163 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38164 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38165 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38166 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38168
c0c83bc8
DM
38169 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38170 fzeros/fnegs to load 0x80000000 into a float register instead of
38171 using the stack.
7bd951ff
DM
38172 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38173
bd951ccb
JM
381742012-03-14 Joseph Myers <joseph@codesourcery.com>
38175
38176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38177 bits/syscall.h.
38178 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38179 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38180 ($(inst_includedir)/bits/syscall.h): Remove rule.
38181 ($(objpfx)bits/syscall.d): Include instead of
38182 $(objpfx)syscall-list.d.
38183 (generated): Change syscall-list.h and syscall-list.d to
38184 bits/syscall.h and bits/syscall.d.
38185
bb4e6db2
RM
381862012-03-14 Roland McGrath <roland@hack.frob.com>
38187
38188 [BZ #13846]
38189 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38190
aa4a2ae1
JM
381912012-03-14 Joseph Myers <joseph@codesourcery.com>
38192
e456826d
JM
38193 [BZ #13841]
38194 * math/s_csqrt.c: Include <float.h>.
38195 (__csqrt): Scale large or subnormal inputs.
38196 * math/s_csqrtf.c: Likewise.
38197 * math/s_csqrtl.c: Likewise.
38198 * math/libm-test.inc (csqrt_test): Add more tests.
38199 * sysdeps/i386/fpu/libm-test-ulps: Update.
38200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38201
aa4a2ae1
JM
38202 [BZ #13840]
38203 * math/libm-test.inc (hypot_test): Add more tests.
38204
7c10fd35
DM
382052012-03-13 David S. Miller <davem@davemloft.net>
38206
38207 [BZ #13840]
38208 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38209 double-precision for the calculation instead of scaling.
38210
f453b98b
JM
382112012-03-13 Joseph Myers <joseph@codesourcery.com>
38212
38213 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38214 manipulate bits before adding and subtracting TWO52[sx].
38215 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38216 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38217 Likewise.
38218 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38219
09a3453f
DM
382202012-03-13 David S. Miller <davem@davemloft.net>
38221
8e59da90
DM
38222 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38223 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38224 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38225 rtld-global-offsets.h
38226 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38227
2a8ab7f2
DM
38228 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38229 large parameters.
38230
10f62770
DM
38231 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38232
5f0bdb18
DM
38233 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38234 'err' in the ifdef scope in which it is actually used.
38235
09a3453f
DM
38236 * nss/nss_db/db-init.c: Include string.h
38237
b4b2eb5e
DM
382382012-03-12 David S. Miller <davem@davemloft.net>
38239
98bb2f1c
DM
38240 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38241 masking out of the most significant byte of random value used.
38242 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38243 Fix coding style in previous change.
38244
b4b2eb5e
DM
38245 * sysdeps/unix/sysv/linux/kernel-features.h
38246 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38247 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38248 expression.
38249 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38250 later.
38251
6e226b09
DM
382522012-03-11 David S. Miller <davem@davemloft.net>
38253
a1bcbd40
DM
38254 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38255 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38256 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38257 for 'resultvar' otherwise things get truncated on 64-bit.
38258
cb9d6174
DM
38259 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38260 Fix masking out of the most significant byte of random value used.
38261
6e226b09
DM
38262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38263
058c132d
AS
382642012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38265
38266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38267
2d2cd515
DM
382682012-03-09 David S. Miller <davem@davemloft.net>
38269
38270 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38271 variables with appropriate CPP guards.
57f41c40
AS
38272 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38273 from the frame pointer, not the stack pointer. Correct layout
38274 comments. Fix test on resulting framesize and the management of
38275 the outregs buffer for pltexit. Preserve floating point return
38276 values across _dl_call_pltexit call.
2d2cd515
DM
38277 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38278 framesize and the management of the outregs buffer for pltexit.
38279 Preserve floating point return values across _dl_call_pltexit
38280 call.
57f41c40
AS
38281 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38282 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38283 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
38284 (print_exit): Fix format string for return register value.
38285
9a07f9d0
JM
382862012-03-10 Joseph Myers <joseph@codesourcery.com>
38287
38288 * sunrpc/Makefile (others): Add rpcgen.
38289 ($(objpfx)rpcgen): Remove special build rule and dependency on
38290 libc.
38291 * sunrpc/rpcgen.c: New file.
38292
547b5e30
PE
382932012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38294
c524201a
PE
38295 [BZ #13673]
38296 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38297 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38298 * sysdeps/i386/crti.S: Likewise.
38299 * sysdeps/i386/crtn.S: Likewise.
38300 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38301 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38302 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38303 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38304 * sysdeps/sh/crti.S: Likewise.
38305 * sysdeps/sh/crtn.S: Likewise.
38306 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38307
7b6235f2
PE
38308 [BZ #13673]
38309 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38310 with URL.
38311 * locale/programs/locfile-kw.gperf: Likewise.
38312 * locale/programs/charmap-kw.h: Regenerated.
38313 * locale/programs/locfile-kw.h: Likewise.
38314
547b5e30
PE
38315 [BZ #13673]
38316 * intl/plural.y: Replace FSF snail mail address with URL.
38317 * intl/plural.c: Regenerated.
38318
5f0a5dae
RH
383192012-03-09 Richard Henderson <rth@twiddle.net>
38320
38321 * include/math_private.h: Remove file.
38322 * math/math_private.h: Move file ...
38323 * sysdeps/generic/math_private.h: ... here.
38324
b8c03620
RH
38325 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38326 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38327 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38328
4e234f5d 38329 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
38330 and <math_private.h>.
38331 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38332 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38333 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38334 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38335 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38336 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38337 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38338 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38339 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38340 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38341 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38342 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38343 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38344 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38345 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38346 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38347 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38348 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38349 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38350 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38352 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38353 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38354 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38355 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38356 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38357 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38358 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38360 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38361 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38362 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38363 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38364 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38365 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38366 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38367 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38368 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38369 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38370 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38371 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38372 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38373 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38374 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38375 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38376 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38377 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38378 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38379 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38380 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38381 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38382 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38383 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38384 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38385 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38386 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38387 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38388 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38389 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38390 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38391 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38392 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38393 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38394 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38395 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38396 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38397 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38398 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38399 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38400 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38401 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38402 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38403 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38404 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38405 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38406 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38407 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38408 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38409 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38410 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38411 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38412 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38413 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38414 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38415 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38416 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38417 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38418 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38419 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38420 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38421 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38422 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38423 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38424 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38425 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38426 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38427 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38428 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38429 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38430 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38431 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38432 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38433 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38434 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38435 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38436 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38437 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38438 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38439 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38440 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38441 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38442 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38443 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38444 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38445 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38446 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38447 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38448 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38449 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38450 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38451 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38452 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38453 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38454 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38455 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38456 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38457 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38458 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38459 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38460 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38461 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38462 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38463 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38464 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38465 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38466 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38467 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38468 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38469 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38470 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38471 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38472 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38473 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38474 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38475 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38476 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38477 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38478 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38479 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38480 * sysdeps/ieee754/k_standard.c: Likewise.
38481 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38482 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38483 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38484 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38485 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38486 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38487 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38488 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38489 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38490 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38491 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38492 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38493 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38494 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38495 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38496 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38497 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38498 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38499 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38500 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38501 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38502 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38503 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38504 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38505 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38506 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38507 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38508 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38509 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38510 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38511 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38512 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38513 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38514 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38515 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38516 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38517 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38518 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38519 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38520 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38521 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38522 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38523 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38524 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38525 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38526 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38527 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38528 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38529 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38530 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38531 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38532 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38533 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38534 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38535 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38536 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38537 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38538 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38539 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38540 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38541 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38542 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38543 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38544 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38545 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38546 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38547 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38548 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38549 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38550 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38551 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38552 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38553 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38554 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38555 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38556 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38557 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38558 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38559 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38560 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38561 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38562 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38563 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38564 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38565 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38566 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38567 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38568 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38569 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38570 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38571 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38572 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38573 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38574 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38575 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38576 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38577 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38578 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38579 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38580 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38581 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38582 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38583 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38584 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38585 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38586 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38587 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38588 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38589 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38590 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38591 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38592 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38593 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38594 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38595 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38596 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38597 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38598 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38599 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38600 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38601 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38602 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38603 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38604 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38605 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38606 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38607 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38608 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38609 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38610 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38611 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38612 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38613 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38614 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38615 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38616 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38617 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38618 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38619 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38620 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38621 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38622 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38623 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38624 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38625 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38626 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38627 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38628 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38629 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38630 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38631 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38632 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38633 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38634 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38635 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38636 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38637 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38638 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38639 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38640 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38641 * sysdeps/ieee754/s_lib_version.c: Likewise.
38642 * sysdeps/ieee754/s_matherr.c: Likewise.
38643 * sysdeps/ieee754/s_signgam.c: Likewise.
38644 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38645 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38646 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38647 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38648 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38649 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38650 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38651 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38652 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38653 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38654 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38655 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38656 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38657 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38658 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38659 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38660 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38661 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38662 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38663 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38664 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 38665
1991fa03
JM
386662012-03-09 Joseph Myers <joseph@codesourcery.com>
38667
38668 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38669 * sunrpc/rpc_main.c: Likewise.
38670 * sunrpc/rpc_svcout.c: Likewise.
38671
60d6f5a6
DM
386722012-03-09 David S. Miller <davem@davemloft.net>
38673
38674 * include/math_private.h: New file.
38675
4962050e
JM
386762012-03-09 Joseph Myers <joseph@codesourcery.com>
38677
02a6f887
JM
38678 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38679 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38680 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38681 from <bits/socket_type.h>.
38682 (enum __socket_type): Don't define here.
38683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38685 bits/socket_type.h.
38686
c6e013c1
JM
38687 [BZ #13566]
38688 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38689 checking __USE_GNU.
38690
4962050e
JM
38691 * Makerules ($(inst_includedir)/%.h): New rule.
38692 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38693 (install-others): Remove variable setting.
38694 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38695
38842f45
RH
386962012-03-08 Richard Henderson <rth@twiddle.net>
38697
67bb6da6
RH
38698 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38699 from macro to inline function; merge with the
38700 !__LIBC_INTERNAL_MATH_INLINES version.
38701 (__ieee754_sqrtf): Likewise.
38702
15194b4b
RH
38703 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38704 to inline function.
38705 (__rintf, __floor, __floorf): Likewise.
38706
64e21ede
RH
38707 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38708 macro to inline function.
38709 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38710
38842f45
RH
38711 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38712 not <math/math_private.h>.
38713
c64bf5fe
DM
387142012-03-08 David S. Miller <davem@davemloft.net>
38715
38716 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38717 copyright year.
38718 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38719
82d86f28
TS
387202012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38721
38722 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38723 normalization.
38724 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38725 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38726
aea5d727
UD
387272012-03-08 Ulrich Drepper <drepper@gmail.com>
38728
38729 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38730 be defined individually, they must be defined as a block. Define
38731 S for printing a string instead of hidint the different by using a
38732 macro for adding the 'l'.
38733 * stdio-common/tst-fphex-wide.c: Adjust.
38734
70bca0a3
MP
387352012-03-07 Marek Polacek <polacek@redhat.com>
38736
38737 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38738
65b81130
MP
387392012-03-08 Marek Polacek <polacek@redhat.com>
38740
38741 [BZ #13806]
38742 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38743 * stdio-common/tst-fphex.c: Define a few macros to make the
38744 test reusable. Use them.
38745 * stdio-common/tst-fphex-wide.c: New file.
38746
07037eeb
JM
387472012-03-08 Joseph Myers <joseph@codesourcery.com>
38748
a7a93d50
JM
38749 [BZ #6911]
38750 * manual/macros.texi (gnusystems): New macro.
38751 (nongnusystems): Likewise.
38752 (gnulinuxhurdsystems): Likewise.
38753 (gnuhurdsystems): Likewise..
38754 (gnulinuxsystems): Likewise.
38755 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38756 variants of the GNU system, not "GNU system".
38757 * manual/conf.texi: Likewise.
38758 * manual/errno.texi: Likewise. Update example of errno macro
38759 expansion.
38760 * manual/filesys.texi: Likewise.
38761 (getumask): Document as specific to GNU/Hurd.
38762 * manual/install.texi: Likewise. Reword some references to
38763 GNU/Linux.
38764 * manual/intro.texi: Likewise.
38765 * manual/io.texi: Likewise.
38766 (File Name Portability): Detail which constraints are inapplicable
38767 to all GNU systems and which are only inapplicable to GNU/Hurd.
38768 * manual/job.texi: Likewise.
38769 * manual/llio.texi: Likewise.
38770 (O_NOCTTY): Document as present on GNU/Linux.
38771 * manual/maint.texi: Likewise.
38772 * manual/memory.texi: Likewise.
38773 * manual/pattern.texi: Likewise.
38774 * manual/pipe.texi: Likewise.
38775 * manual/process.texi: Likewise.
38776 * manual/resource.texi: Likewise.
38777 (RUSAGE_CHILDREN): Remove statement about specifying a particular
38778 child on GNU/Hurd.
38779 * manual/setjmp.texi: Likewise.
38780 * manual/signal.texi: Likewise.
38781 * manual/startup.texi: Likewise.
38782 * manual/stdio.texi: Likewise.
38783 * manual/terminal.texi: Likewise.
38784 (ONLCR): Document as POSIX.
38785 (OXTABS): Document availability on GNU/Linux as XTABS.
38786 (ONOEOT): Document availability separately from other bits.
38787 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38788 * manual/time.texi: Likewise.
38789 * manual/users.texi: Likewise.
38790 * INSTALL: Regenerated.
38791 * sysdeps/gnu/errlist.c: Regenerated.
38792
07037eeb
JM
38793 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38794 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38795 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38796 puts.
38797 * configure: Regenerated.
38798
d1d3431a
JM
387992012-03-07 Joseph Myers <joseph@codesourcery.com>
38800
af6a1e37
JM
38801 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38802 default includes instead of AC_HEADER_CHECK.
38803 * sysdeps/i386/configure: Regenerated.
38804
d1d3431a
JM
38805 [BZ #10716]
38806 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38807 * math/s_cacoshf.c (__cacoshf): Likewise.
38808 * math/s_cacoshl.c (__cacoshl): Likewise.
38809 * math/s_casinh.c (__casinh): Set signs of result from argument.
38810 * math/s_casinhf.c (__casinhf): Likewise.
38811 * math/s_casinhl.c (__casinhl): Likewise.
38812 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38813 (casinh_test): Add more tests.
38814 * sysdeps/i386/fpu/libm-test-ulps: Update.
38815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38816
482ff4da
UD
388172012-03-07 Ulrich Drepper <drepper@gmail.com>
38818
872fda05
UD
38819 * po/zh_TW.po: Update from translation team.
38820
a4300c7a
UD
38821 * login/Makefile (distribute): Remove variable.
38822 * catgets/Makefile: Likewise.
38823 * mach/Makefile: Likewise.
38824 * malloc/Makefile: Likewise.
38825 * misc/Makefile: Likewise.
38826 * iconv/Makefile: Likewise.
38827 * nscd/Makefile: Likewise.
38828 * hurd/Makefile: Likewise.
38829 * manual/Makefile: Likewise.
38830 * locale/Makefile: Likewise.
38831 * intl/Makefile: Likewise.
38832 * conform/Makefile: Likewise.
38833 * nss/Makefile: Likewise.
38834 * time/Makefile: Likewise.
38835 * soft-fp/Makefile: Likewise.
38836 * dirent/Makefile: Likewise.
38837 * gmon/Makefile: Likewise.
38838 * po/Makefile: Likewise.
38839 * rt/Makefile: Likewise.
38840 * socket/Makefile: Likewise.
38841 * math/Makefile: Likewise.
38842 * signal/Makefile: Likewise.
38843 * debug/Makefile: Likewise.
38844 * elf/Makefile: Likewise.
38845 * timezone/Makefile: Likewise.
38846 * stdlib/Makefile: Likewise.
38847 * iconvdata/Makefile: Likewise.
38848 * sunrpc/Makefile: Likewise.
38849 * io/Makefile: Likewise.
38850 * argp/Makefile: Likewise.
38851 * inet/Makefile: Likewise.
38852 * hesiod/Makefile: Likewise.
38853 * grp/Makefile: Likewise.
38854 * csu/Makefile: Likewise.
38855 * wctype/Makefile: Likewise.
38856 * crypt/Makefile: Likewise.
38857 * libio/Makefile: Likewise.
38858 * string/Makefile: Likewise.
38859 * nis/Makefile: Likewise.
38860 * resolv/Makefile: Likewise.
38861 * stdio-common/Makefile: Likewise.
38862 * wcsmbs/Makefile: Likewise.
38863 * dlfcn/Makefile: Likewise.
38864 * posix/Makefile: Likewise.
38865
3b7c4e74 38866 [BZ #6959]
482ff4da
UD
38867 * timezone/Makefile: Don't install timezone files, just the programs
38868 and scripts.
38869
f72ed77d
UD
388702012-03-06 Ulrich Drepper <drepper@gmail.com>
38871
a000466f
UD
38872 * nss/databases.def: Add missing gshadow entry.
38873
f72ed77d
UD
38874 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38875
a53b7a4e
MP
388762012-03-06 Marek Polacek <polacek@redhat.com>
38877
38878 [BZ #13726]
38879 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38880 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38881 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38882 * stdio-common/tst-long-dbl-fphex.c: New file.
38883
e9258400
DM
388842012-03-06 David S. Miller <davem@davemloft.net>
38885
38886 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38887 (set_obp_int): New function.
38888 (get_obp_int): New function.
38889 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
38890 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38891 Avoid unused variable warnings on 'val' and use builtin_expect.
38892 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38893 __builtin_expect.
e9258400
DM
38894 (INLINE_CLONE_SYSCALL): Likewise.
38895
3bd2c723
DM
388962012-03-05 David S. Miller <davem@davemloft.net>
38897
38898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38899
bbb78d03
AS
389002012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38901
884c5db4
AS
38902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38903
bbb78d03
AS
38904 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38905 only for |x| >= 40.
38906 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38907
1c9f702a 389082012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
38909
38910 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38911 Replace gettimeofday with __vdso_gettimeofday.
38912
7be16f82
RM
38913 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38914 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38915 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
38916
38917 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38918 time with __vdso_time.
38919
ed58a00f
JM
389202012-03-05 Joseph Myers <joseph@codesourcery.com>
38921
38922 * manual/lang.texi (size_t): Note types to which size_t may be
38923 equivalent with the GNU C Library, but do not describe when
38924 differences between them are significant.
38925
30ee4ced
AJ
389262012-03-05 Andreas Jaeger <aj@suse.de>
38927
38928 * sysdeps/i386/fpu/libm-test-ulps: Update.
38929
b7cd39e8
JM
389302012-03-05 Joseph Myers <joseph@codesourcery.com>
38931
38932 [BZ #3976]
38933 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38934 (__ieee754_pow): Save and restore rounding mode and use
38935 round-to-nearest for main computations.
38936 * math/libm-test.inc (pow_test_tonearest): New function.
38937 (pow_test_towardzero): Likewise.
38938 (pow_test_downward): Likewise.
38939 (pow_test_upward): Likewise.
38940 (main): Call the new functions.
38941 * sysdeps/i386/fpu/libm-test-ulps: Update.
38942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
38943
38944 [BZ #3976]
38945 * math/libm-test.inc (cosh_test_tonearest): New function.
38946 (cosh_test_towardzero): Likewise.
38947 (cosh_test_downward): Likewise.
38948 (cosh_test_upward): Likewise.
38949 (sinh_test_tonearest): Likewise.
38950 (sinh_test_towardzero): Likewise.
38951 (sinh_test_downward): Likewise.
38952 (sinh_test_upward): Likewise.
38953 (main): Call the new functions.
38954 * sysdeps/i386/fpu/libm-test-ulps: Update.
38955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38956
6c6a98c9
TV
389572012-03-05 Tom de Vries <tom@codesourcery.com>
38958
38959 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38960 default stack guard is set in last bytes.
38961 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38962
21bb2d2e 389632012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 38964
21bb2d2e 38965 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 38966
21bb2d2e
AJ
38967 [BZ #13656]
38968 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38969 possibly allocate from heap instead of stack.
38970 * stdio-common/bug-vfprintf-nargs.c: New file.
38971 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 38972
c6922934
AS
389732012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38974
38975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38976
bc957d53
MP
389772012-03-03 Marek Polacek <polacek@redhat.com>
38978
38979 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38980 * math/math_private.h: Likewise.
38981 * stdlib/tst-strtod.c: Likewise.
38982 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38983 * sysdeps/x86_64/bits/atomic.h: Likewise.
38984
6358490d
DM
389852012-03-02 David S. Miller <davem@davemloft.net>
38986
38987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38991 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38992 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38993 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38994 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38995
01ae168d
RM
389962012-03-02 Roland McGrath <roland@hack.frob.com>
38997
d9a17c07
RM
38998 [BZ #13792]
38999 * manual/examples/README: New file, says the example source files
39000 can be used under GPL>=2.
39001 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39002 line containing just "*/".
39003 * manual/examples/add.c: Add copyright header (GPL>=2).
39004 * manual/examples/argp-ex1.c: Likewise.
39005 * manual/examples/argp-ex2.c: Likewise.
39006 * manual/examples/argp-ex3.c: Likewise.
39007 * manual/examples/argp-ex4.c: Likewise.
39008 * manual/examples/atexit.c: Likewise.
39009 * manual/examples/db.c: Likewise.
39010 * manual/examples/dir.c: Likewise.
39011 * manual/examples/dir2.c: Likewise.
39012 * manual/examples/execinfo.c: Likewise.
39013 * manual/examples/filecli.c: Likewise.
39014 * manual/examples/filesrv.c: Likewise.
39015 * manual/examples/fmtmsgexpl.c: Likewise.
39016 * manual/examples/genpass.c: Likewise.
39017 * manual/examples/inetcli.c: Likewise.
39018 * manual/examples/inetsrv.c: Likewise.
39019 * manual/examples/isockad.c: Likewise.
39020 * manual/examples/longopt.c: Likewise.
39021 * manual/examples/memopen.c: Likewise.
39022 * manual/examples/memstrm.c: Likewise.
39023 * manual/examples/mkfsock.c: Likewise.
39024 * manual/examples/mkisock.c: Likewise.
39025 * manual/examples/mygetpass.c: Likewise.
39026 * manual/examples/pipe.c: Likewise.
39027 * manual/examples/popen.c: Likewise.
39028 * manual/examples/rprintf.c: Likewise.
39029 * manual/examples/search.c: Likewise.
39030 * manual/examples/select.c: Likewise.
39031 * manual/examples/setjmp.c: Likewise.
39032 * manual/examples/sigh1.c: Likewise.
39033 * manual/examples/sigusr.c: Likewise.
39034 * manual/examples/stpcpy.c: Likewise.
39035 * manual/examples/strdupa.c: Likewise.
39036 * manual/examples/strftim.c: Likewise.
39037 * manual/examples/strncat.c: Likewise.
39038 * manual/examples/subopt.c: Likewise.
39039 * manual/examples/swapcontext.c: Likewise.
39040 * manual/examples/termios.c: Likewise.
39041 * manual/examples/testopt.c: Likewise.
39042 * manual/examples/testpass.c: Likewise.
39043 * manual/examples/timeval_subtract.c: Likewise.
39044
01ae168d
RM
39045 [BZ #13792]
39046 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39047 function to ...
39048 * manual/timeval_subtract.c.texi: ... here, new file.
39049
49efa33d
DM
390502012-03-02 David S. Miller <davem@davemloft.net>
39051
39052 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39053
28afd92d
JM
390542012-03-02 Joseph Myers <joseph@codesourcery.com>
39055
804360ed
JM
39056 [BZ #3976]
39057 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39058 (__sin): Save and restore rounding mode and use round-to-nearest
39059 for all computations.
39060 (__cos): Save and restore rounding mode and use round-to-nearest
39061 for all computations.
39062 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39063 <fenv.h>.
39064 (tan): Save and restore rounding mode and use round-to-nearest for
39065 all computations.
39066 * math/libm-test.inc (cos_test_tonearest): New function.
39067 (cos_test_towardzero): Likewise.
39068 (cos_test_downward): Likewise.
39069 (cos_test_upward): Likewise.
39070 (sin_test_tonearest): Likewise.
39071 (sin_test_towardzero): Likewise.
39072 (sin_test_downward): Likewise.
39073 (sin_test_upward): Likewise.
39074 (tan_test_tonearest): Likewise.
39075 (tan_test_towardzero): Likewise.
39076 (tan_test_downward): Likewise.
39077 (tan_test_upward): Likewise.
39078 (main): Call the new functions.
39079 * sysdeps/i386/fpu/libm-test-ulps: Update.
39080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39081
a6d06d7b
JM
39082 [BZ #10135]
39083 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39084 small n, then large n, before computing and testing k+n.
39085 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39086 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39087 Likewise.
39088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39089 Likewise.
39090 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39091 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39092 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39093 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39094 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39095 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39096 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39097 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39098 * math/libm-test.inc (scalbn_test): Add more tests.
39099 (scalbln_test): Likewise.
39100
07e12bb3
JM
39101 * manual/filesys.texi (mode_t): Describe constraints on size and
39102 signedness, not exact equivalence to a particular type.
39103 (ino_t): Likewise.
39104 (ino64_t): Likewise.
39105 (dev_t): Likewise.
39106 (nlink_t): Likewise.
39107 (blkcnt_t): Likewise.
39108 (blkcnt64_t): Likewise.
39109 * manual/llio.texi (off_t): Likewise.
39110
28afd92d
JM
39111 [BZ #3976]
39112 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39113 (__ieee754_exp): Save and restore rounding mode and use
39114 round-to-nearest for all computations.
39115 * math/libm-test.inc (exp_test_tonearest): New function.
39116 (exp_test_towardzero): Likewise.
39117 (exp_test_downward): Likewise.
39118 (exp_test_upward): Likewise.
39119 (main): Call the new functions.
39120 * sysdeps/i386/fpu/libm-test-ulps: Update.
39121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39122
b1eeb65d
CD
391232012-03-01 Chris Demetriou <cgd@google.com>
39124
39125 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39126 have predictable order.
39127
53362a4b
DM
391282012-03-01 David S. Miller <davem@davemloft.net>
39129
3c969083
DM
39130 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39131
759707de
DM
39132 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39133 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39134 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39135 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39136
dfdb8ff2
DM
39137 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39138 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39139 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39141 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39142 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39143 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39144 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39145 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39146
ead89f96
DM
39147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39148
7f66bd07
DM
39149 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39150 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39151 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39152
53362a4b
DM
39153 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39154 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39155 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39156 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39157 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39158 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39159 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39160 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39161 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39162 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39163 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39166 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39167 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39169 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39170 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39171 * sysdeps/sparc/elf/configure: Regenerated.
39172
7b1902cb
JM
391732012-03-01 Joseph Myers <joseph@codesourcery.com>
39174
bec039bc
JM
39175 * configure.in (AS, LD): Require binutils 2.20 or later.
39176 * configure: Regenerated.
39177 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39178 as required minimum version.
39179 * INSTALL: Regenerated.
39180
7b1902cb
JM
39181 [BZ #2541]
39182 [BZ #4108]
39183 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39184 before squaring exponent.
39185 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39186 bottom long double and 27 bits of top long double before squaring
39187 exponent.
39188 * math/libm-test.inc (erfc_test): Add more tests.
39189 * sysdeps/i386/fpu/libm-test-ulps: Update.
39190 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39192
f775c276
KT
391932012-03-01 Kai Tietz <ktietz@redhat.com>
39194
39195 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39196 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39197 containing bit-fields.
39198 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39199 * soft-fp/single.h (_FP_UNION_S): Likewise.
39200 * soft-fp/double.h (_FP_UNION_D): Likewise.
39201
5b8a4d4a
JM
392022012-02-29 Joseph Myers <joseph@codesourcery.com>
39203
0bab47b6
JM
39204 [BZ #13786]
39205 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39206 not include ../strcmp.S.
39207 [USE_AS_STRNCASECMP_L]: Likewise.
39208 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39209 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39210 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39211 (__strncasecmp_l_ia32): Define as alias to
39212 __strncasecmp_l_nonascii.
39213
0fcad3e2
JM
39214 [BZ #5794]
39215 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39216 * sysdeps/i386/fpu/libm-test-ulps: Update.
39217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39218
5b8a4d4a
JM
39219 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39221
8fdceb2e
JL
392222012-02-29 Jeff Law <law@redhat.com>
39223
39224 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39225 out of bounds read.
39226
1f393a11
MP
392272012-02-29 Marek Polacek <polacek@redhat.com>
39228
39229 [BZ #13706]
39230 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39231 * elf/Makefile: Add rules to run tst-unused-dep.out.
39232
8847f037
DM
392332012-02-28 David S. Miller <davem@davemloft.net>
39234
39235 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39236 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39237 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39238 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39239 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39240 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39241
169d7f11
JM
392422012-02-29 Joseph Myers <joseph@codesourcery.com>
39243
39244 * math/libm-test.inc (llround_test): Move one test from
39245 lround_test. Use TEST_f_L in moved test.
39246 (lround_test): Move misplaced test to llround_test. Add testcase
39247 from bug 2561.
39248
39adf059
UD
392492012-02-28 Ulrich Drepper <drepper@gmail.com>
39250
39251 * sysdeps/x86_64/fpu/e_expf.S: New file.
39252 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39253
71b5d1c5
SB
392542012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39255
39256 [BZ #13637]
39257 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39258 of remain_len that may cause incomplete multi-byte character and
39259 false match.
39260 * posix/bug-regex33.c: New file.
39261 * posix/Makefile (tests): Add bug-regex33.
39262
1f77f049
JM
392632012-02-28 Joseph Myers <joseph@codesourcery.com>
39264
39265 * manual/macros.texi: New file.
39266 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39267 * manual/libc.texinfo: Include macros.texi.
39268 * manual/creatute.texi: Likewise.
39269 * manual/install.texi: Likewise.
39270 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39271 @glibcadj{} in references to the GNU C Library.
39272 * manual/charset.texi: Likewise.
39273 * manual/conf.texi: Likewise.
39274 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39275 when not using those macros.
39276 * manual/creature.texi: Likewise.
39277 * manual/crypt.texi: Likewise.
39278 * manual/errno.texi: Likewise.
39279 * manual/filesys.texi: Likewise.
39280 * manual/header.texi: Likewise.
39281 * manual/install.texi: Likewise.
39282 * manual/intro.texi: Likewise.
39283 * manual/io.texi: Likewise.
39284 * manual/job.texi: Likewise.
39285 * manual/lang.texi: Likewise.
39286 * manual/libc.texiinfo: Likewise.
39287 * manual/llio.texi: Likewise.
39288 * manual/locale.texi: Likewise.
39289 * manual/maint.texi: Likewise.
39290 * manual/math.texi: Likewise.
39291 * manual/memory.texi: Likewise.
39292 * manual/message.texi: Likewise.
39293 * manual/nss.texi: Likewise.
39294 * manual/pattern.texi: Likewise.
39295 * manual/process.texi: Likewise.
39296 * manual/resource.texi: Likewise.
39297 * manual/search.texi: Likewise.
39298 * manual/setjmp.texi: Likewise.
39299 * manual/signal.texi: Likewise.
39300 * manual/socket.texi: Likewise.
39301 * manual/startup.texi: Likewise.
39302 * manual/stdio.texi: Likewise.
39303 * manual/string.texi: Likewise.
39304 * manual/sysinfo.texi: Likewise.
39305 * manual/syslog.texi: Likewise.
39306 * manual/terminal.texi: Likewise.
39307 * manual/time.texi: Likewise.
39308 * manual/users.texi: Likewise.
39309 * INSTALL: Regenerated.
39310 * NOTES: Regenerated.
d40c5d54 39311 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 39312
450bf206
AS
393132012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39314
39315 * include/dirent.h: Include <dirstream.h> before
39316 <dirent/dirent.h>.
39317
741a235b
DM
393182012-02-28 David S. Miller <davem@davemloft.net>
39319
39320 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39321 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39322 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39323 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39324
d6b5aa58
DM
393252012-02-27 David S. Miller <davem@davemloft.net>
39326
1aff59a3
DM
39327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39329 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39330 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39331
d6b5aa58
DM
39332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39333 frame pointer instead of stack pointer relative arg slot.
39334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39335 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39336 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39337
433f48bf
CD
393382012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39339
39340 [BZ #3992]
39341 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39342
d674b76d
DM
393432012-02-27 David S. Miller <davem@davemloft.net>
39344
39345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39349 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39350 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39351 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39352 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39353
0e7727f7
JM
393542012-02-27 Joseph Myers <joseph@codesourcery.com>
39355
39356 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39357 later. Allow versions 5-9.
43be4ca2 39358 * configure: Regenerated.
0e7727f7
JM
39359 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39360 required minimum version and 4.6 as recommended version. Do not
39361 mention bugs in GCC 2.7 and 2.8.
43be4ca2 39362 * INSTALL: Regenerated.
0e7727f7 39363
a78bc654
DM
393642012-02-27 David S. Miller <davem@davemloft.net>
39365
428d5830
DM
39366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39370 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39371 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39372 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39373 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39374
a78bc654
DM
39375 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39376 manipulate bits before adding and subtracting TWO112[sx].
39377 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39378
4579f81c
RM
393792012-02-27 Roland McGrath <roland@hack.frob.com>
39380
36c8acb4
RM
39381 [BZ #13775]
39382 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39383 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39384 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39385 being in POSIX, because they are in 1003.1-2008.
39386
84ad622b
RM
39387 * rt/tst-aio.c: Include <fcntl.h>.
39388 * rt/tst-aio7.c: Likewise.
39389 * rt/tst-aio64.c: Likewise.
39390
4579f81c
RM
39391 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39392
abd923db
JM
393932012-02-27 Joseph Myers <joseph@codesourcery.com>
39394
39395 * manual/install.texi (--with-headers): Describe headers as
39396 interface headers, not private headers.
39397 (Specific advice for GNU/Linux systems): Describe use of headers
39398 from "make headers_install", not private headers from older
39399 kernels.
43be4ca2 39400 * INSTALL: Regenerated.
abd923db
JM
39401 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39402 Change to 2.6.19.
39403 * sysdeps/unix/sysv/linux/configure: Regenerated.
39404
6664049b
JM
39405 * manual/llio.texi (fclean): Remove documentation.
39406
bb8b6697
JM
39407 * manual/Makefile (libc-texi-generated): New variable. Include
39408 version.texi.
39409 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39410 $(libc-texi-generated), not duplicated list of files.
39411 (version.texi, stamp-version): New rules.
39412 (realclean): Remove $(libc-texi-generated), not individual files
39413 from that list. Do not remove dir-add.texinfo.
39414 * manual/libc.texinfo: Comment out uses of edition numbers and
39415 references to printed manual. Remove last-updated dates.
39416 (EDITION): Comment out.
39417 (ISBN): Likewise.
39418 (VERSION, UPDATED): Remove.
39419 (version.texi): Include.
39420
12e5c3b9
AS
394212012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39422
39423 * sysdeps/posix/spawni.c: Include <signal.h>.
39424 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39425 * sysdeps/pthread/aio_fsync.c: Likewise.
39426
4efeffc1 394272012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 39428
ba63ba08
UD
39429 * conform/Makefile (tests): Run only when not cross-compiling and
39430 when fast-check is not defined.
39431
d94a4670
UD
39432 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39433 * conform/data/limits.h-data: Fixes for POSIX2008.
39434 * conform/run-conformtest.sh: Run all tests.
39435 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39436 headers.
39437 * include/bits/dlfcn.h: Likewise.
39438 * include/langinfo.h: Likewise.
39439 * include/monetary.h: Likewise.
39440 * include/sys/poll.h: Likewise.
39441
39442 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39443 for __USE_GNU.
39444 * posix/spawn.h: Define __need_sigset_t.
39445 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39446 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39447 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39448 to get sigevent_t only.
39449 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39450 only for __USE_GNU.
39451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39452 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39453 process_vm_writev only for __USE_GNU.
39454 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
39455
39456 * conform/Makefile: For now ignore errors from run-conformtest.
39457 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39458 POSIX to avoid namespace pollution. Don't prepend headers.
39459 * conform/data/aio.h-data: Fixes for POSIX testing.
39460 * conform/data/fcntl.h-data: Likewise.
39461 * conform/data/glob.h-data: Likewise.
39462 * conform/data/grp.h-data: Likewise.
39463 * conform/data/pthread.h-data: Likewise.
39464 * conform/data/pwd.h-data: Likewise.
39465 * conform/data/signal.h-data: Likewise.
39466 * conform/data/spawn.h-data: Likewise.
39467 * conform/data/stdio.h-data: Likewise.
39468 * conform/data/stdlib.h-data: Likewise.
39469 * conform/data/stropts.h-data: Likewise.
39470 * conform/data/sys/mman.h-data: Likewise.
39471 * conform/data/sys/stat.h-data: Likewise.
39472 * conform/data/sys/types.h-data: Likewise.
39473 * conform/data/sys/wait.h-data: Likewise.
39474 * conform/data/time.h-data: Likewise.
39475 * conform/data/unistd.h-data: Likewise.
39476 * conform/data/utime.h-data: Likewise.
39477
39478 * io/sys/stat.h: fchmod was always in POSIX.
39479 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39480 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39481 * rt/aio.h: Define __need_timespec before including <time.h>.
39482 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39483 struct. Add forward declaration of pthread_attr_t and use it in
39484 sigevent.
39485 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39486 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39487 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39488 always remove CLK_TCK definition.
39489
c20105c3
AS
394902012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39491
39492 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39493
7a270350
UD
394942012-02-25 Ulrich Drepper <drepper@gmail.com>
39495
31341567
UD
39496 * conform/run-conformtest.sh: New file.
39497 * conform/Makefile: Run run-conformtest for tests.
39498 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39499 support.
39500
39501 * conform/data/uchar.h-data: New file.
39502 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39503 * conform/data/arpa/inet.h-data: Likewise.
39504 * conform/data/assert.h-data: Likewise.
39505 * conform/data/complex.h-data: Likewise.
39506 * conform/data/cpio.h-data: Likewise.
39507 * conform/data/ctype.h-data: Likewise.
39508 * conform/data/dirent.h-data: Likewise.
39509 * conform/data/dlfcn.h-data: Likewise.
39510 * conform/data/errno.h-data: Likewise.
39511 * conform/data/fcntl.h-data: Likewise.
39512 * conform/data/float.h-data: Likewise.
39513 * conform/data/fmtmsg.h-data: Likewise.
39514 * conform/data/fnmatch.h-data: Likewise.
39515 * conform/data/ftw.h-data: Likewise.
39516 * conform/data/glob.h-data: Likewise.
39517 * conform/data/grp.h-data: Likewise.
39518 * conform/data/iconv.h-data: Likewise.
39519 * conform/data/inttypes.h-data: Likewise.
39520 * conform/data/langinfo.h-data: Likewise.
39521 * conform/data/libgen.h-data: Likewise.
39522 * conform/data/limits.h-data: Likewise.
39523 * conform/data/locale.h-data: Likewise.
39524 * conform/data/math.h-data: Likewise.
39525 * conform/data/monetary.h-data: Likewise.
39526 * conform/data/mqueue.h-data: Likewise.
39527 * conform/data/ndbm.h-data: Likewise.
39528 * conform/data/net/if.h-data: Likewise.
39529 * conform/data/netdb.h-data: Likewise.
39530 * conform/data/netinet/in.h-data: Likewise.
39531 * conform/data/nl_types.h-data: Likewise.
39532 * conform/data/poll.h-data: Likewise.
39533 * conform/data/pthread.h-data: Likewise.
39534 * conform/data/pwd.h-data: Likewise.
39535 * conform/data/regex.h-data: Likewise.
39536 * conform/data/sched.h-data: Likewise.
39537 * conform/data/search.h-data: Likewise.
39538 * conform/data/semaphore.h-data: Likewise.
39539 * conform/data/setjmp.h-data: Likewise.
39540 * conform/data/signal.h-data: Likewise.
39541 * conform/data/spawn.h-data: Likewise.
39542 * conform/data/stdarg.h-data: Likewise.
39543 * conform/data/stdio.h-data: Likewise.
39544 * conform/data/stdlib.h-data: Likewise.
39545 * conform/data/string.h-data: Likewise.
39546 * conform/data/strings.h-data: Likewise.
39547 * conform/data/stropts.h-data: Likewise.
39548 * conform/data/sys/ipc.h-data: Likewise.
39549 * conform/data/sys/mman.h-data: Likewise.
39550 * conform/data/sys/msg.h-data: Likewise.
39551 * conform/data/sys/resource.h-data: Likewise.
39552 * conform/data/sys/select.h-data: Likewise.
39553 * conform/data/sys/sem.h-data: Likewise.
39554 * conform/data/sys/shm.h-data: Likewise.
39555 * conform/data/sys/socket.h-data: Likewise.
39556 * conform/data/sys/stat.h-data: Likewise.
39557 * conform/data/sys/statvfs.h-data: Likewise.
39558 * conform/data/sys/time.h-data: Likewise.
39559 * conform/data/sys/timeb.h-data: Likewise.
39560 * conform/data/sys/times.h-data: Likewise.
39561 * conform/data/sys/types.h-data: Likewise.
39562 * conform/data/sys/uio.h-data: Likewise.
39563 * conform/data/sys/un.h-data: Likewise.
39564 * conform/data/sys/utsname.h-data: Likewise.
39565 * conform/data/sys/wait.h-data: Likewise.
39566 * conform/data/syslog.h-data: Likewise.
39567 * conform/data/tar.h-data: Likewise.
39568 * conform/data/termios.h-data: Likewise.
39569 * conform/data/utime.h-data: Likewise.
39570 * conform/data/utmpx.h-data: Likewise.
39571 * conform/data/varargs.h-data: Likewise.
39572 * conform/data/wchar.h-data: Likewise.
39573 * conform/data/wctype.h-data: Likewise.
39574 * conform/data/wordexp.h-data: Likewise.
39575
39576 * include/stropts.h: New file.
39577 * include/uchar.h: New file.
39578 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39579 * include/assert.h: Likewise.
39580 * include/ctype.h: Likewise.
39581 * include/dirent.h: Likewise.
39582 * include/dlfcn.h: Likewise.
39583 * include/fcntl.h: Likewise.
39584 * include/fnmatch.h: Likewise.
39585 * include/glob.h: Likewise.
39586 * include/grp.h: Likewise.
39587 * include/libio.h: Likewise.
39588 * include/locale.h: Likewise.
39589 * include/math.h: Likewise.
39590 * include/net/if.h: Likewise.
39591 * include/netdb.h: Likewise.
39592 * include/netinet/in.h: Likewise.
39593 * include/pthread.h: Likewise.
39594 * include/pwd.h: Likewise.
39595 * include/regex.h: Likewise.
39596 * include/sched.h: Likewise.
39597 * include/search.h: Likewise.
39598 * include/setjmp.h: Likewise.
39599 * include/signal.h: Likewise.
39600 * include/stdio.h: Likewise.
39601 * include/stdlib.h: Likewise.
39602 * include/string.h: Likewise.
39603 * include/sys/cdefs.h: Likewise.
39604 * include/sys/mman.h: Likewise.
39605 * include/sys/msg.h: Likewise.
39606 * include/sys/resource.h: Likewise.
39607 * include/sys/select.h: Likewise.
39608 * include/sys/socket.h: Likewise.
39609 * include/sys/stat.h: Likewise.
39610 * include/sys/statvfs.h: Likewise.
39611 * include/sys/time.h: Likewise.
39612 * include/sys/times.h: Likewise.
39613 * include/sys/uio.h: Likewise.
39614 * include/sys/utsname.h: Likewise.
39615 * include/sys/wait.h: Likewise.
39616 * include/termios.h: Likewise.
39617 * include/time.h: Likewise.
39618 * include/ulimit.h: Likewise.
39619 * include/unistd.h: Likewise.
39620 * include/utime.h: Likewise.
39621 * include/wchar.h: Likewise.
39622 * include/wctype.h: Likewise.
39623 * include/wordexp.h: Likewise.
39624
39625 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39626
7a270350
UD
39627 * time/time.h: TIME_UTC must be a macro.
39628 Make timespec_get available for ISO C11 only as well.
39629
7724defc
UD
396302012-02-24 Ulrich Drepper <drepper@gmail.com>
39631
39632 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39633 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39634
6b1d1d46
JM
396352012-02-24 Joseph Myers <joseph@codesourcery.com>
39636
39637 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 39638
0f8bbd69
JM
396392012-02-24 Joseph Myers <joseph@codesourcery.com>
39640
39641 * manual/texinfo.tex: Update to version 2012-01-19.16.
39642
66ab80bc
JM
396432012-02-24 Joseph Myers <joseph@codesourcery.com>
39644
39645 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39646
74981cc5
RM
396472012-02-24 Roland McGrath <roland@hack.frob.com>
39648
ee968201
RM
39649 [BZ #13738]
39650 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39651 * manual/fdl-1.3.texi: New file.
39652 * manual/fdl-1.1.texi: File removed.
39653
74981cc5
RM
39654 [BZ #13738]
39655 * manual/libc.texinfo (FDL_VERSION): New @set.
39656 Use it for mention of FDL in cover text.
39657 (Documentation License): Use it in @include file name.
39658
7bb764bc
JM
396592012-02-22 Joseph Myers <joseph@codesourcery.com>
39660 Roland McGrath <roland@hack.frob.com>
39661
39662 [BZ #5461]
57f41c40
AS
39663 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39664 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
39665 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39666 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39667 name.
39668 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39669
6cbeae47
JM
396702012-02-22 Joseph Myers <joseph@codesourcery.com>
39671
39672 [BZ #2547]
39673 [BZ #11365]
39674 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39675 manipulate bits before adding and subtracting TWO23[sx].
39676 * math/libm-test.inc (nearbyint_test): Add more tests.
39677
fe45ce09
JM
396782012-02-22 Joseph Myers <joseph@codesourcery.com>
39679
39680 [BZ #2548]
39681 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39682 bits before adding and subtracting TWO23[sx].
39683 * math/libm-test.inc (rint_test): Add more tests.
39684 (rint_test_tonearest): Likewise.
39685 (rint_test_towardzero): Likewise.
39686 (rint_test_downward): Likewise.
39687 (rint_test_upward: Likewise.
39688
ff3b3d82
JM
396892012-02-22 Joseph Myers <joseph@codesourcery.com>
39690
39691 [BZ #10110]
39692 * include/stdc-predef.h: New file. Extracted from features.h.
39693 * include/features.h: Include stdc-predef.h.
39694 * Makefile (headers): Add stdc-predef.h.
39695 * CONFORMANCE (Compiler limitations): Update.
39696
ef0aab35
JM
396972012-02-22 Joseph Myers <joseph@codesourcery.com>
39698
39699 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39700
58639409
DM
397012012-02-21 David S. Miller <davem@davemloft.net>
39702
39703 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39704 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39705
c0e70b25
DM
397062012-02-20 David S. Miller <davem@davemloft.net>
39707
39708 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39709 using a normal save/restore sequence, rather than allocating a
39710 dummy stack frame just to store a frame pointer and restore.
39711 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39712
fb06851d
JM
397132012-02-21 Joseph Myers <joseph@codesourcery.com>
39714
39715 * manual/install.texi: Fix stray word in line-wrapped comment.
39716
7a8b71c3
DM
397172012-02-20 David S. Miller <davem@davemloft.net>
39718
d510c123
DM
39719 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39720 both binutils and gcc support GOTDATA.
39721
0722d7c2
DM
39722 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39723 "rd %pc" in the PIC register setup sequences.
39724
3d2b3019
DM
39725 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39726 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39727 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39728 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39729 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39730 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39731 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39732 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39733 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39734 (SYSCALL_ERROR_HANDLER): Likewise.
39735 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39736 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39738 (SYSCALL_ERROR_HANDLER): Likewise.
39739
c80098a9
DM
39740 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39741 (HAVE_GCC_GOTDATA): New.
39742 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39743 relocation support in both binutils and gcc.
39744 * sysdeps/sparc/elf/configure: Regenerate.
39745
3a2545a0
DM
39746 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39747 * sysdeps/sparc/sparc32/elf/configure: Delete.
39748 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39749 * sysdeps/sparc/sparc64/elf/configure: Delete.
39750 * sysdeps/sparc/elf/configure.in: New file.
39751 * sysdeps/sparc/elf/configure: Generate.
39752
7a8b71c3
DM
39753 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39754 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39755 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39756 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39757 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39758
f1e86fca
JM
397592012-02-21 Joseph Myers <joseph@codesourcery.com>
39760
39761 * manual/install.texi: Do not mention specific glibc version
39762 numbers.
39763 * manual/libc.texinfo (VERSION, UPDATED): Update.
39764 (@copying): Use @copyright{} and range of years.
39765
0e7dfaef
JM
397662012-02-21 Joseph Myers <joseph@codesourcery.com>
39767
39768 [BZ #13695]
39769 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39770 [crti.S not in sysdirs] (generated): Do not append.
39771 [crti.S not in sysdirs] (omit-deps): Likewise.
39772 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39773 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39774 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39775 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39776 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39777 Likewise.
39778 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39779 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39780 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39781 * csu/defs.awk: Remove file.
39782 * sysdeps/generic/initfini.c: Likewise.
39783 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39784 variable.
39785 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39786 Likewise.
39787
599af3ca
JM
397882012-02-20 Joseph Myers <joseph@codesourcery.com>
39789
39790 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39791 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39792 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39793 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39794 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39795 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39796 <bits/epoll.h>.
39797 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39798 (__EPOLL_PACKED): Define to empty if not defined by
39799 <bits/epoll.h>.
39800 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39802 bits/epoll.h.
39803
0e499750
JM
398042012-02-20 Joseph Myers <joseph@codesourcery.com>
39805
39806 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39807 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39808 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39809 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39810 <bits/timerfd.h>.
39811 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39813 bits/timerfd.h.
39814
5ad91f6e
JM
398152012-02-20 Joseph Myers <joseph@codesourcery.com>
39816
39817 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39818 in C locale.
39819 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39820 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39821 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39823
06b99b02
AJ
398242012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39825
39826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39827 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39828
7638c0fd
AS
398292012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39830
39831 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39832 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39833 defined.
39834 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39835 Likewise.
39836 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39837 entry for 2.16.
39838
92221550
AJ
398392012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39840
39841 * math/w_acos.c: Use non-signaling floating-point comparisons.
39842 * math/w_acosf.c: Likewise.
39843 * math/w_acosh.c: Likewise.
39844 * math/w_acoshf.c: Likewise.
39845 * math/w_acoshl.c: Likewise.
39846 * math/w_acosl.c: Likewise.
39847 * math/w_asin.c: Likewise.
39848 * math/w_asinf.c: Likewise.
39849 * math/w_asinl.c: Likewise.
39850 * math/w_atanh.c: Likewise.
39851 * math/w_atanhf.c: Likewise.
39852 * math/w_atanhl.c: Likewise.
39853 * math/w_exp2.c: Likewise.
39854 * math/w_exp2f.c: Likewise.
39855 * math/w_exp2l.c: Likewise.
39856 * math/w_j0.c: Likewise.
39857 * math/w_j0f.c: Likewise.
39858 * math/w_j0l.c: Likewise.
39859 * math/w_j1.c: Likewise.
39860 * math/w_j1f.c: Likewise.
39861 * math/w_j1l.c: Likewise.
39862 * math/w_jn.c: Likewise.
39863 * math/w_jnf.c: Likewise.
39864 * math/w_log.c: Likewise.
39865 * math/w_log10.c: Likewise.
39866 * math/w_log10f.c: Likewise.
39867 * math/w_log10l.c: Likewise.
39868 * math/w_log2.c: Likewise.
39869 * math/w_log2f.c: Likewise.
39870 * math/w_log2l.c: Likewise.
39871 * math/w_logf.c: Likewise.
39872 * math/w_logl.c: Likewise.
39873 * math/w_sqrt.c: Likewise.
39874 * math/w_sqrtf.c: Likewise.
39875 * math/w_sqrtl.c: Likewise.
39876 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39877 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39878 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39879 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39880 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39881
ebaf36eb
JM
398822012-02-19 Joseph Myers <joseph@codesourcery.com>
39883
39884 [BZ #9739]
39885 * manual/string.texi (strnlen): Use correct parameter name in
39886 equivalent expression.
39887
71c254a6
JM
398882012-02-19 Joseph Myers <joseph@codesourcery.com>
39889
39890 [BZ #11174]
39891 * manual/users.texi (seteuid): Consistently use neweuid for
39892 argument name.
39893
16d2c631
JM
398942012-02-19 Joseph Myers <joseph@codesourcery.com>
39895
39896 [BZ #13704]
39897 * manual/nss.texi (Services in the NSS configuration): Correct
39898 list of services in example configuration file.
39899
cd837b09
NB
399002012-02-19 Nick Bowler <nbowler@draconx.ca>
39901
39902 [BZ #11322]
39903 * manual/arith.texi: Remove statements about negative zero
39904 behaving identically to zero.
39905
02c4bbad
JM
399062012-02-18 Joseph Myers <joseph@codesourcery.com>
39907
39908 [BZ #5993]
39909 * manual/install.texi: Do not document upgrading from libc5.
39910
366842e7
JM
399112012-02-18 Joseph Myers <joseph@codesourcery.com>
39912
39913 [BZ #4596]
39914 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39915
dd54084d
DM
399162012-02-18 David S. Miller <davem@davemloft.net>
39917
39918 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39919 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39920 %o7 across the call.
39921 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39922 instead.
39923 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39924 SETUP_PIC_REG_LEAF.
39925 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39926 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39927 * sysdeps/sparc/crtn.S: Likewise.
39928
2bcc53a3
UD
399292012-02-17 Ulrich Drepper <drepper@gmail.com>
39930
39931 * aout/Makefile: Remove.
39932
09c093b5
RK
399332012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39934
39935 [BZ #13058]
39936 * manual/examples/argp-ex1.c (main): Format definition in GNU
39937 style.
39938 * manual/examples/argp-ex2.c (main): Likewise.
39939 * manual/examples/argp-ex3.c (main): Likewise.
39940 * manual/examples/argp-ex4.c (main): Likewise.
39941 * manual/examples/longopt.c (main): Use new-style prototype
39942 definition.
39943 * manual/examples/strncat.c (main): Specify return type and use
39944 (void) for arguments.
39945 * manual/examples/subopt.c (main): Use char **argv argument.
39946
2ee633a2
JM
399472012-02-17 Joseph Myers <joseph@codesourcery.com>
39948
39949 [BZ #5077]
39950 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39951 rounding modes.
39952
0520adde
FB
399532012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39954
39955 [BZ #6907]
39956 * manual/string.texi (strchr): Change when strchrnul is
39957 recommended.
39958
3f4081cd
DGM
399592012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39960
39961 [BZ #174]
39962 * manual/locale.texi (setlocale): Document LOCPATH.
39963
d1b10e78
JM
399642012-02-17 Joseph Myers <joseph@codesourcery.com>
39965
39966 [BZ #10210]
39967 * manual/process.texi (execle): Move @dots{} before last argument.
39968
79c6869c
PB
399692012-02-17 Paul Bolle <pebolle@tiscali.nl>
39970
39971 [BZ #12047]
39972 * manual/charset.texi (Generic Charset Conversion): Fix typo
39973 (LC_TYPE -> LC_CTYPE).
39974
cc6e48bc
NB
399752012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39976
39977 [BZ #5805]
39978 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39979 (scalbnf): Likewise.
39980 (scalbnl): Likewise.
39981 (scalbln): Likewise.
39982 (scalblnf): Likewise.
39983 (scalblnl): Likewise.
39984 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39985 (vwarnx): Likewise.
39986 (verr): Likewise.
39987 (verrx): Likewise.
39988 * manual/filesys.texi (telldir): Use braces around return type.
39989 * manual/llio.texi (mmap): Add space after comma.
39990 (mmap64): Likewise.
39991 * manual/math.texi (jn): Use @var{} on parameter names.
39992 (jnf): Likewise.
39993 (jnl): Likewise.
39994 (yn): Likewise.
39995 (ynf): Likewise.
39996 (ynl): Likewise.
39997 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39998 line.
39999 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40000 "...".
40001 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40002 (sched_get_priority_max): Likewise.
40003 * manual/signal.texi (sigvec): Add space after comma.
40004 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40005 names.
40006 (if_indextoname): Likewise.
40007 (if_freenameindex): Likewise.
40008 (sendto): Use ',' instead of '.' in prototype.
40009 * manual/startup.texi (syscall): Use @dots{} instead of literal
40010 "...".
40011 * manual/stdio.texi (__fpending): Separate initial words of
40012 paragraph from @deftypefun line.
40013 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40014 "...".
40015 (vsyslog): Use @var{} on parameter names.
40016 * manual/terminal.texi (stty): Use @var{} on parameter names.
40017 * manual/users.texi (getutmp): Use @var{} on parameter names.
40018 (getutmpx): Likewise.
40019
5b23062f
JM
400202012-02-17 Joseph Myers <joseph@codesourcery.com>
40021
40022 [BZ #6884]
40023 * manual/stdio.texi (fopen): Fix typos in description of
40024 ",ccs=STRING".
40025
8dee4833
AJ
400262012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40027
40028 [BZ #4026]
40029 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40030 get clock_id definition.
40031
9078ce93
TS
400322012-02-17 Thomas Schwinge <thomas@schwinge.name>
40033
40034 [BZ #4822]
40035 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40036 (madvise): Cast every argument to void on its own.
40037
3835c55f
JM
400382012-02-17 Joseph Myers <joseph@codesourcery.com>
40039
40040 [BZ #9902]
40041 * manual/startup.texi (Exit Status): Fix typo.
40042
35c47e37
JM
400432012-02-17 Joseph Myers <joseph@codesourcery.com>
40044
40045 [BZ #10140]
40046 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40047 * manual/examples/argp-ex2.c: Likewise.
40048 * manual/examples/argp-ex3.c: Likewise.
40049
e3b69ca7
RH
400502012-02-16 Richard Henderson <rth@redhat.com>
40051
40052 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40053 * sysdeps/s390/s390-32/initfini.c: Remove.
40054 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40055 * sysdeps/s390/s390-64/initfini.c: Remove.
40056
df83af67
KK
400572012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40058
40059 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40060 compiler output for sysdeps/generic/initfini.c.
40061 * sysdeps/sh/elf/initfini.c: Remove file.
40062
f63f3380
DM
400632012-02-16 David S. Miller <davem@davemloft.net>
40064
fb59b3a4
DM
40065 [BZ #11494]
40066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40067
f63f3380
DM
40068 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40069 * sysdeps/sparc/crti.S: New file.
40070 * sysdeps/sparc/crtn.S: New file.
40071 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40072 * sysdeps/sparc/sparc64/Makefile: Likewise.
40073
df6a4a4a
MF
400742012-02-15 Mike Frysinger <vapier@gentoo.org>
40075
6dd8f3dc 40076 [BZ #3335]
df6a4a4a
MF
40077 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40078
1cac7236
RM
400792012-02-15 Roland McGrath <roland@hack.frob.com>
40080
d2c736f8
RM
40081 [BZ #4822]
40082 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40083
1cac7236
RM
40084 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40085 (write, read, close): Likewise.
40086 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40087
8e475601
JM
400882012-02-15 Joseph Myers <joseph@codesourcery.com>
40089
40090 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40091 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40092 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40093 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40094 <bits/signalfd.h>.
40095 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40097 bits/signalfd.h.
40098
ed656b40
MP
400992012-02-14 Marek Polacek <polacek@redhat.com>
40100
40101 * sysdeps/x86_64/crti.S: New file.
40102 * sysdeps/x86_64/crtn.S: New file.
40103 * sysdeps/x86_64/elf/initfini.c: Remove file.
40104
2a979d3a
JM
401052012-02-13 Joseph Myers <joseph@codesourcery.com>
40106
40107 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40108 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40109 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40110 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40111 <bits/inotify.h>.
40112 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40114 bits/inotify.h.
40115
2a418ac3
JM
401162012-02-13 Joseph Myers <joseph@codesourcery.com>
40117
40118 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40119 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40120 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40121 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40122 <bits/eventfd.h>.
40123 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40125 bits/eventfd.h.
40126
fb779be7
TS
401272012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40128
e19e83c5
RM
40129 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40130 __feraiseexcept instead of feraiseexcept.
7c35ffed 40131
fb779be7
TS
40132 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40133 nanosleep invocations.
40134 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40135 strings, and add error checking for a nanosleep invocations.
40136
59ba27a6
PE
401372012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40138
40139 Replace FSF snail mail address with URLs, as per GNU coding standards.
40140 Most of the snail mail addresses were wrong anyway, and omitting
40141 them makes the source code easier to maintain. Almost all of the
40142 changes are to license notices and to locale LC_IDENTIFICATION
40143 addresses, except for this one:
40144 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40145 not its snail mail address.
40146
57b957eb
RH
401472012-02-09 Richard Henderson <rth@twiddle.net>
40148
af850b1c
RH
40149 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40150 of kernel-features.h.
40151
57b957eb
RH
40152 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40153
6b73181a
MP
401542012-02-08 Marek Polacek <polacek@redhat.com>
40155
40156 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40157 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40158 * sysdeps/gnu/_G_config.h: Likewise.
40159 * sysdeps/generic/_G_config.h: Likewise.
40160
26ecc33a
AS
401612012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40162
6c6dbc63
AS
40163 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40164 tests.
40165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40166
e216c012
AS
40167 * sysdeps/powerpc/powerpc32/crti.S: New file.
40168 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40169 * sysdeps/powerpc/powerpc64/crti.S: New file.
40170 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40171
26ecc33a
AS
40172 * Makeconfig (have-initfini): Don't set.
40173 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40174 * configure.in (nopic_initfini): Don't substitute.
40175 * config.h.in (HAVE_INITFINI): Don't #undef.
40176 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40177 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40178
3add8e13
JM
401792012-02-08 Joseph Myers <joseph@codesourcery.com>
40180
40181 Support crti.S and crtn.S provided directly by architectures.
40182 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40183 [crti.S in sysdirs] (omit-deps): Likewise.
40184 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40185 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40186 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40187 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40188 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40189 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40190 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40191 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40192 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40193 compiler output for sysdeps/generic/initfini.c.
40194 * sysdeps/i386/elf/Makefile: Remove file.
40195 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40196
a22f12b4
MP
401972012-02-07 Marek Polacek <polacek@redhat.com>
40198
40199 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40200 * sysdeps/gnu/_G_config.h: Likewise.
40201 * sysdeps/mach/hurd/_G_config.h: Likewise.
40202
148cf100
MP
402032012-02-07 Marek Polacek <polacek@redhat.com>
40204
40205 * math/Makefile (tests): Add tst-CMPLX2.
40206 * math/tst-CMPLX2.c: New file.
40207
cfdc0dd7
AS
402082012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40209
84ba42c4
AS
40210 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40211
cfdc0dd7
AS
40212 * math/libm-test.inc (jn_test): Add missing L suffix.
40213
622c86f4
MP
402142012-02-06 Marek Polacek <polacek@redhat.com>
40215
40216 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40217 * sysdeps/i386/fpu/e_powf.S: Likewise.
40218 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40219 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40220 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40221 * sysdeps/i386/fpu/e_pow.S: Likewise.
40222 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40223 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40224 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40225 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40226 * sysdeps/i386/fpu/e_log2.S: Likewise.
40227 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40228 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40229 * sysdeps/i386/fpu/e_powl.S: Likewise.
40230 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40231 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40232 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40233 * sysdeps/i386/fpu/e_logl.S: Likewise.
40234 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40235 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40236 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40237 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40238 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40239 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40240 * sysdeps/i386/fpu/e_log.S: Likewise.
40241 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40242 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40243 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40244 * sysdeps/i386/fpu/e_logf.S: Likewise.
40245 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40246 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40247 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40248 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40249 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40250 * sysdeps/i386/fpu/e_log10.S: Likewise.
40251 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40252 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40253 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40254 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40255 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40256 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40257 * sysdeps/i386/asm-syntax.h: Likewise.
40258 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40259 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40260 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40261 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40262 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40263 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40264 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40265 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40266 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40267 * sysdeps/powerpc/sysdep.h: Likewise.
40268 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40269 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40270
d4a54ac6
JM
402712012-02-06 Joseph Myers <joseph@codesourcery.com>
40272
40273 [BZ #411]
40274 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40275
314054ea
JM
402762012-02-06 Joseph Myers <joseph@codesourcery.com>
40277
40278 * sysdeps/i386/sysdep.h: Include <features.h>.
40279 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40280 version.
40281
d8e0ca50
JM
402822012-02-05 Joseph Myers <joseph@codesourcery.com>
40283
40284 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40285 Define.
40286 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40287 LOAD_PIC_REG_STR.
40288
b1da7dd9
JM
402892012-02-03 Joseph Myers <joseph@codesourcery.com>
40290
40291 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40292 (SETUP_PIC_REG): Use GET_PC_THUNK.
40293 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40294 macro.
40295
9a1d9254
JM
402962012-02-03 Joseph Myers <joseph@codesourcery.com>
40297
40298 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40299 for non-PIC compilation.
40300 (SETUP_PIC_REG): Add .p2align directive.
40301 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40302 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40303 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40304 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40305 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40306 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40307 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40308 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40309 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40310 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40311 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40312 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40313 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40314 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40315 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40316 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40317 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40318 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40319 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40320 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40321 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40322 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40323 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40324 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40325 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40327 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40328 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40329 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40330 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40331 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40332 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40333 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40334 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40335 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40336 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40337 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40338 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40339 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40340 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40341 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40342
65dc3b75
JM
403432012-02-03 Joseph Myers <joseph@codesourcery.com>
40344
40345 * math/tst-CMPLX.c: Include <stdio.h>.
40346
d55bf177
JM
403472012-01-31 Joseph Myers <joseph@codesourcery.com>
40348
40349 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40350 float.
40351 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40352 * sysdeps/sparc/bits/mathdef.h: Likewise.
40353
69db4f8f
MP
403542012-01-31 Marek Polacek <polacek@redhat.com>
40355
40356 * libio/libio.h: Don't define _PARAMS.
40357 * locale/programs/config.h: Don't define PARAMS.
40358 * stdlib/strtol_l.c: Likewise.
40359 (__strtol_l): Remove PARAMS from the prototype.
40360
41b81892
UD
403612012-01-31 Ulrich Drepper <drepper@gmail.com>
40362
3b49edc0
UD
40363 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40364 names. Just use the correct names. Remove unnecessary wrapper
40365 functions.
40366 * malloc/arena.c: Likewise.
40367 * malloc/hooks.c: Likewise.
40368
41b81892
UD
40369 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40370 ARENA_TEST says not to. Simplify test for creation of a new arena.
40371 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40372
27a25b6e
UD
403732012-01-30 Ulrich Drepper <drepper@gmail.com>
40374
40375 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40376 into tail calls.
40377 (update_get_addr): New function.
40378 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40379 GET_ADDR_MODULE parameter.
40380
c8a89e7d
JM
403812012-01-30 Joseph Myers <joseph@codesourcery.com>
40382
40383 * crypt/cert.c: Remove __STDC__ conditionals.
40384 * crypt/crypt-entry.c: Likewise.
40385 * crypt/crypt_util.c: Likewise.
40386 * libio/filedoalloc.c: Likewise.
40387 * libio/fileops.c: Likewise.
40388 * libio/genops.c: Likewise.
40389 * libio/iofclose.c: Likewise.
40390 * libio/iofdopen.c: Likewise.
40391 * libio/iofopen.c: Likewise.
40392 * libio/iofopen64.c: Likewise.
40393 * libio/iogetdelim.c: Likewise.
40394 * libio/iopopen.c: Likewise.
40395 * libio/obprintf.c: Likewise.
40396 * libio/oldfileops.c: Likewise.
40397 * libio/oldiofclose.c: Likewise.
40398 * libio/oldiofdopen.c: Likewise.
40399 * libio/oldiofopen.c: Likewise.
40400 * libio/oldiopopen.c: Likewise.
40401 * libio/wfiledoalloc.c: Likewise.
40402 * libio/wgenops.c: Likewise.
40403 * locale/programs/xmalloc.c: Likewise.
40404 * misc/syslog.c: Likewise.
40405 * stdio-common/xbug.c: Likewise.
40406 * string/memchr.c: Likewise.
40407 * string/memcmp.c: Likewise.
40408 * string/memrchr.c: Likewise.
40409 * string/rawmemchr.c: Likewise.
40410 * sysdeps/posix/getcwd.c: Likewise.
40411 * time/strftime_l.c: Likewise.
40412
3b100462
JM
404132012-01-30 Joseph Myers <joseph@codesourcery.com>
40414
40415 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
40416 * config.make.in (config-cflags-sse2avx): Define.
40417 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40418 Fix typo.
40419
607998af
CM
404202012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40421
40422 * scripts/config.guess: Update from upstream config git repository.
40423 * scripts/config.sub: Likewise.
40424
3601428f
CM
404252012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40426
3ac8b282
CM
40427 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40428 (EM_NUM): Update.
40429 (R_TILEPRO_*, R_TILEGX_*): New macros.
40430
e034841e
CM
40431 * scripts/firstversions.awk: Fix bug in version range handling.
40432
540d7568
CM
40433 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40434
3601428f
CM
40435 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40436
463de862
CM
40437 * include/sys/epoll.h: New file.
40438 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40439 libc_hidden_def.
40440
73139a76
UD
404412012-01-28 Ulrich Drepper <drepper@gmail.com>
40442
96bc5b45
UD
40443 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40444 Avoid unnecessary __WORDSIZE == 64 test.
40445 (fmaxf): Use VEX format if possible.
40446 (fmax): Likewise.
40447 (fminf): Likewise.
40448 (fmin): Likewise.
40449
56f6f6a2
UD
40450 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40451 * math/math_private.h: Remove libc_fegetround* and
40452 libc_fesetround*.
40453 * sysdeps/i386/configure.in: Check for -msse2avx.
40454 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40455 also if SSE2AVX is defined.
40456 Remove libc_fegetround* and libc_fesetround*.
40457 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40458 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40459 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40460 of HAS_YMM_USABLE.
40461 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40462 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40464 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40465 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40466
73139a76
UD
40467 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40468
d73f93a4
AZ
404692012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40470
40471 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40472 size is not set.
40473 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40474
6ee65ed6
UD
404752012-01-27 Ulrich Drepper <drepper@gmail.com>
40476
40477 [BZ #13618]
40478 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40479 relocation.
40480 * Makeconfig (libm): Define.
40481 * elf/Makefile: Add rules to build and run tst-relsort1.
40482 * elf/tst-relsort1.c: New file.
40483 * elf/tst-relsort1mod1.c: New file.
40484 * elf/tst-relsort1mod2.c: New file.
40485
8db21882
JM
404862012-01-27 Joseph Myers <joseph@codesourcery.com>
40487
40488 * math/s_ldexp.c: Remove __STDC__ conditionals.
40489 * math/s_ldexpf.c: Likewise.
40490 * math/s_ldexpl.c: Likewise.
40491 * math/s_nextafter.c: Likewise.
40492 * math/s_nexttowardf.c: Likewise.
40493 * math/s_significand.c: Likewise.
40494 * math/s_significandf.c: Likewise.
40495 * math/s_significandl.c: Likewise.
40496 * math/w_jnl.c: Likewise.
40497 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40498 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40499 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40500 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40501 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40502 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40503 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40504 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40505 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40506 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40507 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40508 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40509 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40510 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40511 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40512 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40513 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40514 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40516 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40517 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40518 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40519 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40520 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40521 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40522 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40523 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40524 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40525 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40526 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40527 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40528 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40529 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40530 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40531 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40532 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40533 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40534 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40535 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40536 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40537 * sysdeps/ieee754/k_standard.c: Likewise.
40538 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40539 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40540 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40541 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40542 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40543 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40544 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40545 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40546 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40547 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40548 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40549 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40550 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40551 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40552 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40553 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40554 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40555 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40556 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40557 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40558 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40559 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40560 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40561 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40562 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40563 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40564 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40565 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40567 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40568 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40569 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40570 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40571 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40572 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40573 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40574 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40575 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40576 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40577 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40578 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40579 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40580 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40581 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40582 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40583 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40584 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40585 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40586 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40587 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40588 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40589 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40590 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40591 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40592 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40593 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40594 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40595 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40596 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40597 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40598 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40599 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40600 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40601 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40602 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40603 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40604 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40605 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40606 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40607 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40608 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40609 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40610 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40611 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40612 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40613 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40614 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40615 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40616 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40617 * sysdeps/ieee754/s_matherr.c: Likewise.
40618 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40619 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40620 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40621 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40622
965a54a4
JM
406232012-01-26 Joseph Myers <joseph@codesourcery.com>
40624
40625 * crypt/md5.h: Remove __STDC__ conditionals.
40626 * libio/libioP.h: Likewise.
40627 * locale/programs/config.h: Likewise.
40628 * sysdeps/generic/sysdep.h: Likewise.
40629 * sysdeps/i386/asm-syntax.h: Likewise.
40630 * sysdeps/s390/asm-syntax.h: Likewise.
40631 * sysdeps/unix/sysdep.h: Likewise.
40632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40634
7071ad79
JM
406352012-01-26 Joseph Myers <joseph@codesourcery.com>
40636
40637 * libio/libio.h: Remove __STDC__ conditionals.
40638 * malloc/obstack.h: Likewise.
40639 * math/complex.h: Likewise.
40640 * math/math.h: Likewise.
40641 * sysdeps/generic/_G_config.h: Likewise.
40642 * sysdeps/gnu/_G_config.h: Likewise.
40643 * sysdeps/mach/hurd/_G_config.h: Likewise.
40644 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40645 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40646 * sysdeps/sparc/bits/mathdef.h: Likewise.
40647
afc5ed09
UD
406482012-01-26 Ulrich Drepper <drepper@gmail.com>
40649
40650 [BZ #13583]
40651 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 40652 Clean up HAS_* macros.
afc5ed09 40653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
40654 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40655 possible.
40656 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40657 HAS_AVX.
40658 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40659 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40660 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40661 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40662 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 40663
bdb6de1d
JM
406642012-01-25 Joseph Myers <joseph@codesourcery.com>
40665
40666 * elf/tst-unique3.cc (gets): Remove declaration.
40667 * elf/tst-unique3lib.cc (gets): Likewise.
40668 * elf/tst-unique3lib2.cc (gets): Likewise.
40669 * elf/tst-unique4.cc (gets): Likewise.
40670
b15549e6
UD
406712012-01-24 Ulrich Drepper <drepper@gmail.com>
40672
40673 * include/stdio.h: Add C++ protection. Add gets declarations and
40674 definitions.
40675 * debug/tst-chk1.c: Don't declare gets here.
40676 * stdio-common/tst-gets.c: Likewise.
40677
a037381f
JM
406782012-01-24 Joseph Myers <joseph@codesourcery.com>
40679
40680 * posix/glob: Remove directory.
40681
f1d4aa75
JM
406822012-01-24 Joseph Myers <joseph@codesourcery.com>
40683
40684 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40685
81c0c964
PT
406862012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40687
40688 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40689 of the non-standard EPFNOSUPPORT.
40690
0ea698ae
ST
406912011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40692
40693 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40694 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40695 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40696
d220b117
UD
406972012-01-21 Ulrich Drepper <drepper@gmail.com>
40698
40699 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40700
3e1aa84e
UD
407012012-01-20 Ulrich Drepper <drepper@gmail.com>
40702
40703 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40704 transient errors.
40705 * nscd/grpcache.c (cache_addgr): Likewise.
40706 * nscd/hstcache.c (cache_addhst): Likewise.
40707 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40708 * nscd/pwdcache.c (cache_addpw): Likewise.
40709 * nscd/servicescache.c (cache_addserv): Likewise.
40710
400aa020
UD
407112012-01-16 Ulrich Drepper <drepper@gmail.com>
40712
d77e7869
UD
40713 * malloc/malloc.c: Various cleanups.
40714 * malloc/hooks.c: Likewise.
40715
400aa020
UD
40716 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40717 * stdlib/bug-fmtmsg1.c: New file.
40718
40719 * stdlib/fmtmsg.c (init): Add missing unlock.
40720 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40721
e0a309cf
MP
407222012-01-12 Marek Polacek <polacek@redhat.com>
40723
40724 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40725 and _GNU_SOURCE.
40726
929d11c7
WS
407272012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40728
40729 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40730 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40731 macro to ensure uniqueness of label name.
40732 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40733 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40734
41d0e869
UD
407352012-01-11 Ulrich Drepper <drepper@gmail.com>
40736
0cc5ed3b
UD
40737 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40738
41d0e869
UD
40739 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40740 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40741 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40742 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40743
a47a831a
UD
407442012-01-10 Ulrich Drepper <drepper@gmail.com>
40745
daa891c0
UD
40746 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40747
40748 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40749 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40750 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40751
e58ef0f2
UD
40752 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40753
a47a831a 40754 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
40755 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40756 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 40757 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
40758
40759 * math/bits/math-finite.h: Add ldexp support.
40760
a0bfc9c7
MP
407612012-01-10 Marek Polacek <polacek@redhat.com>
40762
40763 * locale/programs/localedef.h (show_archive_content): Add noreturn
40764 attribute.
40765
d6e97a1d
UD
407662012-01-09 Ulrich Drepper <drepper@gmail.com>
40767
40768 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40769
d5835c26
UD
407702012-01-08 Ulrich Drepper <drepper@gmail.com>
40771
e5f484c6
UD
40772 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40773
d5835c26
UD
40774 * io/Makefile (headers): Add bits/poll2.h.
40775
d1f741e9
WS
407762011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
40777
40778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40779 typo #include statement.
40780
ec09c1c4
UD
407812012-01-08 Ulrich Drepper <drepper@gmail.com>
40782
40783 * include/sys/cdefs.h: Define __attribute_alloc_size.
40784 * catgets/gencat.c: Add alloc_size attribute and apply consistently
40785 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40786 * elf/pldd.c: Likewise.
40787 * iconv/iconv_charmap.c: Likewise.
40788 * iconv/iconvconfig.c: Likewise.
40789 * iconv/strtab.c: Likewise.
40790 * locale/programs/locale.c: Likewise.
40791 * locale/programs/localedef.h: Likewise.
40792 * locale/programs/simple-hash.c: Likewise.
40793 * nscd/nscd.h: Likewise.
40794 * nss/makedb.c: Likewise.
40795 * sysdeps/generic/ldconfig.h: Likewise.
40796 * locale/programs/localedef.c: Remove xmalloc prototype.
40797 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40798
20b38e03
PP
407992012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40800
40801 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40802 appropriate.
40803
a0da5fe1
UD
408042012-01-08 Ulrich Drepper <drepper@gmail.com>
40805
1d5a644a 40806 * math/Makefile (tests): Add tst-CMPLX.
669704fd 40807 * math/tst-CMPLX.c: New file.
1d5a644a 40808
8784a6db
UD
40809 * math/complex.h (CMPLXL): Fix typo.
40810
d9a216c0
UD
40811 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40812 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40813 GLIBC_2.16.
40814 * debug/tst-chk1.c: Add poll and ppoll tests.
40815 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40816 * include/sys/poll.h: Add hidden proto for ppoll.
40817 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40818 * sysdeps/mach/hurd/ppoll.c: Likewise.
40819 * io/ppoll.c: Likewise.
40820 * debug/poll_chk.c: New file.
40821 * debug/ppoll_chk.c: New file.
40822 * include/bits/poll2.h: New file.
40823 * io/bits/poll2.h: New file.
40824
ac097f5c
UD
40825 [BZ #1350]
40826 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40827
2119dcfa
UD
40828 * configure.in: static is always set to yes. Remove.
40829 * config.make.in: Don't set build-static.
40830 * Makeconfig: Remove use of build-static.
40831 * dlfcn/Makefile: Likewise.
40832 * elf/Makefile: Likewise.
40833 * math/Makefile: Likewise.
40834 * misc/Makefile: Likewise.
40835 * nptl/Makefile: Likewise.
40836 * sysdeps/mach/hurd/Makefile: Likewise.
40837
121766a9
UD
40838 * configure.in: PWD_P is not used anymore.
40839 * config.make.in: Remove PWD_P entry.
40840
51a1d39c 40841 * configure.in: Remove last remnants of RANLIB.
8720d066 40842 No need to check for signed size_t anymore.
215f4bdc
UD
40843 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40844 and IA-64.
3857022a 40845 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
40846 * aclocal.m4: Likewise.
40847
d3ed7225
UD
40848 * wcsmbs/mbrtoc16.c: Implement using towc function.
40849 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40850 * wcsmbs/wcsmbsload.c: Likewise.
40851 * iconv/gconv_simple.c: Likewise.
40852 * iconv/gconv_int.h: Likewise.
40853 * iconv/gconv_builtin.h: Likewise.
40854 * iconv/iconv_prog.c: Remove CHAR16 handling.
40855
40856 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40857
40858 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40859
a0da5fe1
UD
40860 * configure.in: Remove --with-elf and --enable-bounded options.
40861 Dont set base_machine for ia64. More non-ELF conditions removed.
40862 Remove testing and setting of leading underscore information.
40863 * config.make.in (build-bounded): Set to no.
40864 * config.h.in: Remove NO_UNDERSCORES entry.
40865 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40866 them.
40867 * csu/start.c: Remove !NO_UNDERSCORE code.
40868 * locale/localeinfo.h: Likewise.
40869 * sysdeps/generic/machine-gmon.h: Likewise.
40870 * sysdeps/generic/sysdep.h: Likewise.
40871 * sysdeps/i386/sysdep.h: Likewise.
40872 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40873 * sysdeps/mach/sysdep.h: Likewise.
40874 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40876 * sysdeps/sh/sysdep.h: Likewise.
40877 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40878 * sysdeps/unix/i386/sysdep.S: Likewise.
40879 * sysdeps/unix/sparc/start.c: Likewise.
40880 * sysdeps/unix/sparc/sysdep.S: Likewise.
40881 * sysdeps/unix/sparc/sysdep.h: Likewise.
40882 * sysdeps/unix/start.c: Likewise.
40883 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40884 * sysdeps/x86_64/sysdep.h: Likewise.
40885
df78418a
UD
408862012-01-07 Ulrich Drepper <drepper@gmail.com>
40887
a784e502
UD
40888 [BZ #13553]
40889 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40890 for non-gcc.
40891 * argp/argp-fmtstream.h: Use const instead __const.
40892 * argp/argp.h: Likewise.
40893 * assert/assert.h: Likewise.
40894 * bits/fenv.h: Likewise.
40895 * bits/sched.h: Likewise.
40896 * bits/sigset.h: Likewise.
40897 * bits/sigthread.h: Likewise.
40898 * catgets/nl_types.h: Likewise.
40899 * conform/data/pthread.h-data: Likewise.
40900 * crypt/crypt-private.h: Likewise.
40901 * crypt/crypt.h: Likewise.
40902 * crypt/crypt_util.c: Likewise.
40903 * ctype/ctype.h: Likewise.
40904 * debug/execinfo.h: Likewise.
40905 * debug/mbsnrtowcs_chk.c: Likewise.
40906 * debug/mbsrtowcs_chk.c: Likewise.
40907 * debug/wcsnrtombs_chk.c: Likewise.
40908 * debug/wcsrtombs_chk.c: Likewise.
40909 * debug/wcstombs_chk.c: Likewise.
40910 * dirent/dirent.h: Likewise.
40911 * dlfcn/dlfcn.h: Likewise.
40912 * elf/neededtest4.c: Likewise.
40913 * grp/grp.h: Likewise.
40914 * gshadow/gshadow.h: Likewise.
40915 * iconv/gconv.h: Likewise.
40916 * iconv/gconv_int.h: Likewise.
40917 * iconv/gconv_simple.c: Likewise.
40918 * iconv/iconv.h: Likewise.
40919 * iconv/loop.c: Likewise.
40920 * iconv/skeleton.c: Likewise.
40921 * include/aio.h: Likewise.
40922 * include/aliases.h: Likewise.
40923 * include/argz.h: Likewise.
40924 * include/arpa/inet.h: Likewise.
40925 * include/assert.h: Likewise.
40926 * include/dirent.h: Likewise.
40927 * include/dlfcn.h: Likewise.
40928 * include/execinfo.h: Likewise.
40929 * include/fcntl.h: Likewise.
40930 * include/fenv.h: Likewise.
40931 * include/glob.h: Likewise.
40932 * include/grp.h: Likewise.
40933 * include/libintl.h: Likewise.
40934 * include/mntent.h: Likewise.
40935 * include/netdb.h: Likewise.
40936 * include/pwd.h: Likewise.
40937 * include/rpc/netdb.h: Likewise.
40938 * include/sched.h: Likewise.
40939 * include/search.h: Likewise.
40940 * include/shadow.h: Likewise.
40941 * include/signal.h: Likewise.
40942 * include/stdio.h: Likewise.
40943 * include/stdlib.h: Likewise.
40944 * include/string.h: Likewise.
40945 * include/sys/socket.h: Likewise.
40946 * include/sys/stat.h: Likewise.
40947 * include/sys/statfs.h: Likewise.
40948 * include/sys/statvfs.h: Likewise.
40949 * include/sys/syslog.h: Likewise.
40950 * include/sys/time.h: Likewise.
40951 * include/sys/uio.h: Likewise.
40952 * include/time.h: Likewise.
40953 * include/unistd.h: Likewise.
40954 * include/utmp.h: Likewise.
40955 * include/wchar.h: Likewise.
40956 * include/wctype.h: Likewise.
40957 * inet/aliases.h: Likewise.
40958 * inet/arpa/inet.h: Likewise.
40959 * inet/netinet/ether.h: Likewise.
40960 * inet/netinet/in.h: Likewise.
40961 * intl/libintl.h: Likewise.
40962 * io/bits/fcntl2.h: Likewise.
40963 * io/fcntl.h: Likewise.
40964 * io/ftw.h: Likewise.
40965 * io/sys/poll.h: Likewise.
40966 * io/sys/stat.h: Likewise.
40967 * io/sys/statfs.h: Likewise.
40968 * io/sys/statvfs.h: Likewise.
40969 * io/utime.h: Likewise.
40970 * libio/bits/stdio.h: Likewise.
40971 * libio/bits/stdio2.h: Likewise.
40972 * libio/libio.h: Likewise.
40973 * libio/libioP.h: Likewise.
40974 * libio/stdio.h: Likewise.
40975 * locale/lc-ctype.c: Likewise.
40976 * locale/locale.h: Likewise.
40977 * login/utmp.h: Likewise.
40978 * malloc/arena.c: Likewise.
40979 * malloc/malloc.c: Likewise.
40980 * malloc/malloc.h: Likewise.
40981 * malloc/mcheck.c: Likewise.
40982 * malloc/mtrace.c: Likewise.
40983 * math/bits/mathcalls.h: Likewise.
40984 * math/fenv.h: Likewise.
40985 * math/math_private.h: Likewise.
40986 * misc/bits/error.h: Likewise.
40987 * misc/bits/syslog.h: Likewise.
40988 * misc/err.h: Likewise.
40989 * misc/error.h: Likewise.
40990 * misc/fstab.h: Likewise.
40991 * misc/mntent.h: Likewise.
40992 * misc/regexp.h: Likewise.
40993 * misc/search.h: Likewise.
40994 * misc/sgtty.h: Likewise.
40995 * misc/sys/mman.h: Likewise.
40996 * misc/sys/syslog.h: Likewise.
40997 * misc/sys/uio.h: Likewise.
40998 * misc/sys/xattr.h: Likewise.
40999 * misc/ttyent.h: Likewise.
41000 * nis/rpcsvc/ypclnt.h: Likewise.
41001 * nss/nss.h: Likewise.
41002 * posix/bits/unistd.h: Likewise.
41003 * posix/fnmatch.h: Likewise.
41004 * posix/glob.h: Likewise.
41005 * posix/sched.h: Likewise.
41006 * posix/spawn.h: Likewise.
41007 * posix/sys/wait.h: Likewise.
41008 * posix/unistd.h: Likewise.
41009 * posix/wordexp.h: Likewise.
41010 * pwd/pwd.h: Likewise.
41011 * resolv/netdb.h: Likewise.
41012 * resource/sys/resource.h: Likewise.
41013 * rt/aio.h: Likewise.
41014 * rt/bits/mqueue2.h: Likewise.
41015 * rt/mqueue.h: Likewise.
41016 * shadow/shadow.h: Likewise.
41017 * signal/signal.h: Likewise.
41018 * socket/send.c: Likewise.
41019 * socket/sendto.c: Likewise.
41020 * socket/sys/socket.h: Likewise.
41021 * stdio-common/printf.h: Likewise.
41022 * stdlib/bits/stdlib.h: Likewise.
41023 * stdlib/fmtmsg.h: Likewise.
41024 * stdlib/monetary.h: Likewise.
41025 * stdlib/stdlib.h: Likewise.
41026 * stdlib/ucontext.h: Likewise.
41027 * streams/stropts.h: Likewise.
41028 * string/argz.h: Likewise.
41029 * string/bits/string2.h: Likewise.
41030 * string/string.h: Likewise.
41031 * string/strings.h: Likewise.
41032 * sunrpc/rpc/auth.h: Likewise.
41033 * sunrpc/rpc/auth_des.h: Likewise.
41034 * sunrpc/rpc/clnt.h: Likewise.
41035 * sunrpc/rpc/netdb.h: Likewise.
41036 * sunrpc/rpc/pmap_clnt.h: Likewise.
41037 * sunrpc/rpc/xdr.h: Likewise.
41038 * sysdeps/generic/inttypes.h: Likewise.
41039 * sysdeps/generic/net/if.h: Likewise.
41040 * sysdeps/generic/sys/swap.h: Likewise.
41041 * sysdeps/gnu/net/if.h: Likewise.
41042 * sysdeps/gnu/utmpx.h: Likewise.
41043 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41044 * sysdeps/i386/i486/bits/string.h: Likewise.
41045 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41046 * sysdeps/s390/bits/string.h: Likewise.
41047 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41048 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41049 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41050 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41051 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41052 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41053 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41054 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41055 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41056 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41057 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41058 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41059 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41060 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41061 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41062 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41063 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41065 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41066 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41067 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41068 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41069 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41070 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41071 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41072 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41073 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41074 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41075 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41076 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41077 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41078 * sysvipc/sys/ipc.h: Likewise.
41079 * sysvipc/sys/msg.h: Likewise.
41080 * sysvipc/sys/sem.h: Likewise.
41081 * sysvipc/sys/shm.h: Likewise.
41082 * termios/termios.h: Likewise.
41083 * time/sys/time.h: Likewise.
41084 * time/time.h: Likewise.
41085 * wcsmbs/bits/wchar2.h: Likewise.
41086 * wcsmbs/uchar.h: Likewise.
41087 * wcsmbs/wchar.h: Likewise.
41088 * wctype/wctype.h: Likewise.
41089
0269750c
UD
41090 [BZ #13551]
41091 * Makeconfig: Remove all but ELF support including AIX support.
41092 * Makerules: Likewise.
41093 * config.h.in: Likewise.
41094 * config.make.in: Likewise.
41095 * configure: Likewise.
41096 * configure.in: Likewise.
41097 * csu/Makefile: Likewise.
41098 * csu/version.c: Likewise.
41099 * debug/Makefile: Likewise.
41100 * dlfcn/Makefile: Likewise.
41101 * elf/Makefile: Likewise.
41102 * extra-lib.mk: Likewise.
41103 * iconv/Makefile: Likewise.
41104 * include/libc-symbols.h: Likewise.
41105 * include/shlib-compat.h: Likewise.
41106 * resolv/Makefile: Likewise.
41107 * resolv/res_libc.c: Likewise.
41108 * rt/Makefile: Likewise.
41109 * sysdeps/i386/asm-syntax.h: Likewise.
41110 * sysdeps/i386/sysdep.h: Likewise.
41111 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41112 * sysdeps/mach/sysdep.h: Likewise.
41113 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41114 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41115 * sysdeps/s390/asm-syntax.h: Likewise.
41116 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41117 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41118 * sysdeps/sh/sysdep.h: Likewise.
41119 * sysdeps/unix/sparc/sysdep.h: Likewise.
41120 * sysdeps/wordsize-32/divdi3.c: Likewise.
41121 * sysdeps/x86_64/sysdep.h: Likewise.
41122
00bbd29b
UD
41123 * argp/Versions: Remove _argp_unlock_xxx.
41124
41125 [BZ #13559]
41126 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41127 * abilist/libBrokenLocale.abilist: Likewise.
41128 * abilist/libanl.abilist: Likewise.
41129 * abilist/libc.abilist: Likewise.
41130 * abilist/libcrypt.abilist: Likewise.
41131 * abilist/libdl.abilist: Likewise.
41132 * abilist/libm.abilist: Likewise.
41133 * abilist/libnsl.abilist: Likewise.
41134 * abilist/libpthread.abilist: Likewise.
41135 * abilist/libresolv.abilist: Likewise.
41136 * abilist/librt.abilist: Likewise.
41137 * abilist/libthread_db.abilist: Likewise.
41138 * abilist/libutil.abilist: Likewise.
41139 * abilist/libnss_db.abilist: New file.
41140
41141 * scripts/abilist.awk: Add support for indirect functions.
41142
a2693a0e
UD
41143 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41144
3f05895f
UD
41145 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41146
ecb6fb48
UD
41147 * shlib-versions: Remove entries for ports architectures.
41148
664f8cb9
UD
41149 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41150 files in ports.
41151 * elf/stackguard-macros.h: Remove support for IA-64.
41152 * elf/tst-auditmod1.c: Likewise.
41153 * sysdeps/generic/ldsodefs.h: Likewise.
41154
7ae81d88
UD
41155 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41156 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41157 configure files.
41158
bdeba135
UD
41159 [BZ #13552]
41160 * configure.in: Remove --enable-omitfp support.
41161 * FAQ.in: Adjust.
41162 * config.make.in: Likewise.
41163 * Makeconfig: Likewise.
41164 * manual/install.texi: Likewise.
41165
d75a0a62
UD
41166 In case anyone cares, the IA-64 architecture could move to ports.
41167 * sysdeps/ia64/*: Removed.
41168 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 41169 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 41170
dcc9756b
UD
41171 [BZ #13555]
41172 * configure.in: Remove entries for unsupported architectures.
41173
d3761ebc 41174 [BZ #13533]
9954432e
UD
41175 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41176 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41177 routines.
41178 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41179 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41180 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41181 fall back to using wcrtomb.
41182 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41183 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41184 renaming.
41185 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41186 * wcsmbs/tst-c16c32-1.c: New file.
41187
41188 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41189 local variable.
41190
c3a87236
UD
41191 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41192
28926a1b
UD
41193 * elf/tst-unique3.cc: Add explicit declaration of gets.
41194 * elf/tst-unique3lib.cc: Likewise.
41195 * elf/tst-unique3lib2.cc: Likewise.
41196 * elf/tst-unique4.cc: Likewise.
41197
df78418a
UD
41198 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41199
8ecd6b2a
JM
412002012-01-06 Joseph Myers <joseph@codesourcery.com>
41201
41202 [BZ #13566]
41203 * assert/assert.h (static_assert): Don't define for C++.
41204 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41205 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41206
9f115170
UD
412072012-01-03 Ulrich Drepper <drepper@gmail.com>
41208
5e0d0300
UD
41209 * iconv/loop.c (single loop): Fix assertion in storing of
41210 remaining bytes.
41211
9f115170
UD
41212 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41213
81fb02b0
UD
412142012-01-01 Ulrich Drepper <drepper@gmail.com>
41215
41216 * posix/getconf.c: Update copyright year.
41217 * nss/getent.c: Likewise.
a316c1f6 41218 * nss/makedb.c: Likewise.
81fb02b0
UD
41219 * iconv/iconvconfig.c: Likewise.
41220 * iconv/iconv_prog.c: Likewise.
41221 * elf/ldconfig.c: Likewise.
a316c1f6
UD
41222 * elf/pldd.c: Likewise.
41223 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
41224 * catgets/gencat.c: Likewise.
41225 * csu/version.c: Likewise.
41226 * elf/ldd.bash.in: Likewise.
41227 * elf/sprof.c (print_version): Likewise.
41228 * locale/programs/locale.c: Likewise.
41229 * locale/programs/localedef.c: Likewise.
a316c1f6 41230 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
41231 * nscd/nscd.c (print_version): Likewise.
41232 * debug/xtrace.sh: Likewise.
41233 * malloc/memusage.sh: Likewise.
41234 * malloc/mtrace.pl: Likewise.
41235 * debug/catchsegv.sh: Likewise.
41236
2ba92745
JJ
412372011-12-30 Jakub Jelinek <jakub@redhat.com>
41238
41239 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41240 pure attribute.
41241
dadebdae
UD
412422011-12-24 Ulrich Drepper <drepper@gmail.com>
41243
d3761ebc 41244 [BZ #13533]
db6af3eb
UD
41245 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41246 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41247 transformations.
41248 * iconv/gconv_int.h: Likewise.
41249 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41250 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41251 from libc for GLIBC_2.16.
41252 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41253 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41254 * wcsmbs/uchar.h: Really define mbstate_t.
41255 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41256 * wcsmbs/c16rtomb.c: New file.
41257 * wcsmbs/mbrtoc16.c: New file.
41258 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41259 for C/POSIX locale.
41260 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41261 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41262
dadebdae
UD
41263 * wcsmbs/wchar.h: Add missing __restrict.
41264
67371b56
UD
412652011-12-23 Ulrich Drepper <drepper@gmail.com>
41266
74033a25
UD
41267 [BZ #13532]
41268 * time/Makefile (routines): Add timespec_get.
41269 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41270 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41271 timespec for ISO C11.
41272 * time/timespec_get.c: New file.
41273 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41274 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41275
380d7e87
UD
41276 [BZ #13531]
41277 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41278 * stdlib/stdlib.h: Declare aligned_alloc.
41279 * Versions.def: Add GLIBC_2.16 for libc.
41280 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41281
4e9e7a35
UD
41282 [BZ 13527]
41283 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41284 ISO C11.
41285
380d7e87 41286 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
41287 code.
41288
03a71829
UD
41289 [BZ #13528]
41290 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41291
839e283e
UD
41292 [BZ #13529]
41293 * assert/assert.h (static_assert): Define.
41294
ce5294e2 41295 * version.h: Update for 2.16 development version.
90fa7312 41296
8d44e150 41297 [BZ #13526]
d7809905
UD
41298 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41299 _ISOC11_SOURCE.
41300
c0da14cd
UD
41301 * version.h (RELEASE): Bump for 2.15 release.
41302 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41303
530a3249
MP
41304 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41305 Patch by Marek Polacek <mpolacek@redhat.com>.
41306
67371b56
UD
41307 * bits/byteswap.h: Protect long long constants with __extension__.
41308 * sysdeps/i386/bits/byteswap.h: Likewise.
41309 * sysdeps/ia64/bits/byteswap.h: Likewise.
41310 * sysdeps/s390/bits/byteswap.h: Likewise.
41311 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41312
15db4de1
LD
413132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41314
41315 [BZ #13540]
bbe315ea
LD
41316 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41317 destination buffer.
15db4de1
LD
41318 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41319
2b2596b1
MP
413202011-12-23 Marek Polacek <polacek@redhat.com>
41321
41322 * elf/dl-addr.c (determine_info): Add inline keyword.
41323 * elf/tst-auditmod4b.c (check_avx): Likewise.
41324 * elf/tst-auditmod6b.c (check_avx): Likewise.
41325 * elf/tst-auditmod6c.c (check_avx): Likewise.
41326 * elf/tst-auditmod7b.c (check_avx): Likewise.
41327
70c6c246
UD
413282011-12-23 Ulrich Drepper <drepper@gmail.com>
41329
41330 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41331 !__SSE_MATH__.
41332
c044cf14
LD
413332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41334
15db4de1 41335 [BZ #13540]
c044cf14
LD
41336 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41337 processing for last bytes.
41338
6b13d9d9
BH
413392011-08-06 Bruno Haible <bruno@clisp.org>
41340
d455f537
BH
41341 [BZ #13061]
41342 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41343 U+0385, not to U+1FEE.
41344
6b13d9d9
BH
41345 [BZ #13062]
41346 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41347 entry for U+00A5 U+0301.
41348
db910efd
UD
413492011-12-22 Ulrich Drepper <drepper@gmail.com>
41350
27deeafc
UD
41351 [BZ #13166]
41352 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41353 buffer for the output is too small.
41354
aed9d171
UD
41355 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41356 optimization.
41357
db910efd
UD
41358 [BZ #13185]
41359 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41360 SSE flags if possible.
41361
2bd779ae
LD
413622011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41363
e7f9dac3 41364 [BZ #13540]
2bd779ae
LD
41365 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41366 processing for last bytes.
41367
154bfc16
JM
413682011-12-22 Joseph Myers <joseph@codesourcery.com>
41369
41370 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41371 (syscall-list-default-options, syscall-list-default-condition)
41372 (syscall-list-includes): Define.
41373 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41374 list of ABIs and options and #if conditions for each ABI. Do not
41375 handle common syscalls between ABIs specially.
41376 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41377 Remove.
41378 (syscall-list-variants, syscall-list-32bit-options)
41379 (syscall-list-32bit-condition, syscall-list-64bit-options)
41380 (syscall-list-64bit-condition): Define.
41381 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41382 (syscall-list-variants, syscall-list-32bit-options)
41383 (syscall-list-32bit-condition, syscall-list-64bit-options)
41384 (syscall-list-64bit-condition): Define.
41385 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41386 Remove.
41387 (syscall-list-variants, syscall-list-32bit-options)
41388 (syscall-list-32bit-condition, syscall-list-64bit-options)
41389 (syscall-list-64bit-condition): Define.
41390 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41391 Remove.
41392 (syscall-list-variants, syscall-list-32bit-options)
41393 (syscall-list-32bit-condition, syscall-list-64bit-options)
41394 (syscall-list-64bit-condition): Define.
41395
21eaf3a5
UD
413962011-12-22 Ulrich Drepper <drepper@gmail.com>
41397
16c6f992
UD
41398 * locale/iso-639.def: Add brx entry.
41399
41043168
UD
41400 [BZ #13328]
41401 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41402 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41403
21eaf3a5
UD
41404 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41405 __feraiseexcept_renamed.
41406
e3a851a2
UD
414072011-12-21 Ulrich Drepper <drepper@gmail.com>
41408
4920765e
UD
41409 [BZ #13538]
41410 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41411 EPOLLET with unsigned values.
41412 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41413 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41414
e3a851a2
UD
41415 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41416 to large cancellation.
41417 * math/s_cacoshf.c: Likewise.
41418 * math/s_cacoshl.c: Likewise.
41419
b27e24b8
RK
414202011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41421
41422 [BZ #13305]
aebefeee 41423 [BZ #12786]
b27e24b8
RK
41424 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41425 * math/s_cacoshf.c: Likewise.
41426 * math/s_cacoshl.c: Likewise.
41427
ee190f67
UD
414282011-12-21 Ulrich Drepper <drepper@gmail.com>
41429
41430 [BZ #13439]
41431 * iconv/gconv.h: Define __GCONV_SWAP.
41432 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41433 * iconvdata/utf-16.c: Likewise.
41434 * iconvdata/utf-32.c: Likewise.
41435
707f25df
AS
414362011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41437
41438 [BZ #13524]
41439 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41440 numerator after shifting it by one limb.
41441
d2daaa1e
RÁE
414422011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41443
41444 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41445 under [__USE_EXTERN_INLINES].
41446
a4647e72
UD
414472011-12-17 Ulrich Drepper <drepper@gmail.com>
41448
41449 [BZ #13446]
41450 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41451
f0b264f1
AZ
414522011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41453
41454 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41455 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41456 optimized code.
41457 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41458 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41459 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41460 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41461 for strncasecmp/strncasecmp_l compilation.
41462 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41463 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41464
8ef4f244
MP
414652011-12-08 Marek Polacek <mpolacek@redhat.com>
41466
41467 [BZ #13484]
41468 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41469 of __asm__.
41470
97ac2654
UD
414712011-12-17 Ulrich Drepper <drepper@gmail.com>
41472
41473 [BZ #13506]
41474 * time/tzfile.c (__tzfile_read): Check values from file header.
41475
91d2a845
WS
414762011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41477
41478 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41479 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41480 * powerpc/powerpc32/dl-start.S: Likewise.
41481 * powerpc/powerpc32/elf/start.S: Likewise.
41482 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41483 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41484 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41485 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41486 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41487 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41488 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41489 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41490 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41491 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41492 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41493 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41494 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41495 * powerpc/powerpc32/memset.S: Likewise.
41496 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41497 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41498 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41499 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41500 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41501 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41502 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41503 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41504 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41505 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41506 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41507 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41508 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41509
a1267ba1
AZ
415102011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41511
41512 * math/libm-test.inc: Added more nearbyint tests.
41513 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41514 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41515 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41516 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41517
ad8ac1bd
RL
415182011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41519
41520 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41521 FD_CLOEXEC.
41522
1d3e4b61
UD
415232011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41524
41525 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41526 Add wcscpy-ssse3 wcscpy-c.
41527 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41528 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41529 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41530 * sysdeps/x86_64/wcschr.S: New file.
41531 * sysdeps/x86_64/wcsrchr.S: New file.
41532 * string/test-strcmp.c: Remove checking of wcscmp function for
41533 wrong alignments.
41534 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41535 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41536 wcsrchr-sse2 wcsrchr-c.
41537 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41538 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41539 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41540 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41541 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41542 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41543 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41544 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41545 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41546 * wcsmbc/wcschr.c (WCSCHR): New macro.
41547
5b330a2d
UD
415482011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41549
41550 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41551 * wcsmbs/test-wcsrchr.c: New file.
41552 * string/test-strrchr.c: Add wcsrchr support.
41553 (WIDE): New macro.
41554 * wcsmbs/test-wcscpy.c: New file.
41555 * string/test-strcpy.c: Add wcscpy support.
41556 (WIDE): New macro.
26428b7c 41557
f039c043
UD
415582011-12-10 Ulrich Drepper <drepper@gmail.com>
41559
41560 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41561 the inner loop.
41562
850fb039
AS
415632011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41564
41565 [BZ #13472]
41566 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41567
4efbd5cb
UD
415682011-12-04 Ulrich Drepper <drepper@gmail.com>
41569
52ff5dd0 41570 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 41571 Minor optimizations.
52ff5dd0 41572
4efbd5cb
UD
41573 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41574 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41575 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41576
8a426e12
UD
415772011-12-03 Ulrich Drepper <drepper@gmail.com>
41578
aff2453d
UD
41579 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41580 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41581 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41582 for gcc to avoid warnings.
41583 * inet/Makefile (tests): Add tst-checks.
41584 * inet/tst-checks.c: New file.
41585
41586 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41587 warning.
41588
41589 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41590 __wmemcmp_sse2.
41591
41592 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41593 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41594
8a426e12
UD
41595 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41596
9bea3473
UD
415972011-12-02 Ulrich Drepper <drepper@gmail.com>
41598
3a965496
UD
41599 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41600 problem.
41601
9bea3473
UD
41602 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41603
f101631b
UD
416042011-11-29 Joseph Myers <joseph@codesourcery.com>
41605
41606 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41607 conditional on GCC version.
41608 (__arch_compare_and_exchange_val_8_acq)
41609 (__arch_compare_and_exchange_val_16_acq)
41610 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41611 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41612 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41613
a98275aa
UD
416142011-12-02 Joseph Myers <joseph@codesourcery.com>
41615
41616 * sysdeps/sh/backtrace.c: New file.
41617
d4cc29a2
AS
416182011-12-02 Andreas Schwab <schwab@redhat.com>
41619
41620 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41621 parenthesis.
41622
6257af2d
AS
416232011-12-01 Andreas Schwab <schwab@redhat.com>
41624
41625 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41626 falling back to utime.
41627
b5f44c1a
AS
416282011-11-30 Andreas Schwab <schwab@redhat.com>
41629
41630 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41631 expectations for float.
41632
f3a6cc0a
AS
416332011-11-29 Andreas Schwab <schwab@redhat.com>
41634
41635 * locale/weight.h (findidx): Add parameter len.
41636 * locale/weightwc.h (findidx): Likewise.
41637 * posix/fnmatch_loop.c (FCT): Adjust caller.
41638 * posix/regcomp.c (build_equiv_class): Likewise.
41639 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41640 * posix/regexec.c (check_node_accept_bytes): Likewise.
41641 * string/strcoll_l.c (STRCOLL): Likewise.
41642 * string/strxfrm_l.c (STRXFRM): Likewise.
41643
9d65ea3a
UD
416442011-11-17 Ulrich Drepper <drepper@gmail.com>
41645
41646 * Makefile.in: Remove CVSOPT handling.
41647 * configure.in: Remove use of AC_REVISION.
41648 * iconvdata/Makefile (distribute): No need to filter out CVS.
41649 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41650 handling.
41651
5583a086
AS
416522011-11-16 Andreas Schwab <schwab@redhat.com>
41653
41654 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41655 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41656 [USE_AS_STRNCASECMP_L]: Likewise.
41657 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41658 NO_TLS_DIRECT_SEG_REFS.
41659 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41660 Fix argument offsets for non-PIC.
41661 [USE_AS_STRNCASECMP_L]: Likewise.
41662 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41663 NO_TLS_DIRECT_SEG_REFS.
41664
d62a8200
UD
416652011-11-15 Ulrich Drepper <drepper@gmail.com>
41666
9d65ea3a 41667 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
41668 O_CLOEXEC.
41669 * locale/loadlocale.c (_nl_load_locale): Likewise.
41670
09f93bd3
AS
416712011-11-15 Andreas Schwab <schwab@redhat.com>
41672
446514f9
AS
41673 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41674 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41675 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41676 (SYSCALL_GETTIME): Set errno on error.
41677
09f93bd3
AS
41678 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41679 count references to noai6ai_cached.
41680
312be3f9
UD
416812011-11-15 Ulrich Drepper <drepper@gmail.com>
41682
41683 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41684
41685 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41686 FD_CLOEXEC for /proc/self/maps.
41687
41688 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41689 FD_CLOEXEC for /proc/meminfo.
41690
41691 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41692 gai.conf.
41693
41694 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41695 FD_CLOEXEC for given file.
41696
41697 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41698
41699 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41700 FD_CLOEXEC for /etc/hosts.
41701 (_gethtent): Likewise.
41702
41703 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41704
41705 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41706 cancellation and set FD_CLOEXEC for /etc/netgroup.
41707
41708 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41709 reading /etc/publickey.
41710
41711 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41712 allow cancellation when reading /etc/group.
41713
41714 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41715 cancellation.
41716 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41717
41718 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41719 when using data file.
41720
41721 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41722
41723 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41724 (write_nis_obj): Use "c" and "e" in fopen.
41725
41726 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41727
41728 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41729
41730 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41731
41732 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41733
41734 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41735 locale.alias.
41736
41737 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41738
41739 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41740
41741 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41742
41743 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41744 file parsing and set FD_CLOEXEC.
41745
82af0fa8
UD
417462011-11-14 Ulrich Drepper <drepper@gmail.com>
41747
41748 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41749
a5fb313c
AS
417502011-11-14 Andreas Schwab <schwab@redhat.com>
41751
41752 * malloc/arena.c (arena_get2): Don't call reused_arena when
41753 _int_new_arena failed.
41754
6abf3465
UD
417552011-11-14 Ulrich Drepper <drepper@gmail.com>
41756
41757 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41758 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41759 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41760 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41761 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41762 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41763 to compile strcasecmp and strncasecmp.
41764 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41765 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41766
41767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41768
76e3966e
UD
417692011-11-13 Ulrich Drepper <drepper@gmail.com>
41770
41771 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41772 locale-defines.sym to gen-as-const-headers.
41773 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41774 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41775 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41776 to compile strcasecmp and strncasecmp.
41777 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41778 strcasecmp_l and strncasecmp_l.
41779 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41780 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41781 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41782 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41783 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41784 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41785 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41786 * sysdeps/i386/i686/multiarch/strncase.S: New file.
41787 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41788 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41789 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41790
ab26144e
UD
417912011-11-12 Ulrich Drepper <drepper@gmail.com>
41792
7edb22ef
UD
41793 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41794 result of SYSDEP_GETTIME_CPU to retval.
41795 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41796 parameter list to macro. Remove trailing semicolon. Adjust users.
41797
9694fc44
UD
41798 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41799 variable.
41800
8ad89ef8
UD
41801 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41802 mantissa words.
41803 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41804
0c822ef9
UD
41805 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41806 from unused variable.
41807
874e0564
UD
41808 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41809 DWARF definitions.
41810 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41811 for assembling.
41812
3a2edc79
UD
41813 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41814 over namespaces.
41815
f3c2577f
UD
41816 * sunrpc/rpc_prot.c (rejected): Fix case value.
41817
294ce126
UD
41818 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41819 unsigned long long int to avoid warnings in shift.
41820
5e2b63c6
UD
41821 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41822 of use of trans.
41823 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41824 variable tmp.
41825
e7f4b08e
UD
41826 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41827 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41828 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41829
ab26144e
UD
41830 * nis/nis_table.c (nis_list): Use variable of correct type for
41831 result of __follow_path call.
41832
8a6d5255
AZ
418332011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41834
41835 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41836 of math functions ceil, trunc, floor, round, and sqrt, when
41837 avaliable on the platform.
41838 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41839 name clash.
41840 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41841 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41842 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41843
aaddc98c
MP
418442011-10-30 Marek Polacek <mpolacek@redhat.com>
41845
41846 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41847 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41848
95b7042b
RM
418492011-11-11 Roland McGrath <roland@hack.frob.com>
41850
41851 * include/unistd.h: Fix __readlink return type.
41852 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41853
57769839
UD
418542011-11-11 Ulrich Drepper <drepper@gmail.com>
41855
41856 * stdlib/ucontext.h: Undo last change for makecontext.
41857
edc5984d
AS
418582011-11-11 Andreas Schwab <schwab@redhat.com>
41859
98591e58
AS
41860 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41861
edc5984d
AS
41862 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41863 * setjmp/setjmp.h: Mark functions as non-leaf.
41864 * setjmp/bits/setjmp2.h: Likewise.
41865 * stdlib/ucontext.h: Likewise.
41866
77cdc054
AS
418672011-11-10 Andreas Schwab <schwab@redhat.com>
41868
41869 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41870 (reused_arena): Don't check arena limit.
41871 (arena_get2): Atomically check arena limit.
41872
fe72eebd
UD
418732011-11-08 Ulrich Drepper <drepper@gmail.com>
41874
5f078c32
UD
41875 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41876 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41877
fe72eebd
UD
41878 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41879 instructions.
41880
ae1bc2fa
AS
418812011-11-07 Andreas Schwab <schwab@redhat.com>
41882
7583a88d
AS
41883 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41884 handler when locking.
41885
ae1bc2fa
AS
41886 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41887 Fix size of allocated buffer.
41888
10fb0bfa
AS
418892011-11-04 Andreas Schwab <schwab@redhat.com>
41890
998832a4
AS
41891 [BZ #10103]
41892 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41893 declarations for long double functions.
41894 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41895
10fb0bfa
AS
41896 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41897
3d7ba52b
AS
418982011-11-03 Andreas Schwab <schwab@redhat.com>
41899
a9ae54a1
AS
41900 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41901 installed.
41902
3d7ba52b
AS
41903 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41904 is disabled.
41905
bc8db248
ST
419062011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41907
41908 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41909
45b96dd6
AS
419102011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41911
647776f6
AS
41912 * include/alloca.h (stackinfo_alloca_round): Define.
41913 (extend_alloca): Use it.
41914 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41915 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41916 here.
41917
d91a8b93
AS
41918 * scripts/check-local-headers.sh: Ignore libaudit.h.
41919
45b96dd6
AS
41920 * nscd/Makefile (extra-objs): Make recursively expanded.
41921
432d41ce
UD
419222011-11-01 Ulrich Drepper <drepper@gmail.com>
41923
34372fc6
UD
41924 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41925 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41926
fadb59f8
UD
41927 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41928 * posix/tst-rfc3484-2.c: Likewise.
41929 * posix/tst-rfc3484-3.c: Likewise.
41930
78239589
UD
41931 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41932 process_vm_writev.
41933 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41934 process_vm_writev.
41935 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41936 process_vm_writev from libc using GLIBC_2.15 version.
41937
432d41ce
UD
41938 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41939
02f9c6cf
PP
419402011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41941
41942 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41943 stack usage.
41944
3a2c0242
UD
419452011-10-31 Ulrich Drepper <drepper@gmail.com>
41946
f4ec4833
UD
41947 [BZ #13367]
41948 * nss/getent.c (initgroups_keys): Show error message in case no group
41949 names are given.
41950
3a2c0242
UD
41951 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41952 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41953 __bump_nl_timestamp.
41954 * nscd/connections (nscd_init): When host database is served open
41955 netlink socket and request notification about configuration changes.
41956 (main_loop_poll): Track netlink file descriptor and bump timestamp
41957 in case data becomes available.
41958 (main_loop_epoll): Likewise.
41959 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41960 (database_pers_head): Add extra_data fileds.
41961 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41962 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41963 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41964 Adjust caller.
41965 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41966 in6ai data, call __free_in6ai.
41967 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41968 Add -DHAVE_NETLINK.
41969 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41970 interface information. Reuse previous data if netlink timestamp
41971 is not changed.
41972 (__bump_nl_timestamp): New function.
41973 (__free_in6ai): New function.
41974
636064eb
UD
419752011-10-30 Ulrich Drepper <drepper@gmail.com>
41976
41977 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41978 close_not_cancel_no_status here.
41979 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41980
9beb2334
UD
419812011-10-29 Ulrich Drepper <drepper@gmail.com>
41982
6ef76f3b
UD
41983 [BZ #13276]
41984 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41985 return value.
41986
0ffc4f3e 41987 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
41988 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41989 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41990
cb95113e
UD
419912011-07-03 Andreas Jaeger <aj@suse.de>
41992
41993 [BZ #10709]
41994 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41995 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41996 * math/libm-test.inc (sin_test): Add test case.
41997
a1b560ff
UD
419982011-10-29 Ulrich Drepper <drepper@gmail.com>
41999
c9aaface
UD
42000 [BZ #13337]
42001 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42002 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42003
d272e7f1
UD
42004 * elf/chroot_canon.c (chroot_canon): Cleanups.
42005
1bc33071
UD
42006 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42007
1760874d
TJ
42008 [BZ #13335]
42009 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42010 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42011
51d91b18
UD
42012 * string/test-strchr.c: Make usable for strchrnul testing.
42013 * string/test-strchrnul.c: New file.
42014 * string/Makefile (strop-tests): Add strchrnul.
42015
a1b560ff 42016 * po/it.po: Update from translation team.
b611fb81 42017 * po/es.po: Likewise.
a1b560ff 42018
a5b81e1f
UD
420192011-10-28 Ulrich Drepper <drepper@gmail.com>
42020
fd52bc6d
UD
42021 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42022 the three constants needed as parameters. Drop the others.
42023 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42024 __m128i_strloadu_tolower.
52e4b9eb
UD
42025 Create and initialize variable zero and use it in all the places
42026 where _mm_setzero_si128 was used.
fd52bc6d 42027
a5b81e1f
UD
42028 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42029 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42030 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42031 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42032 anymore.
42033 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42034 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42035 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42036 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42037 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42038 __mpranred, __mptan.
42039 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42040 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42041 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42042 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42043 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42044 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42045 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42046 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42047 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42048
b4343346
AS
420492011-10-28 Andreas Schwab <schwab@redhat.com>
42050
0c92d8a8
AS
42051 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42052 redefine if SHARED.
42053 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42054
b4343346
AS
42055 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42056 wide char related routines to wcsmbs subdir.
42057
3871f58f
AS
420582011-10-27 Andreas Schwab <schwab@redhat.com>
42059
42060 [BZ #13344]
42061 * misc/sys/cdefs.h (__THROWNL): Define.
42062 * posix/unistd.h: Use __THREADNL instead of __THREAD
42063 for memory synchronization functions.
42064
94d44d9f
RM
420652011-10-26 Roland McGrath <roland@hack.frob.com>
42066
21b64b15 42067 [BZ #13349]
94d44d9f
RM
42068 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42069 doesn't exist.
42070 * manual/stdio.texi (Obstack Streams): Node removed.
42071
f6ce9294
AS
420722011-10-26 Andreas Schwab <schwab@redhat.com>
42073
80479147
AS
42074 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42075 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42076 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42077
f6ce9294
AS
42078 * math/math_private.h (math_force_eval): Allow non-addressable
42079 arguments.
42080 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42081
618280a1
UD
420822011-10-25 Ulrich Drepper <drepper@gmail.com>
42083
e0016b11
UD
42084 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42085 file is not needed.
42086
42087 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42088 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42089 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42090 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42091 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42092 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42093 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42094 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42095 Add AVX variants.
42096 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42097 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42098 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42099 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42100 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42101 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42102 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42103 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42104 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42105 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42106 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42107 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42108 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42109 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42110 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42111 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42112 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42113 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42114 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42115
42116 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42117 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42118
618280a1
UD
42119 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42120 place. Use VEX encoding when compiling for AVX.
42121
37822576
AS
421222011-10-25 Andreas Schwab <schwab@redhat.com>
42123
1f1e1947
AS
42124 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42125 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42126
37822576
AS
42127 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42128
31ea014d
UD
421292011-10-25 Ulrich Drepper <drepper@gmail.com>
42130
d7826aa1 42131 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 42132 useless if() expression.
d7826aa1
UD
42133 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42134 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42135 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42136 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42137 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42138 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42139 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42140 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42141 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42142 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42143 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42144 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42145 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42146 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42147 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42148 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42149 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42150 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42151 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42152
31ea014d
UD
42153 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42154
16437fec
AS
421552011-10-25 Andreas Schwab <schwab@redhat.com>
42156
42157 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42158 condition.
42159 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42160
31d3cc00
UD
421612011-10-25 Ulrich Drepper <drepper@gmail.com>
42162
42163 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42164 .text section. Avoid duplicate constants.
42165 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42167 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42168 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42169 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42170 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42171 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42172 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42173 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42174 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42175 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42176 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42177 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42178 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42179 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42180 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42181 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42182 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42183 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42185 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42186 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42187 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42188 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42189 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42190 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42191 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42192 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42193 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42194 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42195 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42196 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42197 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42198 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42199 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42200 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42201 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42202 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42203 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42204 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42205 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42206 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42207 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42208 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42209 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42210
58985aa9
UD
422112011-10-24 Ulrich Drepper <drepper@gmail.com>
42212
202c9deb
UD
42213 * sysdeps/x86_64/dla.h: Move to ...
42214 * sysdeps/x86_64/fpu/dla.h: ...here.
42215 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42216 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 42217
af968f62
UD
42218 * config.make.in: Add have-mfma4 entry.
42219 * configure.in: Substitute libc_cv_cc_fma4.
42220 * math/Makefile (dbl-only-routines): Add sincostab.
42221 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42222 Use __sincostab not sincos.
42223 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42224 name is a macro.
42225 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42226 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42227 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42228 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42229 using __copysign.
42230 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42231 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42232 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42233 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42234 and __inv.
42235 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42236 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42237 __copysign.
42238 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42239 define aliases when function name is a macro.
42240 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42241 sysdeps/ieee754/dbl-64/sincos.tbl.
42242 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42243 fma4-enabled routines.
42244 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42245 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42246 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42247 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42248 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42249 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42250 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42251 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42252 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42253 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42254 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42255 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42256 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42257 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42258 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42259 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42260 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42261 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42262 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42263 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42264 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42265 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42266 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42267 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42268 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42269 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42270 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42271 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42272 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42273 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42274
58985aa9
UD
42275 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42276 rename.
42277 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42278 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42282 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42283 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42284 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42285
a201fbcf
AS
422862011-10-24 Andreas Schwab <schwab@redhat.com>
42287
42288 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42289
fc2ee42a
LD
422902011-10-23 Ulrich Drepper <drepper@gmail.com>
42291
bb3129bd
UD
42292 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42293
0275fff8
UD
42294 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42295 prediction.
42296 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42297
2fa2ae85
UD
42298 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42299 Remove unused variable magic_bits.
42300 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42301
fc2ee42a
LD
42302 * string/strnlen.c: Define and use STRNLEN macro.
42303 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42304 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42305 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42306 * wcsmbs/wcslen.c: Define and use WCSLEN.
42307 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42308 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42309 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42310 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42311 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42312 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42313 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42314
ce7dd29f
LD
423152011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42316
42317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42318 strnlen-sse2-no-bsf.
42319 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42320 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42321 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42322 Add strnlen support.
42323 (USE_AS_STRNLEN): New macro.
42324 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42325 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42326 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42327 * sysdeps/x86_64/wcslen.S: New file.
42328
979c70a3
MZ
423292011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42330
42331 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42332 XMM-moves are used for copying on small sizes.
42333
2d09f82f
LD
423342011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42335
42336 * wcsmbs/Makefile (strop-tests): Add wcschr.
42337 * wcsmbs/test-wcschr.c: New file.
42338 * string/test-strchr.c: Update.
42339 Add wcschr support.
42340 (WIDE): New macro.
42341
619fccca
LD
423422011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42343
2d09f82f 42344 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
42345 * wcsmbs/test-wcslen.c: New file.
42346 * string/test-strlen.c: Update.
42347 Add wcslen support.
42348 (WIDE): New macro.
42349
09f699ea
UD
423502011-10-23 Ulrich Drepper <drepper@gmail.com>
42351
42352 * po/it.po: Update from translation team.
42353
95584d3b
LD
423542011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42355
42356 * sysdeps/x86_64/wcscmp.S: Update.
42357 Fix wrong comparison semantics.
42358 wcscmp shall use signed comparison not unsigned.
42359 Don't use substraction to avoid overflow bug.
42360 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42361 * wcsmbc/wcscmp.c: Likewise.
42362 * string/test-strcmp.c: Likewise.
42363 Add new tests to check cases with negative values.
42364
c8b3296b
UD
423652011-10-23 Ulrich Drepper <drepper@gmail.com>
42366
42367 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42368 * sysdeps/x86_64/dla.h: ...here. New file.
42369 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42370 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42371 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42374 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42375 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42376 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42378
246ad57a
AS
423792011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42380
42381 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42382 __ynl_finite aliases.
42383
a1a87169
UD
423842011-10-22 Ulrich Drepper <drepper@gmail.com>
42385
0d355eb7
UD
42386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42387
a1a87169
UD
42388 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42389 define DLA_FMA.
42390 [DLA_FMA] (EMULV): Use DLA_FMA.
42391 [DLA_FMA] (MUL12): Use EMULV.
42392 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42393 that are not needed.
42394 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42396 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42397 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42398 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42399 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42400 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42401
ee2aafe0
AS
424022011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42403
42404 * math/s_nan.c: Undef __nan.
42405 * math/s_nanf.c: Undef __nanf.
42406 * math/s_nanl.c: Undef __nanl.
42407 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42408 "math_private.h".
42409
bc62c2fb
UD
424102011-10-22 Ulrich Drepper <drepper@gmail.com>
42411
77425c63
UD
42412 * math/s_catan.c: Add branch predictions.
42413 * math/s_catanf.c: Likewise.
42414 * math/s_catanh.c: Likewise.
42415 * math/s_catanhf.c: Likewise.
42416 * math/s_catanhl.c: Likewise.
42417 * math/s_catanl.c: Likewise.
42418 * math/s_cexp.c: Likewise.
42419 * math/s_cexpf.c: Likewise.
42420 * math/s_cexpl.c: Likewise.
42421 * math/s_clog.c: Likewise.
42422 * math/s_clog10.c: Likewise.
42423 * math/s_clog10f.c: Likewise.
42424 * math/s_clog10l.c: Likewise.
42425 * math/s_clogf.c: Likewise.
42426 * math/s_clogl.c: Likewise.
42427 * math/s_csqrt.c: Likewise.
42428 * math/s_csqrtf.c: Likewise.
42429 * math/s_csqrtl.c: Likewise.
42430 * math/s_ctanf.c: Likewise.
42431 * math/s_ctanh.c: Likewise.
42432 * math/s_ctanhf.c: Likewise.
42433 * math/s_ctanhl.c: Likewise.
42434 * math/s_ctanl.c: Likewise.
42435
bc62c2fb
UD
42436 * math/math_private.h: Define __nan, __nanf, __nanl.
42437 * math/s_cacosh.c: Include <math_private.h>.
42438 * math/s_cacoshl.c: Likewise.
42439 * math/s_casinh.c: Likewise.
42440 * math/s_casinhf.c: Likewise.
42441 * math/s_casinhl.c: Likewise.
42442 * math/s_ccos.c: Rely entire on ccosh.
42443 * math/s_ccosf.c: Rely entire on ccoshf.
42444 * math/s_ccosl.c: Rely entirely on ccoshl.
42445 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42446 Remove tests for FE_INVALID.
42447 * math/s_ccoshf.c: Likewise.
42448 * math/s_ccoshl.c: Likewise.
42449 * math/s_csin.c: Likewise.
42450 * math/s_csinf.c: Likewise.
42451 * math/s_csinh.c Likewise.
42452 * math/s_csinhf.c: Likewise.
42453 * math/s_csinhl.c: Likewise.
42454 * math/s_csinl.c: Likewise.
42455 * math/s_ctan.c: Likewise.
42456 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42457 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42458 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42459
8ec250a4
UD
424602011-10-21 Ulrich Drepper <drepper@gmail.com>
42461
c196fed8
UD
42462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42463 compilation problems.
42464
8ec250a4
UD
42465 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42466 __builtin_expect.
42467
8d4f46c6
UD
424682011-10-20 Ulrich Drepper <drepper@gmail.com>
42469
ed72b654
UD
42470 * sysdeps/i386/configure.in: Test for -mfma4 option.
42471 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42472 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42473 COMMON_CPUID_INDEX_80000001.
42474 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42475 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42476 use it if FMA3 is not supported.
42477 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42478
8d4f46c6
UD
42479 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42480 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42481
d45c60c2
AS
424822011-10-20 Andreas Schwab <schwab@redhat.com>
42483
42484 [BZ #12892]
42485 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42486 it would create a cycle with a link time dependency.
42487
d9a4d2ab
UD
424882011-10-19 Ulrich Drepper <drepper@gmail.com>
42489
855d1560
UD
42490 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42491 instruction.
42492 * string/Makefile (strop-tests): Add rawmemchr.
42493 * string/test-rawmemchr.c: New file.
42494
d9a4d2ab
UD
42495 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42496 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42497 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42498 when compiling str{,n}casecmp and when AVX is available. Hook up
42499 new optimized code in initializers.
42500
8f3b1ffe
AS
425012011-10-19 Andreas Schwab <schwab@redhat.com>
42502
42503 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42504 __feraiseexcept instead of feraiseexcept.
42505
d38f1dba
UD
425062011-10-18 Ulrich Drepper <drepper@gmail.com>
42507
d9a8d0ab
UD
42508 * math/math_private.h: Define defaults for libc_fetestexcept and
42509 libc_feupdateenv.
42510 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42511 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42512 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42513 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42514 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42515 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42516 libc_fetestexcept and libc_feupdateenv.
42517
4855e3dd
UD
42518 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42519 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42520 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42521 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42522 libc_feholdexcept_setround.
42523
581d30e3
UD
42524 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42525 Add s_nearbyint-c and s_nearbyintf-c.
42526 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42527 nearbyintf inlines.
42528 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42529 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42530 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42531 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42532
d38f1dba
UD
42533 * math/math_private.h: Define defaults for libc_fegetround,
42534 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42535 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42536 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42537 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42538 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42539 standard functions.
42540 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42541 Remove comments and hacks for old compiler versions.
42542 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42543 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42544 libc_feholdexceptl.
42545
caa6c9d8
AS
425462011-10-18 Andreas Schwab <schwab@redhat.com>
42547
42548 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
42549 (__feraiseexcept_renamed): Add __NTH.
42550 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
42551 namespace violations.
42552
97c066e6
UD
425532011-10-17 Ulrich Drepper <drepper@gmail.com>
42554
99ce7b04
UD
42555 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42556
1004d182
UD
42557 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42558
228a984d
UD
42559 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42560 recently added interfaces.
42561 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42562
c8553a6a
UD
42563 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42564 about macro parameter expansion.
42565
ed22dcf6
UD
42566 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42567 __NO_MATH_INLINES is defined. Cleanups.
42568
42569 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42570 and __floorf is target has SSE4.1.
42571 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42572 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42573 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42574 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42575
b171c137
UD
42576 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42577 name.
42578 (floorf): Likewise.
42579
97c066e6
UD
42580 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42581
629f62ef
AS
425822011-10-17 Andreas Schwab <schwab@redhat.com>
42583
49a43d80
AS
42584 * misc/sys/cdefs.h: Fix last change.
42585
629f62ef
AS
42586 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42587 database lookup.
42588
e453f6cd
UD
425892011-10-16 Ulrich Drepper <drepper@gmail.com>
42590
aa78043a
UD
42591 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42592
ad0f5cad
UD
42593 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42594 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42595 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42596 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42597 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42598 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42599 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42600 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42601 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42602 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42603 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42604 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42605 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42606 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42607 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42608 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42609 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42610 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42611 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42612 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42613 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42614 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42615
42616 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42617 ceil, ceilf, floor, floorf.
42618
42619 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42620 Perform IRELATIVE relocations last.
42621
e453f6cd
UD
42622 * elf/do-rel.h: Add another parameter nrelative, replacing the
42623 local variable with the same name. Change name of the function
42624 to end in Rel or Rela (uppercase).
42625 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42626 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42627 elf_dynamic_do_##reloc function.
42628
fd5bdc09
UD
426292011-10-15 Ulrich Drepper <drepper@gmail.com>
42630
79b195b5
UD
42631 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42632 is sufficient, at least on modern CPUs.
42633
d4a28569
UD
42634 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42635
b61099b5
UD
42636 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42637 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42638
bcf01e6d
UD
42639 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42640 __expl_finite.
42641 * math/bits/math-finite.h: Add entries for exp.
42642 * math/e_expl.c: Add __*_finite alias.
42643 * sysdeps/i386/fpu/e_exp.S: Likewise.
42644 * sysdeps/i386/fpu/e_expf.S: Likewise.
42645 * sysdeps/i386/fpu/e_expl.c: Likewise.
42646 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42647 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42648 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42649 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42650 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42651 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42652 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42653
ba1a0d59
UD
42654 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42655 is sufficient, at least on modern CPUs.
42656
fd5bdc09
UD
42657 * ctype/ctype-info.c (__ctype_init): Define.
42658 * include/ctype.h (__ctype_init): Declare.
42659 (__ctype_b_loc): The variable is always initialized.
42660 (__ctype_toupper_loc): Likewise.
42661 (__ctype_tolower_loc): Likewise.
42662 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42663 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42664
7872cfb0
AS
426652011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42666
b468825a
AS
42667 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42668
7872cfb0
AS
42669 * configure.in: Also look in $cxxmachine/include for C++ system
42670 headers.
42671
be13f7bf
LD
426722011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42673
42674 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42675 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42676 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42677 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42678 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42679 (USE_AS_WMEMCMP): New macro.
42680 Fixing indents.
42681 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42682 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42683 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42684 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42685 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42686 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42687 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42688 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42689 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42690 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42691 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42692 (USE_AS_WMEMCMP): New macro.
42693 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42694 * sysdeps/string/test-memcmp.c: Update.
42695 Fix simple_wmemcmp.
42696 Add new tests.
42697 * wcsmbs/wmemcmp.c: Update.
42698 (WMEMCMP): New macro.
42699 Fix overflow bug.
42700
556a2007
AJ
427012011-10-12 Andreas Jaeger <aj@suse.de>
42702
42703 [BZ #13268]
42704 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42705
538faaa7
UD
427062011-10-15 Ulrich Drepper <drepper@gmail.com>
42707
ab6737ff
UD
42708 * libio/iofwide.c (do_length): Avoid warning.
42709
538faaa7
UD
42710 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42711
396a21b1
UD
427122011-10-14 Ulrich Drepper <drepper@gmail.com>
42713
cdf2901f
UD
42714 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42715
38ad40ce
UD
42716 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42717 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42718 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42719 * sysdeps/i386/i686/fpu/e_log.S: New file.
42720 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42721 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42722
396a21b1
UD
42723 * ctype/ctype.h: Add support for inlined isXXX functions when
42724 compiling C++ code.
42725
6b1f68c9
AS
427262011-10-14 Andreas Schwab <schwab@redhat.com>
42727
349290c0
AS
42728 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42729
6b1f68c9
AS
42730 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42731
f2282d42
RM
427322011-10-13 Roland McGrath <roland@hack.frob.com>
42733
42734 [BZ #13291]
42735 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42736
5298ffa8
AS
427372011-10-13 Andreas Schwab <schwab@redhat.com>
42738
714fad23
AS
42739 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42740 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42741 feraiseexcept.
42742
81dcc7fb
AS
42743 * sysdeps/x86_64/memrchr.S: Check for zero size.
42744
5298ffa8
AS
42745 * string/stratcliff.c: Add memrchr tests.
42746
951fbcec
LD
427472011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42748
42749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42750 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42751 rawmemchr-sse2 rawmemchr-sse2-bsf.
42752 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42753 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42754 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42755 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42756 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42757 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42758 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42759 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42760 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42761 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42762 * string/memrchr.c (MEMRCHR): New macro.
42763
0ac5ae23
UD
427642011-10-12 Ulrich Drepper <drepper@gmail.com>
42765
42766 Add integration with gcc's -ffinite-math-only and optimize wrapper
42767 functions in libm.
42768 * Versions.def: Define GLIBC_2.15 version for libm.
42769 * math/Makefile (headers): Add bits/math-finite.h.
42770 * math/bits/math-finite.h: New file.
42771 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42772 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42773 * math/e_acoshl.c: Add __*_finite alias.
42774 * math/e_acosl.c: Likewise.
42775 * math/e_asinl.c: Likewise.
42776 * math/e_atan2l.c: Likewise.
42777 * math/e_atanhl.c: Likewise.
42778 * math/e_coshl.c: Likewise.
42779 * math/e_exp10.c: Likewise.
42780 * math/e_exp10f.c: Likewise.
42781 * math/e_exp10l.c: Likewise.
42782 * math/e_exp2l.c: Likewise.
42783 * math/e_fmodl.c: Likewise.
42784 * math/e_gammal_r.c: Likewise.
42785 * math/e_hypotl.c: Likewise.
42786 * math/e_j0l.c: Likewise.
42787 * math/e_j1l.c: Likewise.
42788 * math/e_jnl.c: Likewise.
42789 * math/e_lgammal_r.c: Likewise.
42790 * math/e_log10l.c: Likewise.
42791 * math/e_log2l.c: Likewise.
42792 * math/e_logl.c: Likewise.
42793 * math/e_powl.c: Likewise.
42794 * math/e_sinhl.c: Likewise.
42795 * math/e_sqrtl.c: Likewise.
42796 * math/e_scalb.c: Completely rewritten and optimized.
42797 * math/e_scalbf.c: Likewise.
42798 * math/e_scalbl.c: Likewise.
42799 * math/w_acos.c: Likewise.
42800 * math/w_acosf.c: Likewise.
42801 * math/w_acosl.c: Likewise.
42802 * math/w_acosh.c: Likewise.
42803 * math/w_acoshf.c: Likewise.
42804 * math/w_acoshl.c: Likewise.
42805 * math/w_asin.c: Likewise.
42806 * math/w_asinf.c: Likewise.
42807 * math/w_asinl.c: Likewise.
42808 * math/w_atan2.c: Likewise.
42809 * math/w_atan2f.c: Likewise.
42810 * math/w_atan2l.c: Likewise.
42811 * math/w_atanh.c: Likewise.
42812 * math/w_atanhf.c: Likewise.
42813 * math/w_atanhl.c: Likewise.
42814 * math/w_exp10.c: Likewise.
42815 * math/w_exp10f.c: Likewise.
42816 * math/w_exp10l.c: Likewise.
42817 * math/w_fmod.c: Likewise.
42818 * math/w_fmodf.c: Likewise.
42819 * math/w_fmodl.c: Likewise.
42820 * math/w_j0.c: Likewise.
42821 * math/w_j0f.c: Likewise.
42822 * math/w_j0l.c: Likewise.
42823 * math/w_j1.c: Likewise.
42824 * math/w_j1f.c: Likewise.
42825 * math/w_j1l.c: Likewise.
42826 * math/w_jn.c: Likewise.
42827 * math/w_jnf.c: Likewise.
42828 * math/w_log.c: Likewise.
42829 * math/w_logf.c: Likewise.
42830 * math/w_logl.c: Likewise.
42831 * math/w_log10.c: Likewise.
42832 * math/w_log10f.c: Likewise.
42833 * math/w_log10l.c: Likewise.
42834 * math/w_log2.c: Likewise.
42835 * math/w_log2f.c: Likewise.
42836 * math/w_log2l.c: Likewise.
42837 * math/w_pow.c: Likewise.
42838 * math/w_powf.c: Likewise.
42839 * math/w_powl.c: Likewise.
42840 * math/w_remainder.c: Likewise.
42841 * math/w_remainderf.c: Likewise.
42842 * math/w_remainderl.c: Likewise.
42843 * math/w_scalb.c: Likewise.
42844 * math/w_scalbf.c: Likewise.
42845 * math/w_scalbl.c: Likewise.
42846 * math/w_sqrt.c: Likewise.
42847 * math/w_sqrtf.c: Likewise.
42848 * math/w_sqrtl.c: Likewise.
42849 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42850 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42851 used.
42852 * math/math_private.h: Declare __kernel_standard_f.
42853 * math/w_cosh.c: Remove cruft and optimize a bit.
42854 * math/w_coshf.c: Likewise.
42855 * math/w_coshl.c: Likewise.
42856 * math/w_exp2.c: Likewise.
42857 * math/w_exp2f.c: Likewise.
42858 * math/w_exp2l.c: Likewise.
42859 * math/w_hypot.c: Likewise.
42860 * math/w_hypotf.c: Likewise.
42861 * math/w_hypotl.c: Likewise.
42862 * math/w_lgamma.c: Likewise.
42863 * math/w_lgamma_r.c: Likewise.
42864 * math/w_lgammaf.c: Likewise.
42865 * math/w_lgammaf_r.c: Likewise.
42866 * math/w_lgammal.c: Likewise.
42867 * math/w_lgammal_r.c: Likewise.
42868 * math/w_sinh.c: Likewise.
42869 * math/w_sinhf.c: Likewise.
42870 * math/w_sinhl.c: Likewise.
42871 * math/w_tgamma.c: Likewise.
42872 * math/w_tgammaf.c: Likewise.
42873 * math/w_tgammal.c: Likewise.
42874 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42875 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42876 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42877 Minor optimizations. Pretty printing. Remove cruft.
42878 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42879 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42880 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42881 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42882 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42883 * sysdeps/i386/fpu/e_asin.S: Likewise.
42884 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42885 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42886 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42887 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42888 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42889 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42890 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42891 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42892 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42893 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42894 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42895 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42896 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42897 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42898 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42899 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42900 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42901 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42902 * sysdeps/i386/fpu/e_log.S: Likewise.
42903 * sysdeps/i386/fpu/e_log10.S: Likewise.
42904 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42905 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42906 * sysdeps/i386/fpu/e_log2.S: Likewise.
42907 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42908 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42909 * sysdeps/i386/fpu/e_logf.S: Likewise.
42910 * sysdeps/i386/fpu/e_logl.S: Likewise.
42911 * sysdeps/i386/fpu/e_pow.S: Likewise.
42912 * sysdeps/i386/fpu/e_powf.S: Likewise.
42913 * sysdeps/i386/fpu/e_powl.S: Likewise.
42914 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42915 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42916 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42917 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42918 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42919 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42920 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42921 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42922 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42923 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42924 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42925 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42926 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42927 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42928 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42929 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42930 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42931 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42932 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42933 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42934 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42936 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42937 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42938 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42939 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42940 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42941 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42942 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42943 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42944 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42945 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42946 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42947 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42948 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42949 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42950 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42951 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42952 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42953 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42954 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42955 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42956 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42957 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42958 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42959 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42960 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42961 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42962 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42963 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42964 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42965 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42966 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42967 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42968 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42969 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42970 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42971 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42972 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42973 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42974 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42975 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42976 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42977 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42978 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42979 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42980 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42981 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42982 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42983 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42984 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42985 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42986 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42987 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42988 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42989 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42990 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42991 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42992 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42993 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42994 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42995 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42996 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42997 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42998 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42999 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43000 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43001 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43002 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43003 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43004 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43005 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43006 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43007 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43008 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43009 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43010 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43011 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43012 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43013 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43014 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43015 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43016 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43017 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43018 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43019 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43020 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43021 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43022 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43023 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43024 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43025 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43026 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43027 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43028 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43029 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43030 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43031 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43032 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43033 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43034 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43035 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43036 (__isnanf): Likewise.
43037 (__isinf_ns): Likewise.
43038 (__isinf_nsf): Likewise.
43039 (__finite): Likewise.
43040 (__finitef): Likewise.
43041 (__ieee754_sqrt): Define as macro.
43042 (__ieee754_sqrtf): Define as macro.
43043 (__ieee754_sqrtl): Define as macro.
43044 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43045 inlined copy.
43046 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43047 __FINITE_MATH_ONLY__ consistent.
43048 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43049
12cc2fcd
AS
430502011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43051
a843a204
AS
43052 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43053 of rawmemchr.
43054
12cc2fcd
AS
43055 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43056
c853acd5
UD
430572011-10-09 Ulrich Drepper <drepper@gmail.com>
43058
43059 * po/ja.po: Update from translation team.
43060
c658d255
RM
430612011-10-08 Roland McGrath <roland@hack.frob.com>
43062
110946e4
RM
43063 * locale/programs/locarchive.c (prepare_address_space): New function.
43064 (create_archive, enlarge_archive, open_archive): Use it.
43065
50604220
RM
43066 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43067 inside [SHARED], where it is used.
43068
c658d255
RM
43069 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43070
43071 * nss/getent.c (netgroup_keys): Remove unused variable.
43072 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43073
6a621eb7
UD
430742011-10-08 Ulrich Drepper <drepper@gmail.com>
43075
7edb55ce
UD
43076 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43077 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43078 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43079 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43080 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43081 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43082 * math/Makefile (libm-calls): Add s_isinf_ns.
43083 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43084 * math/multc3.c: Likewise.
43085 * math/s_casin.c: Likewise.
43086 * math/s_casinf.c: Likewise.
43087 * math/s_casinl.c: Likewise.
43088 * math/s_ccos.c: Likewise.
43089 * math/s_ccosf.c: Likewise.
43090 * math/s_ccosl.c: Likewise.
43091 * math/s_ctan.c: Likewise.
43092 * math/s_ctanf.c: Likewise.
43093 * math/s_ctanh.c: Likewise.
43094 * math/s_ctanhf.c: Likewise.
43095 * math/s_ctanhl.c: Likewise.
43096 * math/s_ctanl.c: Likewise.
43097 * math/w_fmod.c: Likewise.
43098 * math/w_fmodf.c: Likewise.
43099 * math/w_fmodl.c: Likewise.
43100 * math/w_remainder.c: Likewise.
43101 * math/w_remainderf.c: Likewise.
43102 * math/w_remainderl.c: Likewise.
43103 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43104 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43105 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43107 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43108 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43109 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43110 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43111
187da0ae
UD
43112 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43113 of the number.
43114 * stdio-common/printf_fphex.c: Likewise.
43115 * stdio-common/printf_size.c: Likewise.
43116
9277c064
UD
43117 * math/e_exp10.c: Include math_private.h using <...> not "...".
43118 * math/e_exp10f.c: Likewise.
43119 * math/e_exp10l.c: Likewise.
43120 * math/e_exp2l.c: Likewise.
43121 * math/e_j0l.c: Likewise.
43122 * math/e_j1l.c: Likewise.
43123 * math/e_jnl.c: Likewise.
43124 * math/e_lgammal_r.c: Likewise.
43125 * math/e_rem_pio2l.c: Likewise.
43126 * math/e_scalb.c: Likewise.
43127 * math/e_scalbf.c: Likewise.
43128 * math/e_scalbl.c: Likewise.
43129 * math/k_cosl.c: Likewise.
43130 * math/k_sinl.c: Likewise.
43131 * math/k_tanl.c: Likewise.
43132 * math/s_cacoshf.c: Likewise.
43133 * math/s_catan.c: Likewise.
43134 * math/s_catanf.c: Likewise.
43135 * math/s_catanh.c: Likewise.
43136 * math/s_catanhf.c: Likewise.
43137 * math/s_catanhl.c: Likewise.
43138 * math/s_catanl.c: Likewise.
43139 * math/s_ccosh.c: Likewise.
43140 * math/s_ccoshf.c: Likewise.
43141 * math/s_ccoshl.c: Likewise.
43142 * math/s_cexp.c: Likewise.
43143 * math/s_cexpf.c: Likewise.
43144 * math/s_cexpl.c: Likewise.
43145 * math/s_clog.c: Likewise.
43146 * math/s_clog10.c: Likewise.
43147 * math/s_clog10f.c: Likewise.
43148 * math/s_clog10l.c: Likewise.
43149 * math/s_clogf.c: Likewise.
43150 * math/s_clogl.c: Likewise.
43151 * math/s_csin.c: Likewise.
43152 * math/s_csinf.c: Likewise.
43153 * math/s_csinh.c: Likewise.
43154 * math/s_csinhf.c: Likewise.
43155 * math/s_csinhl.c: Likewise.
43156 * math/s_csinl.c: Likewise.
43157 * math/s_csqrt.c: Likewise.
43158 * math/s_csqrtf.c: Likewise.
43159 * math/s_csqrtl.c: Likewise.
43160 * math/s_ctan.c: Likewise.
43161 * math/s_ctanf.c: Likewise.
43162 * math/s_ctanh.c: Likewise.
43163 * math/s_ctanhf.c: Likewise.
43164 * math/s_ctanhl.c: Likewise.
43165 * math/s_ctanl.c: Likewise.
43166 * math/s_ldexp.c: Likewise.
43167 * math/s_ldexpf.c: Likewise.
43168 * math/s_ldexpl.c: Likewise.
43169 * math/s_significand.c: Likewise.
43170 * math/s_significandf.c: Likewise.
43171 * math/s_significandl.c: Likewise.
43172 * math/w_acos.c: Likewise.
43173 * math/w_acosf.c: Likewise.
43174 * math/w_acosh.c: Likewise.
43175 * math/w_acoshf.c: Likewise.
43176 * math/w_acoshl.c: Likewise.
43177 * math/w_acosl.c: Likewise.
43178 * math/w_asin.c: Likewise.
43179 * math/w_asinf.c: Likewise.
43180 * math/w_asinl.c: Likewise.
43181 * math/w_atan2.c: Likewise.
43182 * math/w_atan2f.c: Likewise.
43183 * math/w_atan2l.c: Likewise.
43184 * math/w_atanh.c: Likewise.
43185 * math/w_atanhf.c: Likewise.
43186 * math/w_atanhl.c: Likewise.
43187 * math/w_cosh.c: Likewise.
43188 * math/w_coshf.c: Likewise.
43189 * math/w_coshl.c: Likewise.
43190 * math/w_dremf.c: Likewise.
43191 * math/w_exp10.c: Likewise.
43192 * math/w_exp10f.c: Likewise.
43193 * math/w_exp10l.c: Likewise.
43194 * math/w_exp2.c: Likewise.
43195 * math/w_exp2f.c: Likewise.
43196 * math/w_fmod.c: Likewise.
43197 * math/w_fmodf.c: Likewise.
43198 * math/w_fmodl.c: Likewise.
43199 * math/w_hypot.c: Likewise.
43200 * math/w_hypotf.c: Likewise.
43201 * math/w_hypotl.c: Likewise.
43202 * math/w_j0.c: Likewise.
43203 * math/w_j0f.c: Likewise.
43204 * math/w_j0l.c: Likewise.
43205 * math/w_j1.c: Likewise.
43206 * math/w_j1f.c: Likewise.
43207 * math/w_j1l.c: Likewise.
43208 * math/w_jn.c: Likewise.
43209 * math/w_jnf.c: Likewise.
43210 * math/w_jnl.c: Likewise.
43211 * math/w_lgamma.c: Likewise.
43212 * math/w_lgamma_r.c: Likewise.
43213 * math/w_lgammaf.c: Likewise.
43214 * math/w_lgammaf_r.c: Likewise.
43215 * math/w_lgammal.c: Likewise.
43216 * math/w_lgammal_r.c: Likewise.
43217 * math/w_log.c: Likewise.
43218 * math/w_log10.c: Likewise.
43219 * math/w_log10f.c: Likewise.
43220 * math/w_log10l.c: Likewise.
43221 * math/w_log2.c: Likewise.
43222 * math/w_log2f.c: Likewise.
43223 * math/w_log2l.c: Likewise.
43224 * math/w_logf.c: Likewise.
43225 * math/w_logl.c: Likewise.
43226 * math/w_pow.c: Likewise.
43227 * math/w_powf.c: Likewise.
43228 * math/w_powl.c: Likewise.
43229 * math/w_remainder.c: Likewise.
43230 * math/w_remainderf.c: Likewise.
43231 * math/w_remainderl.c: Likewise.
43232 * math/w_scalb.c: Likewise.
43233 * math/w_scalbf.c: Likewise.
43234 * math/w_scalbl.c: Likewise.
43235 * math/w_sinh.c: Likewise.
43236 * math/w_sinhf.c: Likewise.
43237 * math/w_sinhl.c: Likewise.
43238 * math/w_sqrt.c: Likewise.
43239 * math/w_sqrtf.c: Likewise.
43240 * math/w_sqrtl.c: Likewise.
43241 * math/w_tgamma.c: Likewise.
43242 * math/w_tgammaf.c: Likewise.
43243 * math/w_tgammal.c: Likewise.
43244
6a621eb7
UD
43245 * po/ja.po: Update from translation team.
43246
bf582445
AJ
432472011-09-29 Andreas Jaeger <aj@suse.de>
43248
f9efbf3a
AJ
43249 [BZ #13179]
43250 * sunrpc/netname.c (netname2host): Fix logic.
43251
bf582445
AJ
43252 [BZ #6779]
43253 [BZ #6783]
43254 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43255 correctly.
43256 * math/w_remainder.c (__remainder): Likewise.
43257 * math/w_remainderf.c (__remainderf): Likewise.
43258 * math/libm-test.inc (remainder_test): Add test cases.
43259
48693bea
AK
432602011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43261
43262 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43263 sdiv_qrnnd.
43264
42622229
LD
432652011-10-07 Ulrich Drepper <drepper@gmail.com>
43266
43267 * string/test-memcmp.c: Avoid unncessary #defines.
43268 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43269
093ecf92
LD
432702011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43271
43272 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43273 Use new sse2 version for core i3 - i7 as it's faster
43274 than sse42 version.
43275 (bit_Prefer_PMINUB_for_stringop): New.
43276 * sysdeps/x86_64/rawmemchr.S: Update.
43277 Replace with faster SSE2 version.
43278 * sysdeps/x86_64/memrchr.S: New file.
43279 * sysdeps/x86_64/memchr.S: Update.
43280 Replace with faster SSE2 version.
43281
fde56e5c
MP
432822011-09-12 Marek Polacek <mpolacek@redhat.com>
43283
43284 * elf/dl-load.c (lose): Add cast to avoid warning.
43285
21fd49a9
UD
432862011-10-07 Ulrich Drepper <drepper@gmail.com>
43287
5a06e643
UD
43288 * po/ca.po: Update from translation team.
43289
684ae515
UD
43290 * inet/getnetgrent_r.c: Hook up nscd.
43291 * nscd/Makefile (routines): Add nscd_netgroup.
43292 (nscd-modules): Add netgroupcache.
43293 (CFLAGS-netgroupcache.c): Define.
43294 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43295 (cache_search): Add const to second parameter.
43296 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43297 INNETGR.
43298 (dbs): Add netgrdb entry.
43299 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43300 (verify_persistent_db): Handle netgrdb.
43301 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43302 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43303 GETFDNETGR.
43304 (netgroup_response_header): Define.
43305 (innetgroup_response_header): Define.
43306 (datahead): Add netgroup_response_header and innetgroup_response_header
43307 elements.
43308 * nscd/nscd.conf: Add entries for netgroup cache.
43309 * nscd/nscd.h (dbtype): Add netgrdb.
43310 (_PATH_NSCD_NETGROUP_DB): Define.
43311 (netgroup_iov_disabled): Declare.
43312 (xmalloc, xcalloc, xrealloc): Move declarations here.
43313 (cache_search): Adjust prototype.
43314 Add netgroup-related prototypes.
43315 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43316 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43317 (__nscd_innetgr): Declare.
43318 * nscd/selinux.c (perms): Use access_vector_t as element type and
43319 add netgroup-related initializers.
43320 * nscd/netgroupcache.c: New file.
43321 * nscd/nscd_netgroup.c: New file.
43322 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43323 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43324 For four parameters use innetgr.
43325 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43326 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43327 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43328 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43329
21fd49a9
UD
43330 * nscd/connections.c (register_traced_file): Don't register file
43331 for disabled databases.
43332
054c0457
UD
433332011-10-06 Ulrich Drepper <drepper@gmail.com>
43334
32b63198
UD
43335 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43336
054c0457
UD
43337 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43338 from tree and freeing node.
43339
64031225
JO
433402011-09-25 Jiri Olsa <jolsa@redhat.com>
43341
43342 * nss/nsswitch.c (__nss_database_lookup): Handle
43343 nss_parse_service_list out of memory case.
43344
0490345c
JO
433452011-09-15 Jiri Olsa <jolsa@redhat.com>
43346
43347 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43348 out of memory case.
43349
3a62d00d
AS
433502011-10-04 Andreas Schwab <schwab@redhat.com>
43351
43352 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43353 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43354 pass it down.
43355 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43356 elf_machine_rela, elf_machine_lazy_rel.
43357 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43358 (ELF_DYNAMIC_DO_REL): Likewise.
43359 (ELF_DYNAMIC_DO_RELA): Likewise.
43360 (ELF_DYNAMIC_RELOCATE): Likewise.
43361 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43362 to ELF_DYNAMIC_DO_REL.
43363 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43364 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43365 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43366 elf_machine_rela.
43367 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43368 skip_ifunc, don't call ifunc function if non-zero.
43369 (elf_machine_rela): Likewise.
43370 (elf_machine_lazy_rel): Likewise.
43371 (elf_machine_lazy_rela): Likewise.
43372 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43373 (elf_machine_lazy_rel): Likewise.
43374 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43375 Likewise.
43376 (elf_machine_lazy_rel): Likewise.
43377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43378 Likewise.
43379 (elf_machine_lazy_rel): Likewise.
43380 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43381 (elf_machine_lazy_rel): Likewise.
43382 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43383 (elf_machine_lazy_rel): Likewise.
43384 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43385 (elf_machine_lazy_rel): Likewise.
43386 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43387 (elf_machine_lazy_rel): Likewise.
43388 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43389 (elf_machine_lazy_rel): Likewise.
43390 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43391 (elf_machine_lazy_rel): Likewise.
43392
68577918
UD
433932011-09-28 Ulrich Drepper <drepper@gmail.com>
43394
43395 * nss/nss_files/files-init.c (_nss_files_init): Use static
43396 initialization for all the *_traced_file variables.
43397
68822d74
AS
433982011-09-28 Andreas Schwab <schwab@redhat.com>
43399
43400 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43401
2056100b
RM
434022011-09-27 Roland McGrath <roland@hack.frob.com>
43403
43404 [BZ #13226]
43405 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43406
32c76b63
AS
434072011-09-27 Andreas Schwab <schwab@redhat.com>
43408
43409 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43410 Reread the line before reparsing it.
43411
bf972c9d
AS
434122011-09-26 Andreas Schwab <schwab@redhat.com>
43413
43414 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43415
e057a1b5
JM
434162011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43417 Maxim Kuvyrkov <maxim@codesourcery.com>
43418 Joseph Myers <joseph@codesourcery.com>
43419
43420 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43421 if needed for __stack_chk_guard.
43422
bc7e1c36
RM
434232011-09-19 Roland McGrath <roland@hack.frob.com>
43424
ecb1482f
RM
43425 * sysdeps/posix/spawni.c (script_execute): Always define it.
43426 It will be optimized away if unused.
43427 (maybe_script_execute): New function.
43428 (__spawni): Call it.
43429
bc7e1c36
RM
43430 * Makerules: Don't include tls.make.
43431 (config-tls): Always set to thread.
43432 * tls.make.c: File removed.
43433
1c3b002b
MF
434342011-09-19 Mike Frysinger <vapier@gentoo.org>
43435
43436 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43437 * config.make.in (CPPFLAGS-config): New substituted variable.
43438
2840865d
UD
434392011-09-15 Ulrich Drepper <drepper@gmail.com>
43440
88738eb6
UD
43441 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43442
cbf645a6 43443 [BZ #13192]
2840865d
UD
43444 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43445 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43446
b402e91a
RM
434472011-09-15 Roland McGrath <roland@hack.frob.com>
43448
43449 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43450 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43451 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43452 (CALL_FAIL): Likewise.
43453 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43454 (CALL_FAIL): Macro removed.
43455 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43456
4c1a1f71
UD
434572011-09-15 Ulrich Drepper <drepper@gmail.com>
43458
43459 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43460 for __FINITE_MATH_ONLY__ == 1.
43461
edc121be
AS
434622011-09-15 Andreas Schwab <schwab@redhat.com>
43463
43464 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43465 __ieee754_sqrt instead of sqrt.
43466 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43467 __ieee754_sqrtf instead of sqrtf.
43468 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43469 __floorf instead of floorf.
43470 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43471 __floorf, __truncf instead of floorf, truncf.
43472
cd205654
UD
434732011-09-14 Ulrich Drepper <drepper@gmail.com>
43474
ee4d0315
UD
43475 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43476
cd205654
UD
43477 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43478 __extern_always_inline.
43479 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43480 32-bit.
43481
48b67d71
AS
434822011-09-14 Andreas Schwab <schwab@redhat.com>
43483
43484 * elf/rtld.c (dl_main): Also relocate in dependency order when
43485 doing symbol dependency testing.
43486
1ae12c75
AS
434872011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43488
43489 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43490 Always define `refsym'.
43491
995a80df
AS
434922011-09-13 Andreas Schwab <schwab@redhat.com>
43493
e529793b
AS
43494 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43495 (__FD_ELT): Renamed from __FDELT.
43496 * misc/bits/select2.h (__FD_ELT): Likewise.
43497 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43498 __FD_MASK instead of __FDELT, __FDMASK.
43499 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43500 Likewise.
43501 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43502 Likewise.
43503
52d4fef8
AS
43504 * elf/Makefile (gen-ldd): Fix pattern.
43505
995a80df
AS
43506 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43507 (init_tls): Likewise.
43508
8682f8b0
UD
435092011-09-12 Ulrich Drepper <drepper@gmail.com>
43510
43511 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43512
de82006d
AS
435132011-09-12 Andreas Schwab <schwab@redhat.com>
43514
a7c8e6a1
AS
43515 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43516 `struct cmsghdr *' instead of `void *'.
43517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43518 Likewise.
43519
0f31fe77
AS
435202011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43521
43522 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43523 if non-absolute.
43524 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43525 ldd_rewrite_script.
0f31fe77 43526
32b4c839
UD
435272011-09-11 Ulrich Drepper <drepper@gmail.com>
43528
83cd1420
UD
43529 * configure.in: Remove --with-tls option.
43530 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43531 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43532 out in case it is missing.
43533 * sysdeps/ia64/elf/configure.in: Likewise.
43534 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43535 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43536 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43537 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43538 * sysdeps/sh/elf/configure.in: Likewise.
43539 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43540 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43541 * sysdeps/x86_64/elf/configure.in: Likewise.
43542 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43543 * sysdeps/mach/hurd/tls.h: Likewise.
43544
633f745d
UD
43545 [BZ #13067]
43546 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43547
f318beb8
UD
43548 [BZ #13090]
43549 * configure.in: Fix use of AC_INIT.
43550
32b4c839
UD
43551 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43552
3ce1f295
UD
435532011-09-10 Ulrich Drepper <drepper@gmail.com>
43554
bb016596
UD
43555 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43556 __set_errno.
8e58439c
UD
43557 * malloc/hooks.c: Likewise.
43558
aebae053 43559 [BZ #11929]
02d46fc4
UD
43560 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43561 variables statically.
43562 (narenas): Initialize.
43563 (list_lock): Initialize.
bb016596
UD
43564 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43565 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
43566 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43567 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43568 Add initializers to main_arena and mp_.
43569 (malloc_state): Remove pagesize member. Change all users to use
43570 GLRO(dl_pagesize).
43571
43572 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43573 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43574 is always initialized.
43575
22a89187
UD
43576 * malloc/malloc.c: Removed unused configurations and dead code.
43577 * malloc/arena.c: Likewise.
43578 * malloc/hooks.c: Likewise.
02d46fc4 43579 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 43580
d063d164
UD
43581 * include/tls.h: Removed. USE___THREAD must always be defined.
43582 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43583 * elf/dl-libc.c: Likewise.
43584 * elf/dl-tsd.c: Likewise.
43585 * include/errno.h: Likewise.
43586 * include/netdb.h: Likewise.
43587 * include/resolv.h: Likewise.
43588 * inet/herrno-loc.c: Likewise.
43589 * inet/herrno.c: Likewise.
43590 * malloc/arena.c: Likewise.
43591 * malloc/hooks.c: Likewise.
43592 * malloc/malloc.c: Likewise.
43593 * resolv/res-state.c: Likewise.
43594 * resolv/res_libc.c: Likewise.
43595 * sysdeps/i386/dl-machine.h: Likewise.
43596 * sysdeps/ia64/dl-machine.h: Likewise.
43597 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43598 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43599 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43600 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43601 * sysdeps/sh/dl-machine.h: Likewise.
43602 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43603 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43604 * sysdeps/unix/i386/sysdep.S: Likewise.
43605 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43606 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43607 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43609 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43610 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43611 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43612 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43614 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43615 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43616 * sysdeps/x86_64/dl-machine.h: Likewise.
43617 * tls.make.c: Likewise.
43618
3ce1f295
UD
43619 * configure.in: Remove --with-__thread option. Make tests for
43620 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43621 tls_model attribute fail if no support is available. Remove
43622 USE_IN_LIBIO.
43623 * Makeconfig: Adjust for dropped configure option. All features are
43624 now mandatory.
43625 * Makerules: Likewise.
43626 * Versions.def: Likewise.
43627 * argp/argp-fmtstream.c: Likewise.
43628 * argp/argp-fmtstream.h: Likewise.
43629 * argp/argp-help.c: Likewise.
43630 * assert/assert.c: Likewise.
43631 * config.h.in: Likewise.
43632 * config.make.in: Likewise.
43633 * configure: Likewise.
43634 * configure.in: Likewise.
43635 * csu/Versions: Likewise.
43636 * csu/init.c: Likewise.
43637 * elf/tst-audit2.c: Likewise.
43638 * elf/tst-tls10.c: Likewise.
43639 * elf/tst-tls10.h: Likewise.
43640 * elf/tst-tls11.c: Likewise.
43641 * elf/tst-tls12.c: Likewise.
43642 * elf/tst-tls14.c: Likewise.
43643 * elf/tst-tlsmod11.c: Likewise.
43644 * elf/tst-tlsmod12.c: Likewise.
43645 * elf/tst-tlsmod13.c: Likewise.
43646 * elf/tst-tlsmod13a.c: Likewise.
43647 * elf/tst-tlsmod14a.c: Likewise.
43648 * elf/tst-tlsmod15b.c: Likewise.
43649 * elf/tst-tlsmod16a.c: Likewise.
43650 * elf/tst-tlsmod16b.c: Likewise.
43651 * elf/tst-tlsmod7.c: Likewise.
43652 * elf/tst-tlsmod8.c: Likewise.
43653 * elf/tst-tlsmod9.c: Likewise.
43654 * gmon/gmon.c: Likewise.
43655 * grp/fgetgrent_r.c: Likewise.
43656 * grp/putgrent.c: Likewise.
43657 * hurd/fopenport.c: Likewise.
43658 * include/libc-symbols.h: Likewise.
43659 * include/tls.h: Likewise.
43660 * intl/gettextP.h: Likewise.
43661 * intl/loadinfo.h: Likewise.
43662 * locale/global-locale.c: Likewise.
43663 * locale/localeinfo.h: Likewise.
43664 * mach/devstream.c: Likewise.
43665 * malloc/arena.c: Likewise.
43666 * malloc/set-freeres.c: Likewise.
43667 * misc/err.c: Likewise.
43668 * misc/getttyent.c: Likewise.
43669 * misc/mntent_r.c: Likewise.
43670 * posix/getopt.c: Likewise.
43671 * posix/wordexp.c: Likewise.
43672 * pwd/fgetpwent_r.c: Likewise.
43673 * resolv/Versions: Likewise.
43674 * resolv/res_hconf.c: Likewise.
43675 * shadow/fgetspent_r.c: Likewise.
43676 * shadow/putspent.c: Likewise.
43677 * stdio-common/printf_fphex.c: Likewise.
43678 * stdio-common/tmpfile.c: Likewise.
43679 * stdlib/abort.c: Likewise.
43680 * stdlib/fmtmsg.c: Likewise.
43681 * sunrpc/auth_unix.c: Likewise.
43682 * sunrpc/clnt_perr.c: Likewise.
43683 * sunrpc/clnt_tcp.c: Likewise.
43684 * sunrpc/clnt_udp.c: Likewise.
43685 * sunrpc/clnt_unix.c: Likewise.
43686 * sunrpc/openchild.c: Likewise.
43687 * sunrpc/svc_simple.c: Likewise.
43688 * sunrpc/svc_tcp.c: Likewise.
43689 * sunrpc/svc_udp.c: Likewise.
43690 * sunrpc/svc_unix.c: Likewise.
43691 * sunrpc/xdr.c: Likewise.
43692 * sunrpc/xdr_array.c: Likewise.
43693 * sunrpc/xdr_rec.c: Likewise.
43694 * sunrpc/xdr_ref.c: Likewise.
43695 * sunrpc/xdr_stdio.c: Likewise.
43696
1248c1c4
PB
436972011-09-09 Ulrich Drepper <drepper@gmail.com>
43698
43699 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43700
437012011-07-03 Andreas Jaeger <aj@suse.de>
43702
43703 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43704 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43705 regenerate with gen-libm-tests.pl.
43706
437072010-05-12 Petr Baudis <pasky@suse.cz>
43708
43709 [BZ #11589]
43710 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43711 around j0() zero points by switching to j1().
43712 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43713 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43715 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43716
f22e1074
UD
437172011-09-09 Ulrich Drepper <drepper@gmail.com>
43718
f19009c1
UD
43719 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43720 instead of 0.
43721 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 43722 instead of 0.
f19009c1
UD
43723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43724 Patch in part by Pavel Roskin <proski@gnu.org>.
43725
3f8cc204
UD
43726 [BZ #13138]
43727 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43728 realloc.
43729 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43730 Free memory block if necessary.
43731
f22e1074
UD
43732 [BZ #12847]
43733 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43734 be NULL. Don't lock in this case.
43735
0a2349f9
RM
437362011-09-09 Roland McGrath <roland@hack.frob.com>
43737
43738 * elf/elf.h (ELFOSABI_GNU): New macro.
43739 (ELFOSABI_LINUX): Define to that.
43740
f3cdd467
DZ
437412011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43742
43743 * string/strncat.c (strncat): Undef the symbol in case it has been
43744 defined in bits/string.h.
43745
74718d13
UD
437462011-09-09 Ulrich Drepper <drepper@gmail.com>
43747
633e9e0f
UD
43748 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43749
0a2349f9 43750 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
43751 link map.
43752
f9924780
AJ
437532011-08-17 Andreas Jaeger <aj@suse.de>
43754
43755 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43756
7f5517aa
PP
437572011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43758 Ian Lance Taylor <iant@google.com>
43759
43760 * math/libm-test.inc (lround_test): New testcase.
43761 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43762
762011fe
UD
437632011-09-08 Ulrich Drepper <drepper@gmail.com>
43764
92963737
UD
43765 * Makefile: Remove support for automatic cvs check-ins.
43766 * Makerules: Likewise.
43767 * config.make.in: Likewise.
43768 * configure.in: Likewise.
43769 * intl/Makefile: Likewise.
43770 * locale/Makefile: Likewise.
43771 * po/Makefile: Likewise.
43772 * posix/Makefile: Likewise.
43773 * sysdeps/gnu/Makefile: Likewise.
43774 * sysdeps/mach/hurd/Makefile: Likewise.
43775 * sysdeps/sparc/sparc32/Makefile: Likewise.
43776
b0727fd8
JS
43777 [BZ #13118]
43778 * posix/Makefile (bug-regex32-ENV): Define.
43779 Patch by John Stanley <jpsinthemix@verizon.net>.
43780
a0f33f99
UD
43781 * misc/Makefile (headers): Add bits/select2.h.
43782 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43783 * misc/bits/select2.h: New file.
43784 * include/bits/select2.h: New file.
43785 * debug/Makefile (routines): Add fdelt_chk.
43786 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43787 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43788 FD_ISSET.
43789 * debug/fdelt_chk.c: New file.
43790
762011fe
UD
43791 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
43792 * wcsmbs/test-wmemcmp.c: Likewise.
43793 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 43794 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
43795
437962011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43797
43798 * string/Makefile (strop-tests): Add memcmp.
43799 * string/test-wmemcmp.c: New file.
43800 * string/test-memcmp.c: Add wmemcmp support.
43801
7f513ec8
RM
438022011-09-08 Roland McGrath <roland@hack.frob.com>
43803
0442afb4
RM
43804 [BZ #13153]
43805 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43806 2011-07-19 change.
43807
7f513ec8
RM
43808 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43809 garbage value in a __mach_port_mod_refs call in the cases of the
43810 task-self and thread-self ports.
43811
a12b2239
ST
438122011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43813
43814 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43815
610f9ab4
AS
438162011-09-08 Andreas Schwab <schwab@redhat.com>
43817
7f513ec8 43818 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 43819
48882a1a
LD
438202011-09-07 Ulrich Drepper <drepper@gmail.com>
43821
b49865be
UD
43822 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43823
fdc86bc9
UD
43824 * elf/dl-libc.c (dlerror_run): Pass back error code from
43825 dl_catch_error.
43826
c966526a
UD
43827 [BZ #13123]
43828 * elf/dl-load.c (lose): Free l_origin if it is valid.
43829
48882a1a
LD
43830 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43831 names.
43832 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43833 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43834 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43835 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43836 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43837 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43838
77a2a8b4
AZ
438392011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43840
43841 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43842 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43843 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43844 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43845 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43846 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43847 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43848 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43849 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43850 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43851
24f579d8
AM
438522011-08-15 Alan Modra <amodra@gmail.com>
43853
43854 [BZ #13092]
43855 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43856 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43857 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43858 ppc_mcount to static-only-routines.
43859 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43860 __mcount_internal.
43861 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43862 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43863
3d4837df
UD
438642011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43865
43866 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43867 for finite and infinity parameters.
43868
22700377
WS
438692011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43870
43871 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43872 and add nop instructions for throughput optimization.
43873 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43874
5025581e
WS
438752011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43876
43877 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43878 aligned copy for power7 with vector-scalar instructions.
43879 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43880
08a300c9
L
438812011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43882
43883 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43884 AVX check.
43885
59178ef9
AS
438862011-09-07 Andreas Schwab <schwab@redhat.com>
43887
43888 [BZ #13144]
43889 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43890 last change.
43891
e38ba7ab
UD
438922011-09-07 Ulrich Drepper <drepper@gmail.com>
43893
43894 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43895 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43896 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43897 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43898 clock_gettime.
43899
d53a73ac
UD
439002011-09-06 Ulrich Drepper <drepper@gmail.com>
43901
fc8bffcc
UD
43902 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43903 Forgot to demangle the pointer.
43904
ceaa0c5d
UD
43905 * sysdeps/i386/sysdep.h: Define atom_text_section.
43906 * sysdeps/x86_64/sysdep.h: Likewise.
43907 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43908 section with atom_text_section.
43909 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43910 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43911 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43913 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43914
a77d3c17
UD
43915 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43916 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43917 already be defined. Change to take two parameters and don't assign
43918 result to variable. Adjust all users.
43919 Define INTERNAL_GETTIME if not already defined.
43920 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43921 call.
43922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43923 HAVE_CLOCK_GETTIME_VSYSCALL.
43924 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43925
d53a73ac
UD
43926 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43927 gettimeofday vsyscall, just use time.
43928
a8f84144
AS
439292011-09-06 Andreas Schwab <schwab@redhat.com>
43930
43931 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43932 <errno.h>.
43933
ef606249
UD
439342011-09-06 Ulrich Drepper <drepper@gmail.com>
43935
43936 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43937 syscall on x86-64.
43938 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43939 syscall.
43940 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43941 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43942 syscall if possible.
43943
6585cb60
UD
439442011-09-05 Ulrich Drepper <drepper@gmail.com>
43945
43946 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43947 e_ident. Don't pass to find_mapsXX.
43948 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43949
a5f524e4
LD
439502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43951
43952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43953 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43954 * sysdeps/x86_64/multiarch/strchr.S: Update.
43955 Check bit_slow_BSF bit.
43956 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43957 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43958 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43959
554881ef
UD
439602011-09-05 Ulrich Drepper <drepper@gmail.com>
43961
d96de963
UD
43962 [BZ #13134]
43963 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43964 before glibc 2.15.
43965 (tryshell): Define.
43966 (__spawni): Change last parameter to be flag. Test
43967 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43968 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43969 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43970 * posix/spawni.c: Likewise.
43971 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43972 * posix/spawnp.c: Likewise. Change normal version to use
43973 SPAWN_XFLAGS_USE_PATH.
43974 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43975 SPAWN_XFLAGS_TRY_SHELL.
43976
d48e5868
UD
43977 [BZ #13150]
43978 * posix/glob.h: Remove gcc 1.x support.
43979
554881ef
UD
43980 [BZ #13068]
43981 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43982
693fb948
LD
439832011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43984
43985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43986 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43987 strrchr-sse2-bsf
43988 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43989 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43990 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43991 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43992 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43993 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43994
1b48c537
UD
439952011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43996
49d42c37
UD
43997 * sysdeps/x86_64/wcscmp.S: New file.
43998
1b48c537
UD
43999 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44000 wcscmp-c wcscmp-sse2
44001 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44002 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44003 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44004 * wcsmbs/wcscmp.c: Allow renaming.
44005
15c95c5d
DM
440062011-09-05 David S. Miller <davem@davemloft.net>
44007
44008 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44009 stack slot, rather than the struct return pointer slot.
44010 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44011 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44013 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44014
2f0ad8f3
UD
440152011-09-05 Ulrich Drepper <drepper@gmail.com>
44016
d88ae418
UD
44017 * po/ja.po: Update from translation team.
44018
2f0ad8f3
UD
44019 [BZ #13144]
44020 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44021 kernel in 64-bit binaries.
44022
5f4318d1
DM
440232011-09-01 David S. Miller <davem@davemloft.net>
44024
44025 * elf/elf.h (HWCAP_SPARC_*): Move to..
44026 * sysdeps/sparc/sysdep.h: this new file and add new values.
44027 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44028 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44029 _DL_HWCAP_COUNT to 24.
44030 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44031 entries.
44032 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44033 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44034 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44035 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44036 instead of magic constants.
44037 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44038
3ba57516
DM
440392011-08-31 David S. Miller <davem@davemloft.net>
44040
44041 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44042 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44043 Reimplement to do errno handling inline.
44044 (SYSCALL_ERROR_HANDLER): New macro.
44045 (__SYSCALL_STRING): Do not do errno handling in asm.
44046 (__CLONE_SYSCALL_STRING): Delete.
44047 (__INTERNAL_SYSCALL_STRING): Delete.
44048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44049 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44050 (PSEUDO): Reimplement to do errno handling inline.
44051 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44052 (SYSCALL_ERROR_HANDLER): New macro.
44053 (__SYSCALL_STRING): Do not do errno handling in asm.
44054 (__CLONE_SYSCALL_STRING): Delete.
44055 (__INTERNAL_SYSCALL_STRING): Delete.
44056 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44057 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44058 i386.
44059 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44060 (inline_syscall*): Add 'err' argument.
44061 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44062 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44063 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44064 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44065
44066 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44067 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44068
2bc17433
AS
440692011-08-30 Andreas Schwab <schwab@redhat.com>
44070
44071 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44072
fbeb5f4d
JO
440732011-08-29 Jiri Olsa <jolsa@redhat.com>
44074
44075 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44076 directive.
44077
ad69cc26
DM
440782011-08-24 David S. Miller <davem@davemloft.net>
44079
44080 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44081
39dd69df
AS
440822011-08-24 Andreas Schwab <schwab@redhat.com>
44083
44084 * elf/Makefile: Add rules to build and run unload8 test.
44085 * elf/unload8.c: New file.
44086 * elf/unload8mod1.c: New file.
44087 * elf/unload8mod1x.c: New file.
44088 * elf/unload8mod2.c: New file.
44089 * elf/unload8mod3.c: New file.
44090
44091 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44092 it wasn't used.
44093
2c0b250a
DM
440942011-08-23 David S. Miller <davem@davemloft.net>
44095
44096 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44097 subtract stack bias.
44098 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44099 %sp not %fp in calculations.
44100 (_JMPBUF_UNWINDS_ADJ): Likewise.
44101
22044b48
DM
44102 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44103 (aio_suspend): Call it to force an exception region around the
44104 AIO_MISC_WAIT() invocation.
44105
2cae4995
AS
441062011-08-23 Andreas Schwab <schwab@redhat.com>
44107
44108 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44109 backslash.
44110
873a772e
AJ
441112011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44112
44113 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44114 protection macro.
44115 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44116 and <dl-machine.h>.
44117 (Elf64_FuncDesc): Remove.
44118
25ad0df1
DM
441192011-08-22 David S. Miller <davem@davemloft.net>
44120
44121 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44122 sigaltstack check, add missing cfi directives.
44123 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44124 missing cfi directives, and sigaltstack handling.
44125
e888bcbe
AS
441262011-08-16 Andreas Schwab <schwab@redhat.com>
44127
44128 [BZ #11724]
44129 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44130 object is seen twice.
44131 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44132
44133 * elf/Makefile (distribute): Add tst-initorder2.c.
44134 (tests): Add tst-initorder2.
44135 (modules-names): Add tst-initorder2a tst-initorder2b
44136 tst-initorder2c tst-initorder2d. Add rules to build them.
44137 ($(objpfx)tst-initorder2.out): New rule.
44138 * elf/tst-initorder2.c: New file.
44139 * elf/tst-initorder2.exp: New file.
44140
87162f46
AS
441412011-08-22 Andreas Schwab <schwab@redhat.com>
44142
70538b7f
AS
44143 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44144
f55ffe58
AS
44145 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44146 dependencies back to end of function.
44147
87162f46
AS
44148 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44149 $(elfobjdir)/ld.so.
44150
91b392a4
UD
441512011-08-21 Ulrich Drepper <drepper@gmail.com>
44152
44153 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44154 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44155 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44156 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44157 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44158 of __vdso_gettimeofday.
44159 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44160 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44161 attribute_hidden.
44162 (_libc_vdso_platform_setup): Remove initialization of
44163 __vdso_gettimeofday and __vdso_time.
44164
5c43483f
UD
441652011-08-20 Ulrich Drepper <drepper@gmail.com>
44166
775a77e7
UD
44167 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44168 and fgetc_unlocked.
44169 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44170 getc_unlocked.
89f447ed 44171
49c74ba9
UD
44172 * elf/dl-open.c (add_to_global): Report additions to the global scope
44173 for LD_DEBUG=scopes.
44174 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 44175 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 44176
5c43483f
UD
44177 [BZ #13114]
44178 * stdio-common/Makefile (tests): Add bug24.
44179 * stdio-common/bug24.c: New file.
44180
a101b025
AJ
441812011-08-19 Andreas Jaeger <aj@suse.de>
44182
44183 [BZ #13114]
44184 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44185 non-existant file when using close-on-exec mode.
44186
c88f1766
UD
441872011-08-20 Ulrich Drepper <drepper@gmail.com>
44188
0276a718
UD
44189 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44190 the very first instruction.
44191
c88f1766
UD
44192 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44193 the CFI state in the end.
44194 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44195 inclusion of dl-trampoline.h.
44196 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44197
51ccffa0
AS
441982011-08-19 Andreas Schwab <schwab@redhat.com>
44199
94d7165f
AS
44200 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44201 expectations for long double.
44202
51ccffa0
AS
44203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44204 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44205
fd708658 442062011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
44207
44208 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44209 artificual limit depends upon the system page size.
44210
44f0a71e
UD
442112011-08-17 Ulrich Drepper <drepper@gmail.com>
44212
44213 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44214 * resolv/Makefile: Define CFLAGS-libresolv.
44215
8de79a24
AS
442162011-08-17 Andreas Schwab <schwab@redhat.com>
44217
44218 * nss/makedb.c (compute_tables): Make variables used in nested
44219 function static.
44220
27724598
UD
442212011-08-17 Ulrich Drepper <drepper@gmail.com>
44222
c5305d88
UD
44223 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44224 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44225 if buffer was too small.
44226
27724598
UD
44227 * elf/pldd.c (main): Attach to all threads in the process.
44228 Rewrite /proc handling to use *at functions.
44229
076fe015
UD
442302011-08-16 Ulrich Drepper <drepper@gmail.com>
44231
174baab3
UD
44232 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44233 specifies first scope to show.
44234 (dl_open_worker): Update callers. Move printing scope of new
44235 object to before the relocation.
44f0a71e 44236 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
44237 * sysdeps/generic/ldsodefs.h: Update declaration.
44238
076fe015
UD
44239 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44240 string for the scope number.
44241
a60df2c3
UD
442422011-08-14 Ulrich Drepper <drepper@gmail.com>
44243
44244 * nscd/servicescache.c (cache_addserv): Make sure written is always
44245 initialized.
44246
5e4287d1
RM
442472011-08-14 Roland McGrath <roland@hack.frob.com>
44248
85ae0589
RM
44249 * sysdeps/i386/i486/bits/atomic.h
44250 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44251 statement expression, so as to suppress "set but not used" warning.
44252 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44253
69f63097
RM
44254 * string/strncat.c (STRNCAT): Use prototype definition.
44255
675456ef
RM
44256 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44257 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44258 -Iprograms here.
44259 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44260 (localedef-modules): Add localedef.
44261 (locale-modules): Add locale.
44262
5e4287d1
RM
44263 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44264 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44265 to avoid a warning.
44266
9c96ff23
DM
442672011-08-14 David S. Miller <davem@davemloft.net>
44268
44269 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44270 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44271
f9ddf089
UD
442722011-08-13 Ulrich Drepper <drepper@gmail.com>
44273
44f0a71e 44274 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
44275 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44276 * elf/rtld.c (dl_main): Set l_name of vDSO.
44277 Call _dl_show_scope when DL_DEBUG_SCOPES.
44278 (process_dl_debug): Recognize scopes flag and also set it for all.
44279 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44280 Declare _dl_show_scope.
44281
1dc27704
UD
44282 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44283 (do_dlopen): Pass caller_dlopen to dl_open.
44284 (__libc_dlopen_mode): Initialize caller_dlopen.
44285
f9ddf089
UD
44286 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44287 of libc. Make tolower call locale-independent. Optimize a bit by
44288 using isdigit instead of isalnum.
44289 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44290
9ac533d3
UD
442912011-08-12 Ulrich Drepper <drepper@gmail.com>
44292
44293 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44294 was a dependency or dynamically loaded.
44295
89edf2e9
UD
442962011-08-11 Ulrich Drepper <drepper@gmail.com>
44297
8e999d29
UD
44298 * intl/l10nflist.c: Allow architecture-specific pop function.
44299 * sysdeps/x86_64/l10nflist.c: New file.
44300
89edf2e9
UD
44301 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44302 classification.
44303
14d96785
AS
443042011-08-10 Andreas Schwab <schwab@redhat.com>
44305
44306 * include/dirent.h: Add libc_hidden_proto for scandirat and
44307 scandirat64. Don't declare __scandirat64.
44308 * dirent/scandirat.c: Add libc_hidden_def.
44309 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44310 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44311
6761ac04
DM
443122011-08-10 David S. Miller <davem@davemloft.net>
44313
44314 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44315 enum.
44316 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44317 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44318 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44319
c55fbd1e
UD
443202011-08-09 Ulrich Drepper <drepper@gmail.com>
44321
44322 * Versions.def [libc]: Add GLIBC_2.15.
44323 * dirent/Makefile (routines): Add scandirat and scandirat64.
44324 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44325 GLIBC_2.15.
44326 * dirent/dirent.h: Declare scandirat and scandirat64.
44327 * dirent/scandirat.c: New file.
44328 * dirent/scandirat64.c: New file.
44329 * sysdeps/wordsize-64/scandirat.c: New file.
44330 * sysdeps/wordsize-64/scandirat64.c: New file.
44331 * dirent/opendir.c: Define opendirat.
44332 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44333 using scandirat.
44334 * dirent/scandir64.c: Adjust for scandir.c change.
44335 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44336 __scandirat64, and __scandir_cancel_handler.
44337 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44338 additional parameter and use openat instead of open (outside of ld.so).
44339 Add new __opendir as wrapper around __opendirat.
44340 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44341 here without requiring old scandirat implementation.
44342
879165f2
UD
443432011-08-08 Ulrich Drepper <drepper@gmail.com>
44344
44345 * dirent/scandir.c (cancel_handler): Renamed to
44346 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44347 defined. Adjust users.
44348 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44349 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44350
cb7e923b
UD
443512011-08-04 Ulrich Drepper <drepper@gmail.com>
44352
16292edd
UD
44353 * string/test-string.h (IMPL): Use __STRING to expand name and then
44354 stringify it.
44355
cb7e923b
UD
44356 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44357 of cleanups.
44358
cff82933
LD
443592011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44360
44361 * string/Makefile: Update.
44362 (strop-tests): Append strncat.
44363 * string/test-wcscmp.c: New file.
44364 New comprehensive test for wcscmp.
44365 * string/test-strcmp.c: Update.
44366 (WIDE): New define.
44367
9be9bfcc
AS
443682011-07-22 Andreas Schwab <schwab@redhat.com>
44369
44370 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44371 line.
44372
2e96f1c7
AS
443732011-07-26 Andreas Schwab <schwab@redhat.com>
44374
44375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44376 encoding to ACE if AI_IDN.
44377
85188888
JJ
443782011-08-01 Jakub Jelinek <jakub@redhat.com>
44379
44380 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44381 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44382
5fa16e9b
LD
443832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44384
44385 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44386 Fix overflow bug in strncat.
44387 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44388
44389 * string/test-strncat.c: Update.
44390 Add new tests for checking overflow bugs.
44391
443922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44393
44394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44395 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44396 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44397 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44398 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44399 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44400 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44401 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44402 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44403
44404 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44405 (USE_AS_STRCAT): Define.
44406 Add strcat and strncat support.
44407 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44408
8c1a459f
AS
444092011-07-25 Andreas Schwab <schwab@redhat.com>
44410
44411 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44412 __n bigger than INT_MAX+1.
44413 (__strncmp_g): Likewise.
44414
bba33c28
UD
444152011-07-23 Ulrich Drepper <drepper@gmail.com>
44416
798be72d
UD
44417 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44418 * libio/stido.h: Likewise.
44419
8accd4dc
UD
44420 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44421 (AF_NFC): Define.
44422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44423 (AF_NFC): Define.
44424
cbff0d96
UD
44425 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44426 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44427 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44428 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44429 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44430
9191c04a
UD
44431 [BZ #13021]
44432 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44433 installed.
44434
bba33c28
UD
44435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44436 typo.
44437 (_dl_x86_64_save_sse): Likewise.
44438
90f139dd
UD
444392011-07-22 Ulrich Drepper <drepper@gmail.com>
44440
1aae088a
UD
44441 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44442 OSXSAVE.
44443 (_dl_x86_64_save_sse): Likewise.
44444
8e2045f5
UD
44445 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44446
90f139dd
UD
44447 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44448
1d002f25
AS
444492011-07-21 Andreas Schwab <schwab@redhat.com>
44450
44451 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44452 change.
44453 (_dl_x86_64_save_sse): Use correct AVX check.
44454
21137f89
UD
444552011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44456
44457 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44458 bug in strncpy/strncat.
44459 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44460
a65c0b7a
UD
444612011-07-21 Ulrich Drepper <drepper@gmail.com>
44462
44463 * string/tester.c (test_strcat): Add tests for different alignments
44464 of source and destination.
44465 (test_strncat): Likewise.
44466
6986b98a
UD
444672011-07-20 Ulrich Drepper <drepper@gmail.com>
44468
90bb2039
UD
44469 [BZ #12852]
44470 * posix/glob.c (glob): Check passed in values before using them in
44471 expressions to avoid some overflows.
44472 (glob_in_dir): Likewise.
44473
5644ef54
UD
44474 [BZ #13007]
44475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44476 check for AVX enablement so that we don't crash with old kernels and
44477 new hardware.
44478 * elf/tst-audit4.c: Add same checks here.
44479 * elf/tst-audit6.c: Likewise.
44480
44481 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 44482
bfc9dc9b
AS
444832011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44484
44485 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44486
702e64bb
UD
444872011-07-20 Ulrich Drepper <drepper@gmail.com>
44488
44489 * po/cs.po: Update from translation team.
44490 * po/bg.po: Likewise.
44491
295e904f
MP
444922011-07-12 Marek Polacek <mpolacek@redhat.com>
44493
44494 * misc/sys/cdefs.h: Add support for const attribute.
44495 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44496 to gnu_dev_{major,minor,makedev} functions.
44497
3ff94596
MP
444982011-07-20 Marek Polacek <mpolacek@redhat.com>
44499
44500 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44501
28b59fca
AS
445022011-07-20 Andreas Schwab <schwab@redhat.com>
44503
44504 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44505 strlen results.
44506
19df733e
AK
445072011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44508
44509 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44510 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44511 register in order to avoid conflicts with the soft frame pointer
44512 being held in r11 when necessary.
44513 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44514 (INTERNAL_VSYSCALL_NCS): Likewise.
44515
c8835729
MP
445162011-07-14 Marek Polacek <mpolacek@redhat.com>
44517
44518 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44519 * elf/dl-fini.c (_dl_fini): Adjust caller.
44520 * elf/dl-close.c (_dl_close_worker): Likewise.
44521 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44522
b902330c
MP
445232011-07-15 Marek Polacek <mpolacek@redhat.com>
44524
8991e135
MP
44525 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44526 "aux_cache->nlibs < 0".
44527
b902330c
MP
44528 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44529 in the reload-count case.
44530
99710781
LD
445312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44532
44533 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44534 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44535 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44536 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44537 * sysdeps/x86_64/multiarch/strcat.S: New file.
44538 * sysdeps/x86_64/multiarch/strncat.S: New file.
44539 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44540 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44541 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44542 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44543 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44544 (USE_AS_STRCAT): Define.
44545 Add strcat and strncat support.
44546 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44547 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44548 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44549 * string/strncat.c: Update.
44550 (USE_AS_STRNCAT): Define.
44551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44552 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44553 and i7.
44554 * sysdeps/x86_64/multiarch/init-arch.h
44555 (bit_Prefer_PMINUB_for_stringop): New.
44556 (index_Prefer_PMINUB_for_stringop): Likewise.
44557 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44558 bit_Prefer_PMINUB_for_stringop.
44559
7dc6bd90
UD
445602011-07-19 Ulrich Drepper <drepper@gmail.com>
44561
44562 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44563 buffer64.
44564 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44565 of casting of buffer.
44566 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44567 buffer32 and buffer64.
44568 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44569 writes instead of casting of buffer.
44570 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44571 buffer32.
44572 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44573 casting of buffer.
44574
e0e72284
AS
445752011-07-19 Andreas Schwab <schwab@redhat.com>
44576
44577 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44578
feb1eb0b
UD
445792011-07-19 Ulrich Drepper <drepper@gmail.com>
44580
44581 * nscd/nscd.c (termination_handler): Don't do anything for a database
44582 if it has not yet been initialized.
44583
298711ff
UD
445842011-07-18 Ulrich Drepper <drepper@gmail.com>
44585
44586 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44587
445882011-07-15 Marek Polacek <mpolacek@redhat.com>
44589
44590 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44591
f9d68389
UD
445922011-07-18 Ulrich Drepper <drepper@gmail.com>
44593
44594 * po/nl.po: Update from translation team.
44595 * po/sv.po: Likewise.
44596
db290cf5
RM
445972011-07-16 Roland McGrath <roland@hack.frob.com>
44598
44599 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44600 now disallowed by GCC.
5c550700 44601
fd5e21c7
RM
44602 * configure.in (use-default-link): Default to yes if a test -shared
44603 link meets our qualifications.
44604 * configure: Regenerated.
44605
5c550700
RM
44606 * config.make.in (output-format): New variable.
44607 * configure.in: Check for ld --print-output-format support.
44608 * configure: Regenerated.
44609 * Makerules ($(common-objpfx)format.lds)
44610 [$(output-format) != unknown]: Just use $(output-format),
44611 instead of the linker-script munging.
44612
9fa2c032
RM
446132011-07-14 Roland McGrath <roland@hack.frob.com>
44614
a6928d51
RM
44615 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44616 of $(common-objpfx)shlib.lds.
44617 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44618
661607b3
RM
44619 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44620 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44621
9fa2c032
RM
44622 * configure.in (-z relro check): Adjust test code to add a large
44623 writable data section after it.
44624 * configure: Regenerated.
44625
defe9061
RM
446262011-07-11 Roland McGrath <roland@hack.frob.com>
44627
44628 * configure.in (-z relro check): Fix test code to make the variable
44629 truly const.
44630 * configure: Regenerated.
44631
319b9ad4
UD
446322011-07-11 Ulrich Drepper <drepper@gmail.com>
44633
44634 * nscd/nscd.h (struct traced_file): Define.
44635 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44636 elements. Add traced_files.
44637 (inotify_fd): Declare.
44638 (register_traced_file): Declare.
44639 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44640 (inotify_fd): Export.
44641 (resolv_conf_descr): Remove.
44642 (nscd_init): Move inotify descriptor creation to main.
44643 Don't register files for notification here.
44644 (register_traced_file): New function.
44645 (invalidate_cache): Don't use reset_res to determine whether to call
44646 res_init, go through the list of registered files.
44647 (main_loop_poll): The inotify descriptors are now stored in the
44648 structures for the traced files.
44649 (main_loop_epoll): Likewise
44650 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44651 to __nss_disable_nscd.
44652 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44653 for a database anymore. Check the records for all the registered
44654 files instead.
44655 * nss/Makefile (libnss_files-routines): Add files-init.
44656 (libnss_db-routines): Add db-init.
44657 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44658 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44659 * nss/nss_db/db-init.c: New file.
44660 * nss/nss_files/files-init.c: New file.
44661 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44662 __nss_lookup_function.
44663 (__nss_lookup_function): Call nss_load_library.
44664 (nss_load_all_libraries): New function.
44665 (__nss_disable_nscd): Take parameter with callback function for files
44666 to register. Set is_nscd. Load all the DSOs for the NSS modules
44667 used for the cached services.
44668 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44669 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44670 options for features to all the files in nscd.
44671
44672 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44673
23bee3e8
RM
446742011-07-10 Roland McGrath <roland@hack.frob.com>
44675
44676 * csu/elf-init.c (__libc_csu_init): Comment typo.
44677
46a5b7f0
UD
446782011-07-09 Ulrich Drepper <drepper@gmail.com>
44679
44680 * po/pl.po: Update from translation team.
44681 * po/ja.po: Likewise.
44682 * po/ru.po: Likewise.
44683 * po/ko.po: Likewise.
44684 * po/fr.po: Likewise.
44685
d30cf5bb
RM
446862011-07-09 Roland McGrath <roland@hack.frob.com>
44687
113ddea4
RM
44688 * configure.in (.ctors/.dtors header and trailer check):
44689 Use an empirical test on a built program.
44690 * configure: Regenerated.
44691
574920b4
RM
44692 * configure.in (-z relro check): Use an empirical test on a built DSO.
44693 Detect, but do not require, on ia64.
44694 * configure: Regenerated.
44695
d30cf5bb
RM
44696 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44697 Update tests that use readelf to use $READELF instead.
44698 * configure: Regenerated.
44699
8538fdb3
UD
447002011-07-08 Ulrich Drepper <drepper@gmail.com>
44701
44702 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44703 if the result is not used.
44704
04d08991
AJ
447052011-07-05 Andreas Jaeger <aj@suse.de>
44706
44707 [BZ#9696]
44708 * stdlib/tst-strtod.c: Add testcase.
44709
de283087
AD
447102011-07-07 Ulrich Drepper <drepper@gmail.com>
44711
4e5f31c8 44712 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 44713 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
44714 The latter has a higher limit. Take additional parameter to pass to
44715 the new function.
44716 (__pathconf): Pass file to __statfs_link_max.
44717 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44718 __statfs_link_max.
44719 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44720 __statfs_link_max.
44721
de283087
AD
44722 [BZ #12868]
44723 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44724 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44725 Handle Lustre.
44726 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44727 (__statfs_filesize_max): Likewise.
44728 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44729
c75fa153
AJ
447302011-07-05 Andreas Jaeger <aj@suse.de>
44731
44732 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44733
1a544854
UD
447342011-07-06 Marek Polacek <mpolacek@redhat.com>
44735
44736 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44737 `status' variable.
44738 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44739 Likewise.
44740
6f0eec67
UD
447412011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44742
44743 * Makefile (strop-tests): Add strncat.
44744 * string/test-strncat.c: New file.
44745
aae30307
UD
447462011-06-30 Marek Polacek <mpolacek@redhat.com>
44747
44748 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44749
c0cfb5eb
UD
447502011-06-21 Andreas Jaeger <aj@suse.de>
44751
44752 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44753 Copy rule from iconvdata/Makefile.
44754
01636b21
UD
447552011-07-06 Ulrich Drepper <drepper@gmail.com>
44756
44757 [BZ #12922]
44758 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44759 but no long options are defined, just return 'W'.
44760
9895c8bc
UD
447612011-06-22 Marek Polacek <mpolacek@redhat.com>
44762
44763 [BZ #9696]
44764 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44765
5d4cf042
UD
447662011-07-06 Ulrich Drepper <drepper@gmail.com>
44767
44768 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44769 netgroups to read.
960e5535 44770 (innetgr): Likewise.
5d4cf042 44771
751eb97e
RM
447722011-07-05 Roland McGrath <roland@hack.frob.com>
44773
44774 * config.make.in (install_root): Default to $(DESTDIR).
44775
f15f1e45
UD
447762011-07-05 Ulrich Drepper <drepper@gmail.com>
44777
44778 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44779
4e34ac6a
RM
447802011-07-02 Roland McGrath <roland@hack.frob.com>
44781
5e9b6af4
RM
44782 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44783
84f9ea0f
RM
44784 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44785 containing directory rather than embedding absolute directory names.
44786
ea5ee9f7
RM
44787 * scripts/check-local-headers.sh: Rewritten using awk.
44788 Match by word, not by line. Print error messages for matches.
44789 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44790
1b74661a
RM
44791 * Makerules [shlib-lds-flags empty]:
44792 ($(common-objpfx)libc_pic.opts): New target.
44793 ($(common-objpfx)libc_pic.os.clean): New target.
44794 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44795
44796 * config.make.in (OBJCOPY): New variable.
44797 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44798 * configure: Regenerated.
44799
f781ef40
RM
44800 * config.make.in (use-default-link): New variable.
44801 * configure.in (use_default_link): Grok --with-default-link to set it.
44802 * configure: Regenerated.
44803 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44804 (shlib-lds, shlib-lds-flags): Define to empty.
44805
2d4fa81e
RM
44806 * Makerules (shlib-lds): New variable.
44807 (shlib-lds-flags): New variable.
44808 (build-shlib, build-moduile, build-module-asneeded): Use it.
44809 ($(common-objpfx)libc.so): Use $(shlib-lds).
44810 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44811 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44812
31fffa6b
RM
44813 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44814 DT_FLAGS/DT_FLAGS_1 with zero flags.
44815
4e34ac6a
RM
44816 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44817 linker script munging.
44818
fcfc776b
UD
448192011-07-02 Ulrich Drepper <drepper@gmail.com>
44820
44821 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44822 as 128-bit value.
44823 * crypt/sha512.c (sha512_process_block): Perform total addition using
44824 128-bit if possible.
44825 (__sha512_finish_ctx): Likewise.
44826 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44827 as 64-bit value.
44828 * crypt/sha256.c (SWAP64): Define.
44829 (sha256_process_block): Perform total addition using 64-bit if
44830 possible.
44831 (__sha256_finish_ctx): Likewise.
44832
99231d9a
UD
448332011-07-01 Ulrich Drepper <drepper@gmail.com>
44834
44835 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44836 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44837 * nscd/hstcache.c (cache_addhst): Likewise.
44838 * nscd/grpcache.c (cache_addgr): Likewise.
44839 * nscd/aicache.c (addhstaiX): Likewise
44840 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44841
445b4a53
TK
448422011-07-01 Thorsten Kukuk <kukuk@suse.de>
44843
44844 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44845 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44846 * nscd/hstcache.c (cache_addhst): Likewise.
44847 * nscd/grpcache.c (cache_addgr): Likewise.
44848 * nscd/aicache.c (addhstaiX): Likewise
44849
6d4d8e8e
AS
448502011-07-01 Andreas Schwab <schwab@redhat.com>
44851
44852 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44853 domain only when needed.
44854
89f654c5
AS
448552011-06-30 Andreas Schwab <schwab@redhat.com>
44856
44857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44858 is always restored.
44859
cf3b23ff
UD
448602011-06-29 Ulrich Drepper <drepper@gmail.com>
44861
44862 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44863 are re-adding the entry.
44864 * nscd/servicescache.c (cache_addserv): Likewise.
44865
751626f9
AJ
448662011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44867
44868 * sysdeps/generic/dl-irel.h: fix protection against multiple
44869 inclusions.
44870 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44871
9113ea1f
UD
448722011-06-28 Ulrich Drepper <drepper@gmail.com>
44873
5c0b8d90
UD
44874 [BZ #12935]
44875 * malloc/memusage.sh: Fix quoting in message.
44876 * debug/xtrace.sh: Likewise.
44877
9113ea1f
UD
44878 * configure.in: Remove support for --experimental-malloc option, make
44879 it the default.
44880 * config.make.in: Likewise.
44881 * malloc/Makefile: Likewise.
44882
a4172181
AS
448832011-06-27 Andreas Schwab <schwab@redhat.com>
44884
44885 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44886 two-byte characters.
44887
78a7eee7
RM
448882011-06-27 Roland McGrath <roland@hack.frob.com>
44889
62bede13
RM
44890 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44891 AC_CACHE_CHECK invocation.
44892 * configure: Regenerated.
44893
78a7eee7
RM
44894 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44895
5ce33a62
UD
448962011-06-27 Ulrich Drepper <drepper@gmail.com>
44897
034807a9
UD
44898 [BZ #12350]
44899 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44900 bit from old_res_options.
44901
4902da17
UD
44902 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44903
5ce33a62
UD
44904 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44905 value type for setfct.
44906
c2344f56
L
449072011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44908
44909 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44910 __gettimeofday instead of gettimeofday.
44911
68468076
UD
449122011-06-26 Ulrich Drepper <drepper@gmail.com>
44913
44914 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44915
acb0d739
L
449162011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44917
44918 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44919
44920 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44921 info.
44922
8912479f
L
449232011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44924
44925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44926 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44927 strcpy-sse2-unaligned strncpy-sse2-unaligned
44928 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44929 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44930 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44931 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44932 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44933 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44934 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44935 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44936 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44937 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44938 (STRCPY): Support SSE2 and SSSE3 versions.
44939
d5495a11
UD
449402011-06-24 Ulrich Drepper <drepper@gmail.com>
44941
44942 [BZ #12874]
44943 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44944 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44945 kernels which artificially limit size of requests.
44946
0b1cbaae
L
449472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44948
44949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44950 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44951 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44952 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44953 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44954 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44955 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44956 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44957 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44958 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44959 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44960 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44961 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44962 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44963 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44965 Enable unaligned load optimization for Intel Core i3, i5 and i7
44966 processors.
44967 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44968 Define.
44969 (index_Fast_Unaligned_Load): Define.
44970 (HAS_FAST_UNALIGNED_LOAD): Define.
44971
07f494a0
MP
449722011-06-23 Marek Polacek <mpolacek@redhat.com>
44973
44974 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44975
fa3fc0fe
UD
449762011-06-22 Ulrich Drepper <drepper@gmail.com>
44977
44978 [BZ #12907]
44979 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44980 until it is clear that the information is realy needed.
44981 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44982
e12df166
AS
449832011-06-22 Andreas Schwab <schwab@redhat.com>
44984
44985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44986
852eb34d
UD
449872011-06-22 Ulrich Drepper <drepper@gmail.com>
44988
84e2a551
UD
44989 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44990 /sys/devices/system/cpu/online if it is usable.
44991
852eb34d
UD
44992 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44993 reading the information from the /proc filesystem to once a second.
44994
6e502e19
UD
449952011-06-21 Andreas Jaeger <aj@suse.de>
44996
44997 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44998 NULL after inclusion of kernel headers.
44999
75d39ff2
UD
450002011-06-21 Ulrich Drepper <drepper@gmail.com>
45001
51f9aa6a
UD
45002 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45003 calls to internal_setent.
45004
c0244a9d
UD
45005 [BZ #12885]
45006 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45007 addresses using gethostbyname4_r ignore IPv4 addresses.
45008
c5e3c2ae
UD
45009 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45010 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45011
75d39ff2
UD
45012 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45013
42675c6f
DM
450142011-06-20 David S. Miller <davem@davemloft.net>
45015
45016 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45017 inclusions.
45018 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45019
45020 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45021 (elf_irel): Use it.
45022 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45023 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45024 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45025 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45026 * sysdeps/x86_64/dl-irel.h: Likewise.
45027
45028 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45029 * elf/dl-sym.c: Likewise.
45030
57912a71
UD
450312011-06-15 Ulrich Drepper <drepper@gmail.com>
45032
45033 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45034 need to dereference resplen2.
45035
ee22793d
AS
450362011-06-14 Andreas Schwab <schwab@redhat.com>
45037
45038 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45039
a9e836b0
UD
450402011-06-15 Ulrich Drepper <drepper@gmail.com>
45041
77fb9117
UD
45042 * Makeconfig: Define vardbdir and inst_vardbdir.
45043 * nss/Makefile: Add rules to install db-Makefile.
45044
40c1b22c
UD
45045 * nss/nss_db/db-XXX.c: Cleanup.
45046
9f2da732
UD
45047 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45048 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45049 GLIBC_PRIVATE.
45050 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45051 * nss/makedb.c: Implement -g option to specify that value strings
45052 are generated and should not be added to table iterated over for
45053 get*ent calls.
45054 * nss/nss_db/db-initgroups.c: New file.
45055
82e9a1f7
UD
45056 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45057 interface.
45058
c41af17e
UD
45059 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45060 (internal_getgrouplist): Adjust to name change.
45061 Update use_initgroups_entry if this is not the first call.
45062 * nss/databases.def: Add initgroups entry.
45063
a9e836b0
UD
45064 * nss/makedb.c (compute_tables): Check result of multiple hash table
45065 sizes to minimize maximum chain length.
45066
2666d441
UD
450672011-06-14 Ulrich Drepper <drepper@gmail.com>
45068
45069 * Versions.def: Add entry for libnss_db.
45070 * shlib-versions: Likewise.
45071 * nss/Makefile: Add rules to build libnss_db.
45072 * nss/Versions: Add libnss_db information. Organize libnss_files
45073 entries better.
45074 * nss/db-Makefile: Add gshadow support. Change rules for the new
45075 makedb progra. Some minor improvements to generate smaller files.
45076 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45077 here from...
45078 * nss/makedb.c: ...here.
45079 Improve database format to be smaller and require less memory at
45080 runtime.
45081 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45082 db anymore.
45083 * nss/nss_db/db-netgrp.c: Likewise.
45084 * nss/nss_db/db-open.c: Likewise.
45085 * nss/nss_files/flies-XXX.x: Adjust comments.
45086 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45087 * nss/nss_files/files-grp.c: Likewise.
45088 * nss/nss_files/files-hosts.c: Likewise.
45089 * nss/nss_files/files-network.c: Likewise.
45090 * nss/nss_files/files-proto.c: Likewise.
45091 * nss/nss_files/files-pwd.c: Likewise.
45092 * nss/nss_files/files-rpc.c: Likewise.
45093 * nss/nss_files/files-service.c: Likewise.
45094 * nss/nss_files/files-sgrp.c: Likewise.
45095 * nss/nss_files/files-spwd.c: Likewise.
45096 * nss/nss_db/db-alias.c: Removed.
45097 * nss/nss_db/dummy-db.h: Removed.
45098
9ee76b5a
UD
450992011-06-02 Ulrich Drepper <drepper@gmail.com>
45100
45101 * nss/makedb.c: Rewritten to not use database library.
45102 * nss/Makefile: Update to build new makedb program.
45103
c71ca1f8
AJ
451042011-06-14 Andreas Jaeger <aj@suse.de>
45105
45106 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45107 memset declaration.
45108
3154bfb8
UD
451092011-06-10 Andreas Schwab <schwab@redhat.com>
45110
45111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45112 tmpbuf.
45113
b350afab
RM
451142011-06-10 Roland McGrath <roland@hack.frob.com>
45115
decd4e50
RM
45116 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45117 * elf/Makefile ($(objpfx)ld.so): Likewise.
45118
5615eaf2
RM
45119 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45120 Don't list ld.so twice in dependencies.
45121
45122 * posix/bug-regex31.c: Include <stdlib.h>.
45123
45124 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45125
45126 * nis/nss_compat/compat-spwd.c
45127 (getspent_next_nss_netgr): Remove unused variable.
45128 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45129
45130 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45131 nonmembers" output to use the right array.
45132
45133 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45134
45135 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45136
45137 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45138 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45139 * catgets/gencat.c (read_input_file): Likewise.
45140 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45141
45142 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45143 variable definition inside #if's controlling its use.
45144
45145 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45146
45147 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45148
45149 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45150
45151 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45152 unreachable code.
45153
45154 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45155
b68e08db
RM
45156 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45157 * configure: Regenerated.
45158
b350afab
RM
45159 * Makerules: Revert last change.
45160 * elf/Makefile: Likewise.
45161
28368601
RM
451622011-06-09 Roland McGrath <roland@hack.frob.com>
45163
45164 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45165 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45166 (reloc-link): Likewise.
45167
11988f8f
UD
451682011-06-09 Ulrich Drepper <drepper@gmail.com>
45169
45170 * elf/Makefile: Add rules to build pldd.
45171 * elf/pldd.c: New file.
45172 * elf/pldd-xx.c: New file.
45173
e80fab37
UD
451742011-06-07 Ulrich Drepper <drepper@gmail.com>
45175
45176 * version.h: Update for 2.15 development version.
45177
9b849836
DM
451782011-06-07 David S. Miller <davem@davemloft.net>
45179
45180 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45181 ifuncs.
45182 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45183 elf_machine_lazy_rel): Likewise.
45184 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45185 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45186 elf_machine_lazy_rel): Likewise.
45187 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45188 dl_hwcap via passed in argument.
45189 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45190 Likewise.
45191
5a31b283
AK
451922011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45193
45194 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45195
069e52f8
RM
451962011-06-06 Roland McGrath <roland@hack.frob.com>
45197
45198 [BZ #12849]
45199 * manual/fdl-1.1.texi: New file, verbatim from:
45200 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45201 * manual/lgpl-2.1.texi: New file, verbatim from:
45202 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45203 * manual/Makefile (licenses): New variable, list those new file names.
45204 (texis): Use it.
45205 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45206
45207 * manual/fdl.texi: File removed.
45208 * manual/lesser.texi: File removed.
45209 * manual/libc.texinfo (Copying, Documentation License):
45210 Use new @include file names, put @appendix directive before @include.
45211
f16846a5
JJ
452122011-06-04 Jakub Jelinek <jakub@redhat.com>
45213
45214 [BZ #12841]
45215 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45216 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45217 (mq_open): Add __NTH.
45218
3d29045b
L
452192011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45220
45221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45222 Assume Intel Core i3/i5/i7 processor if AVX is available.
45223
8c297311
UD
452242011-05-31 Ulrich Drepper <drepper@gmail.com>
45225
45226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45227 typo.
45228
c8fc0c91
UD
452292011-05-31 Andreas Schwab <schwab@redhat.com>
45230
45231 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45232 memory. Use alloca_account. Fix memory leak when retrying.
45233
5b27a807
UD
452342011-05-31 Ulrich Drepper <drepper@gmail.com>
45235
356f8bc6
UD
45236 * version.h (RELEASE): Bump for 2.14 release.
45237 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45238
5b27a807
UD
45239 * config.make.in (RANLIB): Remove entry.
45240
01f16ab0
UD
452412011-05-30 Ulrich Drepper <drepper@gmail.com>
45242
41fce8bd
UD
45243 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45244 (libc.pot): Work around missing support for .ksh extension in xgettext.
45245
4769ae77
UD
45246 [BZ #12684]
45247 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45248 if both request failed.
45249 (send_dg): In case of server errors clear resplen or *resplen2.
45250
6b1e7d19
UD
45251 [BZ #12454]
45252 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45253 when there are multiple maps.
45254 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45255 (_dl_fini): Remove test here.
45256
01f16ab0
UD
45257 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45258
b1ebd700
UD
452592011-05-29 Ulrich Drepper <drepper@gmail.com>
45260
7ae22829
UD
45261 [BZ #12350]
45262 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45263 bit from old_res_options.
45264 (gaih_inet): Likewise.
45265
553149f6 45266 [BZ #11099]
18a84741 45267 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
45268 as signed.
45269
652ffab1
UD
45270 * resolv/res_init.c (res_setoptions): Make the code more compact.
45271
16985fd0
UD
45272 [BZ #11558]
45273 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45274 set RES_USEVC.
45275
0464f746
UD
45276 [BZ #11634]
45277 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45278
7d17596c
UD
45279 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45280
cf6bbbd7
UD
45281 [BZ #11781]
45282 * malloc/malloc.h: Declare malloc hook variables as volatile.
45283
13f1ab36
UD
45284 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45285 in last patch.
45286
b1ebd700
UD
45287 [BZ #11799]
45288 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 45289 raise in the comment.
80e2212d
UD
45290 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45291 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45292 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 45293
ce67228d
UD
452942011-05-28 Ulrich Drepper <drepper@gmail.com>
45295
8887a920
UD
45296 [BZ #12811]
45297 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45298 grow the buffers more if it already has to be sufficient.
45299 (build_wcs_upper_buffer): Likewise.
45300 * posix/regexec.c (check_matching): Likewise.
45301 (clean_state_log_if_needed): Likewise.
45302 (extend_buffers): Don't enlarge buffers beyond size of the input
45303 buffer.
45304 Patches mostly by Emil Wojak <emil@wojak.eu>.
45305 * posix/bug-regex32.c: New file.
45306 * posix/Makefile (tests): Add bug-regex32.
45307
4f031072
UD
45308 * locale/findlocale.c (_nl_find_locale): Return right away if
45309 _nl_explode_name failed.
45310 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45311
d0478f0c
UD
45312 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45313
de81b246
UD
45314 * debug/xtrace.sh: Unify messages.
45315 * malloc/memusage.sh: Likewise.
45316
c738465a
UD
45317 [BZ #12813]
45318 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45319 time symbol from vDSO. Substitute with vsyscall if not available.
45320 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45321 __vdso_time.
45322
f1f929d7
UD
45323 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45324 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45325 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45326 Add sendmmsg and internal_sendmmsg.
45327 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45328 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45329 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45330
ce67228d
UD
45331 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45332 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45333 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45334
e57420c6
UD
453352011-05-27 Ulrich Drepper <drepper@gmail.com>
45336
a8509ca5
UD
45337 [BZ #12813]
45338 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45339 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45340 available.
45341 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45342 __vdso_getcpu.
45343
e57420c6
UD
45344 [BZ #12814]
45345 * iconvdata/Makefile (tests): Add bug-iconv9.
45346 * iconvdata/bug-iconv9.c: New file.
45347
4d07db15
AS
453482011-05-27 Andreas Schwab <schwab@redhat.com>
45349
45350 [BZ #12814]
45351 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45352
ea486f69
JJ
453532011-05-25 Jakub Jelinek <jakub@redhat.com>
45354
45355 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45356 (struct user_regs_struct): Change intcs field back to cs.
45357
6f038433
UD
453582011-05-25 Ulrich Drepper <drepper@gmail.com>
45359
45360 * po/ja.po: Update from translation team.
45361
67f86a25
UD
453622011-05-23 Ulrich Drepper <drepper@gmail.com>
45363
45364 [BZ #12795]
45365 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45366 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45367
def7fbd6
AS
453682011-05-20 Andreas Schwab <schwab@redhat.com>
45369
45370 * stdlib/longlong.h: Update from GCC.
45371
f50ef8f1
AS
453722011-05-23 Andreas Schwab <schwab@redhat.com>
45373
45374 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45375 parameter name.
45376 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45377 Add parameter name.
45378 (__sysconf): Pass it down.
45379
de7ce8f1
UD
453802011-05-22 Ulrich Drepper <drepper@gmail.com>
45381
f2962a71
UD
45382 [BZ #12671]
45383 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45384 some situations.
45385 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45386 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45387 add in in __libc_use_alloca calls. Adjust callers.
45388 (glob): Use malloc in some situations.
45389
de7ce8f1
UD
45390 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45391 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45392 pltexit.
45393
aec84f53
UD
453942011-05-21 Ulrich Drepper <drepper@gmail.com>
45395
05bb4a68
UD
45396 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45397 and CLOCK_BOOTTIME_ALARM.
45398
7ea72f99
UD
45399 [BZ #12782]
45400 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45401 is returned.
45402
7e4afad5
UD
45403 * string/_strerror.c (__strerror_r): Print negative errors as signed
45404 numbers.
45405
8e211fec
UD
45406 [BZ #12777]
45407 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45408 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45409 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45410
f7d82dc9
UD
45411 * configure.in: Fix typo in redirection and correct removal of test
45412 files in two cases.
45413
cc9e536d
UD
45414 [BZ #12788]
45415 * locale/setlocale.c (new_composite_name): Fix test to check for
45416 identical name of all categories.
45417
aec84f53
UD
45418 [BZ #12792]
45419 * libio/filedoalloc.c (local_isatty): New function.
45420 (_IO_file_doallocate): Use local_isatty.
45421 * stdio-common/perror.c (perror): In case a new stream is used
45422 forward the stream error.
45423 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45424 error flag.
45425
78e64fdc
RT
454262011-05-20 Ulrich Drepper <drepper@gmail.com>
45427
34a9094f
UD
45428 [BZ #11869]
45429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45430 alloca.
45431 * include/alloca.h (extend_alloca_account): Define.
45432
78e64fdc
RT
45433 [BZ #11857]
45434 * posix/regex.h: Fix comments with documentation of user-accessible
45435 fields after compilation and describe correct free'ing of pattern
45436 after re_compile_pattern.
45437 Patch by Reuben Thomas <rrt@sc3d.org>.
45438
457bddfc
RA
454392011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45440
45441 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45442 and -mno-altivec to prevent the compiler from using Altivec and/or
45443 VSX instructions when the corresponding registers are not available.
45444
a4527b51
AS
454452011-05-19 Andreas Schwab <schwab@redhat.com>
45446
45447 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45448
ed690b2f
UD
454492011-05-19 Ulrich Drepper <drepper@gmail.com>
45450
45451 * libio/freopen.c (freopen): Use __dup2, not dup2.
45452 * libio/freopen64.c (freopen64): Likewise.
45453
8db73634
L
454542011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45455
45456 [BZ #12775]
45457 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45458 * math/Makefile (tests): Add test-powl.
45459 (CFLAGS-test-powl.c): Define.
45460 * math/test-powl.c: New file.
45461
0a197a9d
L
454622011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45463
45464 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45465
ee30c380
UD
454662011-05-17 Ulrich Drepper <drepper@gmail.com>
45467
45468 [BZ #11837]
45469 * iconvdata/gb18030.c: Update to GB18020-2005.
45470
6ce75379
UD
454712011-05-16 Ulrich Drepper <drepper@gmail.com>
45472
a4b89fd8
AR
45473 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45474 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45475 Patch by Aharon Robbins <arnold@skeeve.com>.
45476
ea389b12
UD
45477 [BZ #11892]
45478 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45479 on the stack.
45480
68a3f91f
UD
45481 [BZ #11895]
45482 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45483 through underflows.
45484
15cc7dd1
UD
45485 [BZ #12766]
45486 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45487 point to strings before performing equality test for error_one_per_line
45488 mode.
45489
f3799213
UD
45490 [BZ #11697]
45491 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45492
d79a9c94
UD
45493 [BZ #11820]
45494 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45495 (struct user_fpregs_struct): Avoid __uint*_t types.
45496
56e5eb46
UD
45497 [BZ #6420]
45498 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45499 symbol info. Use it instead of calling _dl_addr locally.
45500 (lock_and_info): New function.
45501 (tr_freehook): Call lock_and_info and pass symbol info as additional
45502 parameter to tr_where.
45503 (tr_mallochook): Likewise.
45504 (tr_reallochook): Likewise.
45505 (tr_memalignhook): Likewise.
45506
6ce75379
UD
45507 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45508 used and couldn't be at all thread-safe.
45509
f8a3b5bf
UD
455102011-05-15 Ulrich Drepper <drepper@gmail.com>
45511
94b7cc37
UD
45512 * libio/freopen.c (freopen): Don't close old file descriptor
45513 before the new one is opened. Instead dup the new file descriptor
45514 to the old one after the new stream is created.
45515 * libio/freopen64.c (freopen64): Likewise.
45516 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45517 * libio/fileops.c (_IO_new_file_close_it): Handle new
45518 _IO_FLAGS2_NOCLOSE flag.
45519 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45520 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45521 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45522 _IO_FLAGS2_NOCLOSE flag.
45523 * include/unistd.h: Add hidden_proto for dup3.
45524 Define __have_dup3.
45525 * io/dup3.c: Define hidden symbol.
45526 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45527
bd25564e
UD
45528 [BZ #7101]
45529 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45530 when an incomplete long option is used.
45531 * posix/tst-getopt_long1.c: New file.
45532 * posix/Makefile (tests): Add tst-getopt_long1.
45533
c84cfef4
UD
45534 [BZ #10138]
45535 * scripts/config.guess: Update from autoconf-2.68.
45536 * scripts/config.sub: Likewise.
45537
3b85df27
UD
45538 [BZ #10157]
45539 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45540 tests into ...
45541 (has_cpuclock): ...this. New function.
45542 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45543 macro here based on has_cpuclock code.
45544
15a856b1
UD
45545 [BZ #10149]
45546 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45547 First byte (not low byte) is now always NUL.
45548 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45549
05f399e6
UD
45550 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45551 Use non-cancelable interfaces.
45552
10a52685 45553 [BZ #9809]
94ecc67d
UD
45554 * locale/iso-639.def: Add entry for Sorani.
45555
f8a3b5bf
UD
45556 [BZ #11901]
45557 * include/stdlib.h: Move include protection to the right place.
45558 Define abort_msg_s. Declare __abort_msg with it.
45559 * stdlib/abort.c (__abort_msg): Adjust type.
45560 * assert/assert.c (__assert_fail_base): New function. Majority
45561 of code from __assert_fail. Allocate memory for __abort_msg with
45562 mmap.
45563 (__assert_fail): Now call __assert_fail_base.
45564 * assert/assert-perr.c: Remove bulk of implementation. Use
45565 __assert_fail_base.
45566 * include/assert.hL Declare __assert_fail_base.
45567 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45568 mmap.
45569 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45570
1af4e298
UD
455712011-05-14 Ulrich Drepper <drepper@gmail.com>
45572
f8a3b5bf 45573 [BZ #11952]
d26dfc60
MG
45574 [BZ #12453]
45575 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45576 until all modules are registered in the DTV.
45577 * elf/Makefile: Add rules to build and run tst-tls19.
45578 * elf/tst-tls19.c: New file.
45579 * elf/tst-tls19mod1.c: New file.
45580 * elf/tst-tls19mod2.c: New file.
45581 * elf/tst-tls19mod3.c: New file.
45582 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45583
2fc54d6f
UD
45584 [BZ #12083]
45585 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45586 correctly.
45587
98d76b46
UD
45588 [BZ #12601]
45589 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45590 two-byte sequence errors.
45591 * iconvdata/Makefile (tests): Add bug-iconv8.
45592 * iconvdata/bug-iconv8.c: New file.
45593
da3c19ef
UD
45594 [BZ #12626]
45595 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45596 buf2 definition.
45597
ca408c15
UD
45598 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45599
d6f67f7d
UD
45600 [BZ #12432]
45601 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45602 (dummy_getcfa): New function.
45603 (init): Get _Unwind_GetCFA address, use dummy if not found.
45604 (backtrace_helper): In recursion check, also check whether CFA changes.
45605 (__backtrace): Completely initialize arg.
45606
1af4e298 45607 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
45608 storing incomplete byte sequence in state object. Avoid testing for
45609 guaranteed too small input if we know there is enough data available.
1af4e298 45610
da62f81b
AS
456112011-05-11 Andreas Schwab <schwab@redhat.com>
45612
45613 * Makeconfig (+link-pie): Indent.
45614 * Rules (binaries-pie): Define if $(have-fpie) and
45615 $(build-shared).
45616 (binaries-shared): Also filter out $(binaries-pie).
45617 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45618 * nscd/Makefile (others-pie): Add nscd.
45619 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45620 ($(objpfx)nscd): Remove command override.
45621 * login/Makefile (others-pie): Add pt_chown.
45622 ($(objpfx)pt_chown): Remove command override.
45623 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45624 remove command overrides.
45625
fcabc0f8
UD
456262011-05-13 Ulrich Drepper <drepper@gmail.com>
45627
20030ae6
UD
45628 * libio/tst_putwc.c: Fix error messages.
45629
fcabc0f8
UD
45630 [BZ #12724]
45631 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45632 currently writing and seek to current position when not.
45633 * libio/Makefile (tests): Add bug-fclose1.
45634 * libio/bug-fclose1.c: New file.
45635
320a5dc0
PB
456362011-05-12 Ulrich Drepper <drepper@gmail.com>
45637
45638 [BZ #12511]
45639 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45640 don't set DF_1_NODELETE here.
45641 (do_lookup_x): When entering new entry test for copy relocation
45642 and if necessary set DF_1_NODELETE flag.
45643 * elf/tst-unique4.cc: New file.
45644 * elf/tst-unique4.h: New file.
45645 * elf/tst-unique4lib.cc: New file.
45646 * elf/Makefile: Add rules to build and run tst-unique4.
45647 Patch by Piotr Bury <pbury@goahead.com>.
45648
22836f52
UD
456492011-05-11 Ulrich Drepper <drepper@gmail.com>
45650
f574184a
UD
45651 [BZ #12052]
45652 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45653
e1fb097f
UD
45654 [BZ #12625]
45655 * misc/mntent_r.c (addmntent): Flush the stream after the output
45656
22836f52
UD
45657 [BZ #12393]
45658 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45659 (is_trusted_path_normalize): Skip initial colon. Append slash
45660 to empty buffer. Duplicate is_trusted_path code but allow
45661 constructed patch to be prefix.
45662 (is_dst): Allow $ORIGIN followed by /.
45663 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45664 Correct testing of result of is_trusted_path_normalize
45665 (decompose_rpath): Fix warning.
45666
7b3b0b2a
UD
456672011-05-10 Ulrich Drepper <drepper@gmail.com>
45668
45669 [BZ #11257]
45670 * grp/initgroups.c (internal_getgrouplist): When we found the service
45671 list through the initgroups entry in nsswitch.conf do not always
45672 continue on a successful lookup. Don't always use the
eac80ce2 45673 __nss_group_database value if it is set.
7b3b0b2a
UD
45674 * nss/nsswitch.conf (initgroups): Change action for successful db
45675 lookup to continue for compatibility.
45676
2a81eaa5
UD
456772011-05-09 Ulrich Drepper <drepper@gmail.com>
45678
be97a69e
UD
45679 [BZ #11532]
45680 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45681 and CP774 modules.
45682 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45683 and CP774 modules.
45684 * iconvdata/tst-tables.sh: Likewise.
45685 * iconvdata/cp770.c: New file.
45686 * iconvdata/cp771.c: New file.
45687 * iconvdata/cp772.c: New file.
45688 * iconvdata/cp773.c: New file.
45689 * iconvdata/cp774.c: New file.
45690 * iconvdata/testdata/CP770: New file.
45691 * iconvdata/testdata/CP770..UTF8: New file.
45692 * iconvdata/testdata/CP771: New file.
45693 * iconvdata/testdata/CP771..UTF8: New file.
45694 * iconvdata/testdata/CP772: New file.
45695 * iconvdata/testdata/CP772..UTF8: New file.
45696 * iconvdata/testdata/CP773: New file.
45697 * iconvdata/testdata/CP773..UTF8: New file.
45698 * iconvdata/testdata/CP774: New file.
45699 * iconvdata/testdata/CP774..UTF8: New file.
45700
45701 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45702 END CHARMAP line.
45703 * iconvdata/gen-8bit-gap.sh: Likewise.
45704 * iconvdata/gen-8bit.sh: Likewise.
45705
c1e9e399
UD
45706 * locale/iso-639.def: Add ary entry.
45707
24c55fb3 45708 [BZ #11258]
96b4b1b0
UD
45709 * locale/C-translit.h.in: Add U20A1 transliteration.
45710
bdc2f971
KB
45711 [BZ #12178]
45712 * locale/iso-639.def: Add wae entry.
45713 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45714
2952b117
UD
45715 [BZ #12545]
45716 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45717 for n.
45718
2a81eaa5
UD
45719 [BZ #12711]
45720 * locale/C-translit.h.in: Add entry for U20B9.
45721 Patch by pravin.d.s@gmail.com.
45722
28377d1b
UD
457232011-05-08 Ulrich Drepper <drepper@gmail.com>
45724
7fb90fb8
UD
45725 [BZ #12713]
45726 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45727 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
45728 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45729 in rtld. Use *stat64.
7fb90fb8 45730 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 45731 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 45732 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
45733 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45734 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45735 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45736 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45737 __fstatat64 macros.
7fb90fb8
UD
45738 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45739 * dirent/rewinddir.c: Add libc_hidden_def.
45740 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 45741 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 45742
28377d1b
UD
45743 * include/dirent.h (__alloc_dir): Add flags parameter.
45744 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45745 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45746 __alloc_dir.
45747 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45748 from fdopendir if O_CLOEXEC is already set.
45749
66bdbaa4
AM
457502011-03-15 Alan Modra <amodra@gmail.com>
45751
45752 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45753 l_tls_firstbyte_offset non-zero. Save padding offset in
45754 l_tls_firstbyte_offset for later use.
45755 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45756 freeing static tls block.
45757
95721191
JN
457582011-03-05 Jonathan Nieder <jrnieder@gmail.com>
45759
45760 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45761 where #ifdef was intended. The intent is to prevent ARG_MAX from
45762 being defined by the kernel headers.
45763
f87dfb1f
UD
457642011-05-07 Ulrich Drepper <drepper@gmail.com>
45765
45766 [BZ #12734]
45767 * resolv/resolv.h: Define RES_NOTLDQUERY.
45768 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45769 no-tld-query and set RES_NOTLDQUERY.
45770 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45771 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45772 modern BIND to search name as TLD unless forbidden.
45773
47c3cd7a
UD
457742011-05-07 Petr Baudis <pasky@suse.cz>
45775 Ulrich Drepper <drepper@gmail.com>
45776
45777 [BZ #12393]
45778 * elf/dl-load.c (fillin_rpath): Move trusted path check...
45779 (is_trusted_path): ...to here.
c1e9ea35 45780 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 45781 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 45782 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 45783
8a35c912
PP
457842011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45785
45786 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45787 __BEGIN/__END_DECLS.
45788
acd41f47
UD
457892011-05-06 Ulrich Drepper <drepper@gmail.com>
45790
45791 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45792 NSS_STATUS_NOTFOUND if no record was found.
45793
597df647
AS
457942011-05-05 Andreas Schwab <schwab@redhat.com>
45795
45796 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45797 (headers-not-in-tirpc): Remove rpc/netdb.h
45798 * resolv/netdb.h: Revert last change.
45799
b9af1301
PP
458002011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45801
45802 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45803 circular dependency between libgcc.a and libc.a.
45804
4e34d5f5
AS
458052011-05-05 Andreas Schwab <schwab@redhat.com>
45806
45807 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45808 * nis/Makefile: Don't install rpcsvc/*.
45809 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45810 instead of <rpc/types.h>.
45811 (MAXHOSTNAMELEN): Define.
45812
00ee369c
AS
458132011-05-03 Andreas Schwab <schwab@redhat.com>
45814
45815 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45816
0b592a30
MB
458172011-04-28 Maciej Babinski <mbabinski@google.com>
45818
45819 [BZ #12714]
45820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45821 gethostbyname4_r when IPv6 results are possible.
45822
6e04cbbe
UD
458232011-05-02 Ulrich Drepper <drepper@gmail.com>
45824
45825 [BZ #12723]
45826 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45827 _PC_PIPE_BUF handling.
45828
e4ecafe0
BH
458292011-04-30 Bruno Haible <bruno@clisp.org>
45830
45831 [BZ #12717]
45832 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45833 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45834 to 'int'.
45835 * inet/getnameinfo.c (getnameinfo): Likewise.
45836
125ee683
UD
458372011-04-29 Ulrich Drepper <drepper@gmail.com>
45838
45839 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45840 to groups setting in database lookup.
45841 * nss/nsswitch.conf: Add initgroups entry.
45842
b722481a
EB
458432011-04-22 Ulrich Drepper <drepper@gmail.com>
45844
45845 [BZ #12685]
45846 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45847 mode string.
45848 Patch by Eric Blake <eblake@redhat.com>.
45849
4df46dbd
L
458502011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45851
45852 * sunrpc/Makefile (need-export-routines): Add svc_run.
45853 (routines): Remove svc_run.
45854 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45855 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45856 * sunrpc/svc_run.c (svc_run): Likewise.
45857 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45858
e84142d2
UD
458592011-04-21 Ulrich Drepper <drepper@gmail.com>
45860
45861 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45862 problem in reallocation in last patch.
45863
877175d8
UD
458642011-04-20 Ulrich Drepper <drepper@gmail.com>
45865
45866 * sunrpc/Makefile: Move inclusion of Rules.
45867
ab8eed78
UD
458682011-04-19 Ulrich Drepper <drepper@gmail.com>
45869
45870 * nss/nss_files/files-initgroups.c: New file.
45871 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45872 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45873 _nss_files_initgroups_dyn.
45874
e3d8f584
RS
458752011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45876
45877 * elf/elf.h (R_ARM_IRELATIVE): Define.
45878
af190f45
UD
458792011-04-19 Ulrich Drepper <drepper@gmail.com>
45880
45881 * po/ru.po: Update from translation team.
45882
53cf59ef
UD
458832011-04-17 Ulrich Drepper <drepper@gmail.com>
45884
45885 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45886 dependencies.
45887
4c559bcd
MF
458882011-02-06 Mike Frysinger <vapier@gentoo.org>
45889
45890 [BZ #12653]
45891 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45892 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45893 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45894 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45895 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45896
4420675c
AS
458972011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45898
45899 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45900 differing bytes.
45901 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45902 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45903 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45904
75ea32ab
UD
459052011-04-17 Ulrich Drepper <drepper@gmail.com>
45906
45907 [BZ #12420]
45908 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45909 storing it.
45910 * stdlib/bug-getcontext.c: New file.
45911 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45912
27390476
AK
459132011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45914
45915 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45916 instructions into .machine "z9-109".
45917 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45918 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45919
10442705
AK
459202011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45921
45922 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45923 between environment variables and auxiliary vector.
45924
7b57bfe5
UD
459252011-04-16 Ulrich Drepper <drepper@gmail.com>
45926
45927 * Makefile: Add rules to build linkobj/libc.so.
45928 * include/libc-symbols.h: Define libc_hidden_nolink.
45929 * include/rpc/auth.h: Mark functions which are to be hidden.
45930 * include/rpc/auth_des.h: Likewise.
45931 * include/rpc/auth_unix.h: Likewise.
45932 * include/rpc/clnt.h: Likewise.
45933 * include/rpc/des_crypt.h: Likewise.
45934 * include/rpc/key_prot.h: Likewise.
45935 * include/rpc/pmap_clnt.h: Likewise.
45936 * include/rpc/pmap_prot.h: Likewise.
45937 * include/rpc/pmap_rmt.h: Likewise.
45938 * include/rpc/rpc_msg.h: Likewise.
45939 * include/rpc/svc.h: Likewise.
45940 * include/rpc/svc_auth.h: Likewise.
45941 * include/rpc/xdr.h: Likewise.
45942 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45943 * nss/Makefile: Likewise.
45944 * sunrpc/Makefile: Don't install headers. Build library with normal
45945 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45946 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45947 for the compat linking library. Remove use of INTDEF/INTUSE.
45948 * sunrpc/auth_none.c: Likewise.
45949 * sunrpc/auth_unix.c: Likewise.
45950 * sunrpc/authdes_prot.c: Likewise.
45951 * sunrpc/authuxprot.c: Likewise.
45952 * sunrpc/clnt_gen.c: Likewise.
45953 * sunrpc/clnt_perr.c: Likewise.
45954 * sunrpc/clnt_raw.c: Likewise.
45955 * sunrpc/clnt_simp.c: Likewise.
45956 * sunrpc/clnt_tcp.c: Likewise.
45957 * sunrpc/clnt_udp.c: Likewise.
45958 * sunrpc/clnt_unix.c: Likewise.
45959 * sunrpc/des_crypt.c: Likewise.
45960 * sunrpc/des_soft.c: Likewise.
45961 * sunrpc/get_myaddr.c: Likewise.
45962 * sunrpc/key_call.c: Likewise.
45963 * sunrpc/key_prot.c: Likewise.
45964 * sunrpc/netname.c: Likewise.
45965 * sunrpc/pm_getmaps.c: Likewise.
45966 * sunrpc/pm_getport.c: Likewise.
45967 * sunrpc/pmap_clnt.c: Likewise.
45968 * sunrpc/pmap_prot.c: Likewise.
45969 * sunrpc/pmap_prot2.c: Likewise.
45970 * sunrpc/pmap_rmt.c: Likewise.
45971 * sunrpc/publickey.c: Likewise.
45972 * sunrpc/rpc_cmsg.c: Likewise.
45973 * sunrpc/rpc_common.c: Likewise.
45974 * sunrpc/rpc_dtable.c: Likewise.
45975 * sunrpc/rpc_prot.c: Likewise.
45976 * sunrpc/rpc_thread.c: Likewise.
45977 * sunrpc/rtime.c: Likewise.
45978 * sunrpc/svc.c: Likewise.
45979 * sunrpc/svc_auth.c: Likewise.
45980 * sunrpc/svc_authux.c: Likewise.
45981 * sunrpc/svc_raw.c: Likewise.
45982 * sunrpc/svc_run.c: Likewise.
45983 * sunrpc/svc_simple.c: Likewise.
45984 * sunrpc/svc_tcp.c: Likewise.
45985 * sunrpc/svc_udp.c: Likewise.
45986 * sunrpc/svc_unix.c: Likewise.
45987 * sunrpc/svcauth_des.c: Likewise.
45988 * sunrpc/xcrypt.c: Likewise.
45989 * sunrpc/xdr.c: Likewise.
45990 * sunrpc/xdr_array.c: Likewise.
45991 * sunrpc/xdr_float.c: Likewise.
45992 * sunrpc/xdr_intXX_t.c: Likewise.
45993 * sunrpc/xdr_mem.c: Likewise.
45994 * sunrpc/xdr_rec.c: Likewise.
45995 * sunrpc/xdr_ref.c: Likewise.
45996 * sunrpc/xdr_sizeof.c: Likewise.
45997 * sunrpc/xdr_stdio.c: Likewise.
45998
e6c61494
UD
459992011-04-10 Ulrich Drepper <drepper@gmail.com>
46000
46001 [BZ #12650]
46002 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46003 * sysdeps/ia64/dl-tls.h: Likewise.
46004 * sysdeps/powerpc/dl-tls.h: Likewise.
46005 * sysdeps/s390/dl-tls.h: Likewise.
46006 * sysdeps/sh/dl-tls.h: Likewise.
46007 * sysdeps/sparc/dl-tls.h: Likewise.
46008 * sysdeps/x86_64/dl-tls.h: Likewise.
46009 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46010
34fe483e
AS
460112011-03-14 Andreas Schwab <schwab@redhat.com>
46012
46013 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46014 rpath element also skip the following colon.
46015 (expand_dynamic_string_token): Add is_path parameter and pass
46016 down to DL_DST_REQUIRED and _dl_dst_substitute.
46017 (decompose_rpath): Call expand_dynamic_string_token with
46018 non-zero is_path. Ignore empty rpaths.
46019 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46020 with zero is_path.
46021
f12a32e6
AS
460222011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46023
46024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46025 Make cancelable.
46026
38a7d692
UD
460272011-04-09 Ulrich Drepper <drepper@gmail.com>
46028
46029 [BZ #12655]
46030 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46031 Patch by Filipe David Manana <fdmanana@apache.org>.
46032
e451d22b
AS
460332011-04-07 Andreas Schwab <schwab@redhat.com>
46034
46035 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46036 Maintain aligned stack.
46037 (CHECK_RSP): Remove unused macro.
46038
dedc7c7b
UD
460392011-04-03 Ulrich Drepper <drepper@gmail.com>
46040
46041 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46042 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46043
94521213
UD
460442011-04-02 Ulrich Drepper <drepper@gmail.com>
46045
46046 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46047
8cb700c0 46048 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 46049
0354e355
L
460502011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46051
46052 [BZ #12518]
46053 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46054 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46055 * sysdeps/x86_64/memmove.c: New file.
46056 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46057 (memcpy): Renamed to ...
46058 (__new_memcpy): This.
46059 (memcpy): Provide GLIBC_2_14 memcpy.
46060 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46061 (memcpy): Provide GLIBC_2_2_5 memcpy.
46062
8593482f
UD
460632011-04-01 Ulrich Drepper <drepper@gmail.com>
46064
46065 [BZ #12631]
46066 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46067
81a5726b
AS
460682011-03-30 Andreas Schwab <schwab@redhat.com>
46069
46070 * misc/syncfs.c: New file.
46071 * misc/Makefile (routines): Add syncfs.
46072 * posix/unistd.h: Declare syncfs.
46073 * sysdeps/unix/syscalls.list: Add syncfs.
46074
00e5419f
AS
460752011-04-01 Andreas Schwab <schwab@redhat.com>
46076
46077 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46078 open_by_handle_at.
46079 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46080 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46081 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46082 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46084 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46085 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46086
748876bf
UD
460872011-04-01 Ulrich Drepper <drepper@gmail.com>
46088
658e451d
UD
46089 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46090 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46091 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46092 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46093 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46094 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46095 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46096
748876bf
UD
46097 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46098 sync_file_range.c with -fexceptions.
46099 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46100 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46101 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46102 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46103 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46104 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46105 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
46106 sync_file_range as cancellation point
46107 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46108 now a wrapper around __call_sync_file_range with cancellation handling.
46109 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46110 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46111 function name to __call_sync_file_range.
46112 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46113 Add call_sync_file_range.
748876bf 46114
6e63d5e1
AS
461152011-04-01 Andreas Schwab <schwab@redhat.com>
46116
46117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 46118 bits/timex.h.
6e63d5e1 46119
46998f74
UD
461202011-04-01 Ulrich Drepper <drepper@gmail.com>
46121
4c1423ed
UD
46122 * iconv/iconv.h: Fix typo in comment.
46123 * io/fcntl.h: Likewise.
46124 * libio/stdio.h: Likewise.
46125 * posix/spawn.h: Likewise.
46126 * posix/unistd.h: Likewise.
46127 * stdlib/stdlib.h: Likewise.
46128 * time/time.h: Likewise.
46129 * wcsmbs/wchar.h: Likewise.
46130
158648c0
UD
46131 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46132 open_by_handle): Add.
46133 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46134 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46135 Augment a few comments.
46136 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46137 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46138 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46140 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46141 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46142 open_by_handle.
46143
46998f74
UD
46144 * io/fcntl.h (AT_EMPTY_PATH): Define.
46145
83fe108b
UD
461462011-03-30 Ulrich Drepper <drepper@gmail.com>
46147
46148 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46149 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46150 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46151 to...
46152 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
46153 * Versions.def: Add GLIBC_2.14.
46154 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46155 Export.
83fe108b 46156
bb242059
UD
461572011-03-22 Ulrich Drepper <drepper@gmail.com>
46158
46159 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46160 round counter.
46161 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46162
c97a1282
L
461632011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46164
46165 [BZ #12597]
46166 * string/test-strncmp.c (do_page_test): New function.
46167 (check2): Likewise.
46168 (test_main): Call check2.
46169 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46170
2a115601
UD
461712011-03-20 Ulrich Drepper <drepper@gmail.com>
46172
46173 [BZ #12587]
46174 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46175 Handle cache information in CPU leaf 4.
46176 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46177
8126d904
UD
461782011-03-18 Ulrich Drepper <drepper@gmail.com>
46179
042c49c6 46180 [BZ #12583]
8126d904
UD
46181 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46182 character representation.
46183 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46184
ccfe366e
RA
461852011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46186
46187 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46188 END(__isnan) to END(__isnanf) to match function entry point/label
46189 EALIGN(__isnanf,...).
46190
c6e13027
JJ
461912011-03-10 Jakub Jelinek <jakub@redhat.com>
46192
46193 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46194
33f85a3f
UD
461952011-03-10 Ulrich Drepper <drepper@gmail.com>
46196
028478fa
UD
46197 [BZ #12510]
46198 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46199 copy from the symbol referenced in the relocation to initialize the
46200 used variable.
46201 Patch by Piotr Bury <pbury@goahead.com>.
46202 * elf/Makefile: Add rules to build and tst-unique3.
46203 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46204 * elf/tst-unique3.cc: New file.
46205 * elf/tst-unique3.h: New file.
46206 * elf/tst-unique3lib.cc: New file.
46207 * elf/tst-unique3lib2.cc: New file.
46208
33f85a3f
UD
46209 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46210
03592fc7
MF
462112011-03-10 Mike Frysinger <vapier@gentoo.org>
46212
46213 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46214 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46215 to _start.
03592fc7 46216
6a5ee102
UD
462172011-03-06 Ulrich Drepper <drepper@gmail.com>
46218
46219 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46220 to-be-loaded object along a path to loader is ld.so.
46221
7e4ba49c
HJ
462222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46223 Ulrich Drepper <drepper@gmail.com>
46224
46225 * sysdeps/x86_64/memset.S: After aligning destination, code
46226 branches to different locations depending on the value of
46227 misalignment, when multiarch is enabled. Fix this.
46228
462292011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46230
46231 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46232 Set _x86_64_preferred_memory_instruction for AMD processsors.
46233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46234 Set bit_Prefer_SSE_for_memop for AMD processors.
46235
13a804de
UD
462362011-03-04 Ulrich Drepper <drepper@gmail.com>
46237
46238 * libio/fmemopen.c (fmemopen): Optimize a bit.
46239
9d25c392
AS
462402011-03-03 Andreas Schwab <schwab@redhat.com>
46241
46242 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46243
a5543c6a
RM
462442011-03-03 Roland McGrath <roland@redhat.com>
46245
46246 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46247
012d35f7
DM
462482011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46249
7e4ba49c 46250 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
46251 __bzero_ultra1 instead of __memset_ultra1.
46252
4bff6e01
AS
462532011-02-23 Andreas Schwab <schwab@redhat.com>
46254 Ulrich Drepper <drepper@gmail.com>
46255
46256 [BZ #12509]
46257 * include/link.h (struct link_map): Add l_orig_initfini.
46258 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46259 returning unsuccessfully.
46260 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46261 close of a file loaded at startup, restore the original l_initfini
46262 list.
46263 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46264 list, store the pointer.
46265 * elf/Makefile ($(objpfx)noload-mem): New rule.
46266 (noload-ENV): Define.
46267 (tests): Add $(objpfx)noload-mem.
46268 * elf/noload.c: Include <memcheck.h>.
46269 (main): Call mtrace. Close all opened handles.
46270
f2092faf
AS
462712011-02-17 Andreas Schwab <schwab@redhat.com>
46272
46273 [BZ #12454]
46274 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46275 dependencies are missing.
46276
6c8a2e88
ST
462772011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46278
f2092faf 46279 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
46280 Hurd needs munmap.
46281 * sysdeps/mach/hurd/ifreq.h: New file.
46282
84a42118
PB
462832011-01-27 Petr Baudis <pasky@suse.cz>
46284 Ulrich Drepper <drepper@gmail.com>
46285
071f805e 46286 [BZ 12445]#
84a42118
PB
46287 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46288 to extend_alloca().
46289 * stdio-common/bug23.c: New file.
46290 * stdio-common/Makefile (tests): Add bug23.
46291
e23fe25b
AS
462922010-09-28 Andreas Schwab <schwab@redhat.com>
46293 Ulrich Drepper <drepper@gmail.com>
46294
46295 [BZ #12489]
46296 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46297 before performing relro protection. At old place add assertion
46298 to make sure nothing changed.
46299
d3f02e10
NS
463002011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46301 Glauber de Oliveira Costa <glommer@gmail.com>
46302
46303 * elf/elf.h: Add new ARM TLS relocs.
46304
d55fd7a5
RA
463052011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46306
46307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46308 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46309 cast from r3.
46310 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46311 'tests' variable.
46312 * sysdeps/wordsize-64/tst-writev.c: New file.
46313
2206397e
RA
463142011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46315
46316 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46317 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46318 insns in _dl_start to prevent a TOC reference before relocs are
46319 resolved.
46320
e9433893
UD
463212011-02-15 Ulrich Drepper <drepper@gmail.com>
46322
46323 [BZ #12469]
46324 * Makeconfig: Remove RANLIB definition.
46325 * Makerules: Don't use RANLIB.
46326 * aclocal.m4: Remove ranlib test.
46327 * configure.in: No need to check for ranlib.
46328 * elf/rtld-Rules: Don't use RANLIB.
46329
f75286c6
ST
463302011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46331
8e31c82d
ST
46332 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46333 protection macro.
46334 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46335 inclusion protection macro.
46336
f75286c6
ST
46337 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46338 SIGRTMIN and SIGRTMAX and print information in that case only when
46339 SIGRTMIN is defined.
46340
c1d0e639
JJ
463412011-02-11 Jakub Jelinek <jakub@redhat.com>
46342
46343 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46344 arginfo fn returning -1.
46345
46346 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46347 and thousands string is zero terminated.
46348
edf9294e
AS
463492011-02-03 Andreas Schwab <schwab@redhat.com>
46350
46351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46352 sysdeps/unix/sysv/linux/bits/socket.h.
46353
2b7e92df
ST
463542011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46355
edf9294e
AS
46356 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46357 (__CPU_COUNT): Remove old macros.
46358 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46359 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46360 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
46361 (__sched_cpualloc, __sched_cpufree): Add declarations.
46362
a4c7ea7b
UD
463632011-02-05 Ulrich Drepper <drepper@gmail.com>
46364
46365 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46366 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46367 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46368 (readdhstai): Return value of addhstaiX call.
46369 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46370 (addgrbyX): Return value returned by cache_addgr.
46371 (readdgrbyname): Return value returned by addgrbyX.
46372 (readdgrbygid): Likewise.
46373 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46374 (addpwbyX): Return value returned by cache_addpw.
46375 (readdpwbyname): Return value returned by addhstbyX.
46376 (readdpwbyuid): Likewise.
46377 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46378 (addservbyX): Return value returned by cache_addserv.
46379 (readdservbyname): Return value returned by addservbyX:
46380 (readdservbyport): Likewise.
46381 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46382 (addhstbyX): Return value returned by cache_addhst.
46383 (readdhstbyname): Return value returned by addhstbyX.
46384 (readdhstbyaddr): Likewise.
46385 (readdhstbynamev6): Likewise.
46386 (readdhstbyaddrv6): Likewise.
46387 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46388 (readdinitgroups): Return value returned by addinitgroupsX.
46389 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46390 (prune_cache): Keep track of timeout value of re-added entries.
46391 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46392 * nscd/nscd.h: Adjust prototypes of readd* functions.
46393
a0bf67cc
RM
463942011-02-04 Roland McGrath <roland@redhat.com>
46395
46396 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46397 (nis_stats): Likewise.
46398 * nis/nis_modify.c (nis_modify): Likewise.
46399 * nis/nis_remove.c (nis_remove): Likewise.
46400 * nis/nis_add.c (nis_add): Likewise.
46401
46402 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46403
46404 * posix/fnmatch_loop.c: Add some consts.
46405
46406 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46407
435b95eb
L
464082011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46409
46410 [BZ #12460]
46411 * config.make.in (config-cflags-novzeroupper): Define.
46412 * configure.in: Substitute libc_cv_cc_novzeroupper.
46413 * elf/Makefile (AVX-CFLAGS): Define.
46414 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46415 (CFLAGS-tst-auditmod4a.c): Likewise.
46416 (CFLAGS-tst-auditmod4b.c): Likewise.
46417 (CFLAGS-tst-auditmod6b.c): Likewise.
46418 (CFLAGS-tst-auditmod6c.c): Likewise.
46419 (CFLAGS-tst-auditmod7b.c): Likewise.
46420 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46421
8517b15e
UD
464222011-02-02 Ulrich Drepper <drepper@gmail.com>
46423
46424 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46425 function to the callback.
46426 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46427
10a656fe
AS
464282011-02-02 Andreas Schwab <schwab@redhat.com>
46429
46430 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46431 of errno.
46432
968dad0a
UD
464332011-01-19 Ulrich Drepper <drepper@gmail.com>
46434
9f94d2ea 46435 [BZ #11724]
968dad0a
UD
46436 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46437 of constructors.
46438 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46439 of destructors.
46440 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46441
46442 [BZ #11724]
46443 * elf/Makefile: Add rules to build and run new test.
46444 * elf/tst-initorder.c: New file.
46445 * elf/tst-initorder.exp: New file.
46446 * elf/tst-initordera1.c: New file.
46447 * elf/tst-initordera2.c: New file.
46448 * elf/tst-initordera3.c: New file.
46449 * elf/tst-initordera4.c: New file.
46450 * elf/tst-initorderb1.c: New file.
46451 * elf/tst-initorderb2.c: New file.
46452 * elf/tst-order-a1.c: New file.
46453 * elf/tst-order-a2.c: New file.
46454 * elf/tst-order-a3.c: New file.
46455 * elf/tst-order-a4.c: New file.
46456 * elf/tst-order-b1.c: New file.
46457 * elf/tst-order-b2.c: New file.
46458 * elf/tst-order-main.c: New file.
46459 New test case by George Gensure <werkt0@gmail.com>.
46460
86e92359
UD
464612010-10-01 Andreas Schwab <schwab@redhat.com>
46462
46463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46464 decoding ACE if AI_CANONIDN.
46465
5d5732b0
UD
464662011-01-18 Ulrich Drepper <drepper@gmail.com>
46467
46468 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46469
a77e8cbc
UD
464702011-01-17 Ulrich Drepper <drepper@gmail.com>
46471
6392473f
UD
46472 * version.h (RELEASE): Bump for 2.13 release.
46473 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46474
620a0529
UD
46475 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46476
18ba70a5
UD
46477 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46478 MADV_NOHUGEPAGE.
32465c3e
UD
46479 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46480 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46481 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46482 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46483 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46484 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46485
c0dafcf1
UD
46486 * posix/getconf.c: Update copyright year.
46487 * catgets/gencat.c: Likewise.
46488 * csu/version.c: Likewise.
46489 * debug/catchsegv.sh: Likewise.
46490 * debug/xtrace.sh: Likewise.
46491 * elf/ldconfig.c: Likewise.
46492 * elf/ldd.bash.in: Likewise.
46493 * elf/sprof.c (print_version): Likewise.
46494 * iconv/iconv_prog.c: Likewise.
46495 * iconv/iconvconfig.c: Likewise.
46496 * locale/programs/locale.c: Likewise.
46497 * locale/programs/localedef.c: Likewise.
46498 * malloc/memusage.sh: Likewise.
46499 * malloc/mtrace.pl: Likewise.
46500 * nscd/nscd.c (print_version): Likewise.
46501 * nss/getent.c: Likewise.
46502
a77e8cbc
UD
46503 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46504 PF_CAIF, and PF_ALG.
46505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46506
77e8bddf
AS
465072011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46508
1f20b93a
AS
46509 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46510 (modules-names): Use them.
46511 (ifunc-test-modules, ifunc-pie-tests): Define.
46512 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46513 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46514 (test-extras): Likewise.
46515 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46516 $(compile-command.c).
46517 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46518 (all-built-dso): Define.
46519 (check-textrel.out, check-execstack.out): Depend on it.
46520
77e8bddf
AS
46521 * configure.in: Don't override --enable-multi-arch.
46522
bc425b33
UD
465232011-01-15 Ulrich Drepper <drepper@gmail.com>
46524
46525 [BZ #6812]
46526 * nscd/hstcache.c (tryagain): Define.
46527 (cache_addhst): Return tryagain not notfound for temporary errors.
46528 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46529 failed.
46530
794c3ad3
UD
465312011-01-14 Ulrich Drepper <drepper@gmail.com>
46532
70181fdd
UD
46533 [BZ #10563]
46534 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46535 to make the syscall.
46536 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46537
794c3ad3
UD
46538 [BZ #12378]
46539 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46540 and fall back to matching as normal character if the string ends before
46541 the matching ']' is found. This is what POSIX requires.
46542 * posix/testfnm.c: Adjust test result.
46543 * posix/globtest.sh: Adjust test result. Add new test.
46544 * posix/tst-fnmatch.input: Likewise.
46545 * posix/tst-fnmatch2.c: Add new test.
46546
68dc9497
AS
465472010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46548
46549 * elf/Makefile (check-execstack): Revert last change. Depend on
46550 check-execstack.h.
46551 (check-execstack.h): New target.
46552 (generated): Add check-execstack.h.
46553 * elf/check-execstack.c: Include "check-execstack.h".
46554 (main): Revert last change.
46555 (handle_file): Return zero if GNU_STACK is absent and
46556 DEFAULT_STACK_PERMS doesn't include PF_X.
46557
451f001b
UD
465582011-01-13 Ulrich Drepper <drepper@gmail.com>
46559
cfa28e56
UD
46560 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46561 in child fails because the descriptor is already closed.
8cf8ce17
UD
46562 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46563 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46564 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 46565
1086d70d
UD
46566 [BZ #12397]
46567 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46568 syscall.
46569
451f001b
UD
46570 [BZ #10484]
46571 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46572 temporary buffer used to handle multi lookups locally.
a85b5cb4 46573 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 46574
08769175
UD
465752011-01-12 Ulrich Drepper <drepper@gmail.com>
46576
46577 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46578 loader is ld.so.
46579
5e49c52e
UD
465802011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46581
46582 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46583 alignment for SSE2.
46584
60522a5f
UD
465852011-01-12 Ulrich Drepper <drepper@gmail.com>
46586
46587 [BZ #12394]
46588 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46589 characters. When rounding increased number of integer digits recompute
46590 number of groups.
46591 * stdio-common/tst-grouping.c: New file.
46592 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46593
f257bbd7
UD
465942011-01-09 Ulrich Drepper <drepper@gmail.com>
46595
46596 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46597 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46598
46599 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46600 void.
46601 * bits/select.h: Likewise.
46602
fa9c15cb
UD
466032011-01-08 Ulrich Drepper <drepper@gmail.com>
46604
46605 * po/ja.po: Update from translation team.
46606
16c2895f
DM
466072011-01-04 David S. Miller <davem@sunset.davemloft.net>
46608
46609 [BZ #11155]
46610 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46611 implementation just like for lxstat, fxstatat, et al.
46612
2543fef2
JM
466132010-12-27 Jim Meyering <meyering@redhat.com>
46614
46615 [BZ #12348]
46616 * posix/regexec.c (build_trtable): Return failure indication upon
46617 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46618
98727dbe
UD
466192010-12-25 Ulrich Drepper <drepper@gmail.com>
46620
5bd6dc5c
UD
46621 [BZ #12201]
46622 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46623 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46624 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46625 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46626
97983464
UD
46627 [BZ #12207]
46628 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46629
98727dbe
UD
46630 [BZ #12204]
46631 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46632 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46633
4a531bb0
L
466342010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46635
46636 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46637 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46638 script has SORT_BY_INIT_PRIORITY.
46639 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46640 NO_CTORS_DTORS_SECTIONS is defined.
46641 * elf/soinit.c: Likewise.
46642 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46643 NO_CTORS_DTORS_SECTIONS is defined.
46644 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46645 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46646 * sysdeps/sh/init-first.c: Likewise.
46647 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46648
07eb4b71
UD
466492010-12-24 Ulrich Drepper <drepper@gmail.com>
46650
46651 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46652 always use the slow path.
46653
30950a5f
RA
466542010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46655
46656 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46657 similar rule which adds the sysdep directories to the header search in
46658 order to pick up the correct platform stackinfo.h.
46659 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46660 perform test if it is, otherwise return successfully without testing.
46661 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46662 DEFAULT_STACK_PERMS define in stackinfo.h.
46663 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46664 defined in stackinfo.h.
46665 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46666 DEFAULT_STACK_PERMS defined in stackinfo.h.
46667 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46668 * sysdeps/ia64/stackinfo.h: Likewise.
46669 * sysdeps/s390/stackinfo.h: Likewise.
46670 * sysdeps/sh/stackinfo.h: Likewise.
46671 * sysdeps/sparc/stackinfo.h: Likewise.
46672 * sysdeps/x86_64/stackinfo.h: Likewise.
46673 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46674 PF_X for powerpc64. Retain PF_X for powerpc32.
46675
db753e2c
UD
466762010-12-19 Ulrich Drepper <drepper@gmail.com>
46677
14b697f7
UD
46678 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46679 accurately.
db753e2c
UD
46680 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46681 GETDENTS_64BIT_ALIGNED.
46682
28300719
UD
466832010-12-14 Ulrich Drepper <dreper@gmail.com>
46684
14b697f7 46685 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 46686
4f197237
AS
466872010-12-10 Andreas Schwab <schwab@redhat.com>
46688
dbb0472f
AS
46689 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46690 _GNU_SOURCE.
46691
4f197237
AS
46692 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46693 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46694 Remove __restrict.
46695 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46696 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46697
fb88ac72
UD
466982010-12-09 Ulrich Drepper <drepper@gmail.com>
46699
46700 [BZ #11655]
46701 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46702 are initialized.
46703
42acbb92
JJ
467042010-12-09 Jakub Jelinek <jakub@redhat.com>
46705
46706 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46707
c038d98d
UD
467082010-12-03 Ulrich Drepper <drepper@gmail.com>
46709
46710 * po/it.po: Update from translation team.
46711
3a4a2499
L
467122010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46713
46714 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46715 unused codes.
46716
1e24cf6e
UD
467172010-11-30 Ulrich Drepper <drepper@gmail.com>
46718
46719 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46720
a7690819
AS
467212010-11-24 Andreas Schwab <schwab@redhat.com>
46722
46723 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46724 specially.
46725 (gaih_getanswer_slice): Likewise.
46726
3bf8d1b1
JJ
467272010-10-20 Jakub Jelinek <jakub@redhat.com>
46728
46729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46730
6db52fbb
PB
467312010-05-31 Petr Baudis <pasky@suse.cz>
46732
46733 [BZ #11149]
46734 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46735 silently even in the chroot mode.
46736
eaca7569
UD
467372010-11-22 Ulrich Drepper <drepper@gmail.com>
46738
46739 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46740 last patch a bit. Pretty printing
46741
3056dcdb
UD
467422010-05-31 Petr Baudis <pasky@suse.cz>
46743
46744 [BZ #10085]
46745 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46746 initialization of skip_initgroups_dyn.
46747
cf7c9078
UD
467482010-11-19 Ulrich Drepper <drepper@gmail.com>
46749
46750 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46751 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46752
a1fb5e3e
UD
467532010-11-16 Ulrich Drepper <drepper@gmail.com>
46754
46755 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46756
3540d66b
AS
467572010-11-11 Andreas Schwab <schwab@redhat.com>
46758
46759 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46760 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46761 (tst-fnmatch-ENV): Set MALLOC_TRACE.
46762 ($(objpfx)tst-fnmatch-mem): New rule.
46763 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46764 * posix/tst-fnmatch.c (main): Call mtrace.
46765
13b69574
L
467662010-11-11 H.J. Lu <hongjiu.lu@intel.com>
46767
46768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46769 Support Intel processor model 6 and model 0x2c.
46770
da93d214
LM
467712010-11-10 Luis Machado <luisgpm@br.ibm.com>
46772
46773 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46774 signed comparison.
46775
8ca52c6e
L
467762010-11-09 H.J. Lu <hongjiu.lu@intel.com>
46777
46778 [BZ #12205]
46779 * string/test-strncasecmp.c (check_result): New function.
46780 (do_one_test): Use it.
46781 (check1): New function.
46782 (test_main): Use it.
46783 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46784 Support strcasecmp and strncasecmp.
46785
69da074d
UD
467862010-11-08 Ulrich Drepper <drepper@gmail.com>
46787
46788 [BZ #12194]
46789 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46790 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46791
ff02d528
L
467922010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46793
46794 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46795 IFUNC support.
46796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46797 memset-x86-64.
46798 * sysdeps/x86_64/multiarch/bzero.S: New file.
46799 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46800 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46801 * sysdeps/x86_64/multiarch/memset.S: New file.
46802 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46804 Set bit_Prefer_SSE_for_memop for Intel processors.
46805 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46806 Define.
46807 (index_Prefer_SSE_for_memop): Define.
46808 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46809
344d0b54
LM
468102010-11-04 Luis Machado <luisgpm@br.ibm.com>
46811
46812 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46813 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46814
c0dde15b
UD
468152010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46816
46817 [BZ #12191]
46818 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46819 (__x86_64_raw_data_cache_size_half): Likewise.
46820 (__x86_64_raw_shared_cache_size): Likewise.
46821 (__x86_64_raw_shared_cache_size_half): Likewise.
46822
46823 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46824 (__x86_64_raw_data_cache_size_half): Likewise.
46825 (__x86_64_raw_shared_cache_size): Likewise.
46826 (__x86_64_raw_shared_cache_size_half): Likewise.
46827 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46828 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46829 and __x86_64_raw_shared_cache_size_half. Round
46830 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46831 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46832 to multiple of 256 bytes.
46833
0e516e0e
MS
468342010-11-03 Ulrich Drepper <drepper@gmail.com>
46835
46836 [BZ #12167]
46837 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46838 of inacessible symlinks. Verify result of symlink before returning it.
46839 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46840 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46841
0e012e87
ER
468422010-10-28 Erich Ritz <erichritz@gmail.com>
46843
46844 * math/math.h (isinf): Fix typo in comment.
46845
de0ff7bc
UD
468462010-11-01 Ulrich Drepper <drepper@gmail.com>
46847
46848 * po/da.po: Update from translation team.
46849
fa41c84d
UD
468502010-10-26 Ulrich Drepper <drepper@gmail.com>
46851
46852 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46853 is added to the list.
46854
f0967738
AK
468552010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46856 Ulrich Drepper <drepper@gmail.com>
46857
46858 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46859 the global list here. Move code to...
46860 (_dl_add_to_namespace_list): ...here. New function.
46861 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46862 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46863 * elf/dl-load.c (lose): Don't remove the element from the list.
46864 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46865 (_dl_map_object): Likewise.
46866
468672010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
46868
46869 [BZ #12159]
46870 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46871 into all bytes of SSE register.
46872 Patch by Richard Li <richardpku@gmail.com>.
46873
f0967738 468742010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
46875
46876 [BZ #12140]
46877 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46878 perturbing.
46879
d0b9e94f
MB
468802010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46881
46882 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46883 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46884 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46885 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46887 submachine.
46888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46889
8e9f92e9
AS
468902010-10-22 Andreas Schwab <schwab@redhat.com>
46891
46892 * include/dlfcn.h (__RTLD_SECURE): Define.
46893 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46894 mode & __RTLD_SECURE instead.
46895 (open_path): Rename preloaded parameter to secure.
46896 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46897 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46898 * elf/dl-deps.c (openaux): Likewise.
46899 * elf/rtld.c (struct map_args): Remove is_preloaded.
46900 (map_doit): Don't use it.
46901 (dl_main): Likewise.
46902 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46903 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46904
bc96fbda
AS
469052010-09-09 Andreas Schwab <schwab@redhat.com>
46906
46907 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46908 (sysd-rules-targets): Remove duplicates.
46909 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46910 rtld-%.$o dependency.
46911
22cd1c9b
AS
469122010-10-18 Andreas Schwab <schwab@redhat.com>
46913
46914 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46915 _dl_map_object do it.
46916
18edac48
UD
469172010-10-19 Ulrich Drepper <drepper@gmail.com>
46918
46919 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46920 fast fma builtins, define the macros in the C99 standard.
46921 (FP_FAST_FMAF): Likewise.
46922 (FP_FAST_FMAL): Likewise.
46923 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46924
46925 * bits/mathdef.h: Update copyright year.
46926 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46927
d2050124
MM
469282010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46929
46930 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46931 builtins, define the macros in the C99 standard.
46932 (FP_FAST_FMAF): Likewise.
46933 (FP_FAST_FMAL): Likewise.
46934 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46935 multiply/add.
46936 (FP_FAST_FMAF): Likewise.
46937
475facd1
JJ
469382010-10-15 Jakub Jelinek <jakub@redhat.com>
46939
46940 [BZ #3268]
46941 * math/libm-test.inc (fma_test): Some new testcases.
46942 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46943 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46944 y and infinite z. Do multiplication by C already in long double.
46945 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46947 y and infinite z. Do bitwise or of inexact bit into u.d.
46948 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46949 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46950 * sysdeps/i386/fpu/s_fma.S: Removed.
46951 * sysdeps/i386/fpu/s_fmal.S: Removed.
46952
7c08a05c
JJ
469532010-10-16 Jakub Jelinek <jakub@redhat.com>
46954
46955 [BZ #3268]
46956 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46958 computation is not scheduled after fetestexcept. Fix value
46959 of minimum denormal long double.
46960
f3f7372d
JJ
469612010-10-14 Jakub Jelinek <jakub@redhat.com>
46962
46963 [BZ #3268]
46964 * math/libm-test.inc (fma_test): Add some more tests.
46965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46966 correctly.
46967
14d43591
AS
469682010-10-15 Andreas Schwab <schwab@redhat.com>
46969
46970 * scripts/data/localplt-s390-linux-gnu.data: New file.
46971 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46972
5e908464
JJ
469732010-10-13 Jakub Jelinek <jakub@redhat.com>
46974
46975 [BZ #3268]
46976 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46977 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46978 instead of dbl-64.
46979 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46980 inlines.
46981 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46983 if one of x and y is very large and the other is subnormal.
46984 * sysdeps/s390/fpu/s_fmaf.c: New file.
46985 * sysdeps/s390/fpu/s_fma.c: New file.
46986 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46987 * sysdeps/powerpc/fpu/s_fma.S: New file.
46988 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46989 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46990 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46991
469922010-10-12 Jakub Jelinek <jakub@redhat.com>
46993
46994 [BZ #3268]
46995 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46996 fma tests.
46997 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46998 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46999 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47000 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47001 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47002 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47003 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47004
b833d51f
UD
470052010-10-12 Ulrich Drepper <drepper@redhat.com>
47006
47007 [BZ #12078]
47008 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47009 * posix/bug-regex31.input: Add test case.
47010
1751705d
UD
470112010-10-11 Ulrich Drepper <drepper@gmail.com>
47012
e9b9cbf5
UD
47013 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47014 * posix/bug-regex31.input: New file.
47015
47016 [BZ #12078]
47017 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47018 (parse_sub_exp): Fix last change, use postorder.
47019
ef06edbe
UD
47020 * posix/bug-regex31.c: New file.
47021 * posix/Makefile: Add rules to build and run bug-regex31.
47022
a129c80d
UD
47023 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47024
47025 [BZ #12078]
47026 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47027
b76b818e
UD
47028 [BZ #12108]
47029 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47030 to have entries in sys_siglist.
47031
1751705d
UD
47032 [BZ #12093]
47033 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47034 be NULL.
47035
9ff8d36f
JJ
470362010-10-07 Jakub Jelinek <jakub@redhat.com>
47037
47038 [BZ #3268]
47039 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47040 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47041 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47042 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47043 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47044 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47045 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47046 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47047 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47048 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47049 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47050 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47051 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47052 * math/ftestexcept.c (fetestexcept): Likewise.
47053 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47054 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47055 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47056 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47057 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47058 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47059 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47060
af325969
UD
470612010-10-11 Ulrich Drepper <drepper@gmail.com>
47062
c579b202 47063 [BZ #12107]
af325969
UD
47064 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47065 newline.
47066
67a67b95
UD
470672010-10-06 Ulrich Drepper <drepper@gmail.com>
47068
47069 * string/bug-strstr1.c: New file.
47070 * string/Makefile: Add rules to build and run bug-strstr1.
47071
5fb308bc
EB
470722010-10-05 Eric Blake <eblake@redhat.com>
47073
47074 [BZ #12092]
47075 * string/str-two-way.h (two_way_long_needle): Always clear memory
47076 when skipping input due to the shift table.
47077
45db99c7
UD
470782010-10-03 Ulrich Drepper <drepper@gmail.com>
47079
3b111893
UD
47080 [BZ #12005]
47081 * malloc/mcheck.c: Handle large requests.
47082
45db99c7
UD
47083 [BZ #12077]
47084 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47085 for strncmp and strncasecmp.
47086 * string/stratcliff.c: Add tests for strcmp and strncmp.
47087 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47088
cf7a1eb8
NI
470892010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47090
47091 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47092 __set_fpscr.
47093
6484ba5e
AJ
470942010-09-30 Andreas Jaeger <aj@suse.de>
47095
47096 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47097 (CGROUP_SUPER_MAGIC): Define.
47098 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47099 Handle btrfs and cgroup file systems.
47100 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47101 Likewise.
47102
91c42559
LM
471032010-09-27 Luis Machado <luisgpm@br.ibm.com>
47104
47105 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47106 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47107
87a97932
AK
471082010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47109
47110 [BZ #12067]
47111 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47112 trying to locate the ELF header.
47113
c21cc9bc
AS
471142010-09-27 Andreas Schwab <schwab@redhat.com>
47115
47116 [BZ #11611]
47117 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47118 Mask out sign-bit copies when constructing f_fsid.
47119
315970f6
PB
471202010-09-24 Petr Baudis <pasky@suse.cz>
47121
47122 * debug/stack_chk_fail_local.c: Add missing licence exception.
47123 * debug/warning-nop.c: Likewise.
47124
1ac7a2c7
JM
471252010-09-15 Joseph Myers <joseph@codesourcery.com>
47126
47127 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47128 implementing getdents64 using getdents syscall, set d_type if
47129 __ASSUME_GETDENTS32_D_TYPE.
47130
56801c50
AS
471312010-09-16 Andreas Schwab <schwab@redhat.com>
47132
47133 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47134 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47135
dda51327
UD
471362010-09-21 Ulrich Drepper <drepper@redhat.com>
47137
47138 [BZ #12037]
47139 * posix/unistd.h: Undo change of feature selection for ftruncate from
47140 2010-01-11.
47141
8ffcee4a
UD
471422010-09-20 Ulrich Drepper <drepper@redhat.com>
47143
a545ecd9 47144 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
47145 detection.
47146
e24f0a8b
AS
471472010-09-20 Andreas Schwab <schwab@redhat.com>
47148
47149 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47150 fanotify_mark.
47151 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47152
7291c56f
AS
471532010-09-14 Andreas Schwab <schwab@redhat.com>
47154
47155 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47156 variables after CHECK_SP call.
47157 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47158
bc5fb037
AS
471592010-09-13 Andreas Schwab <schwab@redhat.com>
47160 Ulrich Drepper <drepper@redhat.com>
47161
47162 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47163 re-relocationg ld.so.
47164 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47165 _dl_init_paths call.
47166 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47167 here anymore.
47168
e66e7419
UD
471692010-09-14 Ulrich Drepper <drepper@redhat.com>
47170
47171 * resolv/res_init.c (__res_vinit): Count the default server we added.
47172
c044aa75
CLT
471732010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47174 Ulrich Drepper <drepper@redhat.com>
47175
47176 [BZ #11968]
47177 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47178 (____longjmp_chk): Use %ebx for saving value across system call.
47179 Add unwind info.
47180
32cf4069
AS
471812010-09-06 Andreas Schwab <schwab@redhat.com>
47182
47183 * manual/Makefile: Don't mix pattern rules with normal rules.
47184
817328ee
AS
471852010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47186
47187 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47188 operation.
47189 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47190 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47191 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47192 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47193 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47194 Likewise.
47195
29fddf61
UD
471962010-09-04 Ulrich Drepper <drepper@redhat.com>
47197
47198 [BZ #11979]
47199 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47200 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47201
0959ffc9
UD
472022010-09-02 Ulrich Drepper <drepper@redhat.com>
47203
47204 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47205 * sysdeps/x86_64/addmul_1.S: Likewise.
47206 * sysdeps/x86_64/lshift.S: Likewise.
47207 * sysdeps/x86_64/mul_1.S: Likewise.
47208 * sysdeps/x86_64/rshift.S: Likewise.
47209 * sysdeps/x86_64/sub_n.S: Likewise.
47210 * sysdeps/x86_64/submul_1.S: Likewise.
47211
ece29840
ST
472122010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47213
0959ffc9
UD
47214 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47215 Define __sched_param instead of SCHED_* and sched_param when
ece29840 47216 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 47217 * bits/sched.h [__need_schedparam]
ece29840 47218 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
47219 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47220 (__defined_schedparam): Define to 1.
ece29840
ST
47221 (__sched_param): New structure, identical to sched_param.
47222 (__need_schedparam): Undefine.
47223
e53a31fe
MF
472242010-08-31 Mike Frysinger <vapier@gentoo.org>
47225
fdc0c10d
MF
47226 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47227 (epoll_create1): Declare.
47228
e53a31fe
MF
47229 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47230
a726d796
AS
472312010-08-31 Andreas Schwab <schwab@redhat.com>
47232
47233 [BZ #7066]
47234 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47235 shifting retval into place.
47236
2f3e3dc7
UD
472372010-09-01 Ulrich Drepper <drepper@redhat.com>
47238
f2933da9
UD
47239 * nis/rpcsvc/nis.h: Update copyright notice.
47240 * nis/rpcsvc/nis.x: Likewise.
47241 * nis/rpcsvc/nis_callback.h: Likewise.
47242 * nis/rpcsvc/nis_callback.x: Likewise.
47243 * nis/rpcsvc/nis_object.x: Likewise.
47244 * nis/rpcsvc/nis_tags.h: Likewise.
47245 * nis/rpcsvc/yp.h: Likewise.
47246 * nis/rpcsvc/yp.x: Likewise.
47247 * nis/rpcsvc/ypupd.h: Likewise.
47248 * nis/yp_xdr.c: Likewise.
47249 * nis/ypupdate_xdr.c: Likewise.
47250
2f3e3dc7
UD
47251 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47252 mainly the body of pmap_getport. Add parameters to specify timeouts.
47253 (pmap_getport): Use __libc_rpc_getport.
47254 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47255 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47256 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47257
f3dcc2f9
AS
472582010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47259
47260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47261 fanotify_mark.
47262
6d34eb5b
RM
472632010-08-27 Roland McGrath <roland@redhat.com>
47264
47265 * sysdeps/i386/i686/multiarch/Makefile
47266 (CFLAGS-varshift.c): New variable.
47267
9ea3de11
UD
472682010-08-27 Ulrich Drepper <drepper@redhat.com>
47269
c96d23fc
UD
47270 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47271 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47272
9ea3de11
UD
47273 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47274
47275 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47276
623aac7f
L
472772010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47278
47279 * sysdeps/x86_64/strlen.S: Unroll the loop.
47280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47281 strlen-sse2 strlen-sse2-bsf.
47282 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47283 __strlen_no_bsf if bit_Slow_BSF is set.
47284 (__strlen_sse42): Removed.
47285 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47286 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47287
8b2b7715
RM
472882010-08-25 Roland McGrath <roland@redhat.com>
47289
47290 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47291 * sysdeps/x86_64/multiarch/varshift.c: New file.
47292 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47293 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47294 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47295 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47296
e73015f2
L
472972010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47298
47299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47300 strlen-sse2 strlen-sse2-bsf.
47301 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47302 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47303 (__strlen_sse2): Removed.
47304 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47305 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47307 bit_Slow_BSF for Atom.
47308 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47309 (index_Slow_BSF): Define.
47310 (HAS_SLOW_BSF): Define.
47311
df24a73e
UD
473122010-08-25 Ulrich Drepper <drepper@redhat.com>
47313
47314 [BZ #10851]
47315 * resolv/res_init.c (__res_vinit): When no server address at all
47316 is given default to loopback.
47317
f2ac4868
RM
473182010-08-24 Roland McGrath <roland@redhat.com>
47319
09055553
RM
47320 * configure.in: Remove config-name.h generation.
47321 * configure: Regenerated.
47322 * config-name.in: File removed.
47323 * scripts/config-uname.sh: New file.
47324 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47325 ($(objdir)config-name.h): New target.
47326
f2ac4868
RM
47327 * sunrpc/rpc_parse.h: Avoid nested comment.
47328
73f27d5e
RH
473292010-08-24 Richard Henderson <rth@redhat.com>
47330 Ulrich Drepper <drepper@redhat.com>
47331 H.J. Lu <hongjiu.lu@intel.com>
47332
47333 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47335 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47336 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47337 _mm_alignr_epi8 with _mm_loadu_si128.
47338 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47339 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47340 (__m128i_shift_right): Removed.
47341 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47342 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47343 * sysdeps/x86_64/multiarch/varshift.h: New file.
47344 * sysdeps/x86_64/multiarch/varshift.S: New file.
47345
84b9230c
MF
473462010-08-21 Mike Frysinger <vapier@gentoo.org>
47347
47348 * configure.in: Move assembler checks to before sysdep dir checking.
47349
9bbd0ddc
PB
473502010-08-20 Petr Baudis <pasky@suse.cz>
47351
47352 * LICENSES: Sync the sunrpc license.
47353
9da4bb31
UD
473542010-08-19 Ulrich Drepper <drepper@redhat.com>
47355
a7ab6ec8
UD
47356 * sunrpc/auth_des.c: Update copyright notice once again.
47357 * sunrpc/auth_none.c: Likewise.
47358 * sunrpc/auth_unix.c: Likewise.
47359 * sunrpc/authdes_prot.c: Likewise.
47360 * sunrpc/authuxprot.c: Likewise.
47361 * sunrpc/bindrsvprt.c: Likewise.
47362 * sunrpc/clnt_gen.c: Likewise.
47363 * sunrpc/clnt_perr.c: Likewise.
47364 * sunrpc/clnt_raw.c: Likewise.
47365 * sunrpc/clnt_simp.c: Likewise.
47366 * sunrpc/clnt_tcp.c: Likewise.
47367 * sunrpc/clnt_udp.c: Likewise.
47368 * sunrpc/clnt_unix.c: Likewise.
47369 * sunrpc/des_crypt.c: Likewise.
47370 * sunrpc/des_soft.c: Likewise.
47371 * sunrpc/get_myaddr.c: Likewise.
47372 * sunrpc/getrpcport.c: Likewise.
47373 * sunrpc/key_call.c: Likewise.
47374 * sunrpc/key_prot.c: Likewise.
47375 * sunrpc/openchild.c: Likewise.
47376 * sunrpc/pm_getmaps.c: Likewise.
47377 * sunrpc/pm_getport.c: Likewise.
47378 * sunrpc/pmap_clnt.c: Likewise.
47379 * sunrpc/pmap_prot.c: Likewise.
47380 * sunrpc/pmap_prot2.c: Likewise.
47381 * sunrpc/pmap_rmt.c: Likewise.
47382 * sunrpc/rpc/auth.h: Likewise.
47383 * sunrpc/rpc/auth_unix.h: Likewise.
47384 * sunrpc/rpc/clnt.h: Likewise.
47385 * sunrpc/rpc/des_crypt.h: Likewise.
47386 * sunrpc/rpc/key_prot.h: Likewise.
47387 * sunrpc/rpc/netdb.h: Likewise.
47388 * sunrpc/rpc/pmap_clnt.h: Likewise.
47389 * sunrpc/rpc/pmap_prot.h: Likewise.
47390 * sunrpc/rpc/pmap_rmt.h: Likewise.
47391 * sunrpc/rpc/rpc.h: Likewise.
47392 * sunrpc/rpc/rpc_des.h: Likewise.
47393 * sunrpc/rpc/rpc_msg.h: Likewise.
47394 * sunrpc/rpc/svc.h: Likewise.
47395 * sunrpc/rpc/svc_auth.h: Likewise.
47396 * sunrpc/rpc/types.h: Likewise.
47397 * sunrpc/rpc/xdr.h: Likewise.
47398 * sunrpc/rpc_clntout.c: Likewise.
47399 * sunrpc/rpc_cmsg.c: Likewise.
47400 * sunrpc/rpc_common.c: Likewise.
47401 * sunrpc/rpc_cout.c: Likewise.
47402 * sunrpc/rpc_dtable.c: Likewise.
47403 * sunrpc/rpc_hout.c: Likewise.
47404 * sunrpc/rpc_main.c: Likewise.
47405 * sunrpc/rpc_parse.c: Likewise.
47406 * sunrpc/rpc_parse.h: Likewise.
47407 * sunrpc/rpc_prot.c: Likewise.
47408 * sunrpc/rpc_sample.c: Likewise.
47409 * sunrpc/rpc_scan.c: Likewise.
47410 * sunrpc/rpc_scan.h: Likewise.
47411 * sunrpc/rpc_svcout.c: Likewise.
47412 * sunrpc/rpc_tblout.c: Likewise.
47413 * sunrpc/rpc_util.c: Likewise.
47414 * sunrpc/rpc_util.h: Likewise.
47415 * sunrpc/rpcinfo.c: Likewise.
47416 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47417 * sunrpc/rpcsvc/key_prot.x: Likewise.
47418 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47419 * sunrpc/rpcsvc/mount.x: Likewise.
47420 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47421 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47422 * sunrpc/rpcsvc/rex.x: Likewise.
47423 * sunrpc/rpcsvc/rstat.x: Likewise.
47424 * sunrpc/rpcsvc/rusers.x: Likewise.
47425 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47426 * sunrpc/rpcsvc/spray.x: Likewise.
47427 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47428 * sunrpc/rtime.c: Likewise.
47429 * sunrpc/svc.c: Likewise.
47430 * sunrpc/svc_auth.c: Likewise.
47431 * sunrpc/svc_authux.c: Likewise.
47432 * sunrpc/svc_raw.c: Likewise.
47433 * sunrpc/svc_run.c: Likewise.
47434 * sunrpc/svc_simple.c: Likewise.
47435 * sunrpc/svc_tcp.c: Likewise.
47436 * sunrpc/svc_udp.c: Likewise.
47437 * sunrpc/svc_unix.c: Likewise.
47438 * sunrpc/svcauth_des.c: Likewise.
47439 * sunrpc/xcrypt.c: Likewise.
47440 * sunrpc/xdr.c: Likewise.
47441 * sunrpc/xdr_array.c: Likewise.
47442 * sunrpc/xdr_float.c: Likewise.
47443 * sunrpc/xdr_mem.c: Likewise.
47444 * sunrpc/xdr_rec.c: Likewise.
47445 * sunrpc/xdr_ref.c: Likewise.
47446 * sunrpc/xdr_sizeof.c: Likewise.
47447 * sunrpc/xdr_stdio.c: Likewise.
47448
9da4bb31
UD
47449 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47450 handling.
47451
bdaa77bc
AS
474522010-08-19 Andreas Schwab <schwab@redhat.com>
47453
47454 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47455
fe2f79db
LM
474562010-08-19 Luis Machado <luisgpm@br.ibm.com>
47457
47458 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47459 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47460 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47461 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47462 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47463 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47464 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47465 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47466 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47467 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47468 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47469 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47470 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47471 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47472
b9b42ee0
AB
474732010-07-26 Anton Blanchard <anton@samba.org>
47474
47475 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47476 * malloc/arena.c (heap_trim): Likewise.
47477
1c06ba31
UD
474782010-08-16 Ulrich Drepper <drepper@redhat.com>
47479
47480 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47481 here. Not...
47482 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47483 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47484
f8392f40
L
474852010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47486
47487 * sysdeps/i386/elf/Makefile: New file.
47488
3162f12e
AS
474892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47490
47491 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47492 from fanotify_init.
47493 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47494 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47495
28c90b2c
UD
474962010-08-15 Ulrich Drepper <drepper@redhat.com>
47497
47498 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47499 of strncasecmp_l.
1feccb6c 47500 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 47501
ca6bb004
UD
475022010-08-14 Ulrich Drepper <drepper@redhat.com>
47503
e9f82e0d
UD
47504 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47505 strncase_l-nonascii.
47506 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47507 Add strncase_l-ssse3.
47508 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47509 * sysdeps/x86_64/strcmp.S: Likewise.
47510 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47511 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47512 * sysdeps/x86_64/strncase.S: New file.
47513 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47514 * sysdeps/x86_64/strncase_l.S: New file.
47515 * string/Makefile (strop-tests): Add strncasecmp.
47516 * string/test-strncasecmp.c: New file.
47517
47518 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47519 warning.
47520
ca6bb004
UD
47521 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47522 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47523
052fa7b3
AS
475242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47525
47526 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47527
962dba78
UD
475282010-08-12 Ulrich Drepper <drepper@redhat.com>
47529
47530 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47531 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47532 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47533
bebff237
AM
475342010-05-01 Alan Modra <amodra@gmail.com>
47535
47536 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47537 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47538 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47539 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47540 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47541 tidying. Don't tail-call __sigjmp_save for static lib.
47542 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47543 save location.
47544 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47545 (CALL_MCOUNT): Add eh info, and nop after bl.
47546 (TAIL_CALL_SYSCALL_ERROR): New macro.
47547 (PSEUDO_RET): Use it.
47548 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47549 Correct save location of integer regs and cr.
47550 (_dl_profile_resolve): Correct cr save location. Delete nops
47551 after bl when SHARED. Reduce cfi size a little by better
47552 placement of cfi directives.
47553 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47554 make a stack frame. Instead use parm save area as a temp.
47555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47556 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47558 Don't make a stack frame for parent, use parm save area.
47559 Increase child stack frame to 112 bytes. Don't save unused reg,
47560 and adjust reg usage. Set up cfi on error recovery and
47561 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47563 (__makecontext): Add dummy nop after jump to exit.
47564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47565 Use correct parm save area and cr save, reduce stack frame.
47566 Correct cfi for possible PSEUDO_RET frame setup.
47567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47568 Branch to local label emitted by PSEUDO_RET rather than
47569 __syscall_error.
47570
02637374
AS
475712010-08-12 Andreas Schwab <schwab@redhat.com>
47572
47573 [BZ #11904]
47574 * locale/programs/locale.c (print_assignment): New function.
47575 (show_locale_vars): Use it.
47576
c3e2f19b
UD
475772010-08-11 Ulrich Drepper <drepper@redhat.com>
47578
3cdaa6ad
UD
47579 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47580 field.
47581 (struct statfs64): Likewise.
47582 (_STATFS_F_FLAGS): Define.
47583 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47584 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47585 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47586 (ST_VALID): Define locally.
47587 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47588 __statvfs_getflags, use the provided value.
47589 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47590 __ASSUME_STATFS_F_FLAGS.
47591
754f7da3
UD
47592 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47593
10b3bedc
UD
47594 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47595 Add sys/fanotify.h.
47596 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47597 fanotify_mask for GLIBC_2.13.
47598 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47599 fanotify_init and fanotify_mark.
47600 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47601 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47602
c08fb0d7
UD
47603 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47604 Add prlimit.
47605 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47606 prlimit64 for GLIBC_2.13.
47607 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47608 prlimit64.
47609 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47610 syscall.
47611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47612 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47613 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47614 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47615 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47616 add prlimit alias.
47617 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47618
15bac72b
UD
47619 [BZ #11903]
47620 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47621 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47622
c3e2f19b
UD
47623 * nss/Makefile: Add rules to build and run tst-nss-test1.
47624 * shlib-versions: Add entry for libnss_test1.
47625 * nss/nss_test1.c: New file.
47626 * nss/tst-nss-test1.c: New file.
47627
47628 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47629 (__nss_configure_lookup): Set appropriate entry in
47630 __nss_configure_lookup to true.
47631 * nss/nsswitch.h: Define enum with indeces of databases in
47632 databases and __nss_database_custom arrays. Declare
47633 __nss_database_custom.
47634 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47635 to avoid using nscd when custom rules are installed.
47636 * nss/getXXbyYY_r.c: Likewise.
47637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47638
47639 * nss/nss_files/files-parse.c: Whitespace fixes.
47640
f15ce4d8
UD
476412010-08-09 Ulrich Drepper <drepper@redhat.com>
47642
47643 [BZ #11883]
47644 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47645 * posix/fnmatch_loop.c: Likewise.
47646
d22e4cc9
AK
476472010-07-17 Andi Kleen <ak@linux.intel.com>
47648
47649 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47650 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47651 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47652 * Versions.def [GLIBC_2.13]: Add.
47653
805bc17d
UD
476542010-08-06 Ulrich Drepper <drepper@redhat.com>
47655
47656 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47657 Also fail if tpwd after pwuid call is NULL.
47658
5a42321d
ST
476592010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47660
47661 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47662 when converting to ms.
47663
fd3ebeda
ST
476642010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47665
47666 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47667 EOPNOTSUPP errors with ENOTTY.
47668 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47669 EOPNOTSUPP errors with ENOTTY.
47670
73507d3a
UD
476712010-07-31 Ulrich Drepper <drepper@redhat.com>
47672
47673 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47674 Add strcasecmp_l-ssse3.
47675 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47676 strcasecmp.
47677 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47678 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47679 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47680
fe36dd02
UD
476812010-07-30 Ulrich Drepper <drepper@redhat.com>
47682
66f6765a
UD
47683 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47684
42e08a54
UD
47685 * string/Makefile (strop-tests): Add strcasecmp.
47686 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47687 strcasecmp_l-nonascii.
47688 (gen-as-const-headers): Add locale-defines.sym.
47689 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47690 * sysdeps/x86_64/strcasecmp.S: New file.
47691 * sysdeps/x86_64/strcasecmp_l.S: New file.
47692 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47693 * sysdeps/x86_64/locale-defines.sym: New file.
47694 * string/test-strcasecmp.c: New file.
47695
fe36dd02
UD
47696 * string/test-strcasestr.c: Test both ends of the range of characters.
47697 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47698
48cbc0d6
RM
476992010-07-29 Roland McGrath <roland@redhat.com>
47700
76e6d6bc 47701 [BZ #11856]
48cbc0d6
RM
47702 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47703
880113d9
UD
477042010-07-27 Ulrich Drepper <drepper@redhat.com>
47705
47706 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47707 for ld.so.
47708
deb9cabb
AS
477092010-07-27 Andreas Schwab <schwab@redhat.com>
47710
47711 * manual/memory.texi (Malloc Tunable Parameters): Document
47712 M_PERTURB.
47713
1c7570ff
RM
477142010-07-26 Roland McGrath <roland@redhat.com>
47715
47716 [BZ #11840]
47717 * configure.in (-fgnu89-inline check): Set and substitute
47718 gnu89_inline, not libc_cv_gnu89_inline.
47719 * configure: Regenerated.
47720 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47721
24fb0f88
UD
477222010-07-26 Ulrich Drepper <drepper@redhat.com>
47723
47724 * string/test-strnlen.c: New file.
47725 * string/Makefile (strop-tests): Add strnlen.
47726 * string/tester.c (test_strnlen): Add a few more test cases.
47727 * string/tst-strlen.c: Better error reporting.
47728
47729 * sysdeps/x86_64/strnlen.S: New file.
47730
8e96b93a
UD
477312010-07-24 Ulrich Drepper <drepper@redhat.com>
47732
47733 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47734 lower-latency instructions.
47735
dbc676d4
UD
477362010-07-23 Ulrich Drepper <drepper@redhat.com>
47737
47738 * string/test-strcasestr.c: New file.
47739 * string/test-strstr.c: New file.
47740 * string/Makefile (strop-tests): Add strstr and strcasestr.
47741 * string/str-two-way.h: Don't undefine MAX.
47742 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47743
f6a31e0e
AS
477442010-07-21 Andreas Schwab <schwab@redhat.com>
47745
47746 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47747 strcasestr-nonascii.
47748 (CFLAGS-strcasestr-nonascii.c): Define.
47749 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47750 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47751 Remove unused attribute.
47752
5dbc3b6c
RM
477532010-07-20 Roland McGrath <roland@redhat.com>
47754
47755 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47756 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47757 ld.so.cache was broken. With it, there is no way to disable dsocaps
47758 like LD_HWCAP_MASK can disable hwcaps.
47759
23d101d8
EPM
477602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47761
47762 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47763
cc9f2e47
UD
477642010-07-16 Ulrich Drepper <drepper@redhat.com>
47765
47766 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47767 call in strcasestr.
47768 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47769 __strcasestr_sse42_nonascii.
47770 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47771 strcasestr-nonascii.c.
47772 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47773
77c1b069
LM
477742010-06-15 Luis Machado <luisgpm@br.ibm.com>
47775
47776 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47777 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47778 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47779 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47780
440566c3
UD
477812010-07-09 Ulrich Drepper <drepper@redhat.com>
47782
47783 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47784 fcntl.
47785
5be9d05d
AS
477862010-07-06 Andreas Schwab <schwab@redhat.com>
47787
c30b7ee2 47788 [BZ #11577]
5be9d05d
AS
47789 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47790 dl_signal_cerror.
47791
8a492a67
UD
477922010-07-06 Ulrich Drepper <drepper@redhat.com>
47793
47794 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47795 _PC_PIPE_BUF using F_GETPIPE_SZ.
47796
713df3d5
RM
477972010-07-05 Roland McGrath <roland@redhat.com>
47798
47799 * manual/arith.texi (Rounding Functions): Fix rint description
47800 implicit in round description.
47801
702e8f14
UD
478022010-07-02 Ulrich Drepper <drepper@redhat.com>
47803
47804 * elf/Makefile: Fix linking for a few tests to make recent linker
47805 happy.
47806
52ed8be9
AS
478072010-06-30 Andreas Schwab <schwab@redhat.com>
47808
47809 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47810 $(common-objpfx)libc_nonshared.a.
47811
f47c9a11
LM
478122010-06-21 Luis Machado <luisgpm@br.ibm.com>
47813
47814 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47815 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47816 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47817 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47818 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47819 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47820 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47821 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47836 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47837 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47838 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47839 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47840 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47841 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47842 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47843 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47844 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47845 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47846 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47847 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47862
6fb8cbcb
L
478632010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47864
47865 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47866 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47867 * string/memmove.c (memmove): Renamed to ...
47868 (MEMMOVE): ...this. Default to memmove.
47869 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47870 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47871 (END_CHK): Define.
47872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47873 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47874 mempcpy-ssse3-back memmove-ssse3-back.
47875 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47876 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47877 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47878 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47879 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47880 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47881 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47882 * sysdeps/x86_64/multiarch/memmove.c: New file.
47883 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47884 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47885 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47886 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47887 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47888 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47889 Define.
47890 (index_Fast_Copy_Backward): Define.
47891 (HAS_ARCH_FEATURE): Define.
47892 (HAS_FAST_REP_STRING): Define.
47893 (HAS_FAST_COPY_BACKWARD): Define.
47894
4e733bac 478952010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
47896
47897 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47898 Restore proper fallback handling.
47899
63c4ed22
UD
479002010-06-19 Ulrich Drepper <drepper@redhat.com>
47901
ac2b484c
UD
47902 [BZ #11701]
47903 * posix/group_member.c (__group_member): Correct checking loop.
47904
63c4ed22
UD
47905 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47906 OOM in getpwuid_r correctly. Return error number when the caller
47907 should return, otherwise -1.
47908 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47909 call returning > 0 value.
47910 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47911
765ade4b
AS
479122010-06-07 Andreas Schwab <schwab@redhat.com>
47913
47914 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47915 libc_nonshared.a from targets in modules-names.
47916
80da2e09
KS
479172010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47918
47919 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47920 requires it.
47921
158db122
LM
479222010-06-10 Luis Machado <luisgpm@br.ibm.com>
47923
47924 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47925 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47926 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47928
caa78cf8
AS
479292010-06-02 Andreas Schwab <schwab@redhat.com>
47930
47931 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47932
b2ef2c01
UD
479332010-06-14 Ulrich Drepper <drepper@redhat.com>
47934
47935 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47936 and F_GETPIPE_SZ.
47937 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47938 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47939 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47941 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47942 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47943
fbd643b6
RM
479442010-06-14 Roland McGrath <roland@redhat.com>
47945
47946 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47947
f32f2869
JJ
479482010-06-07 Jakub Jelinek <jakub@redhat.com>
47949
47950 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47951 __REDIRECT followed by __THROW.
47952 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47953 * posix/getopt.h (getopt): Likewise.
47954
2a50c078
EPM
479552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47956
47957 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47958 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47959 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47960 in AT_FLAGS.
47961 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47962 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47963
eb5ad2eb
LM
479642010-05-28 Luis Machado <luisgpm@br.ibm.com>
47965
47966 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47967
3c88fe1e
L
479682010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47969
47970 [BZ #11640]
47971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47972 Properly check family and model.
47973
d2f73151
TY
479742010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47975
47976 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47977
ebd2e13d
LM
479782010-05-24 Luis Machado <luisgpm@br.ibm.com>
47979
47980 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47981
b32b8b45
UD
479822010-05-21 Ulrich Drepper <drepper@redhat.com>
47983
47984 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47985 symbol reference.
47986
9acbe24d
AS
479872010-05-19 Andreas Schwab <schwab@redhat.com>
47988
47989 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47990 symbol reference.
47991
f0ccf6ea
AS
479922010-05-21 Andreas Schwab <schwab@redhat.com>
47993
3d04ff3a
AS
47994 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47995 and internal_recvmmsg.
47996 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47997 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47998 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47999 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48000
f0ccf6ea
AS
48001 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48002 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48003 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48004
5b08ac57
AS
480052010-05-20 Andreas Schwab <schwab@redhat.com>
48006
48007 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48008
4828935d
LM
480092010-05-17 Luis Machado <luisgpm@br.ibm.com>
48010
48011 POWER7 optimizations.
48012 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48013 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48014
373d545e
UD
480152010-05-19 Ulrich Drepper <drepper@redhat.com>
48016
48017 * version.h: Update for 2.13 development version.
48018
21a2b1ae
AS
480192010-05-12 Andrew Stubbs <ams@codesourcery.com>
48020
48021 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48022 exceptions. Return 0.
48023
3f7dcb2b
RM
480242010-05-07 Roland McGrath <roland@redhat.com>
48025
48026 * elf/ldconfig.c (main): Add a const.
48027
5f24d53a 480282010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 48029
a160f8d8
UD
48030 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48031 (args_options): Add no-idn option.
48032 (ahosts_keys_int): Add idn_flags to ai_flags.
48033 (parse_option): Handle 'i' option to clear idn_flags.
48034
5f24d53a
UD
48035 * malloc/malloc.c (_int_free): Possible race in the most recently
48036 added check. Only act on the data if no current modification
48037 happened.
265bb1ce
UD
48038
48039See ChangeLog.17 for earlier changes.